2008-08-01 11:02:07 -05:00
|
|
|
SUBDIRS = . test
|
|
|
|
|
|
|
|
# Now a shared library AND a GModule
|
|
|
|
pkglib_LTLIBRARIES = libgncmod-backend-dbi.la
|
|
|
|
|
|
|
|
|
2017-08-10 06:56:00 -05:00
|
|
|
# "${top_srcdir}/common/debug" below is for the splint header
|
2012-11-06 21:08:15 -06:00
|
|
|
AM_CPPFLAGS = \
|
2008-08-01 11:02:07 -05:00
|
|
|
-I.. -I../.. \
|
|
|
|
-DLOCALE_DIR=\""$(datadir)/locale"\" \
|
2017-08-10 06:56:00 -05:00
|
|
|
-I${top_srcdir}/libgnucash/backend \
|
|
|
|
-I${top_srcdir}/libgnucash/backend/sql \
|
|
|
|
-I${top_srcdir}/common/debug \
|
|
|
|
-I${top_srcdir}/libgnucash/engine \
|
|
|
|
-I${top_srcdir}/libgnucash/core-utils \
|
2009-04-12 12:14:21 -05:00
|
|
|
-I${top_srcdir}/lib/libc \
|
2017-08-10 06:56:00 -05:00
|
|
|
-I${top_srcdir}/common \
|
2008-08-01 11:02:07 -05:00
|
|
|
${GLIB_CFLAGS} \
|
2016-05-20 17:44:41 -05:00
|
|
|
${BOOST_CPPFLAGS} \
|
2008-08-01 11:02:07 -05:00
|
|
|
${WARN_CFLAGS}
|
|
|
|
|
|
|
|
libgncmod_backend_dbi_la_SOURCES = \
|
2016-07-18 17:01:55 -05:00
|
|
|
gnc-backend-dbi.cpp \
|
2016-07-25 13:29:30 -05:00
|
|
|
gnc-dbisqlconnection.cpp \
|
|
|
|
gnc-dbisqlresult.cpp
|
2008-08-01 11:02:07 -05:00
|
|
|
|
|
|
|
noinst_HEADERS = \
|
2010-12-20 11:53:15 -06:00
|
|
|
gnc-backend-dbi.h \
|
2016-07-25 13:29:30 -05:00
|
|
|
gnc-backend-dbi.hpp \
|
|
|
|
gnc-dbisqlconnection.hpp \
|
|
|
|
gnc-dbisqlresult.hpp \
|
|
|
|
gnc-dbiprovider.hpp \
|
|
|
|
gnc-dbiproviderimpl.hpp
|
2008-08-01 11:02:07 -05:00
|
|
|
|
2012-05-22 12:57:22 -05:00
|
|
|
libgncmod_backend_dbi_la_LDFLAGS = -shared -avoid-version
|
2008-08-01 11:02:07 -05:00
|
|
|
libgncmod_backend_dbi_la_LIBADD = \
|
2009-04-06 19:48:53 -05:00
|
|
|
${GLIB_LIBS} \
|
2017-08-10 06:56:00 -05:00
|
|
|
${top_builddir}/libgnucash/backend/sql/libgnc-backend-sql.la \
|
|
|
|
${top_builddir}/libgnucash/engine/libgncmod-engine.la \
|
|
|
|
${top_builddir}/libgnucash/core-utils/libgnc-core-utils.la \
|
2016-05-20 17:44:41 -05:00
|
|
|
${BOOST_LDFLAGS} -lboost_regex \
|
2009-04-06 19:48:53 -05:00
|
|
|
${LIBDBI_LIBS}
|
2008-08-01 11:02:07 -05:00
|
|
|
|
2012-11-06 21:08:15 -06:00
|
|
|
AM_CPPFLAGS += -DG_LOG_DOMAIN=\"gnc.backend.dbi\"
|
2017-07-10 13:06:31 -05:00
|
|
|
|
|
|
|
EXTRA_DIST = CMakeLists.txt
|