includedir = @includedir@/math
-if HAVE_ZLIB
-ZLIB_INCL =
-else
-ZLIB_INCL = -I$(top_builddir)/src/zlib
-endif
+check_PROGRAMS = SGMathTest SGGeometryTest
+TESTS = $(check_PROGRAMS)
+
+SGMathTest_SOURCES = SGMathTest.cxx
+SGMathTest_LDADD = libsgmath.a $(base_LIBS)
+
+SGGeometryTest_SOURCES = SGGeometryTest.cxx
+SGGeometryTest_LDADD = libsgmath.a $(base_LIBS)
lib_LIBRARIES = libsgmath.a
include_HEADERS = \
- fg_geodesy.hxx \
- fg_memory.h \
- fg_random.h \
- fg_types.hxx \
interpolater.hxx \
leastsqs.hxx \
point3d.hxx \
polar3d.hxx \
- vector.hxx
-
-EXTRA_DIST = linintp2.h linintp2.inl sphrintp.h sphrintp.inl
+ sg_geodesy.hxx \
+ sg_random.h \
+ sg_types.hxx \
+ vector.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
libsgmath_a_SOURCES = \
- fg_geodesy.cxx \
- fg_random.c \
interpolater.cxx \
leastsqs.cxx \
- polar3d.cxx \
- vector.cxx
+ sg_random.c \
+ vector.cxx \
+ SGGeodesy.cxx
-# INCLUDES += -I$(top_builddir)/src $(ZLIB_INCL)
-INCLUDES += $(ZLIB_INCL)
+INCLUDES = -I$(top_srcdir)