summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-01-24 04:49:58 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-01-24 04:49:58 -0400
commita69649fb7f5ca7e20713ec260c5f989ae82d446f (patch)
tree41929e6fc4d4d20ffcf0bbbfa681dbe3e3624e21 /Makefile.am
parentdff450ab3dbcb0819029c0bd5aee8dd78703a864 (diff)
downloadfork-ledger-a69649fb7f5ca7e20713ec260c5f989ae82d446f.tar.gz
fork-ledger-a69649fb7f5ca7e20713ec260c5f989ae82d446f.tar.bz2
fork-ledger-a69649fb7f5ca7e20713ec260c5f989ae82d446f.zip
Switched over to using irrxml for parsing XML, rather than expat.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am22
1 files changed, 6 insertions, 16 deletions
diff --git a/Makefile.am b/Makefile.am
index b87affd3..0c00d947 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -6,7 +6,8 @@ EXTRA_DIST = autogen.sh contrib
lib_LTLIBRARIES = libamounts.la libledger.la
libamounts_la_CPPFLAGS = -I$(srcdir)/src -I$(srcdir)/lib \
- -I$(srcdir)/lib/utfcpp/source
+ -I$(srcdir)/lib/utfcpp/source \
+ -I$(srcdir)/lib/irrxml/src
if HAVE_GDTOA
libamounts_la_CPPFLAGS += -I$(top_builddir)/lib/gdtoa -I$(srcdir)/lib/gdtoa
endif
@@ -31,15 +32,10 @@ libamounts_la_SOURCES = \
src/format.cc \
src/option.cc \
\
- lib/sha1.cpp
+ lib/sha1.cpp \
+ \
+ lib/irrxml/src/irrXML.cpp
-if HAVE_EXPAT
-libamounts_la_CPPFLAGS += -DHAVE_EXPAT=1
-else
-if HAVE_XMLPARSE
-libamounts_la_CPPFLAGS += -DHAVE_XMLPARSE=1
-endif
-endif
if HAVE_LIBOFX
libamounts_la_CPPFLAGS += -DHAVE_LIBOFX=1
endif
@@ -64,6 +60,7 @@ libledger_la_SOURCES = \
src/qif.cc \
src/xml.cc \
src/csv.cc \
+ src/gnucash.cc \
\
src/session.cc \
src/report.cc \
@@ -75,13 +72,6 @@ libledger_la_SOURCES = \
src/reconcile.cc \
src/quotes.cc
-if HAVE_EXPAT
-libledger_la_SOURCES += src/gnucash.cc
-else
-if HAVE_XMLPARSE
-libledger_la_SOURCES += src/gnucash.cc
-endif
-endif
if HAVE_LIBOFX
libledger_la_SOURCES += src/ofx.cc
endif