summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am52
1 files changed, 2 insertions, 50 deletions
diff --git a/Makefile.am b/Makefile.am
index f2f59760..d20eb0ce 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -33,10 +33,6 @@ 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
-endif
if DEBUG
libledger_la_CXXFLAGS += -DDEBUG_LEVEL=4
libledger_la_SOURCES += debug.cc
@@ -61,8 +57,6 @@ pkginclude_HEADERS = \
mask.h \
option.h \
parser.h \
- py_eval.h \
- pyledger.h \
qif.h \
quotes.h \
reconcile.h \
@@ -79,12 +73,7 @@ pkginclude_HEADERS = \
bin_PROGRAMS = ledger
ledger_CXXFLAGS =
ledger_SOURCES = main.cc
-if HAVE_BOOST_PYTHON
-ledger_CXXFLAGS += -DUSE_BOOST_PYTHON=1
-ledger_LDADD = $(LIBOBJS) libledger.la -lboost_python -lpython$(PYTHON_VERSION)
-else
ledger_LDADD = $(LIBOBJS) libledger.la
-endif
if HAVE_EXPAT
ledger_CXXFLAGS += -DHAVE_EXPAT=1
ledger_LDADD += -lexpat
@@ -106,48 +95,11 @@ info_TEXINFOS = ledger.texi
######################################################################
-if HAVE_BOOST_PYTHON
-
-noinst_PROGRAMS = ledger.so
-
-if HAVE_EXPAT
-HAVE_EXPAT_VALUE = true
-else
-HAVE_EXPAT_VALUE = false
-endif
-if HAVE_XMLPARSE
-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.la
- CFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS) -L. -L.libs" \
- HAVE_EXPAT="$(HAVE_EXPAT_VALUE)" \
- HAVE_XMLPARSE="$(HAVE_XMLPARSE_VALUE)" \
- HAVE_LIBOFX="$(HAVE_LIBOFX_VALUE)" \
- python setup.py build --build-lib=.
-
-install-exec-hook:
- CFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS) -L. -L.libs" \
- HAVE_EXPAT="$(HAVE_EXPAT_VALUE)" \
- HAVE_XMLPARSE="$(HAVE_XMLPARSE_VALUE)" \
- HAVE_LIBOFX="$(HAVE_LIBOFX_VALUE)" \
- python setup.py install --prefix=$(prefix)
-
-endif
-
all-clean: maintainer-clean
rm -fr *~ .*~ .\#* *.html *.info *.pdf *.a *.so *.o *.lo *.la \
- *.elc *.aux *.cp *.fn *.ky *.log *.pg *.toc *.tp *.vr *.pyc \
+ *.elc *.aux *.cp *.fn *.ky *.log *.pg *.toc *.tp *.vr \
.gdb_history gmon.out h out TAGS ledger valexpr .deps \
.libs build AUTHORS COPYING INSTALL Makefile acconf.h \
acconf.h.in aclocal.m4 autom4te config.guess config.sub \
configure depcomp install-sh libtool ltconfig ltmain.sh \
- missing stamp texinfo.tex Makefile.in mkinstalldirs \
- py-compile
+ missing stamp texinfo.tex Makefile.in mkinstalldirs