From 18e0b8065af3b660a73af93dabb4767cbc64ec35 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 30 Mar 2011 13:10:42 +0200 Subject: Autotools support for SQLite --- boost/Makefile.am | 5 +++++ boost/common/template/Makefile.am | 1 + boost/mysql/template/Makefile.am | 1 + 3 files changed, 7 insertions(+) (limited to 'boost') diff --git a/boost/Makefile.am b/boost/Makefile.am index 85915d2..9b08372 100644 --- a/boost/Makefile.am +++ b/boost/Makefile.am @@ -9,4 +9,9 @@ if DATABASE_MYSQL SUBDIRS += mysql endif +if DATABASE_SQLITE +# @@ enable +#SUBDIRS += sqlite +endif + EXTRA_DIST = __file__(extra_dist) diff --git a/boost/common/template/Makefile.am b/boost/common/template/Makefile.am index 4ab6efe..6cd68eb 100644 --- a/boost/common/template/Makefile.am +++ b/boost/common/template/Makefile.am @@ -9,6 +9,7 @@ noinst_PROGRAMS = driver driver_SOURCES = driver.cxx __path__(extra_sources) __path__(extra_headers) LDADD = $(top_builddir)/libcommon/common/libcommon.la AM_CPPFLAGS = -I'$(top_builddir)/libcommon' -I'$(top_srcdir)/libcommon' +AM_CPPFLAGS += -I'$(builddir)' -I'$(srcdir)' TESTS=$(top_builddir)/tester TESTS_ENVIRONMENT=top_builddir=$(top_builddir); export top_builddir; diff --git a/boost/mysql/template/Makefile.am b/boost/mysql/template/Makefile.am index 29017fa..6bab1d5 100644 --- a/boost/mysql/template/Makefile.am +++ b/boost/mysql/template/Makefile.am @@ -9,6 +9,7 @@ noinst_PROGRAMS = driver driver_SOURCES = driver.cxx __path__(extra_sources) __path__(extra_headers) LDADD = $(top_builddir)/libcommon/common/libcommon.la AM_CPPFLAGS = -I'$(top_builddir)/libcommon' -I'$(top_srcdir)/libcommon' +AM_CPPFLAGS += -I'$(builddir)' -I'$(srcdir)' TESTS=$(top_builddir)/tester TESTS_ENVIRONMENT=top_builddir=$(top_builddir); export top_builddir; -- cgit v1.1