aboutsummaryrefslogtreecommitdiff
path: root/tracer/template/Makefile.am
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-12-13 11:38:49 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-12-13 11:38:49 +0200
commit3fd22b7b86ebad8fbd4b66da3d63e6d9c1ca829c (patch)
treeebd661aba341b0d478cb3e359665ccb4bba6a81a /tracer/template/Makefile.am
parentb0badbfd0fdbbadef588a2b518cbfb49f34bf9fd (diff)
Detect TR1 <memory> availability
Also use the wrapper header from libodb.
Diffstat (limited to 'tracer/template/Makefile.am')
-rw-r--r--tracer/template/Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/tracer/template/Makefile.am b/tracer/template/Makefile.am
index 6edccff..f594a51 100644
--- a/tracer/template/Makefile.am
+++ b/tracer/template/Makefile.am
@@ -7,6 +7,7 @@ EXTRA_DIST = __file__(extra_dist)
noinst_PROGRAMS = driver
driver_SOURCES = driver.cxx __path__(extra_sources) __path__(extra_headers)
+AM_CPPFLAGS = -I'$(top_builddir)/libcommon' -I'$(top_srcdir)/libcommon'
TESTS=$(top_builddir)/tester
TESTS_ENVIRONMENT=top_builddir=$(top_builddir); export top_builddir;
@@ -22,7 +23,8 @@ CLEANFILES = test-odb.hxx test-odb.ixx test-odb.cxx
ODB = @ODB@
ODBFLAGS = @ODBFLAGS@
+ODBCPPFLAGS = @ODBCPPFLAGS@
test-odb.hxx: test.hxx
- $(ODB) $(ODBCPPFLAGS) $(CPPFLAGS) $(ODBFLAGS) __value__(odb_options) $<
+ $(ODB) $(AM_CPPFLAGS) $(ODBCPPFLAGS) $(CPPFLAGS) $(ODBFLAGS) __value__(odb_options) $<
)