]> git.mxchange.org Git - simgear.git/blobdiff - simgear/misc/Makefile.am
Updates to build system to better support automake-1.5
[simgear.git] / simgear / misc / Makefile.am
index dcf388efd2cc2ab4a794206a94178c08cb7f4c15..1be8887076397e5f14001a9b5976e8b2103e4863 100644 (file)
@@ -1,26 +1,42 @@
-## Process this file with automake to produce Makefile.in
+includedir = @includedir@/misc
 
 if HAVE_ZLIB
 ZLIB_INCL =
 else
-ZLIB_INCL = -I$(top_builddir)/zlib
+ZLIB_INCL = -I$(top_srcdir)/src/zlib
 endif
 
 lib_LIBRARIES = libsgmisc.a
 
 include_HEADERS = \
-       fgpath.hxx \
-       fgstream.hxx \
+        commands.hxx \
+        exception.hxx \
+       props.hxx \
+       sg_path.hxx \
+       sgstream.hxx \
        stopwatch.hxx \
        strutils.hxx \
        texcoord.hxx \
        zfstream.hxx
 
 libsgmisc_a_SOURCES = \
-       fgpath.cxx \
-       fgstream.cxx \
+        commands.cxx \
+        exception.cxx \
+       props.cxx \
+        props_io.cxx \
+       sg_path.cxx \
+       sgstream.cxx \
        strutils.cxx \
        texcoord.cxx \
        zfstream.cxx
 
-INCLUDES += -I$(top_builddir)/src
+noinst_PROGRAMS = props_test
+
+props_test_SOURCES = props_test.cxx
+props_test_LDADD = libsgmisc.a ../xml/libsgxml.a ../debug/libsgdebug.a
+
+if OLD_AUTOMAKE
+INCLUDES += -I$(top_srcdir) $(ZLIB_INCL)
+else
+INCLUDES = -I$(top_srcdir) $(ZLIB_INCL)
+endif