]> git.mxchange.org Git - simgear.git/blobdiff - simgear/math/Makefile.am
Allow geocentric distance computations to return radians.
[simgear.git] / simgear / math / Makefile.am
index e6d49044925b3c1380ea621ffb78686ddd7a435a..466bb790723cf20be2fea7cc202e881821793f91 100644 (file)
@@ -1,33 +1,56 @@
 includedir = @includedir@/math
 
-if HAVE_ZLIB
-ZLIB_INCL =
-else
-ZLIB_INCL = -I$(top_srcdir)/src/zlib
-endif
+check_PROGRAMS  = SGMathTest SGGeometryTest
+TESTS           = $(check_PROGRAMS)
+
+SGMathTest_SOURCES = SGMathTest.cxx
+SGMathTest_LDADD = libsgmath.a -lsgstructure $(base_LIBS)
+
+SGGeometryTest_SOURCES = SGGeometryTest.cxx
+SGGeometryTest_LDADD = libsgmath.a -lsgstructure $(base_LIBS)
 
 lib_LIBRARIES = libsgmath.a
 
 include_HEADERS = \
-       fg_memory.h \
        interpolater.hxx \
        leastsqs.hxx \
-       localconsts.hxx \
        point3d.hxx \
        polar3d.hxx \
        sg_geodesy.hxx \
        sg_random.h \
        sg_types.hxx \
-       vector.hxx
-
-EXTRA_DIST = linintp2.h linintp2.inl sphrintp.h sphrintp.inl
+       vector.hxx \
+       Math.hxx \
+       SGBox.hxx \
+       SGCMath.hxx \
+       SGGeoc.hxx \
+       SGGeod.hxx \
+       SGGeodesy.hxx \
+       SGGeometry.hxx \
+       SGGeometryFwd.hxx \
+       SGIntersect.hxx \
+       SGLimits.hxx \
+       SGLineSegment.hxx \
+       SGMatrix.hxx \
+       SGMath.hxx \
+       SGMathFwd.hxx \
+       SGMisc.hxx \
+       SGPlane.hxx \
+       SGQuat.hxx \
+       SGRay.hxx \
+       SGSphere.hxx \
+       SGTriangle.hxx \
+       SGVec2.hxx \
+       SGVec3.hxx \
+       SGVec4.hxx \
+       beziercurve.hxx
 
 libsgmath_a_SOURCES = \
        interpolater.cxx \
        leastsqs.cxx \
-       polar3d.cxx \
-       sg_geodesy.cxx \
        sg_random.c \
-       vector.cxx
+       vector.cxx \
+       SGGeod.cxx \
+       SGGeodesy.cxx
 
-INCLUDES += -I$(top_srcdir) $(ZLIB_INCL)
+INCLUDES = -I$(top_srcdir)