]> git.mxchange.org Git - flightgear.git/blobdiff - tests/Makefile.am
Merge branch 'next' of D:\Git_New\flightgear into next
[flightgear.git] / tests / Makefile.am
index 3f9e130fb94c9456f869b668bdc4a80b054adf15..cade53233d653fcea3633b8961f8815608ad08ce 100644 (file)
@@ -1,12 +1,22 @@
-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
+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)
 
@@ -16,5 +26,3 @@ test_mktime_SOURCES = test-mktime.cxx
 
 test_text_SOURCES = test-text.cxx
 
-test_up_SOURCES = test-up.cxx
-test_up_LDADD = -lsgmath -lsgxml -lsgmisc -lsgdebug -lsgstructure -lsgtiming -lplibsg -lplibul -lz $(base_LIBS)