summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2005-02-15 03:30:11 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 02:41:00 -0400
commitb4ba11ac126bfd271c64eb09c273e74ffceb696d (patch)
tree19bcf8f0699d13a31bef00cf60a02773c598e9fd
parent5e52cd0904d7f8ba09acf542da5df25a523470cf (diff)
downloadfork-ledger-b4ba11ac126bfd271c64eb09c273e74ffceb696d.tar.gz
fork-ledger-b4ba11ac126bfd271c64eb09c273e74ffceb696d.tar.bz2
fork-ledger-b4ba11ac126bfd271c64eb09c273e74ffceb696d.zip
(HAVE_LIBOFX_VALUE): Added LIBOFX support to the Python build.
-rw-r--r--Makefile.am7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 814f80cd..cb72d504 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -104,15 +104,22 @@ HAVE_XMLPARSE_VALUE = true
else
HAVE_XMLPARSE_VALUE = false
endif
+if HAVE_LIBOFX
+HAVE_LIBOFX_VALUE = true
+else
+HAVE_LIBOFX_VALUE = false
+endif
ledger.so: py_eval.cc libledger.a
CFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS) -L." \
HAVE_XMLPARSE="$(HAVE_XMLPARSE_VALUE)" \
+ HAVE_LIBOFX="$(HAVE_LIBOFX_VALUE)" \
python setup.py build --build-lib=.
install-exec-hook:
CFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS) -L." \
HAVE_XMLPARSE="$(HAVE_XMLPARSE_VALUE)" \
+ HAVE_LIBOFX="$(HAVE_LIBOFX_VALUE)" \
python setup.py install --prefix=$(prefix)
endif