]> git.mxchange.org Git - simgear.git/blobdiff - simgear/misc/Makefile.am
Don't waste space with too huge stl containers.
[simgear.git] / simgear / misc / Makefile.am
index dcf388efd2cc2ab4a794206a94178c08cb7f4c15..db9181ba88d648d93e96af14a1207c0a42505160 100644 (file)
@@ -1,26 +1,43 @@
-## Process this file with automake to produce Makefile.in
-
-if HAVE_ZLIB
-ZLIB_INCL =
-else
-ZLIB_INCL = -I$(top_builddir)/zlib
-endif
+includedir = @includedir@/misc
 
 lib_LIBRARIES = libsgmisc.a
 
 include_HEADERS = \
-       fgpath.hxx \
-       fgstream.hxx \
+       sg_path.hxx \
+       sgstream.hxx \
        stopwatch.hxx \
        strutils.hxx \
+       tabbed_values.hxx \
        texcoord.hxx \
-       zfstream.hxx
+       zfstream.hxx \
+       interpolator.hxx \
+       stdint.hxx \
+       PathOptions.hxx
 
 libsgmisc_a_SOURCES = \
-       fgpath.cxx \
-       fgstream.cxx \
+       sg_path.cxx \
+       sgstream.cxx \
        strutils.cxx \
+       tabbed_values.cxx \
        texcoord.cxx \
-       zfstream.cxx
+       zfstream.cxx \
+       interpolator.cxx \
+       PathOptions.cxx
+
+noinst_PROGRAMS = tabbed_value_test swap_test
+
+tabbed_value_test_SOURCES = tabbed_values_test.cxx
+tabbed_value_test_LDADD = \
+       libsgmisc.a \
+       $(top_builddir)/simgear/xml/libsgxml.a \
+       $(top_builddir)/simgear/debug/libsgdebug.a
+
+$(top_builddir)/simgear/xml/libsgxml.a:
+       cd $(top_builddir)/simgear/xml && $(MAKE) $(AM_MAKEFLAGS) libsgxml.a
+
+$(top_builddir)/simgear/debug/libsgdebug.a:
+       cd $(top_builddir)/simgear/debug && $(MAKE) $(AM_MAKEFLAGS) libsgdebug.a
+
+swap_test_SOURCES = swap_test.cpp
 
-INCLUDES += -I$(top_builddir)/src
+INCLUDES = -I$(top_srcdir)