2010-10-15 10:16:21 +08:00
|
|
|
#----------------------------------------------------------------------------------------------------
|
|
|
|
|
# GTSAM Examples
|
|
|
|
|
#----------------------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
# use nostdinc to turn off -I. and -I.., we do not need them because
|
|
|
|
|
# header files are qualified so they can be included in external projects.
|
|
|
|
|
AUTOMAKE_OPTIONS = nostdinc
|
|
|
|
|
|
|
|
|
|
headers =
|
|
|
|
|
sources =
|
|
|
|
|
check_PROGRAMS =
|
|
|
|
|
|
|
|
|
|
# Examples
|
2010-10-22 06:49:37 +08:00
|
|
|
noinst_PROGRAMS = vSFMexample
|
|
|
|
|
vSFMexample_SOURCES = vSFMexample.cpp Feature2D.cpp vSLAMutils.cpp
|
|
|
|
|
|
|
|
|
|
noinst_PROGRAMS += vISAMexample
|
|
|
|
|
vISAMexample_SOURCES = vISAMexample.cpp Feature2D.cpp vSLAMutils.cpp
|
2010-10-27 05:24:13 +08:00
|
|
|
|
2010-10-27 06:03:29 +08:00
|
|
|
headers += Feature2D.h vSLAMutils.h
|
2010-10-27 05:24:13 +08:00
|
|
|
|
|
|
|
|
noinst_HEADERS = $(headers)
|
|
|
|
|
|
|
|
|
|
EXTRA_DIST = Data
|
|
|
|
|
dist-hook:
|
|
|
|
|
rm -rf $(distdir)/Data/.svn
|
|
|
|
|
|
2010-10-15 10:16:21 +08:00
|
|
|
#----------------------------------------------------------------------------------------------------
|
|
|
|
|
# rules to build local programs
|
|
|
|
|
#----------------------------------------------------------------------------------------------------
|
2011-06-02 22:35:26 +08:00
|
|
|
AM_CPPFLAGS = $(BOOST_CPPFLAGS) -I$(top_srcdir)
|
2010-10-21 02:50:41 +08:00
|
|
|
AM_LDFLAGS = $(BOOST_LDFLAGS)
|
2010-10-26 04:10:33 +08:00
|
|
|
LDADD = ../../gtsam/libgtsam.la
|
2010-10-15 10:16:21 +08:00
|
|
|
AM_DEFAULT_SOURCE_EXT = .cpp
|
|
|
|
|
|
|
|
|
|
# rule to run an executable
|
|
|
|
|
%.run: % $(LDADD)
|
2011-10-29 06:10:08 +08:00
|
|
|
./%
|
2010-10-15 10:16:21 +08:00
|
|
|
|
|
|
|
|
# rule to run executable with valgrind
|
|
|
|
|
%.valgrind: % $(LDADD)
|
|
|
|
|
valgrind ./$^
|
|
|
|
|
#----------------------------------------------------------------------------------------------------
|