X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fscreen%2FMakefile.am;h=482bba619cb8ffb2945712e8069578d3332b3095;hb=cc6179a4dd6c85993680de95259b9ed37535acfa;hp=743f2ad065649a66ce232b07ea131f781aa4dc33;hpb=73f9febe068910b1fcf219c8322bd54bd6b4e1d3;p=simgear.git diff --git a/simgear/screen/Makefile.am b/simgear/screen/Makefile.am index 743f2ad0..482bba61 100644 --- a/simgear/screen/Makefile.am +++ b/simgear/screen/Makefile.am @@ -12,7 +12,7 @@ IMAGE_SERVER_INCL = IMAGE_SERVER_SRCS = endif -noinst_HEADERS = colours.h RenderTexture.h +noinst_HEADERS = colours.h GLBitmaps.h include_HEADERS = \ colors.hxx \ @@ -20,16 +20,30 @@ include_HEADERS = \ $(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 \ extensions.cxx \ RenderTexture.cpp \ + shader.cpp \ win32-printer.h -INCLUDES = -I$(top_srcdir) -DGLX_GLXEXT_PROTOTYPES +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