#---------------------------------------------------------------------------------------------------- # GTSAM top-level automake file #---------------------------------------------------------------------------------------------------- #The option -I m4 tells Autoconf to look for additional Autoconf macros in the m4 subdirectory. ACLOCAL_AMFLAGS = -I m4 # make automake install some standard but missing files AUTOMAKE_OPTIONS = foreign # All the sub-directories that need to be built SUBDIRS = CppUnitLite colamd ldl spqr_mini base geometry inference linear nonlinear slam . tests wrap # And the corresponding libraries produced SUBLIBS = colamd/libcolamd.la ldl/libldl.la \ base/libbase.la geometry/libgeometry.la inference/libinference.la \ linear/liblinear.la nonlinear/libnonlinear.la slam/libslam.la if USE_LAPACK SUBLIBS += spqr_mini/libspqr_mini.la endif # TODO: UFconfig, CCOLAMD, and LDL automake magic without adding or touching any file # in those directories as to not invalidate the LGPL license # See some possibilities in # http://www.gnu.org/software/hello/manual/automake/Third_002dParty-Makefiles.html # The following lines specify the actual shared library to be built with libtool lib_LTLIBRARIES = libgtsam.la libgtsam_la_SOURCES = libgtsam_la_LIBADD = $(SUBLIBS) libgtsam_la_LDFLAGS = -version-info 0:0:0 # Add these files to make dure they're in the distribution noinst_HEADERS = gtsam.h EXTRA_DIST = autogen.sh configure.ac THANKS # Todo: Also do CppUnitLite with automake dist-hook: mkdir $(distdir)/config mkdir $(distdir)/matlab cp -p $(srcdir)/matlab/*.m $(distdir)/matlab cp -r $(srcdir)/wrap/expected $(distdir)/wrap