+includedir = @includedir@/math
+
+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 \
- mat3.h \
point3d.hxx \
polar3d.hxx \
- vector.hxx
-
-EXTRA_DIST = linintp2.h linintp2.inl sphrintp.h sphrintp.inl
+ sg_geodesy.hxx \
+ sg_memory.h \
+ 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 = \
- MAT3geom.c \
- MAT3inv.c \
- MAT3mat.c \
- MAT3vec.c \
- fg_geodesy.cxx \
- fg_random.c \
interpolater.cxx \
leastsqs.cxx \
- mat3defs.h mat3err.h \
polar3d.cxx \
- vector.cxx
+ sg_geodesy.cxx \
+ sg_random.c \
+ vector.cxx \
+ SGGeodesy.cxx
-INCLUDES += -I$(top_builddir)
+INCLUDES = -I$(top_srcdir)