]> git.mxchange.org Git - simgear.git/blob - simgear/screen/Makefile.am
make headers include headers they depend on, don't rely on the c(xx)
[simgear.git] / simgear / screen / Makefile.am
1 includedir = @includedir@/screen
2
3 lib_LIBRARIES = libsgscreen.a
4
5 EXTRA_DIST = jpgfactory.cxx jpgfactory.hxx
6
7 if ENABLE_JPEG_SERVER
8 IMAGE_SERVER_INCL = jpgfactory.hxx
9 IMAGE_SERVER_SRCS = jpgfactory.cxx
10 else
11 IMAGE_SERVER_INCL = 
12 IMAGE_SERVER_SRCS = 
13 endif
14
15 noinst_HEADERS = colours.h GLBitmaps.h
16
17 include_HEADERS = \
18         colors.hxx \
19         texture.hxx \
20         $(IMAGE_SERVER_INCL) \
21         screen-dump.hxx \
22         extensions.hxx \
23         RenderTexture.h \
24         shader.h \
25         tr.h
26
27 libsgscreen_a_SOURCES = \
28         texture.cxx \
29         GLBitmaps.cxx \
30         $(IMAGE_SERVER_SRCS) \
31         screen-dump.cxx \
32         tr.cxx \
33         extensions.cxx \
34         RenderTexture.cpp \
35         shader.cpp \
36         win32-printer.h
37
38 if HAVE_GLUT
39 noinst_PROGRAMS = TestRenderTexture
40
41 TestRenderTexture_SOURCES = TestRenderTexture.cpp
42
43 TestRenderTexture_LDADD = \
44         $(top_builddir)/simgear/screen/libsgscreen.a \
45         $(top_builddir)/simgear/debug/libsgdebug.a \
46         $(opengl_LIBS)
47 endif
48
49 INCLUDES = -I$(top_srcdir) -I$(top_builddir) -DGLX_GLXEXT_PROTOTYPES