X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fscreen%2FMakefile.am;h=cddfbf554eb87d1b359dc9d28f7f06d4ecf56780;hb=3346bfc9a8e01a81bddab503664e0399d57e4d5e;hp=5c618a3a29a5d7f5d28127fe2c23730d35a14541;hpb=505f561e1cb302f6a0d5285155d8b421dd71b83c;p=simgear.git diff --git a/simgear/screen/Makefile.am b/simgear/screen/Makefile.am index 5c618a3a..cddfbf55 100644 --- a/simgear/screen/Makefile.am +++ b/simgear/screen/Makefile.am @@ -2,12 +2,46 @@ includedir = @includedir@/screen lib_LIBRARIES = libsgscreen.a -include_HEADERS = screen-dump.hxx tr.h +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 = GLBitmaps.h + +include_HEADERS = \ + colors.hxx \ + $(IMAGE_SERVER_INCL) \ + screen-dump.hxx \ + extensions.hxx \ + RenderTexture.h \ + shader.h \ + tr.h libsgscreen_a_SOURCES = \ - 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