*** empty log message ***
This commit is contained in:
parent
e00c568add
commit
d4bdaa2d2b
2 changed files with 0 additions and 164 deletions
127
Makefile.lt
127
Makefile.lt
|
|
@ -1,127 +0,0 @@
|
||||||
lib_LTLIBRARIES = libledger.la
|
|
||||||
libledger_la_CXXFLAGS =
|
|
||||||
libledger_la_SOURCES = \
|
|
||||||
amount.cc \
|
|
||||||
balance.cc \
|
|
||||||
binary.cc \
|
|
||||||
config.cc \
|
|
||||||
datetime.cc \
|
|
||||||
derive.cc \
|
|
||||||
format.cc \
|
|
||||||
journal.cc \
|
|
||||||
mask.cc \
|
|
||||||
option.cc \
|
|
||||||
parser.cc \
|
|
||||||
reconcile.cc \
|
|
||||||
qif.cc \
|
|
||||||
quotes.cc \
|
|
||||||
textual.cc \
|
|
||||||
valexpr.cc \
|
|
||||||
value.cc \
|
|
||||||
walk.cc
|
|
||||||
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
|
|
||||||
endif
|
|
||||||
if DEBUG
|
|
||||||
libledger_la_CXXFLAGS += -DDEBUG_LEVEL=4
|
|
||||||
libledger_la_SOURCES += debug.cc
|
|
||||||
endif
|
|
||||||
libledger_la_LDFLAGS = -static -version-info 2:0
|
|
||||||
|
|
||||||
pkginclude_HEADERS = \
|
|
||||||
acconf.h \
|
|
||||||
amount.h \
|
|
||||||
balance.h \
|
|
||||||
binary.h \
|
|
||||||
config.h \
|
|
||||||
datetime.h \
|
|
||||||
debug.h \
|
|
||||||
derive.h \
|
|
||||||
error.h \
|
|
||||||
format.h \
|
|
||||||
gnucash.h \
|
|
||||||
journal.h \
|
|
||||||
ledger.h \
|
|
||||||
mask.h \
|
|
||||||
option.h \
|
|
||||||
parser.h \
|
|
||||||
py_eval.h \
|
|
||||||
pyledger.h \
|
|
||||||
reconcile.h \
|
|
||||||
qif.h \
|
|
||||||
quotes.h \
|
|
||||||
textual.h \
|
|
||||||
timing.h \
|
|
||||||
util.h \
|
|
||||||
valexpr.h \
|
|
||||||
value.h \
|
|
||||||
walk.h \
|
|
||||||
xml.h
|
|
||||||
|
|
||||||
######################################################################
|
|
||||||
|
|
||||||
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_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
|
|
||||||
ledger_LDFLAGS = -static
|
|
||||||
|
|
||||||
info_TEXINFOS = ledger.texi
|
|
||||||
|
|
||||||
######################################################################
|
|
||||||
|
|
||||||
if HAVE_BOOST_PYTHON
|
|
||||||
|
|
||||||
noinst_PROGRAMS = ledger.so
|
|
||||||
|
|
||||||
if HAVE_XMLPARSE
|
|
||||||
HAVE_XMLPARSE_VALUE = true
|
|
||||||
else
|
|
||||||
HAVE_XMLPARSE_VALUE = false
|
|
||||||
endif
|
|
||||||
|
|
||||||
ledger.so: py_eval.cc libledger.la
|
|
||||||
CFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS) -L. -L.libs" \
|
|
||||||
HAVE_XMLPARSE="$(HAVE_XMLPARSE_VALUE)" \
|
|
||||||
python setup.py build --build-lib=.
|
|
||||||
|
|
||||||
install-exec-hook:
|
|
||||||
CFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS) -L. -L.libs" \
|
|
||||||
HAVE_XMLPARSE="$(HAVE_XMLPARSE_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 \
|
|
||||||
.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
|
|
||||||
37
acprep.lt
37
acprep.lt
|
|
@ -1,37 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
glibtoolize --automake -f -c
|
|
||||||
aclocal
|
|
||||||
autoheader
|
|
||||||
touch AUTHORS ChangeLog COPYING
|
|
||||||
|
|
||||||
if [ "$1" = "--dist" ]; then
|
|
||||||
automake -acfi
|
|
||||||
else
|
|
||||||
automake -acf
|
|
||||||
fi
|
|
||||||
|
|
||||||
autoconf
|
|
||||||
|
|
||||||
INCDIRS="-I/sw/include -I/usr/include/httpd/xml -I/sw/include/python2.3"
|
|
||||||
INCDIRS="$INCDIRS -Wno-long-double"
|
|
||||||
LIBDIRS="-L/sw/lib -L/sw/lib/python2.3/config"
|
|
||||||
|
|
||||||
if [ "$1" = "--debug" ]; then
|
|
||||||
./configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" CXXFLAGS="-g" \
|
|
||||||
--enable-debug --enable-python --disable-shared
|
|
||||||
elif [ "$1" = "--opt" ]; then
|
|
||||||
./configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" \
|
|
||||||
CXXFLAGS="-fomit-frame-pointer -fastf -mcpu=7450 -fPIC"
|
|
||||||
elif [ "$1" = "--flat-opt" ]; then
|
|
||||||
./configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" \
|
|
||||||
CXXFLAGS="-fomit-frame-pointer -fastf -mcpu=7450" --disable-shared
|
|
||||||
elif [ "$1" = "--safe-opt" ]; then
|
|
||||||
./configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" \
|
|
||||||
CXXFLAGS="-fomit-frame-pointer -fastf -mcpu=7450 -DDEBUG_LEVEL=1" \
|
|
||||||
--enable-python --disable-shared
|
|
||||||
elif [ "$1" = "--perf" ]; then
|
|
||||||
./configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" CXXFLAGS="-g -pg"
|
|
||||||
fi
|
|
||||||
|
|
||||||
rm AUTHORS COPYING
|
|
||||||
Loading…
Add table
Reference in a new issue