]> git.mxchange.org Git - simgear.git/blobdiff - simgear/math/Makefile.am
Modified Files:
[simgear.git] / simgear / math / Makefile.am
index 794664d84133886508944d1d1dc6bb9eedac580e..016620eee5428347c36aca2205239a34f7996708 100644 (file)
@@ -1,26 +1,38 @@
 includedir = @includedir@/math
 
-if HAVE_ZLIB
-ZLIB_INCL =
-else
-ZLIB_INCL = -I$(top_srcdir)/src/zlib
-endif
+check_PROGRAMS  = SGMathTest
+TESTS           = $(check_PROGRAMS)
+
+SGMathTest_SOURCES = SGMathTest.cxx
+SGMathTest_LDADD = libsgmath.a $(base_LIBS)
+
 
 lib_LIBRARIES = libsgmath.a
 
 include_HEADERS = \
        interpolater.hxx \
        leastsqs.hxx \
-       localconsts.hxx \
        point3d.hxx \
        polar3d.hxx \
        sg_geodesy.hxx \
        sg_memory.h \
        sg_random.h \
        sg_types.hxx \
-       vector.hxx
+       vector.hxx \
+       SGCMath.hxx \
+       SGGeoc.hxx \
+       SGGeod.hxx \
+       SGGeodesy.hxx \
+       SGLimits.hxx \
+       SGMatrix.hxx \
+       SGMath.hxx \
+       SGMathFwd.hxx \
+       SGMisc.hxx \
+       SGQuat.hxx \
+       SGVec4.hxx \
+       SGVec3.hxx \
+       SGVec2.hxx
 
-EXTRA_DIST = linintp2.h linintp2.inl sphrintp.h sphrintp.inl
 
 libsgmath_a_SOURCES = \
        interpolater.cxx \
@@ -28,10 +40,7 @@ libsgmath_a_SOURCES = \
        polar3d.cxx \
        sg_geodesy.cxx \
        sg_random.c \
-       vector.cxx
+       vector.cxx \
+       SGGeodesy.cxx
 
-if OLD_AUTOMAKE
-INCLUDES += -I$(top_srcdir) $(ZLIB_INCL)
-else
-INCLUDES = -I$(top_srcdir) $(ZLIB_INCL)
-endif
+INCLUDES = -I$(top_srcdir)