mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
'lib' is also being used by the cmake build, so there was a theoretical risk for file conflicts. The new name is 'borrowed'.
47 lines
1.2 KiB
Makefile
47 lines
1.2 KiB
Makefile
SUBDIRS = . test
|
|
|
|
# Now a shared library AND a GModule
|
|
pkglib_LTLIBRARIES = libgncmod-backend-dbi.la
|
|
|
|
|
|
# "${top_srcdir}/common/debug" below is for the splint header
|
|
AM_CPPFLAGS = \
|
|
-I.. -I../.. \
|
|
-DLOCALE_DIR=\""$(datadir)/locale"\" \
|
|
-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 \
|
|
-I${top_srcdir}/borrowed/libc \
|
|
-I${top_srcdir}/common \
|
|
${GLIB_CFLAGS} \
|
|
${BOOST_CPPFLAGS} \
|
|
${WARN_CFLAGS}
|
|
|
|
libgncmod_backend_dbi_la_SOURCES = \
|
|
gnc-backend-dbi.cpp \
|
|
gnc-dbisqlconnection.cpp \
|
|
gnc-dbisqlresult.cpp
|
|
|
|
noinst_HEADERS = \
|
|
gnc-backend-dbi.h \
|
|
gnc-backend-dbi.hpp \
|
|
gnc-dbisqlconnection.hpp \
|
|
gnc-dbisqlresult.hpp \
|
|
gnc-dbiprovider.hpp \
|
|
gnc-dbiproviderimpl.hpp
|
|
|
|
libgncmod_backend_dbi_la_LDFLAGS = -shared -avoid-version
|
|
libgncmod_backend_dbi_la_LIBADD = \
|
|
${GLIB_LIBS} \
|
|
${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 \
|
|
${BOOST_LDFLAGS} -lboost_regex \
|
|
${LIBDBI_LIBS}
|
|
|
|
AM_CPPFLAGS += -DG_LOG_DOMAIN=\"gnc.backend.dbi\"
|
|
|
|
EXTRA_DIST = CMakeLists.txt
|