IMAGE_SERVER_SRCS =
endif
-noinst_HEADERS = colours.h
+noinst_HEADERS = GLBitmaps.h
include_HEADERS = \
colors.hxx \
- texture.hxx \
$(IMAGE_SERVER_INCL) \
screen-dump.hxx \
+ extensions.hxx \
+ RenderTexture.h \
+ shader.h \
tr.h
libsgscreen_a_SOURCES = \
- texture.cxx \
- GLBitmaps.cxx GLBitmaps.h \
+ GLBitmaps.cxx \
$(IMAGE_SERVER_SRCS) \
screen-dump.cxx \
- tr.cxx \
+ tr.cxx \
+ extensions.cxx \
+ RenderTexture.cpp \
+ shader.cpp \
win32-printer.h
-INCLUDES = -I$(top_srcdir)
+if HAVE_GLUT
+noinst_PROGRAMS = TestRenderTexture
+
+TestRenderTexture_SOURCES = TestRenderTexture.cpp
+
+TestRenderTexture_LDADD = \
+ libsgscreen.a \
+ $(top_builddir)/simgear/debug/libsgdebug.a \
+ $(opengl_LIBS)
+endif
+
+INCLUDES = -I$(top_srcdir) -I$(top_builddir) -DGLX_GLXEXT_PROTOTYPES