+includedir = @includedir@/math
+
+if HAVE_ZLIB
+ZLIB_INCL =
+else
+ZLIB_INCL = -I$(top_srcdir)/src/zlib
+endif
+
lib_LIBRARIES = libsgmath.a
include_HEADERS = \
- fg_geodesy.hxx \
- fg_memory.h \
- fg_random.h \
- fg_types.hxx \
interpolater.hxx \
leastsqs.hxx \
- mat3.h \
+ localconsts.hxx \
point3d.hxx \
polar3d.hxx \
+ sg_geodesy.hxx \
+ sg_memory.h \
+ sg_random.h \
+ sg_types.hxx \
vector.hxx
EXTRA_DIST = linintp2.h linintp2.inl sphrintp.h sphrintp.inl
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 \
+ sg_geodesy.cxx \
+ sg_random.c \
vector.cxx
-INCLUDES += -I$(top_builddir)
+INCLUDES += -I$(top_srcdir) $(ZLIB_INCL)