gnucash/libgnucash/backend/xml/Makefile.am
Geert Janssens f943ba61ae Rename directory for code from external projects
'lib' is also being used by the cmake build, so there was a
theoretical risk for file conflicts. The new name is 'borrowed'.
2017-08-17 15:25:49 +02:00

108 lines
2.6 KiB
Makefile

SUBDIRS = . test
# Now a shared library AND a GModule
lib_LTLIBRARIES = libgnc-backend-xml-utils.la
pkglib_LTLIBRARIES = libgncmod-backend-xml.la
AM_CPPFLAGS = \
-I.. -I../.. \
-DLOCALE_DIR=\""$(datadir)/locale"\" \
-DU_SHOW_CPLUSPLUS_API=0 \
-I${top_srcdir}/libgnucash/backend \
-I${top_srcdir}/libgnucash/engine \
-I${top_srcdir}/libgnucash/core-utils \
-I${top_srcdir}/libgnucash/gnc-module \
-I${top_srcdir}/borrowed/libc\
-I$(top_srcdir)/common \
${LIBXML2_CFLAGS} \
${GLIB_CFLAGS} \
${BOOST_CPPFLAGS}
libgnc_backend_xml_utils_la_SOURCES = \
gnc-account-xml-v2.cpp \
gnc-address-xml-v2.cpp \
gnc-bill-term-xml-v2.cpp \
gnc-book-xml-v2.cpp \
gnc-budget-xml-v2.cpp \
gnc-commodity-xml-v2.cpp \
gnc-customer-xml-v2.cpp \
gnc-employee-xml-v2.cpp \
gnc-entry-xml-v2.cpp \
gnc-freqspec-xml-v2.cpp \
gnc-invoice-xml-v2.cpp \
gnc-job-xml-v2.cpp \
gnc-lot-xml-v2.cpp \
gnc-order-xml-v2.cpp \
gnc-owner-xml-v2.cpp \
gnc-pricedb-xml-v2.cpp \
gnc-recurrence-xml-v2.cpp \
gnc-schedxaction-xml-v2.cpp \
gnc-tax-table-xml-v2.cpp \
gnc-transaction-xml-v2.cpp \
gnc-vendor-xml-v2.cpp \
gnc-xml-backend.cpp \
gnc-xml-helper.cpp \
io-example-account.cpp \
io-gncxml-gen.cpp \
io-gncxml-v1.cpp \
io-gncxml-v2.cpp \
io-utils.cpp \
sixtp-dom-generators.cpp \
sixtp-dom-parsers.cpp \
sixtp-stack.cpp \
sixtp-to-dom-parser.cpp \
sixtp-utils.cpp \
sixtp.cpp
libgncmod_backend_xml_la_SOURCES = \
gnc-backend-xml.cpp
noinst_HEADERS = \
gnc-backend-xml.h \
gnc-xml.h \
gnc-address-xml-v2.h \
gnc-bill-term-xml-v2.h \
gnc-customer-xml-v2.h \
gnc-employee-xml-v2.h \
gnc-entry-xml-v2.h \
gnc-invoice-xml-v2.h \
gnc-job-xml-v2.h \
gnc-order-xml-v2.h \
gnc-owner-xml-v2.h \
gnc-tax-table-xml-v2.h \
gnc-vendor-xml-v2.h \
gnc-xml-backend.hpp \
gnc-xml-helper.h \
io-example-account.h \
io-gncxml-gen.h \
io-gncxml-v2.h \
io-gncxml.h \
io-utils.h \
sixtp-dom-generators.h \
sixtp-dom-parsers.h \
sixtp-parsers.h \
sixtp-stack.h \
sixtp-utils.h \
sixtp.h \
xml-helpers.h
libgnc_backend_xml_utils_la_LIBADD = \
${GLIB_LIBS} \
${LIBXML2_LIBS} \
${ZLIB_LIBS} \
${top_builddir}/libgnucash/engine/libgncmod-engine.la \
${top_builddir}/libgnucash/core-utils/libgnc-core-utils.la
libgncmod_backend_xml_la_LDFLAGS = -module -avoid-version
libgncmod_backend_xml_la_LIBADD = \
${GLIB_LIBS} \
${LIBXML2_LIBS} \
${ZLIB_LIBS} \
${top_builddir}/libgnucash/engine/libgncmod-engine.la \
${top_builddir}/libgnucash/core-utils/libgnc-core-utils.la \
libgnc-backend-xml-utils.la
AM_CPPFLAGS += -DG_LOG_DOMAIN=\"gnc.backend.xml\"
EXTRA_DIST = CMakeLists.txt