Files
simgear/simgear/screen/Makefile.am
T
ehofman 3f0bcc9568 Mathias Fröhlich:
Detect whether we support pubuffers at runtime using the GLX extension string.


Erik:

Add support to compile TestRenderTexture if GLUT is installed.
2005-12-14 10:28:16 +00:00

50 lines
940 B
Makefile

includedir = @includedir@/screen
lib_LIBRARIES = libsgscreen.a
EXTRA_DIST = jpgfactory.cxx jpgfactory.hxx
if ENABLE_JPEG_SERVER
IMAGE_SERVER_INCL = jpgfactory.hxx
IMAGE_SERVER_SRCS = jpgfactory.cxx
else
IMAGE_SERVER_INCL =
IMAGE_SERVER_SRCS =
endif
noinst_HEADERS = colours.h 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 \
$(IMAGE_SERVER_SRCS) \
screen-dump.cxx \
tr.cxx \
extensions.cxx \
RenderTexture.cpp \
shader.cpp \
win32-printer.h
if HAVE_GLUT
noinst_PROGRAMS = TestRenderTexture
TestRenderTexture_SOURCES = TestRenderTexture.cpp
TestRenderTexture_LDADD = \
$(top_builddir)/simgear/screen/libsgscreen.a \
$(top_builddir)/simgear/debug/libsgdebug.a \
$(opengl_LIBS)
endif
INCLUDES = -I$(top_srcdir) -I$(top_builddir) -DGLX_GLXEXT_PROTOTYPES