summaryrefslogtreecommitdiff
path: root/Makefile.lt
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.lt')
-rw-r--r--Makefile.lt14
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile.lt b/Makefile.lt
index cb87e5f1..8911ecf1 100644
--- a/Makefile.lt
+++ b/Makefile.lt
@@ -12,6 +12,7 @@ libledger_la_SOURCES = \
mask.cc \
option.cc \
parser.cc \
+ reconcile.cc \
qif.cc \
quotes.cc \
textual.cc \
@@ -22,6 +23,10 @@ if HAVE_XMLPARSE
libledger_la_CXXFLAGS += -DHAVE_XMLPARSE=1
libledger_la_SOURCES += gnucash.cc xml.cc
endif
+if HAVE_LIBOFX
+libledger_la_CXXFLAGS += -DHAVE_LIBOFX=1
+libledger_la_SOURCES += ofx.cc
+endif
if HAVE_BOOST_PYTHON
libledger_la_CXXFLAGS += -DUSE_BOOST_PYTHON=1
libledger_la_SOURCES += py_eval.cc
@@ -51,6 +56,7 @@ pkginclude_HEADERS = \
parser.h \
py_eval.h \
pyledger.h \
+ reconcile.h \
qif.h \
quotes.h \
textual.h \
@@ -72,6 +78,14 @@ ledger_LDADD = $(LIBOBJS) libledger.la -lboost_python -lpython$(PYTHON_VERSION)
else
ledger_LDADD = $(LIBOBJS) libledger.la
endif
+if HAVE_XMLPARSE
+ledger_CXXFLAGS += -DHAVE_XMLPARSE=1
+ledger_LDADD += -lxmlparse -lxmltok
+endif
+if HAVE_LIBOFX
+ledger_CXXFLAGS += -DHAVE_LIBOFX=1
+ledger_LDADD += -lofx
+endif
if DEBUG
ledger_CXXFLAGS += -DDEBUG_LEVEL=4
endif