]> git.mxchange.org Git - simgear.git/blobdiff - simgear/sound/Makefile.am
another test program, using real world locations
[simgear.git] / simgear / sound / Makefile.am
index 1488f132e530dcab24b5a5f83ac085211108ebed..dd271496c22ba5a0be0b92fa2f5779d8892f7c71 100644 (file)
@@ -7,23 +7,43 @@ lib_LIBRARIES = libsgsound.a
 noinst_HEADERS =
 
 include_HEADERS = \
+       sample_group.hxx \
        sample_openal.hxx \
        soundmgr_openal.hxx \
        xmlsound.hxx 
 
 libsgsound_a_SOURCES = \
+       sample_group.cxx \
        sample_openal.cxx  \
        soundmgr_openal.cxx \
        xmlsound.cxx 
 
-noinst_PROGRAMS = openal_test1 openal_test2
+check_PROGRAMS = openal_test1 openal_test2 openal_test3
 
 openal_test1_SOURCES = openal_test1.cxx
 openal_test2_SOURCES = openal_test2.cxx
+openal_test3SOURCES = openal_test3.cxx
 
-openal_test1_LDADD = -lsgdebug $(openal_LIBS)
-openal_test2_LDADD = \
-       $(top_builddir)/simgear/sound/libsgsound.a \
-       -lsgdebug -lsgmisc -lsgstructure $(openal_LIBS)
+openal_test1_LDADD = \
+       $(top_builddir)/simgear/debug/libsgdebug.a \
+       $(openal_LIBS)
 
-INCLUDES = -I$(top_srcdir)
+openal_test2_LDADD = \
+       libsgsound.a \
+       $(top_builddir)/simgear/structure/libsgstructure.a \
+       $(top_builddir)/simgear/timing/libsgtiming.a \
+       $(top_builddir)/simgear/debug/libsgdebug.a \
+       $(top_builddir)/simgear/misc/libsgmisc.a \
+       $(top_builddir)/simgear/math/libsgmath.a \
+       $(openal_LIBS)
+
+openal_test3_LDADD = \
+       libsgsound.a \
+       $(top_builddir)/simgear/structure/libsgstructure.a \
+       $(top_builddir)/simgear/timing/libsgtiming.a \
+       $(top_builddir)/simgear/debug/libsgdebug.a \
+       $(top_builddir)/simgear/misc/libsgmisc.a \
+       $(top_builddir)/simgear/math/libsgmath.a \
+       $(openal_LIBS) -lstdc++
+
+INCLUDES = -I$(top_srcdir) -DSRC_DIR=\"$(top_srcdir)/simgear/sound\"