]> git.mxchange.org Git - flightgear.git/blobdiff - tests/Makefile.am
Including missing OSG plugins, use LZMA compression
[flightgear.git] / tests / Makefile.am
index 181176073ed4a18efa2507f8228a0cea5d3eb949..cade53233d653fcea3633b8961f8815608ad08ce 100644 (file)
@@ -1,24 +1,28 @@
-bin_PROGRAMS = est-epsilon gl-info
+bin_PROGRAMS = est-epsilon gl-info alcinfo
 
-noinst_PROGRAMS = test-gethostname test-mktime test-text test-up test-env-map
+noinst_PROGRAMS = test-gethostname test-mktime test-text test-env-map
 
-est_epsilon_SOURCES = est-epsilon.c
-est_epsilon_LDADD = $(base_LIBS)
+if HAVE_FRAMEWORK_PLIB
+test_up_LDFLAGS = $(plib_FRAMEWORK)
+else
+test_up_PLIB_LIBS = -lplibsg -lplibul
+endif
 
-gl_info_SOURCES = gl-info.c
+est_epsilon_SOURCES = est-epsilon.cxx
+est_epsilon_LDADD =  $(opengl_LIBS)
+
+gl_info_SOURCES = gl-info.cxx
 gl_info_LDADD = $(opengl_LIBS)
 
+alcinfo_SOURCES = alcinfo.cxx
+alcinfo_LDADD = $(openal_LIBS)
+
 test_env_map_SOURCES = test-env-map.cxx
 test_env_map_LDADD = $(opengl_LIBS)
 
 test_gethostname_SOURCES = test-gethostname.cxx
-test_gethostname_LDADD = $(base_LIBS)
 
 test_mktime_SOURCES = test-mktime.cxx
-test_mktime_LDADD = $(base_LIBS)
 
 test_text_SOURCES = test-text.cxx
-test_text_LDADD = $(base_LIBS)
 
-test_up_SOURCES = test-up.cxx
-test_up_LDADD = -lsgmath -lsgdebug -lplibsg $(base_LIBS)