X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fscreen%2FMakefile.am;h=482bba619cb8ffb2945712e8069578d3332b3095;hb=cc6179a4dd6c85993680de95259b9ed37535acfa;hp=01eab5f7abd075dd913f92f4f54aaeadce38db73;hpb=5173d709e090b953eaf800cbcd1bf897de332a12;p=simgear.git diff --git a/simgear/screen/Makefile.am b/simgear/screen/Makefile.am index 01eab5f7..482bba61 100644 --- a/simgear/screen/Makefile.am +++ b/simgear/screen/Makefile.am @@ -1,10 +1,49 @@ +includedir = @includedir@/screen + lib_LIBRARIES = libsgscreen.a -include_HEADERS = screen-dump.hxx +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 = \ - GLBitmaps.cxx GLBitmaps.h \ + texture.cxx \ + GLBitmaps.cxx \ + $(IMAGE_SERVER_SRCS) \ screen-dump.cxx \ + tr.cxx \ + extensions.cxx \ + RenderTexture.cpp \ + shader.cpp \ win32-printer.h -INCLUDES += -I$(top_builddir) +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