aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/template/Makefile.am3
-rw-r--r--mysql/template/Makefile.am3
-rw-r--r--tracer/template/Makefile.am3
3 files changed, 6 insertions, 3 deletions
diff --git a/common/template/Makefile.am b/common/template/Makefile.am
index ca3a3d5..ccfe5f0 100644
--- a/common/template/Makefile.am
+++ b/common/template/Makefile.am
@@ -15,7 +15,8 @@ TESTS_ENVIRONMENT=top_builddir=$(top_builddir); export top_builddir;
# ODB compilation.
#
-driver_SOURCES += test.hxx test-odb.cxx
+driver_SOURCES += test.hxx
+nodist_driver_SOURCES = test-odb.cxx
BUILT_SOURCES = test-odb.hxx
CLEANFILES = test-odb.hxx test-odb.ixx test-odb.cxx
diff --git a/mysql/template/Makefile.am b/mysql/template/Makefile.am
index 229e071..bfb3327 100644
--- a/mysql/template/Makefile.am
+++ b/mysql/template/Makefile.am
@@ -17,7 +17,8 @@ m4_ifelse(__value__(odb_options),,,
# ODB compilation.
#
-driver_SOURCES += test.hxx test-odb.cxx
+driver_SOURCES += test.hxx
+nodist_driver_SOURCES = test-odb.cxx
BUILT_SOURCES = test-odb.hxx
CLEANFILES = test-odb.hxx test-odb.ixx test-odb.cxx
diff --git a/tracer/template/Makefile.am b/tracer/template/Makefile.am
index a3bed1e..6edccff 100644
--- a/tracer/template/Makefile.am
+++ b/tracer/template/Makefile.am
@@ -15,7 +15,8 @@ m4_ifelse(__value__(odb_options),,,
# ODB compilation.
#
-driver_SOURCES += test.hxx test-odb.cxx
+driver_SOURCES += test.hxx
+nodist_driver_SOURCES = test-odb.cxx
BUILT_SOURCES = test-odb.hxx
CLEANFILES = test-odb.hxx test-odb.ixx test-odb.cxx