summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-04-30 06:26:38 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:38:33 -0400
commitc8899addfd2deed3d84be2de234681db64987722 (patch)
tree07f9a5eb603ff4ec83fe18c83083575d2b7a439a
parentaa9cc125796711afcaa459898e95527fdae8e912 (diff)
downloadfork-ledger-c8899addfd2deed3d84be2de234681db64987722.tar.gz
fork-ledger-c8899addfd2deed3d84be2de234681db64987722.tar.bz2
fork-ledger-c8899addfd2deed3d84be2de234681db64987722.zip
Rearranged the sources a bit.
-rw-r--r--Makefile.am178
-rw-r--r--Makefile.in638
-rwxr-xr-xacprep1
-rwxr-xr-xcompile142
-rwxr-xr-xconfigure2
-rw-r--r--configure.in2
-rw-r--r--contrib/ledger.vim (renamed from ledger.vim)0
-rw-r--r--contrib/ledger.xcodeproj/johnw.mode1 (renamed from ledger.xcodeproj/johnw.mode1)0
-rw-r--r--contrib/ledger.xcodeproj/johnw.pbxuser (renamed from ledger.xcodeproj/johnw.pbxuser)0
-rw-r--r--contrib/ledger.xcodeproj/project.pbxproj (renamed from ledger.xcodeproj/project.pbxproj)0
-rw-r--r--docs/Doxyfile (renamed from Doxyfile)0
-rw-r--r--docs/ledger.info (renamed from ledger.info)78
-rw-r--r--docs/ledger.texi (renamed from ledger.texi)0
-rw-r--r--ledger.pdfbin282087 -> 0 bytes
-rw-r--r--lisp/ledger.el (renamed from ledger.el)0
-rw-r--r--lisp/timeclock.el (renamed from timeclock.el)0
-rw-r--r--parsetime.yy283
-rw-r--r--pyledger.cc10
-rw-r--r--scantime.ll32
-rwxr-xr-xsetup.py4
-rw-r--r--src/.gitignore (renamed from tests/python/corelib/.gitignore)0
-rw-r--r--src/COPYRIGHT (renamed from COPYRIGHT)0
-rw-r--r--src/amount.cc (renamed from amount.cc)0
-rw-r--r--src/amount.h (renamed from amount.h)0
-rw-r--r--src/balance.cc (renamed from balance.cc)0
-rw-r--r--src/balance.h (renamed from balance.h)0
-rw-r--r--src/binary.cc (renamed from binary.cc)0
-rw-r--r--src/binary.h (renamed from binary.h)0
-rw-r--r--src/context.h (renamed from context.h)0
-rw-r--r--src/csv.cc (renamed from csv.cc)0
-rw-r--r--src/csv.h (renamed from csv.h)0
-rw-r--r--src/derive.cc (renamed from derive.cc)0
-rw-r--r--src/derive.h (renamed from derive.h)0
-rw-r--r--src/emacs.cc (renamed from emacs.cc)0
-rw-r--r--src/emacs.h (renamed from emacs.h)0
-rw-r--r--src/error.h (renamed from error.h)0
-rw-r--r--src/fdstream.hpp (renamed from fdstream.hpp)0
-rw-r--r--src/format.cc (renamed from format.cc)6
-rw-r--r--src/format.h (renamed from format.h)0
-rw-r--r--src/gd_qnan.h (renamed from gdtoa/gd_qnan.h)0
-rw-r--r--src/gnucash.cc (renamed from gnucash.cc)0
-rw-r--r--src/gnucash.h (renamed from gnucash.h)0
-rw-r--r--src/journal.cc (renamed from journal.cc)2
-rw-r--r--src/journal.h (renamed from journal.h)0
-rw-r--r--src/ledger.h (renamed from ledger.h)1
-rw-r--r--src/main.cc (renamed from main.cc)10
-rw-r--r--src/mask.cc (renamed from mask.cc)0
-rw-r--r--src/mask.h (renamed from mask.h)0
-rw-r--r--src/ofx.cc (renamed from ofx.cc)0
-rw-r--r--src/ofx.h (renamed from ofx.h)0
-rw-r--r--src/option.cc (renamed from option.cc)5
-rw-r--r--src/option.h (renamed from option.h)0
-rw-r--r--src/parser.h (renamed from parser.h)0
-rw-r--r--src/py_amount.cc (renamed from py_amount.cc)7
-rw-r--r--src/py_balance.cc (renamed from py_balance.cc)0
-rw-r--r--src/py_format.cc (renamed from py_format.cc)0
-rw-r--r--src/py_journal.cc (renamed from py_journal.cc)0
-rw-r--r--src/py_option.cc (renamed from py_option.cc)0
-rw-r--r--src/py_parser.cc (renamed from py_parser.cc)0
-rw-r--r--src/py_report.cc (renamed from py_report.cc)0
-rw-r--r--src/py_session.cc (renamed from py_session.cc)0
-rw-r--r--src/py_transform.cc (renamed from py_transform.cc)0
-rw-r--r--src/py_value.cc (renamed from py_value.cc)0
-rw-r--r--src/py_xpath.cc (renamed from py_xpath.cc)0
-rw-r--r--src/pyfstream.h (renamed from pyfstream.h)0
-rw-r--r--src/pyinterp.cc (renamed from py_eval.cc)44
-rw-r--r--src/pyinterp.h (renamed from py_eval.h)7
-rw-r--r--src/pyledger.cc53
-rw-r--r--src/pyledger.h (renamed from pyledger.h)2
-rw-r--r--src/qif.cc (renamed from qif.cc)0
-rw-r--r--src/qif.h (renamed from qif.h)0
-rw-r--r--src/quotes.cc (renamed from quotes.cc)0
-rw-r--r--src/quotes.h (renamed from quotes.h)0
-rw-r--r--src/reconcile.cc (renamed from reconcile.cc)0
-rw-r--r--src/reconcile.h (renamed from reconcile.h)0
-rw-r--r--src/register.cc (renamed from register.cc)0
-rw-r--r--src/register.h (renamed from register.h)0
-rw-r--r--src/report.cc (renamed from report.cc)0
-rw-r--r--src/report.h (renamed from report.h)0
-rw-r--r--src/session.cc (renamed from session.cc)6
-rw-r--r--src/session.h (renamed from session.h)4
-rw-r--r--src/system.hh (renamed from system.hh)8
-rw-r--r--src/textual.cc (renamed from textual.cc)0
-rw-r--r--src/textual.h (renamed from textual.h)0
-rw-r--r--src/times.cc (renamed from times.cc)0
-rw-r--r--src/times.h (renamed from times.h)0
-rw-r--r--src/transform.cc (renamed from transform.cc)0
-rw-r--r--src/transform.h (renamed from transform.h)0
-rw-r--r--src/utils.cc (renamed from utils.cc)0
-rw-r--r--src/utils.h (renamed from utils.h)0
-rw-r--r--src/value.cc (renamed from value.cc)0
-rw-r--r--src/value.h (renamed from value.h)0
-rw-r--r--src/xml.cc (renamed from xml.cc)12
-rw-r--r--src/xml.h (renamed from xml.h)44
-rw-r--r--src/xmlparse.cc (renamed from xmlparse.cc)18
-rw-r--r--src/xpath.cc (renamed from xpath.cc)5
-rw-r--r--src/xpath.h (renamed from xpath.h)0
-rw-r--r--tests/numerics/BasicAmount.cc (renamed from tests/corelib/numerics/BasicAmount.cc)0
-rw-r--r--tests/numerics/BasicAmount.h (renamed from tests/corelib/numerics/BasicAmount.h)0
-rw-r--r--tests/numerics/Commodity.cc (renamed from tests/corelib/numerics/Commodity.cc)0
-rw-r--r--tests/numerics/Commodity.h (renamed from tests/corelib/numerics/Commodity.h)0
-rw-r--r--tests/numerics/CommodityAmount.cc (renamed from tests/corelib/numerics/CommodityAmount.cc)0
-rw-r--r--tests/numerics/CommodityAmount.h (renamed from tests/corelib/numerics/CommodityAmount.h)0
-rw-r--r--tests/numerics/DateTime.cc (renamed from tests/corelib/numerics/DateTime.cc)0
-rw-r--r--tests/numerics/DateTimeTest.h (renamed from tests/corelib/numerics/DateTimeTest.h)0
-rwxr-xr-xtests/python/PyUnitTests.py (renamed from PyUnitTests.py)0
-rw-r--r--tests/python/UnitTests.py4
-rw-r--r--tests/python/corelib/values/__init__.py0
-rw-r--r--tests/python/numerics/.gitignore (renamed from tests/python/corelib/numerics/.gitignore)0
-rw-r--r--tests/python/numerics/BasicAmount.py (renamed from tests/python/corelib/numerics/BasicAmount.py)0
-rw-r--r--tests/python/numerics/CommodityAmount.py (renamed from tests/python/corelib/numerics/CommodityAmount.py)0
-rw-r--r--tests/python/numerics/__init__.py (renamed from tests/python/corelib/__init__.py)0
-rw-r--r--tests/python/numerics/balances/__init__.py (renamed from tests/python/corelib/balances/__init__.py)0
-rw-r--r--tests/python/numerics/values/__init__.py (renamed from tests/python/corelib/numerics/__init__.py)0
-rw-r--r--xmlparse.h25
-rwxr-xr-xylwrap223
116 files changed, 593 insertions, 1263 deletions
diff --git a/Makefile.am b/Makefile.am
index c5ab1279..6a6e42a9 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -27,54 +27,52 @@ AM_LFLAGS = -o $(LEX_OUTPUT_ROOT).c
#WARNFLAGS += -Wconversion -Wshorten-64-to-32 -Wsign-compare
#WARNFLAGS += -Wmissing-field-initializers -pedantic-errors
-libledger_la_CPPFLAGS = -I$(top_builddir)/gdtoa
+libledger_la_CPPFLAGS = -I$(top_builddir)/gdtoa -I$(srcdir) -I$(srcdir)/src
libledger_la_LDFLAGS = -release 3.0
libledger_la_SOURCES = \
- utils.cc \
- times.cc \
- amount.cc \
- quotes.cc \
- balance.cc \
- value.cc \
- xml.cc \
- xpath.cc \
- mask.cc \
- format.cc \
- \
- session.cc \
- journal.cc \
- textual.cc \
- binary.cc \
- xmlparse.cc \
- qif.cc \
- \
- report.cc \
- transform.cc \
- \
- register.cc \
- csv.cc \
- derive.cc \
- emacs.cc \
- reconcile.cc
+ src/session.cc \
+ src/journal.cc \
+ src/amount.cc \
+ src/balance.cc \
+ src/value.cc \
+ src/binary.cc \
+ src/qif.cc \
+ src/textual.cc \
+ src/quotes.cc \
+ src/csv.cc \
+ src/derive.cc \
+ src/emacs.cc \
+ src/format.cc \
+ src/reconcile.cc \
+ src/register.cc \
+ src/report.cc \
+ src/transform.cc \
+ src/mask.cc \
+ src/times.cc \
+ src/utils.cc \
+ src/xml.cc \
+ src/xmlparse.cc \
+ src/xpath.cc
if HAVE_EXPAT
libledger_la_CPPFLAGS += -DHAVE_EXPAT=1
-libledger_la_SOURCES += gnucash.cc
+libledger_la_SOURCES += src/gnucash.cc
endif
if HAVE_XMLPARSE
libledger_la_CPPFLAGS += -DHAVE_XMLPARSE=1
-libledger_la_SOURCES += gnucash.cc
+libledger_la_SOURCES += src/gnucash.cc
endif
if HAVE_LIBOFX
libledger_la_CPPFLAGS += -DHAVE_LIBOFX=1
-libledger_la_SOURCES += ofx.cc
+libledger_la_SOURCES += src/ofx.cc
endif
if DEBUG
libledger_la_CPPFLAGS += -DFULL_DEBUG
endif
if HAVE_BOOST_PYTHON
libledger_la_CPPFLAGS += -DUSE_BOOST_PYTHON=1
+libledger_la_SOURCES += src/pyinterp.cc
endif
if USE_PCH
@@ -82,11 +80,11 @@ libledger_la_CXXFLAGS = $(WARNFLAGS)
nodist_libledger_la_SOURCES = system.hh.gch
BUILT_SOURCES += system.hh.gch
-CLEANFILES += system.hh.gch system.hh
+CLEANFILES += system.hh.gch
-$(top_builddir)/system.hh.gch: $(srcdir)/system.hh acconf.h $(srcdir)/fdstream.hpp
+$(top_builddir)/system.hh.gch: $(srcdir)/src/system.hh acconf.h
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(libledger_la_CPPFLAGS) \
- -o $@ $(srcdir)/system.hh
+ -o $@ $(srcdir)/src/system.hh
endif
@@ -94,46 +92,44 @@ libpyledger_la_CPPFLAGS = $(libledger_la_CPPFLAGS)
libpyledger_la_LDFLAGS = -release 3.0
libpyledger_la_SOURCES = \
- py_eval.cc \
- py_amount.cc
+ src/py_amount.cc
pkginclude_HEADERS = \
- amount.h \
- times.h \
- balance.h \
- binary.h \
- context.h \
- csv.h \
- derive.h \
- emacs.h \
- error.h \
- fdstream.hpp \
- format.h \
- gnucash.h \
- journal.h \
- ledger.h \
- mask.h \
- ofx.h \
- option.h \
- parser.h \
- py_eval.h \
- pyfstream.h \
- pyledger.h \
- qif.h \
- quotes.h \
- reconcile.h \
- register.h \
- report.h \
- session.h \
- system.hh \
- textual.h \
- transform.h \
- utils.h \
- value.h \
- xml.h \
- xmlparse.h \
- xpath.h
+ src/amount.h \
+ src/balance.h \
+ src/binary.h \
+ src/context.h \
+ src/csv.h \
+ src/derive.h \
+ src/emacs.h \
+ src/error.h \
+ src/fdstream.hpp \
+ src/format.h \
+ src/gnucash.h \
+ src/journal.h \
+ src/ledger.h \
+ src/mask.h \
+ src/ofx.h \
+ src/option.h \
+ src/parser.h \
+ src/pyinterp.h \
+ src/pyfstream.h \
+ src/pyledger.h \
+ src/qif.h \
+ src/quotes.h \
+ src/reconcile.h \
+ src/register.h \
+ src/report.h \
+ src/session.h \
+ src/system.hh \
+ src/textual.h \
+ src/times.h \
+ src/transform.h \
+ src/utils.h \
+ src/value.h \
+ src/xml.h \
+ src/xpath.h
######################################################################
@@ -141,19 +137,22 @@ bin_PROGRAMS = ledger
ledger_CPPFLAGS = $(libledger_la_CPPFLAGS)
ledger_CXXFLAGS = $(WARNFLAGS)
-ledger_SOURCES = option.cc main.cc
ledger_LDADD = $(LIBOBJS) libledger.la gdtoa/libgdtoa.la $(LEXLIB)
ledger_LDFLAGS = -static # for the sake of command-line speed
+ledger_SOURCES = \
+ src/option.cc \
+ src/main.cc
+
if HAVE_BOOST_PYTHON
ledger_LDADD += libpyledger.la
endif
-info_TEXINFOS = ledger.texi
+info_TEXINFOS = docs/ledger.texi
######################################################################
-dist_lisp_LISP = ledger.el timeclock.el
+dist_lisp_LISP = lisp/ledger.el lisp/timeclock.el
######################################################################
@@ -166,7 +165,7 @@ CLEANFILES += ledger.so
clean-local:
rm -fr build
-ledger_so_SOURCES = pyledger.cc
+ledger_so_SOURCES = src/pyledger.cc
ledger_so_DEPENDENCIES = libledger.la gdtoa/libgdtoa.la libpyledger.la
PYLIBS = pyledger ledger gdtoa boost_date_time boost_regex boost_python gmp
@@ -181,7 +180,8 @@ if HAVE_LIBOFX
PYLIBS += ofx
endif
-ledger.so: pyledger.cc libledger.la gdtoa/libgdtoa.la libpyledger.la
+ledger.so: src/pyledger.cc \
+ libledger.la gdtoa/libgdtoa.la libpyledger.la
SRCDIR="$(srcdir)" \
CFLAGS="$(CPPFLAGS) -I$(srcdir) $(libledger_la_CPPFLAGS)" \
LDFLAGS="$(LDFLAGS) -L. -L.libs -Lgdtoa -Lgdtoa/.libs" \
@@ -208,30 +208,32 @@ check_PROGRAMS = $(TESTS)
nodist_UnitTests_SOURCES = tests/UnitTests.cc \
\
- tests/corelib/numerics/BasicAmount.cc \
- tests/corelib/numerics/CommodityAmount.cc \
- tests/corelib/numerics/DateTime.cc \
- tests/corelib/numerics/Commodity.cc
+ tests/numerics/BasicAmount.cc \
+ tests/numerics/CommodityAmount.cc \
+ tests/numerics/DateTime.cc \
+ tests/numerics/Commodity.cc
UnitTests_CPPFLAGS = -I$(srcdir)/tests $(libledger_la_CPPFLAGS)
UnitTests_LDFLAGS = $(LIBADD_DL)
UnitTests_LDADD = $(lib_LTLIBRARIES) gdtoa/libgdtoa.la -lcppunit
-PyUnitTests_SOURCES = PyUnitTests.py
+PyUnitTests_SOURCES = tests/python/PyUnitTests.py
-PyUnitTests: PyUnitTests.py
- cat $(srcdir)/PyUnitTests.py | sed "s/%srcdir%/$(ESC_srcdir)/g" \
- | sed "s/%builddir%/$(ESC_builddir)/g" > PyUnitTests
- chmod 755 PyUnitTests
+PyUnitTests: $(srcdir)/tests/python/PyUnitTests.py
+ cat $(srcdir)/tests/python/PyUnitTests.py \
+ | sed "s/%srcdir%/$(ESC_srcdir)/g" \
+ | sed "s/%builddir%/$(ESC_builddir)/g" > $@
+ chmod 755 $@
######################################################################
DISTCLEANFILES = Doxyfile.gen
-alldocs: ledger.info ledger.pdf doxygen-docs
+alldocs: docs/ledger.info docs/ledger.pdf doxygen-docs
-$(top_builddir)/Doxyfile.gen: $(srcdir)/Doxyfile
- cat $(srcdir)/Doxyfile | sed "s/%srcdir%/$(ESC_srcdir)/g" \
+$(top_builddir)/Doxyfile.gen: $(srcdir)/docs/Doxyfile
+ cat $(srcdir)/docs/Doxyfile \
+ | sed "s/%srcdir%/$(ESC_srcdir)/g" \
| sed "s/%builddir%/$(ESC_builddir)/g" > $@
doxygen-docs: $(top_builddir)/Doxyfile.gen
@@ -253,4 +255,4 @@ all-clean: maintainer-clean
autom4te config.guess config.sub configure depcomp install-sh \
libtool ltconfig ltmain.sh missing stamp texinfo.tex \
Makefile.in mkinstalldirs elisp-comp elc-stamp elc-temp \
- py-compile
+ py-compile ylwrap compile
diff --git a/Makefile.in b/Makefile.in
index c8e2b999..0e74ca90 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -37,32 +37,33 @@ build_triplet = @build@
host_triplet = @host@
@HAVE_BOOST_PYTHON_TRUE@am__append_1 = libpyledger.la
@HAVE_EXPAT_TRUE@am__append_2 = -DHAVE_EXPAT=1
-@HAVE_EXPAT_TRUE@am__append_3 = gnucash.cc
+@HAVE_EXPAT_TRUE@am__append_3 = src/gnucash.cc
@HAVE_XMLPARSE_TRUE@am__append_4 = -DHAVE_XMLPARSE=1
-@HAVE_XMLPARSE_TRUE@am__append_5 = gnucash.cc
+@HAVE_XMLPARSE_TRUE@am__append_5 = src/gnucash.cc
@HAVE_LIBOFX_TRUE@am__append_6 = -DHAVE_LIBOFX=1
-@HAVE_LIBOFX_TRUE@am__append_7 = ofx.cc
+@HAVE_LIBOFX_TRUE@am__append_7 = src/ofx.cc
@DEBUG_TRUE@am__append_8 = -DFULL_DEBUG
@HAVE_BOOST_PYTHON_TRUE@am__append_9 = -DUSE_BOOST_PYTHON=1
-@USE_PCH_TRUE@am__append_10 = system.hh.gch
-@USE_PCH_TRUE@am__append_11 = system.hh.gch system.hh
+@HAVE_BOOST_PYTHON_TRUE@am__append_10 = src/pyinterp.cc
+@USE_PCH_TRUE@am__append_11 = system.hh.gch
+@USE_PCH_TRUE@am__append_12 = system.hh.gch
bin_PROGRAMS = ledger$(EXEEXT)
-@HAVE_BOOST_PYTHON_TRUE@am__append_12 = libpyledger.la
+@HAVE_BOOST_PYTHON_TRUE@am__append_13 = libpyledger.la
@HAVE_BOOST_PYTHON_TRUE@noinst_PROGRAMS = ledger.so$(EXEEXT)
-@HAVE_BOOST_PYTHON_TRUE@am__append_13 = ledger.so
-@HAVE_BOOST_PYTHON_TRUE@@HAVE_EXPAT_TRUE@am__append_14 = expat
-@HAVE_BOOST_PYTHON_TRUE@@HAVE_XMLPARSE_TRUE@am__append_15 = xmlparse xmltok
-@HAVE_BOOST_PYTHON_TRUE@@HAVE_LIBOFX_TRUE@am__append_16 = ofx
+@HAVE_BOOST_PYTHON_TRUE@am__append_14 = ledger.so
+@HAVE_BOOST_PYTHON_TRUE@@HAVE_EXPAT_TRUE@am__append_15 = expat
+@HAVE_BOOST_PYTHON_TRUE@@HAVE_XMLPARSE_TRUE@am__append_16 = xmlparse xmltok
+@HAVE_BOOST_PYTHON_TRUE@@HAVE_LIBOFX_TRUE@am__append_17 = ofx
TESTS = UnitTests$(EXEEXT) $(am__EXEEXT_1)
-@HAVE_BOOST_PYTHON_TRUE@am__append_17 = PyUnitTests
+@HAVE_BOOST_PYTHON_TRUE@am__append_18 = PyUnitTests
check_PROGRAMS = $(am__EXEEXT_2)
subdir = .
DIST_COMMON = README $(am__configure_deps) $(dist_lisp_LISP) \
$(pkginclude_HEADERS) $(srcdir)/Makefile.am \
$(srcdir)/Makefile.in $(srcdir)/acconf.h.in \
$(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
- TODO compile config.guess config.sub depcomp elisp-comp \
- install-sh ltmain.sh missing texinfo.tex ylwrap
+ TODO config.guess config.sub depcomp elisp-comp install-sh \
+ ltmain.sh missing texinfo.tex
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/configure.in
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
@@ -84,26 +85,31 @@ am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" \
libLTLIBRARIES_INSTALL = $(INSTALL)
LTLIBRARIES = $(lib_LTLIBRARIES)
libledger_la_LIBADD =
-am__libledger_la_SOURCES_DIST = utils.cc times.cc amount.cc quotes.cc \
- balance.cc value.cc xml.cc xpath.cc mask.cc format.cc \
- session.cc journal.cc textual.cc binary.cc xmlparse.cc qif.cc \
- report.cc transform.cc register.cc csv.cc derive.cc emacs.cc \
- reconcile.cc gnucash.cc ofx.cc
+am__libledger_la_SOURCES_DIST = src/session.cc src/journal.cc \
+ src/amount.cc src/balance.cc src/value.cc src/binary.cc \
+ src/qif.cc src/textual.cc src/quotes.cc src/csv.cc \
+ src/derive.cc src/emacs.cc src/format.cc src/reconcile.cc \
+ src/register.cc src/report.cc src/transform.cc src/mask.cc \
+ src/times.cc src/utils.cc src/xml.cc src/xmlparse.cc \
+ src/xpath.cc src/gnucash.cc src/ofx.cc src/pyinterp.cc
@HAVE_EXPAT_TRUE@am__objects_1 = libledger_la-gnucash.lo
@HAVE_XMLPARSE_TRUE@am__objects_2 = libledger_la-gnucash.lo
@HAVE_LIBOFX_TRUE@am__objects_3 = libledger_la-ofx.lo
-am_libledger_la_OBJECTS = libledger_la-utils.lo libledger_la-times.lo \
- libledger_la-amount.lo libledger_la-quotes.lo \
+@HAVE_BOOST_PYTHON_TRUE@am__objects_4 = libledger_la-pyinterp.lo
+am_libledger_la_OBJECTS = libledger_la-session.lo \
+ libledger_la-journal.lo libledger_la-amount.lo \
libledger_la-balance.lo libledger_la-value.lo \
- libledger_la-xml.lo libledger_la-xpath.lo libledger_la-mask.lo \
- libledger_la-format.lo libledger_la-session.lo \
- libledger_la-journal.lo libledger_la-textual.lo \
- libledger_la-binary.lo libledger_la-xmlparse.lo \
- libledger_la-qif.lo libledger_la-report.lo \
- libledger_la-transform.lo libledger_la-register.lo \
+ libledger_la-binary.lo libledger_la-qif.lo \
+ libledger_la-textual.lo libledger_la-quotes.lo \
libledger_la-csv.lo libledger_la-derive.lo \
- libledger_la-emacs.lo libledger_la-reconcile.lo \
- $(am__objects_1) $(am__objects_2) $(am__objects_3)
+ libledger_la-emacs.lo libledger_la-format.lo \
+ libledger_la-reconcile.lo libledger_la-register.lo \
+ libledger_la-report.lo libledger_la-transform.lo \
+ libledger_la-mask.lo libledger_la-times.lo \
+ libledger_la-utils.lo libledger_la-xml.lo \
+ libledger_la-xmlparse.lo libledger_la-xpath.lo \
+ $(am__objects_1) $(am__objects_2) $(am__objects_3) \
+ $(am__objects_4)
nodist_libledger_la_OBJECTS =
libledger_la_OBJECTS = $(am_libledger_la_OBJECTS) \
$(nodist_libledger_la_OBJECTS)
@@ -111,8 +117,7 @@ libledger_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
$(LIBTOOLFLAGS) --mode=link $(CXXLD) $(libledger_la_CXXFLAGS) \
$(CXXFLAGS) $(libledger_la_LDFLAGS) $(LDFLAGS) -o $@
libpyledger_la_LIBADD =
-am_libpyledger_la_OBJECTS = libpyledger_la-py_eval.lo \
- libpyledger_la-py_amount.lo
+am_libpyledger_la_OBJECTS = libpyledger_la-py_amount.lo
libpyledger_la_OBJECTS = $(am_libpyledger_la_OBJECTS)
libpyledger_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
$(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
@@ -137,11 +142,11 @@ UnitTests_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
am_ledger_OBJECTS = ledger-option.$(OBJEXT) ledger-main.$(OBJEXT)
ledger_OBJECTS = $(am_ledger_OBJECTS)
ledger_DEPENDENCIES = $(LIBOBJS) libledger.la gdtoa/libgdtoa.la \
- $(am__append_12)
+ $(am__append_13)
ledger_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
--mode=link $(CXXLD) $(ledger_CXXFLAGS) $(CXXFLAGS) \
$(ledger_LDFLAGS) $(LDFLAGS) -o $@
-am__ledger_so_SOURCES_DIST = pyledger.cc
+am__ledger_so_SOURCES_DIST = src/pyledger.cc
@HAVE_BOOST_PYTHON_TRUE@am_ledger_so_OBJECTS = pyledger.$(OBJEXT)
ledger_so_OBJECTS = $(am_ledger_so_OBJECTS)
ledger_so_LDADD = $(LDADD)
@@ -173,13 +178,14 @@ SOURCES = $(libledger_la_SOURCES) $(nodist_libledger_la_SOURCES) \
DIST_SOURCES = $(am__libledger_la_SOURCES_DIST) \
$(libpyledger_la_SOURCES) $(PyUnitTests_SOURCES) \
$(ledger_SOURCES) $(am__ledger_so_SOURCES_DIST)
-INFO_DEPS = $(srcdir)/ledger.info
+am__dirstamp = $(am__leading_dot)dirstamp
+INFO_DEPS = $(srcdir)/docs/ledger.info
am__TEXINFO_TEX_DIR = $(srcdir)
-DVIS = ledger.dvi
-PDFS = ledger.pdf
-PSS = ledger.ps
-HTMLS = ledger.html
-TEXINFOS = ledger.texi
+DVIS = docs/ledger.dvi
+PDFS = docs/ledger.pdf
+PSS = docs/ledger.ps
+HTMLS = docs/ledger.html
+TEXINFOS = docs/ledger.texi
TEXI2DVI = texi2dvi
TEXI2PDF = $(TEXI2DVI) --pdf --batch
MAKEINFOHTML = $(MAKEINFO) --html
@@ -194,7 +200,7 @@ RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
ps-recursive uninstall-recursive
dist_lispLISP_INSTALL = $(INSTALL_DATA)
LISP = $(dist_lisp_LISP)
-am__ELFILES = ledger.el timeclock.el
+am__ELFILES = lisp/ledger.el lisp/timeclock.el
am__ELCFILES = $(am__ELFILES:.el=.elc)
ELCFILES = $(LISP:.el=.elc)
elisp_comp = $(top_srcdir)/elisp-comp
@@ -335,8 +341,8 @@ target_alias = @target_alias@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
SUBDIRS = gdtoa
-BUILT_SOURCES = $(am__append_10)
-CLEANFILES = $(am__append_11) $(am__append_13)
+BUILT_SOURCES = $(am__append_11)
+CLEANFILES = $(am__append_12) $(am__append_14)
ESC_srcdir = `echo "$(srcdir)" | sed 's/\//\\\\\//g'`
ESC_builddir = `echo "$(top_builddir)" | sed 's/\//\\\\\//g'`
ESC_distdir = `echo "$(distdir)" | sed 's/\//\\\\\//g'`
@@ -349,87 +355,91 @@ AM_LFLAGS = -o $(LEX_OUTPUT_ROOT).c
#WARNFLAGS += -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion
#WARNFLAGS += -Wconversion -Wshorten-64-to-32 -Wsign-compare
#WARNFLAGS += -Wmissing-field-initializers -pedantic-errors
-libledger_la_CPPFLAGS = -I$(top_builddir)/gdtoa $(am__append_2) \
- $(am__append_4) $(am__append_6) $(am__append_8) \
- $(am__append_9)
+libledger_la_CPPFLAGS = -I$(top_builddir)/gdtoa -I$(srcdir) \
+ -I$(srcdir)/src $(am__append_2) $(am__append_4) \
+ $(am__append_6) $(am__append_8) $(am__append_9)
libledger_la_LDFLAGS = -release 3.0
-libledger_la_SOURCES = utils.cc times.cc amount.cc quotes.cc \
- balance.cc value.cc xml.cc xpath.cc mask.cc format.cc \
- session.cc journal.cc textual.cc binary.cc xmlparse.cc qif.cc \
- report.cc transform.cc register.cc csv.cc derive.cc emacs.cc \
- reconcile.cc $(am__append_3) $(am__append_5) $(am__append_7)
+libledger_la_SOURCES = src/session.cc src/journal.cc src/amount.cc \
+ src/balance.cc src/value.cc src/binary.cc src/qif.cc \
+ src/textual.cc src/quotes.cc src/csv.cc src/derive.cc \
+ src/emacs.cc src/format.cc src/reconcile.cc src/register.cc \
+ src/report.cc src/transform.cc src/mask.cc src/times.cc \
+ src/utils.cc src/xml.cc src/xmlparse.cc src/xpath.cc \
+ $(am__append_3) $(am__append_5) $(am__append_7) \
+ $(am__append_10)
@USE_PCH_TRUE@libledger_la_CXXFLAGS = $(WARNFLAGS)
@USE_PCH_TRUE@nodist_libledger_la_SOURCES = system.hh.gch
libpyledger_la_CPPFLAGS = $(libledger_la_CPPFLAGS)
libpyledger_la_LDFLAGS = -release 3.0
libpyledger_la_SOURCES = \
- py_eval.cc \
- py_amount.cc
+ src/py_amount.cc
pkginclude_HEADERS = \
- amount.h \
- times.h \
- balance.h \
- binary.h \
- context.h \
- csv.h \
- derive.h \
- emacs.h \
- error.h \
- fdstream.hpp \
- format.h \
- gnucash.h \
- journal.h \
- ledger.h \
- mask.h \
- ofx.h \
- option.h \
- parser.h \
- py_eval.h \
- pyfstream.h \
- pyledger.h \
- qif.h \
- quotes.h \
- reconcile.h \
- register.h \
- report.h \
- session.h \
- system.hh \
- textual.h \
- transform.h \
- utils.h \
- value.h \
- xml.h \
- xmlparse.h \
- xpath.h
+ src/amount.h \
+ src/balance.h \
+ src/binary.h \
+ src/context.h \
+ src/csv.h \
+ src/derive.h \
+ src/emacs.h \
+ src/error.h \
+ src/fdstream.hpp \
+ src/format.h \
+ src/gnucash.h \
+ src/journal.h \
+ src/ledger.h \
+ src/mask.h \
+ src/ofx.h \
+ src/option.h \
+ src/parser.h \
+ src/pyinterp.h \
+ src/pyfstream.h \
+ src/pyledger.h \
+ src/qif.h \
+ src/quotes.h \
+ src/reconcile.h \
+ src/register.h \
+ src/report.h \
+ src/session.h \
+ src/system.hh \
+ src/textual.h \
+ src/times.h \
+ src/transform.h \
+ src/utils.h \
+ src/value.h \
+ src/xml.h \
+ src/xpath.h
ledger_CPPFLAGS = $(libledger_la_CPPFLAGS)
ledger_CXXFLAGS = $(WARNFLAGS)
-ledger_SOURCES = option.cc main.cc
ledger_LDADD = $(LIBOBJS) libledger.la gdtoa/libgdtoa.la $(LEXLIB) \
- $(am__append_12)
+ $(am__append_13)
ledger_LDFLAGS = -static # for the sake of command-line speed
-info_TEXINFOS = ledger.texi
+ledger_SOURCES = \
+ src/option.cc \
+ src/main.cc
+
+info_TEXINFOS = docs/ledger.texi
######################################################################
-dist_lisp_LISP = ledger.el timeclock.el
-@HAVE_BOOST_PYTHON_TRUE@ledger_so_SOURCES = pyledger.cc
+dist_lisp_LISP = lisp/ledger.el lisp/timeclock.el
+@HAVE_BOOST_PYTHON_TRUE@ledger_so_SOURCES = src/pyledger.cc
@HAVE_BOOST_PYTHON_TRUE@ledger_so_DEPENDENCIES = libledger.la gdtoa/libgdtoa.la libpyledger.la
@HAVE_BOOST_PYTHON_TRUE@PYLIBS = pyledger ledger gdtoa boost_date_time \
@HAVE_BOOST_PYTHON_TRUE@ boost_regex boost_python gmp \
-@HAVE_BOOST_PYTHON_TRUE@ $(am__append_14) $(am__append_15) \
-@HAVE_BOOST_PYTHON_TRUE@ $(am__append_16)
+@HAVE_BOOST_PYTHON_TRUE@ $(am__append_15) $(am__append_16) \
+@HAVE_BOOST_PYTHON_TRUE@ $(am__append_17)
nodist_UnitTests_SOURCES = tests/UnitTests.cc \
\
- tests/corelib/numerics/BasicAmount.cc \
- tests/corelib/numerics/CommodityAmount.cc \
- tests/corelib/numerics/DateTime.cc \
- tests/corelib/numerics/Commodity.cc
+ tests/numerics/BasicAmount.cc \
+ tests/numerics/CommodityAmount.cc \
+ tests/numerics/DateTime.cc \
+ tests/numerics/Commodity.cc
UnitTests_CPPFLAGS = -I$(srcdir)/tests $(libledger_la_CPPFLAGS)
UnitTests_LDFLAGS = $(LIBADD_DL)
UnitTests_LDADD = $(lib_LTLIBRARIES) gdtoa/libgdtoa.la -lcppunit
-PyUnitTests_SOURCES = PyUnitTests.py
+PyUnitTests_SOURCES = tests/python/PyUnitTests.py
######################################################################
DISTCLEANFILES = Doxyfile.gen
@@ -437,7 +447,7 @@ all: $(BUILT_SOURCES) acconf.h
$(MAKE) $(AM_MAKEFLAGS) all-recursive
.SUFFIXES:
-.SUFFIXES: .cc .dvi .html .info .lo .o .obj .pdf .ps .texi
+.SUFFIXES: .cc .dvi .lo .o .obj .ps
am--refresh:
@:
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
@@ -595,6 +605,7 @@ distclean-compile:
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libledger_la-journal.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libledger_la-mask.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libledger_la-ofx.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libledger_la-pyinterp.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libledger_la-qif.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libledger_la-quotes.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libledger_la-reconcile.Plo@am__quote@
@@ -610,7 +621,6 @@ distclean-compile:
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libledger_la-xmlparse.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libledger_la-xpath.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpyledger_la-py_amount.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpyledger_la-py_eval.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pyledger.Po@am__quote@
.cc.o:
@@ -634,194 +644,194 @@ distclean-compile:
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $<
-libledger_la-utils.lo: utils.cc
-@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -MT libledger_la-utils.lo -MD -MP -MF $(DEPDIR)/libledger_la-utils.Tpo -c -o libledger_la-utils.lo `test -f 'utils.cc' || echo '$(srcdir)/'`utils.cc
-@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libledger_la-utils.Tpo $(DEPDIR)/libledger_la-utils.Plo
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='utils.cc' object='libledger_la-utils.lo' libtool=yes @AMDEPBACKSLASH@
+libledger_la-session.lo: src/session.cc
+@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -MT libledger_la-session.lo -MD -MP -MF $(DEPDIR)/libledger_la-session.Tpo -c -o libledger_la-session.lo `test -f 'src/session.cc' || echo '$(srcdir)/'`src/session.cc
+@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libledger_la-session.Tpo $(DEPDIR)/libledger_la-session.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='src/session.cc' object='libledger_la-session.lo' libtool=yes @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -c -o libledger_la-utils.lo `test -f 'utils.cc' || echo '$(srcdir)/'`utils.cc
+@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -c -o libledger_la-session.lo `test -f 'src/session.cc' || echo '$(srcdir)/'`src/session.cc
-libledger_la-times.lo: times.cc
-@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -MT libledger_la-times.lo -MD -MP -MF $(DEPDIR)/libledger_la-times.Tpo -c -o libledger_la-times.lo `test -f 'times.cc' || echo '$(srcdir)/'`times.cc
-@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libledger_la-times.Tpo $(DEPDIR)/libledger_la-times.Plo
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='times.cc' object='libledger_la-times.lo' libtool=yes @AMDEPBACKSLASH@
+libledger_la-journal.lo: src/journal.cc
+@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -MT libledger_la-journal.lo -MD -MP -MF $(DEPDIR)/libledger_la-journal.Tpo -c -o libledger_la-journal.lo `test -f 'src/journal.cc' || echo '$(srcdir)/'`src/journal.cc
+@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libledger_la-journal.Tpo $(DEPDIR)/libledger_la-journal.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='src/journal.cc' object='libledger_la-journal.lo' libtool=yes @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -c -o libledger_la-times.lo `test -f 'times.cc' || echo '$(srcdir)/'`times.cc
+@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -c -o libledger_la-journal.lo `test -f 'src/journal.cc' || echo '$(srcdir)/'`src/journal.cc
-libledger_la-amount.lo: amount.cc
-@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -MT libledger_la-amount.lo -MD -MP -MF $(DEPDIR)/libledger_la-amount.Tpo -c -o libledger_la-amount.lo `test -f 'amount.cc' || echo '$(srcdir)/'`amount.cc
+libledger_la-amount.lo: src/amount.cc
+@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -MT libledger_la-amount.lo -MD -MP -MF $(DEPDIR)/libledger_la-amount.Tpo -c -o libledger_la-amount.lo `test -f 'src/amount.cc' || echo '$(srcdir)/'`src/amount.cc
@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libledger_la-amount.Tpo $(DEPDIR)/libledger_la-amount.Plo
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='amount.cc' object='libledger_la-amount.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -c -o libledger_la-amount.lo `test -f 'amount.cc' || echo '$(srcdir)/'`amount.cc
-
-libledger_la-quotes.lo: quotes.cc
-@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -MT libledger_la-quotes.lo -MD -MP -MF $(DEPDIR)/libledger_la-quotes.Tpo -c -o libledger_la-quotes.lo `test -f 'quotes.cc' || echo '$(srcdir)/'`quotes.cc
-@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libledger_la-quotes.Tpo $(DEPDIR)/libledger_la-quotes.Plo
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='quotes.cc' object='libledger_la-quotes.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='src/amount.cc' object='libledger_la-amount.lo' libtool=yes @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -c -o libledger_la-quotes.lo `test -f 'quotes.cc' || echo '$(srcdir)/'`quotes.cc
+@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -c -o libledger_la-amount.lo `test -f 'src/amount.cc' || echo '$(srcdir)/'`src/amount.cc
-libledger_la-balance.lo: balance.cc
-@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -MT libledger_la-balance.lo -MD -MP -MF $(DEPDIR)/libledger_la-balance.Tpo -c -o libledger_la-balance.lo `test -f 'balance.cc' || echo '$(srcdir)/'`balance.cc
+libledger_la-balance.lo: src/balance.cc
+@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -MT libledger_la-balance.lo -MD -MP -MF $(DEPDIR)/libledger_la-balance.Tpo -c -o libledger_la-balance.lo `test -f 'src/balance.cc' || echo '$(srcdir)/'`src/balance.cc
@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libledger_la-balance.Tpo $(DEPDIR)/libledger_la-balance.Plo
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='balance.cc' object='libledger_la-balance.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='src/balance.cc' object='libledger_la-balance.lo' libtool=yes @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -c -o libledger_la-balance.lo `test -f 'balance.cc' || echo '$(srcdir)/'`balance.cc
+@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -c -o libledger_la-balance.lo `test -f 'src/balance.cc' || echo '$(srcdir)/'`src/balance.cc
-libledger_la-value.lo: value.cc
-@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -MT libledger_la-value.lo -MD -MP -MF $(DEPDIR)/libledger_la-value.Tpo -c -o libledger_la-value.lo `test -f 'value.cc' || echo '$(srcdir)/'`value.cc
+libledger_la-value.lo: src/value.cc
+@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -MT libledger_la-value.lo -MD -MP -MF $(DEPDIR)/libledger_la-value.Tpo -c -o libledger_la-value.lo `test -f 'src/value.cc' || echo '$(srcdir)/'`src/value.cc
@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libledger_la-value.Tpo $(DEPDIR)/libledger_la-value.Plo
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='value.cc' object='libledger_la-value.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='src/value.cc' object='libledger_la-value.lo' libtool=yes @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -c -o libledger_la-value.lo `test -f 'value.cc' || echo '$(srcdir)/'`value.cc
+@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -c -o libledger_la-value.lo `test -f 'src/value.cc' || echo '$(srcdir)/'`src/value.cc
-libledger_la-xml.lo: xml.cc
-@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -MT libledger_la-xml.lo -MD -MP -MF $(DEPDIR)/libledger_la-xml.Tpo -c -o libledger_la-xml.lo `test -f 'xml.cc' || echo '$(srcdir)/'`xml.cc
-@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libledger_la-xml.Tpo $(DEPDIR)/libledger_la-xml.Plo
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='xml.cc' object='libledger_la-xml.lo' libtool=yes @AMDEPBACKSLASH@
+libledger_la-binary.lo: src/binary.cc
+@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -MT libledger_la-binary.lo -MD -MP -MF $(DEPDIR)/libledger_la-binary.Tpo -c -o libledger_la-binary.lo `test -f 'src/binary.cc' || echo '$(srcdir)/'`src/binary.cc
+@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libledger_la-binary.Tpo $(DEPDIR)/libledger_la-binary.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='src/binary.cc' object='libledger_la-binary.lo' libtool=yes @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -c -o libledger_la-xml.lo `test -f 'xml.cc' || echo '$(srcdir)/'`xml.cc
+@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -c -o libledger_la-binary.lo `test -f 'src/binary.cc' || echo '$(srcdir)/'`src/binary.cc
-libledger_la-xpath.lo: xpath.cc
-@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -MT libledger_la-xpath.lo -MD -MP -MF $(DEPDIR)/libledger_la-xpath.Tpo -c -o libledger_la-xpath.lo `test -f 'xpath.cc' || echo '$(srcdir)/'`xpath.cc
-@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libledger_la-xpath.Tpo $(DEPDIR)/libledger_la-xpath.Plo
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='xpath.cc' object='libledger_la-xpath.lo' libtool=yes @AMDEPBACKSLASH@
+libledger_la-qif.lo: src/qif.cc
+@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -MT libledger_la-qif.lo -MD -MP -MF $(DEPDIR)/libledger_la-qif.Tpo -c -o libledger_la-qif.lo `test -f 'src/qif.cc' || echo '$(srcdir)/'`src/qif.cc
+@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libledger_la-qif.Tpo $(DEPDIR)/libledger_la-qif.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='src/qif.cc' object='libledger_la-qif.lo' libtool=yes @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -c -o libledger_la-xpath.lo `test -f 'xpath.cc' || echo '$(srcdir)/'`xpath.cc
+@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -c -o libledger_la-qif.lo `test -f 'src/qif.cc' || echo '$(srcdir)/'`src/qif.cc
-libledger_la-mask.lo: mask.cc
-@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -MT libledger_la-mask.lo -MD -MP -MF $(DEPDIR)/libledger_la-mask.Tpo -c -o libledger_la-mask.lo `test -f 'mask.cc' || echo '$(srcdir)/'`mask.cc
-@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libledger_la-mask.Tpo $(DEPDIR)/libledger_la-mask.Plo
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mask.cc' object='libledger_la-mask.lo' libtool=yes @AMDEPBACKSLASH@
+libledger_la-textual.lo: src/textual.cc
+@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -MT libledger_la-textual.lo -MD -MP -MF $(DEPDIR)/libledger_la-textual.Tpo -c -o libledger_la-textual.lo `test -f 'src/textual.cc' || echo '$(srcdir)/'`src/textual.cc
+@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libledger_la-textual.Tpo $(DEPDIR)/libledger_la-textual.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='src/textual.cc' object='libledger_la-textual.lo' libtool=yes @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -c -o libledger_la-mask.lo `test -f 'mask.cc' || echo '$(srcdir)/'`mask.cc
+@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -c -o libledger_la-textual.lo `test -f 'src/textual.cc' || echo '$(srcdir)/'`src/textual.cc
-libledger_la-format.lo: format.cc
-@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -MT libledger_la-format.lo -MD -MP -MF $(DEPDIR)/libledger_la-format.Tpo -c -o libledger_la-format.lo `test -f 'format.cc' || echo '$(srcdir)/'`format.cc
-@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libledger_la-format.Tpo $(DEPDIR)/libledger_la-format.Plo
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='format.cc' object='libledger_la-format.lo' libtool=yes @AMDEPBACKSLASH@
+libledger_la-quotes.lo: src/quotes.cc
+@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -MT libledger_la-quotes.lo -MD -MP -MF $(DEPDIR)/libledger_la-quotes.Tpo -c -o libledger_la-quotes.lo `test -f 'src/quotes.cc' || echo '$(srcdir)/'`src/quotes.cc
+@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libledger_la-quotes.Tpo $(DEPDIR)/libledger_la-quotes.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='src/quotes.cc' object='libledger_la-quotes.lo' libtool=yes @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -c -o libledger_la-format.lo `test -f 'format.cc' || echo '$(srcdir)/'`format.cc
+@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -c -o libledger_la-quotes.lo `test -f 'src/quotes.cc' || echo '$(srcdir)/'`src/quotes.cc
-libledger_la-session.lo: session.cc
-@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -MT libledger_la-session.lo -MD -MP -MF $(DEPDIR)/libledger_la-session.Tpo -c -o libledger_la-session.lo `test -f 'session.cc' || echo '$(srcdir)/'`session.cc
-@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libledger_la-session.Tpo $(DEPDIR)/libledger_la-session.Plo
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='session.cc' object='libledger_la-session.lo' libtool=yes @AMDEPBACKSLASH@
+libledger_la-csv.lo: src/csv.cc
+@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -MT libledger_la-csv.lo -MD -MP -MF $(DEPDIR)/libledger_la-csv.Tpo -c -o libledger_la-csv.lo `test -f 'src/csv.cc' || echo '$(srcdir)/'`src/csv.cc
+@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libledger_la-csv.Tpo $(DEPDIR)/libledger_la-csv.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='src/csv.cc' object='libledger_la-csv.lo' libtool=yes @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -c -o libledger_la-session.lo `test -f 'session.cc' || echo '$(srcdir)/'`session.cc
+@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -c -o libledger_la-csv.lo `test -f 'src/csv.cc' || echo '$(srcdir)/'`src/csv.cc
-libledger_la-journal.lo: journal.cc
-@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -MT libledger_la-journal.lo -MD -MP -MF $(DEPDIR)/libledger_la-journal.Tpo -c -o libledger_la-journal.lo `test -f 'journal.cc' || echo '$(srcdir)/'`journal.cc
-@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libledger_la-journal.Tpo $(DEPDIR)/libledger_la-journal.Plo
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='journal.cc' object='libledger_la-journal.lo' libtool=yes @AMDEPBACKSLASH@
+libledger_la-derive.lo: src/derive.cc
+@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -MT libledger_la-derive.lo -MD -MP -MF $(DEPDIR)/libledger_la-derive.Tpo -c -o libledger_la-derive.lo `test -f 'src/derive.cc' || echo '$(srcdir)/'`src/derive.cc
+@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libledger_la-derive.Tpo $(DEPDIR)/libledger_la-derive.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='src/derive.cc' object='libledger_la-derive.lo' libtool=yes @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -c -o libledger_la-journal.lo `test -f 'journal.cc' || echo '$(srcdir)/'`journal.cc
+@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -c -o libledger_la-derive.lo `test -f 'src/derive.cc' || echo '$(srcdir)/'`src/derive.cc
-libledger_la-textual.lo: textual.cc
-@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -MT libledger_la-textual.lo -MD -MP -MF $(DEPDIR)/libledger_la-textual.Tpo -c -o libledger_la-textual.lo `test -f 'textual.cc' || echo '$(srcdir)/'`textual.cc
-@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libledger_la-textual.Tpo $(DEPDIR)/libledger_la-textual.Plo
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='textual.cc' object='libledger_la-textual.lo' libtool=yes @AMDEPBACKSLASH@
+libledger_la-emacs.lo: src/emacs.cc
+@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -MT libledger_la-emacs.lo -MD -MP -MF $(DEPDIR)/libledger_la-emacs.Tpo -c -o libledger_la-emacs.lo `test -f 'src/emacs.cc' || echo '$(srcdir)/'`src/emacs.cc
+@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libledger_la-emacs.Tpo $(DEPDIR)/libledger_la-emacs.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='src/emacs.cc' object='libledger_la-emacs.lo' libtool=yes @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -c -o libledger_la-textual.lo `test -f 'textual.cc' || echo '$(srcdir)/'`textual.cc
+@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -c -o libledger_la-emacs.lo `test -f 'src/emacs.cc' || echo '$(srcdir)/'`src/emacs.cc
-libledger_la-binary.lo: binary.cc
-@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -MT libledger_la-binary.lo -MD -MP -MF $(DEPDIR)/libledger_la-binary.Tpo -c -o libledger_la-binary.lo `test -f 'binary.cc' || echo '$(srcdir)/'`binary.cc
-@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libledger_la-binary.Tpo $(DEPDIR)/libledger_la-binary.Plo
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='binary.cc' object='libledger_la-binary.lo' libtool=yes @AMDEPBACKSLASH@
+libledger_la-format.lo: src/format.cc
+@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -MT libledger_la-format.lo -MD -MP -MF $(DEPDIR)/libledger_la-format.Tpo -c -o libledger_la-format.lo `test -f 'src/format.cc' || echo '$(srcdir)/'`src/format.cc
+@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libledger_la-format.Tpo $(DEPDIR)/libledger_la-format.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='src/format.cc' object='libledger_la-format.lo' libtool=yes @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -c -o libledger_la-binary.lo `test -f 'binary.cc' || echo '$(srcdir)/'`binary.cc
+@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -c -o libledger_la-format.lo `test -f 'src/format.cc' || echo '$(srcdir)/'`src/format.cc
-libledger_la-xmlparse.lo: xmlparse.cc
-@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -MT libledger_la-xmlparse.lo -MD -MP -MF $(DEPDIR)/libledger_la-xmlparse.Tpo -c -o libledger_la-xmlparse.lo `test -f 'xmlparse.cc' || echo '$(srcdir)/'`xmlparse.cc
-@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libledger_la-xmlparse.Tpo $(DEPDIR)/libledger_la-xmlparse.Plo
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='xmlparse.cc' object='libledger_la-xmlparse.lo' libtool=yes @AMDEPBACKSLASH@
+libledger_la-reconcile.lo: src/reconcile.cc
+@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -MT libledger_la-reconcile.lo -MD -MP -MF $(DEPDIR)/libledger_la-reconcile.Tpo -c -o libledger_la-reconcile.lo `test -f 'src/reconcile.cc' || echo '$(srcdir)/'`src/reconcile.cc
+@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libledger_la-reconcile.Tpo $(DEPDIR)/libledger_la-reconcile.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='src/reconcile.cc' object='libledger_la-reconcile.lo' libtool=yes @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -c -o libledger_la-xmlparse.lo `test -f 'xmlparse.cc' || echo '$(srcdir)/'`xmlparse.cc
+@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -c -o libledger_la-reconcile.lo `test -f 'src/reconcile.cc' || echo '$(srcdir)/'`src/reconcile.cc
-libledger_la-qif.lo: qif.cc
-@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -MT libledger_la-qif.lo -MD -MP -MF $(DEPDIR)/libledger_la-qif.Tpo -c -o libledger_la-qif.lo `test -f 'qif.cc' || echo '$(srcdir)/'`qif.cc
-@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libledger_la-qif.Tpo $(DEPDIR)/libledger_la-qif.Plo
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='qif.cc' object='libledger_la-qif.lo' libtool=yes @AMDEPBACKSLASH@
+libledger_la-register.lo: src/register.cc
+@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -MT libledger_la-register.lo -MD -MP -MF $(DEPDIR)/libledger_la-register.Tpo -c -o libledger_la-register.lo `test -f 'src/register.cc' || echo '$(srcdir)/'`src/register.cc
+@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libledger_la-register.Tpo $(DEPDIR)/libledger_la-register.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='src/register.cc' object='libledger_la-register.lo' libtool=yes @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -c -o libledger_la-qif.lo `test -f 'qif.cc' || echo '$(srcdir)/'`qif.cc
+@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -c -o libledger_la-register.lo `test -f 'src/register.cc' || echo '$(srcdir)/'`src/register.cc
-libledger_la-report.lo: report.cc
-@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -MT libledger_la-report.lo -MD -MP -MF $(DEPDIR)/libledger_la-report.Tpo -c -o libledger_la-report.lo `test -f 'report.cc' || echo '$(srcdir)/'`report.cc
+libledger_la-report.lo: src/report.cc
+@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -MT libledger_la-report.lo -MD -MP -MF $(DEPDIR)/libledger_la-report.Tpo -c -o libledger_la-report.lo `test -f 'src/report.cc' || echo '$(srcdir)/'`src/report.cc
@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libledger_la-report.Tpo $(DEPDIR)/libledger_la-report.Plo
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='report.cc' object='libledger_la-report.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='src/report.cc' object='libledger_la-report.lo' libtool=yes @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -c -o libledger_la-report.lo `test -f 'report.cc' || echo '$(srcdir)/'`report.cc
+@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -c -o libledger_la-report.lo `test -f 'src/report.cc' || echo '$(srcdir)/'`src/report.cc
-libledger_la-transform.lo: transform.cc
-@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -MT libledger_la-transform.lo -MD -MP -MF $(DEPDIR)/libledger_la-transform.Tpo -c -o libledger_la-transform.lo `test -f 'transform.cc' || echo '$(srcdir)/'`transform.cc
+libledger_la-transform.lo: src/transform.cc
+@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -MT libledger_la-transform.lo -MD -MP -MF $(DEPDIR)/libledger_la-transform.Tpo -c -o libledger_la-transform.lo `test -f 'src/transform.cc' || echo '$(srcdir)/'`src/transform.cc
@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libledger_la-transform.Tpo $(DEPDIR)/libledger_la-transform.Plo
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='transform.cc' object='libledger_la-transform.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='src/transform.cc' object='libledger_la-transform.lo' libtool=yes @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -c -o libledger_la-transform.lo `test -f 'transform.cc' || echo '$(srcdir)/'`transform.cc
+@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -c -o libledger_la-transform.lo `test -f 'src/transform.cc' || echo '$(srcdir)/'`src/transform.cc
-libledger_la-register.lo: register.cc
-@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -MT libledger_la-register.lo -MD -MP -MF $(DEPDIR)/libledger_la-register.Tpo -c -o libledger_la-register.lo `test -f 'register.cc' || echo '$(srcdir)/'`register.cc
-@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libledger_la-register.Tpo $(DEPDIR)/libledger_la-register.Plo
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='register.cc' object='libledger_la-register.lo' libtool=yes @AMDEPBACKSLASH@
+libledger_la-mask.lo: src/mask.cc
+@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -MT libledger_la-mask.lo -MD -MP -MF $(DEPDIR)/libledger_la-mask.Tpo -c -o libledger_la-mask.lo `test -f 'src/mask.cc' || echo '$(srcdir)/'`src/mask.cc
+@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libledger_la-mask.Tpo $(DEPDIR)/libledger_la-mask.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='src/mask.cc' object='libledger_la-mask.lo' libtool=yes @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -c -o libledger_la-register.lo `test -f 'register.cc' || echo '$(srcdir)/'`register.cc
+@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -c -o libledger_la-mask.lo `test -f 'src/mask.cc' || echo '$(srcdir)/'`src/mask.cc
-libledger_la-csv.lo: csv.cc
-@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -MT libledger_la-csv.lo -MD -MP -MF $(DEPDIR)/libledger_la-csv.Tpo -c -o libledger_la-csv.lo `test -f 'csv.cc' || echo '$(srcdir)/'`csv.cc
-@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libledger_la-csv.Tpo $(DEPDIR)/libledger_la-csv.Plo
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='csv.cc' object='libledger_la-csv.lo' libtool=yes @AMDEPBACKSLASH@
+libledger_la-times.lo: src/times.cc
+@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -MT libledger_la-times.lo -MD -MP -MF $(DEPDIR)/libledger_la-times.Tpo -c -o libledger_la-times.lo `test -f 'src/times.cc' || echo '$(srcdir)/'`src/times.cc
+@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libledger_la-times.Tpo $(DEPDIR)/libledger_la-times.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='src/times.cc' object='libledger_la-times.lo' libtool=yes @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -c -o libledger_la-csv.lo `test -f 'csv.cc' || echo '$(srcdir)/'`csv.cc
+@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -c -o libledger_la-times.lo `test -f 'src/times.cc' || echo '$(srcdir)/'`src/times.cc
-libledger_la-derive.lo: derive.cc
-@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -MT libledger_la-derive.lo -MD -MP -MF $(DEPDIR)/libledger_la-derive.Tpo -c -o libledger_la-derive.lo `test -f 'derive.cc' || echo '$(srcdir)/'`derive.cc
-@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libledger_la-derive.Tpo $(DEPDIR)/libledger_la-derive.Plo
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='derive.cc' object='libledger_la-derive.lo' libtool=yes @AMDEPBACKSLASH@
+libledger_la-utils.lo: src/utils.cc
+@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -MT libledger_la-utils.lo -MD -MP -MF $(DEPDIR)/libledger_la-utils.Tpo -c -o libledger_la-utils.lo `test -f 'src/utils.cc' || echo '$(srcdir)/'`src/utils.cc
+@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libledger_la-utils.Tpo $(DEPDIR)/libledger_la-utils.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='src/utils.cc' object='libledger_la-utils.lo' libtool=yes @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -c -o libledger_la-derive.lo `test -f 'derive.cc' || echo '$(srcdir)/'`derive.cc
+@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -c -o libledger_la-utils.lo `test -f 'src/utils.cc' || echo '$(srcdir)/'`src/utils.cc
-libledger_la-emacs.lo: emacs.cc
-@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -MT libledger_la-emacs.lo -MD -MP -MF $(DEPDIR)/libledger_la-emacs.Tpo -c -o libledger_la-emacs.lo `test -f 'emacs.cc' || echo '$(srcdir)/'`emacs.cc
-@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libledger_la-emacs.Tpo $(DEPDIR)/libledger_la-emacs.Plo
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='emacs.cc' object='libledger_la-emacs.lo' libtool=yes @AMDEPBACKSLASH@
+libledger_la-xml.lo: src/xml.cc
+@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -MT libledger_la-xml.lo -MD -MP -MF $(DEPDIR)/libledger_la-xml.Tpo -c -o libledger_la-xml.lo `test -f 'src/xml.cc' || echo '$(srcdir)/'`src/xml.cc
+@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libledger_la-xml.Tpo $(DEPDIR)/libledger_la-xml.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='src/xml.cc' object='libledger_la-xml.lo' libtool=yes @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -c -o libledger_la-emacs.lo `test -f 'emacs.cc' || echo '$(srcdir)/'`emacs.cc
+@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -c -o libledger_la-xml.lo `test -f 'src/xml.cc' || echo '$(srcdir)/'`src/xml.cc
-libledger_la-reconcile.lo: reconcile.cc
-@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -MT libledger_la-reconcile.lo -MD -MP -MF $(DEPDIR)/libledger_la-reconcile.Tpo -c -o libledger_la-reconcile.lo `test -f 'reconcile.cc' || echo '$(srcdir)/'`reconcile.cc
-@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libledger_la-reconcile.Tpo $(DEPDIR)/libledger_la-reconcile.Plo
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='reconcile.cc' object='libledger_la-reconcile.lo' libtool=yes @AMDEPBACKSLASH@
+libledger_la-xmlparse.lo: src/xmlparse.cc
+@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -MT libledger_la-xmlparse.lo -MD -MP -MF $(DEPDIR)/libledger_la-xmlparse.Tpo -c -o libledger_la-xmlparse.lo `test -f 'src/xmlparse.cc' || echo '$(srcdir)/'`src/xmlparse.cc
+@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libledger_la-xmlparse.Tpo $(DEPDIR)/libledger_la-xmlparse.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='src/xmlparse.cc' object='libledger_la-xmlparse.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -c -o libledger_la-xmlparse.lo `test -f 'src/xmlparse.cc' || echo '$(srcdir)/'`src/xmlparse.cc
+
+libledger_la-xpath.lo: src/xpath.cc
+@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -MT libledger_la-xpath.lo -MD -MP -MF $(DEPDIR)/libledger_la-xpath.Tpo -c -o libledger_la-xpath.lo `test -f 'src/xpath.cc' || echo '$(srcdir)/'`src/xpath.cc
+@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libledger_la-xpath.Tpo $(DEPDIR)/libledger_la-xpath.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='src/xpath.cc' object='libledger_la-xpath.lo' libtool=yes @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -c -o libledger_la-reconcile.lo `test -f 'reconcile.cc' || echo '$(srcdir)/'`reconcile.cc
+@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -c -o libledger_la-xpath.lo `test -f 'src/xpath.cc' || echo '$(srcdir)/'`src/xpath.cc
-libledger_la-gnucash.lo: gnucash.cc
-@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -MT libledger_la-gnucash.lo -MD -MP -MF $(DEPDIR)/libledger_la-gnucash.Tpo -c -o libledger_la-gnucash.lo `test -f 'gnucash.cc' || echo '$(srcdir)/'`gnucash.cc
+libledger_la-gnucash.lo: src/gnucash.cc
+@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -MT libledger_la-gnucash.lo -MD -MP -MF $(DEPDIR)/libledger_la-gnucash.Tpo -c -o libledger_la-gnucash.lo `test -f 'src/gnucash.cc' || echo '$(srcdir)/'`src/gnucash.cc
@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libledger_la-gnucash.Tpo $(DEPDIR)/libledger_la-gnucash.Plo
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='gnucash.cc' object='libledger_la-gnucash.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='src/gnucash.cc' object='libledger_la-gnucash.lo' libtool=yes @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -c -o libledger_la-gnucash.lo `test -f 'gnucash.cc' || echo '$(srcdir)/'`gnucash.cc
+@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -c -o libledger_la-gnucash.lo `test -f 'src/gnucash.cc' || echo '$(srcdir)/'`src/gnucash.cc
-libledger_la-ofx.lo: ofx.cc
-@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -MT libledger_la-ofx.lo -MD -MP -MF $(DEPDIR)/libledger_la-ofx.Tpo -c -o libledger_la-ofx.lo `test -f 'ofx.cc' || echo '$(srcdir)/'`ofx.cc
+libledger_la-ofx.lo: src/ofx.cc
+@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -MT libledger_la-ofx.lo -MD -MP -MF $(DEPDIR)/libledger_la-ofx.Tpo -c -o libledger_la-ofx.lo `test -f 'src/ofx.cc' || echo '$(srcdir)/'`src/ofx.cc
@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libledger_la-ofx.Tpo $(DEPDIR)/libledger_la-ofx.Plo
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='ofx.cc' object='libledger_la-ofx.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='src/ofx.cc' object='libledger_la-ofx.lo' libtool=yes @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -c -o libledger_la-ofx.lo `test -f 'ofx.cc' || echo '$(srcdir)/'`ofx.cc
+@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -c -o libledger_la-ofx.lo `test -f 'src/ofx.cc' || echo '$(srcdir)/'`src/ofx.cc
-libpyledger_la-py_eval.lo: py_eval.cc
-@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libpyledger_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libpyledger_la-py_eval.lo -MD -MP -MF $(DEPDIR)/libpyledger_la-py_eval.Tpo -c -o libpyledger_la-py_eval.lo `test -f 'py_eval.cc' || echo '$(srcdir)/'`py_eval.cc
-@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libpyledger_la-py_eval.Tpo $(DEPDIR)/libpyledger_la-py_eval.Plo
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='py_eval.cc' object='libpyledger_la-py_eval.lo' libtool=yes @AMDEPBACKSLASH@
+libledger_la-pyinterp.lo: src/pyinterp.cc
+@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -MT libledger_la-pyinterp.lo -MD -MP -MF $(DEPDIR)/libledger_la-pyinterp.Tpo -c -o libledger_la-pyinterp.lo `test -f 'src/pyinterp.cc' || echo '$(srcdir)/'`src/pyinterp.cc
+@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libledger_la-pyinterp.Tpo $(DEPDIR)/libledger_la-pyinterp.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='src/pyinterp.cc' object='libledger_la-pyinterp.lo' libtool=yes @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libpyledger_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libpyledger_la-py_eval.lo `test -f 'py_eval.cc' || echo '$(srcdir)/'`py_eval.cc
+@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libledger_la_CPPFLAGS) $(CPPFLAGS) $(libledger_la_CXXFLAGS) $(CXXFLAGS) -c -o libledger_la-pyinterp.lo `test -f 'src/pyinterp.cc' || echo '$(srcdir)/'`src/pyinterp.cc
-libpyledger_la-py_amount.lo: py_amount.cc
-@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libpyledger_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libpyledger_la-py_amount.lo -MD -MP -MF $(DEPDIR)/libpyledger_la-py_amount.Tpo -c -o libpyledger_la-py_amount.lo `test -f 'py_amount.cc' || echo '$(srcdir)/'`py_amount.cc
+libpyledger_la-py_amount.lo: src/py_amount.cc
+@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libpyledger_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libpyledger_la-py_amount.lo -MD -MP -MF $(DEPDIR)/libpyledger_la-py_amount.Tpo -c -o libpyledger_la-py_amount.lo `test -f 'src/py_amount.cc' || echo '$(srcdir)/'`src/py_amount.cc
@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/libpyledger_la-py_amount.Tpo $(DEPDIR)/libpyledger_la-py_amount.Plo
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='py_amount.cc' object='libpyledger_la-py_amount.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='src/py_amount.cc' object='libpyledger_la-py_amount.lo' libtool=yes @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libpyledger_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libpyledger_la-py_amount.lo `test -f 'py_amount.cc' || echo '$(srcdir)/'`py_amount.cc
+@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libpyledger_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libpyledger_la-py_amount.lo `test -f 'src/py_amount.cc' || echo '$(srcdir)/'`src/py_amount.cc
UnitTests-UnitTests.o: tests/UnitTests.cc
@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(UnitTests_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT UnitTests-UnitTests.o -MD -MP -MF $(DEPDIR)/UnitTests-UnitTests.Tpo -c -o UnitTests-UnitTests.o `test -f 'tests/UnitTests.cc' || echo '$(srcdir)/'`tests/UnitTests.cc
@@ -837,89 +847,103 @@ UnitTests-UnitTests.obj: tests/UnitTests.cc
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(UnitTests_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o UnitTests-UnitTests.obj `if test -f 'tests/UnitTests.cc'; then $(CYGPATH_W) 'tests/UnitTests.cc'; else $(CYGPATH_W) '$(srcdir)/tests/UnitTests.cc'; fi`
-UnitTests-BasicAmount.o: tests/corelib/numerics/BasicAmount.cc
-@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(UnitTests_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT UnitTests-BasicAmount.o -MD -MP -MF $(DEPDIR)/UnitTests-BasicAmount.Tpo -c -o UnitTests-BasicAmount.o `test -f 'tests/corelib/numerics/BasicAmount.cc' || echo '$(srcdir)/'`tests/corelib/numerics/BasicAmount.cc
+UnitTests-BasicAmount.o: tests/numerics/BasicAmount.cc
+@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(UnitTests_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT UnitTests-BasicAmount.o -MD -MP -MF $(DEPDIR)/UnitTests-BasicAmount.Tpo -c -o UnitTests-BasicAmount.o `test -f 'tests/numerics/BasicAmount.cc' || echo '$(srcdir)/'`tests/numerics/BasicAmount.cc
@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/UnitTests-BasicAmount.Tpo $(DEPDIR)/UnitTests-BasicAmount.Po
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='tests/corelib/numerics/BasicAmount.cc' object='UnitTests-BasicAmount.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='tests/numerics/BasicAmount.cc' object='UnitTests-BasicAmount.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(UnitTests_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o UnitTests-BasicAmount.o `test -f 'tests/corelib/numerics/BasicAmount.cc' || echo '$(srcdir)/'`tests/corelib/numerics/BasicAmount.cc
+@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(UnitTests_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o UnitTests-BasicAmount.o `test -f 'tests/numerics/BasicAmount.cc' || echo '$(srcdir)/'`tests/numerics/BasicAmount.cc
-UnitTests-BasicAmount.obj: tests/corelib/numerics/BasicAmount.cc
-@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(UnitTests_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT UnitTests-BasicAmount.obj -MD -MP -MF $(DEPDIR)/UnitTests-BasicAmount.Tpo -c -o UnitTests-BasicAmount.obj `if test -f 'tests/corelib/numerics/BasicAmount.cc'; then $(CYGPATH_W) 'tests/corelib/numerics/BasicAmount.cc'; else $(CYGPATH_W) '$(srcdir)/tests/corelib/numerics/BasicAmount.cc'; fi`
+UnitTests-BasicAmount.obj: tests/numerics/BasicAmount.cc
+@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(UnitTests_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT UnitTests-BasicAmount.obj -MD -MP -MF $(DEPDIR)/UnitTests-BasicAmount.Tpo -c -o UnitTests-BasicAmount.obj `if test -f 'tests/numerics/BasicAmount.cc'; then $(CYGPATH_W) 'tests/numerics/BasicAmount.cc'; else $(CYGPATH_W) '$(srcdir)/tests/numerics/BasicAmount.cc'; fi`
@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/UnitTests-BasicAmount.Tpo $(DEPDIR)/UnitTests-BasicAmount.Po
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='tests/corelib/numerics/BasicAmount.cc' object='UnitTests-BasicAmount.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='tests/numerics/BasicAmount.cc' object='UnitTests-BasicAmount.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(UnitTests_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o UnitTests-BasicAmount.obj `if test -f 'tests/corelib/numerics/BasicAmount.cc'; then $(CYGPATH_W) 'tests/corelib/numerics/BasicAmount.cc'; else $(CYGPATH_W) '$(srcdir)/tests/corelib/numerics/BasicAmount.cc'; fi`
+@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(UnitTests_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o UnitTests-BasicAmount.obj `if test -f 'tests/numerics/BasicAmount.cc'; then $(CYGPATH_W) 'tests/numerics/BasicAmount.cc'; else $(CYGPATH_W) '$(srcdir)/tests/numerics/BasicAmount.cc'; fi`
-UnitTests-CommodityAmount.o: tests/corelib/numerics/CommodityAmount.cc
-@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(UnitTests_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT UnitTests-CommodityAmount.o -MD -MP -MF $(DEPDIR)/UnitTests-CommodityAmount.Tpo -c -o UnitTests-CommodityAmount.o `test -f 'tests/corelib/numerics/CommodityAmount.cc' || echo '$(srcdir)/'`tests/corelib/numerics/CommodityAmount.cc
+UnitTests-CommodityAmount.o: tests/numerics/CommodityAmount.cc
+@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(UnitTests_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT UnitTests-CommodityAmount.o -MD -MP -MF $(DEPDIR)/UnitTests-CommodityAmount.Tpo -c -o UnitTests-CommodityAmount.o `test -f 'tests/numerics/CommodityAmount.cc' || echo '$(srcdir)/'`tests/numerics/CommodityAmount.cc
@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/UnitTests-CommodityAmount.Tpo $(DEPDIR)/UnitTests-CommodityAmount.Po
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='tests/corelib/numerics/CommodityAmount.cc' object='UnitTests-CommodityAmount.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='tests/numerics/CommodityAmount.cc' object='UnitTests-CommodityAmount.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(UnitTests_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o UnitTests-CommodityAmount.o `test -f 'tests/corelib/numerics/CommodityAmount.cc' || echo '$(srcdir)/'`tests/corelib/numerics/CommodityAmount.cc
+@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(UnitTests_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o UnitTests-CommodityAmount.o `test -f 'tests/numerics/CommodityAmount.cc' || echo '$(srcdir)/'`tests/numerics/CommodityAmount.cc
-UnitTests-CommodityAmount.obj: tests/corelib/numerics/CommodityAmount.cc
-@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(UnitTests_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT UnitTests-CommodityAmount.obj -MD -MP -MF $(DEPDIR)/UnitTests-CommodityAmount.Tpo -c -o UnitTests-CommodityAmount.obj `if test -f 'tests/corelib/numerics/CommodityAmount.cc'; then $(CYGPATH_W) 'tests/corelib/numerics/CommodityAmount.cc'; else $(CYGPATH_W) '$(srcdir)/tests/corelib/numerics/CommodityAmount.cc'; fi`
+UnitTests-CommodityAmount.obj: tests/numerics/CommodityAmount.cc
+@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(UnitTests_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT UnitTests-CommodityAmount.obj -MD -MP -MF $(DEPDIR)/UnitTests-CommodityAmount.Tpo -c -o UnitTests-CommodityAmount.obj `if test -f 'tests/numerics/CommodityAmount.cc'; then $(CYGPATH_W) 'tests/numerics/CommodityAmount.cc'; else $(CYGPATH_W) '$(srcdir)/tests/numerics/CommodityAmount.cc'; fi`
@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/UnitTests-CommodityAmount.Tpo $(DEPDIR)/UnitTests-CommodityAmount.Po
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='tests/corelib/numerics/CommodityAmount.cc' object='UnitTests-CommodityAmount.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='tests/numerics/CommodityAmount.cc' object='UnitTests-CommodityAmount.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(UnitTests_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o UnitTests-CommodityAmount.obj `if test -f 'tests/corelib/numerics/CommodityAmount.cc'; then $(CYGPATH_W) 'tests/corelib/numerics/CommodityAmount.cc'; else $(CYGPATH_W) '$(srcdir)/tests/corelib/numerics/CommodityAmount.cc'; fi`
+@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(UnitTests_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o UnitTests-CommodityAmount.obj `if test -f 'tests/numerics/CommodityAmount.cc'; then $(CYGPATH_W) 'tests/numerics/CommodityAmount.cc'; else $(CYGPATH_W) '$(srcdir)/tests/numerics/CommodityAmount.cc'; fi`
-UnitTests-DateTime.o: tests/corelib/numerics/DateTime.cc
-@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(UnitTests_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT UnitTests-DateTime.o -MD -MP -MF $(DEPDIR)/UnitTests-DateTime.Tpo -c -o UnitTests-DateTime.o `test -f 'tests/corelib/numerics/DateTime.cc' || echo '$(srcdir)/'`tests/corelib/numerics/DateTime.cc
+UnitTests-DateTime.o: tests/numerics/DateTime.cc
+@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(UnitTests_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT UnitTests-DateTime.o -MD -MP -MF $(DEPDIR)/UnitTests-DateTime.Tpo -c -o UnitTests-DateTime.o `test -f 'tests/numerics/DateTime.cc' || echo '$(srcdir)/'`tests/numerics/DateTime.cc
@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/UnitTests-DateTime.Tpo $(DEPDIR)/UnitTests-DateTime.Po
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='tests/corelib/numerics/DateTime.cc' object='UnitTests-DateTime.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='tests/numerics/DateTime.cc' object='UnitTests-DateTime.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(UnitTests_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o UnitTests-DateTime.o `test -f 'tests/corelib/numerics/DateTime.cc' || echo '$(srcdir)/'`tests/corelib/numerics/DateTime.cc
+@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(UnitTests_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o UnitTests-DateTime.o `test -f 'tests/numerics/DateTime.cc' || echo '$(srcdir)/'`tests/numerics/DateTime.cc
-UnitTests-DateTime.obj: tests/corelib/numerics/DateTime.cc
-@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(UnitTests_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT UnitTests-DateTime.obj -MD -MP -MF $(DEPDIR)/UnitTests-DateTime.Tpo -c -o UnitTests-DateTime.obj `if test -f 'tests/corelib/numerics/DateTime.cc'; then $(CYGPATH_W) 'tests/corelib/numerics/DateTime.cc'; else $(CYGPATH_W) '$(srcdir)/tests/corelib/numerics/DateTime.cc'; fi`
+UnitTests-DateTime.obj: tests/numerics/DateTime.cc
+@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(UnitTests_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT UnitTests-DateTime.obj -MD -MP -MF $(DEPDIR)/UnitTests-DateTime.Tpo -c -o UnitTests-DateTime.obj `if test -f 'tests/numerics/DateTime.cc'; then $(CYGPATH_W) 'tests/numerics/DateTime.cc'; else $(CYGPATH_W) '$(srcdir)/tests/numerics/DateTime.cc'; fi`
@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/UnitTests-DateTime.Tpo $(DEPDIR)/UnitTests-DateTime.Po
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='tests/corelib/numerics/DateTime.cc' object='UnitTests-DateTime.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='tests/numerics/DateTime.cc' object='UnitTests-DateTime.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(UnitTests_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o UnitTests-DateTime.obj `if test -f 'tests/corelib/numerics/DateTime.cc'; then $(CYGPATH_W) 'tests/corelib/numerics/DateTime.cc'; else $(CYGPATH_W) '$(srcdir)/tests/corelib/numerics/DateTime.cc'; fi`
+@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(UnitTests_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o UnitTests-DateTime.obj `if test -f 'tests/numerics/DateTime.cc'; then $(CYGPATH_W) 'tests/numerics/DateTime.cc'; else $(CYGPATH_W) '$(srcdir)/tests/numerics/DateTime.cc'; fi`
-UnitTests-Commodity.o: tests/corelib/numerics/Commodity.cc
-@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(UnitTests_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT UnitTests-Commodity.o -MD -MP -MF $(DEPDIR)/UnitTests-Commodity.Tpo -c -o UnitTests-Commodity.o `test -f 'tests/corelib/numerics/Commodity.cc' || echo '$(srcdir)/'`tests/corelib/numerics/Commodity.cc
+UnitTests-Commodity.o: tests/numerics/Commodity.cc
+@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(UnitTests_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT UnitTests-Commodity.o -MD -MP -MF $(DEPDIR)/UnitTests-Commodity.Tpo -c -o UnitTests-Commodity.o `test -f 'tests/numerics/Commodity.cc' || echo '$(srcdir)/'`tests/numerics/Commodity.cc
@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/UnitTests-Commodity.Tpo $(DEPDIR)/UnitTests-Commodity.Po
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='tests/corelib/numerics/Commodity.cc' object='UnitTests-Commodity.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='tests/numerics/Commodity.cc' object='UnitTests-Commodity.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(UnitTests_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o UnitTests-Commodity.o `test -f 'tests/corelib/numerics/Commodity.cc' || echo '$(srcdir)/'`tests/corelib/numerics/Commodity.cc
+@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(UnitTests_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o UnitTests-Commodity.o `test -f 'tests/numerics/Commodity.cc' || echo '$(srcdir)/'`tests/numerics/Commodity.cc
-UnitTests-Commodity.obj: tests/corelib/numerics/Commodity.cc
-@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(UnitTests_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT UnitTests-Commodity.obj -MD -MP -MF $(DEPDIR)/UnitTests-Commodity.Tpo -c -o UnitTests-Commodity.obj `if test -f 'tests/corelib/numerics/Commodity.cc'; then $(CYGPATH_W) 'tests/corelib/numerics/Commodity.cc'; else $(CYGPATH_W) '$(srcdir)/tests/corelib/numerics/Commodity.cc'; fi`
+UnitTests-Commodity.obj: tests/numerics/Commodity.cc
+@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(UnitTests_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT UnitTests-Commodity.obj -MD -MP -MF $(DEPDIR)/UnitTests-Commodity.Tpo -c -o UnitTests-Commodity.obj `if test -f 'tests/numerics/Commodity.cc'; then $(CYGPATH_W) 'tests/numerics/Commodity.cc'; else $(CYGPATH_W) '$(srcdir)/tests/numerics/Commodity.cc'; fi`
@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/UnitTests-Commodity.Tpo $(DEPDIR)/UnitTests-Commodity.Po
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='tests/corelib/numerics/Commodity.cc' object='UnitTests-Commodity.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='tests/numerics/Commodity.cc' object='UnitTests-Commodity.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(UnitTests_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o UnitTests-Commodity.obj `if test -f 'tests/corelib/numerics/Commodity.cc'; then $(CYGPATH_W) 'tests/corelib/numerics/Commodity.cc'; else $(CYGPATH_W) '$(srcdir)/tests/corelib/numerics/Commodity.cc'; fi`
+@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(UnitTests_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o UnitTests-Commodity.obj `if test -f 'tests/numerics/Commodity.cc'; then $(CYGPATH_W) 'tests/numerics/Commodity.cc'; else $(CYGPATH_W) '$(srcdir)/tests/numerics/Commodity.cc'; fi`
-ledger-option.o: option.cc
-@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ledger_CPPFLAGS) $(CPPFLAGS) $(ledger_CXXFLAGS) $(CXXFLAGS) -MT ledger-option.o -MD -MP -MF $(DEPDIR)/ledger-option.Tpo -c -o ledger-option.o `test -f 'option.cc' || echo '$(srcdir)/'`option.cc
+ledger-option.o: src/option.cc
+@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ledger_CPPFLAGS) $(CPPFLAGS) $(ledger_CXXFLAGS) $(CXXFLAGS) -MT ledger-option.o -MD -MP -MF $(DEPDIR)/ledger-option.Tpo -c -o ledger-option.o `test -f 'src/option.cc' || echo '$(srcdir)/'`src/option.cc
@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/ledger-option.Tpo $(DEPDIR)/ledger-option.Po
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='option.cc' object='ledger-option.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='src/option.cc' object='ledger-option.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ledger_CPPFLAGS) $(CPPFLAGS) $(ledger_CXXFLAGS) $(CXXFLAGS) -c -o ledger-option.o `test -f 'option.cc' || echo '$(srcdir)/'`option.cc
+@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ledger_CPPFLAGS) $(CPPFLAGS) $(ledger_CXXFLAGS) $(CXXFLAGS) -c -o ledger-option.o `test -f 'src/option.cc' || echo '$(srcdir)/'`src/option.cc
-ledger-option.obj: option.cc
-@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ledger_CPPFLAGS) $(CPPFLAGS) $(ledger_CXXFLAGS) $(CXXFLAGS) -MT ledger-option.obj -MD -MP -MF $(DEPDIR)/ledger-option.Tpo -c -o ledger-option.obj `if test -f 'option.cc'; then $(CYGPATH_W) 'option.cc'; else $(CYGPATH_W) '$(srcdir)/option.cc'; fi`
+ledger-option.obj: src/option.cc
+@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ledger_CPPFLAGS) $(CPPFLAGS) $(ledger_CXXFLAGS) $(CXXFLAGS) -MT ledger-option.obj -MD -MP -MF $(DEPDIR)/ledger-option.Tpo -c -o ledger-option.obj `if test -f 'src/option.cc'; then $(CYGPATH_W) 'src/option.cc'; else $(CYGPATH_W) '$(srcdir)/src/option.cc'; fi`
@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/ledger-option.Tpo $(DEPDIR)/ledger-option.Po
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='option.cc' object='ledger-option.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='src/option.cc' object='ledger-option.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ledger_CPPFLAGS) $(CPPFLAGS) $(ledger_CXXFLAGS) $(CXXFLAGS) -c -o ledger-option.obj `if test -f 'option.cc'; then $(CYGPATH_W) 'option.cc'; else $(CYGPATH_W) '$(srcdir)/option.cc'; fi`
+@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ledger_CPPFLAGS) $(CPPFLAGS) $(ledger_CXXFLAGS) $(CXXFLAGS) -c -o ledger-option.obj `if test -f 'src/option.cc'; then $(CYGPATH_W) 'src/option.cc'; else $(CYGPATH_W) '$(srcdir)/src/option.cc'; fi`
-ledger-main.o: main.cc
-@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ledger_CPPFLAGS) $(CPPFLAGS) $(ledger_CXXFLAGS) $(CXXFLAGS) -MT ledger-main.o -MD -MP -MF $(DEPDIR)/ledger-main.Tpo -c -o ledger-main.o `test -f 'main.cc' || echo '$(srcdir)/'`main.cc
+ledger-main.o: src/main.cc
+@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ledger_CPPFLAGS) $(CPPFLAGS) $(ledger_CXXFLAGS) $(CXXFLAGS) -MT ledger-main.o -MD -MP -MF $(DEPDIR)/ledger-main.Tpo -c -o ledger-main.o `test -f 'src/main.cc' || echo '$(srcdir)/'`src/main.cc
@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/ledger-main.Tpo $(DEPDIR)/ledger-main.Po
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='main.cc' object='ledger-main.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='src/main.cc' object='ledger-main.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ledger_CPPFLAGS) $(CPPFLAGS) $(ledger_CXXFLAGS) $(CXXFLAGS) -c -o ledger-main.o `test -f 'main.cc' || echo '$(srcdir)/'`main.cc
+@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ledger_CPPFLAGS) $(CPPFLAGS) $(ledger_CXXFLAGS) $(CXXFLAGS) -c -o ledger-main.o `test -f 'src/main.cc' || echo '$(srcdir)/'`src/main.cc
-ledger-main.obj: main.cc
-@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ledger_CPPFLAGS) $(CPPFLAGS) $(ledger_CXXFLAGS) $(CXXFLAGS) -MT ledger-main.obj -MD -MP -MF $(DEPDIR)/ledger-main.Tpo -c -o ledger-main.obj `if test -f 'main.cc'; then $(CYGPATH_W) 'main.cc'; else $(CYGPATH_W) '$(srcdir)/main.cc'; fi`
+ledger-main.obj: src/main.cc
+@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ledger_CPPFLAGS) $(CPPFLAGS) $(ledger_CXXFLAGS) $(CXXFLAGS) -MT ledger-main.obj -MD -MP -MF $(DEPDIR)/ledger-main.Tpo -c -o ledger-main.obj `if test -f 'src/main.cc'; then $(CYGPATH_W) 'src/main.cc'; else $(CYGPATH_W) '$(srcdir)/src/main.cc'; fi`
@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/ledger-main.Tpo $(DEPDIR)/ledger-main.Po
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='main.cc' object='ledger-main.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='src/main.cc' object='ledger-main.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ledger_CPPFLAGS) $(CPPFLAGS) $(ledger_CXXFLAGS) $(CXXFLAGS) -c -o ledger-main.obj `if test -f 'main.cc'; then $(CYGPATH_W) 'main.cc'; else $(CYGPATH_W) '$(srcdir)/main.cc'; fi`
+@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ledger_CPPFLAGS) $(CPPFLAGS) $(ledger_CXXFLAGS) $(CXXFLAGS) -c -o ledger-main.obj `if test -f 'src/main.cc'; then $(CYGPATH_W) 'src/main.cc'; else $(CYGPATH_W) '$(srcdir)/src/main.cc'; fi`
+
+pyledger.o: src/pyledger.cc
+@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT pyledger.o -MD -MP -MF $(DEPDIR)/pyledger.Tpo -c -o pyledger.o `test -f 'src/pyledger.cc' || echo '$(srcdir)/'`src/pyledger.cc
+@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/pyledger.Tpo $(DEPDIR)/pyledger.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='src/pyledger.cc' object='pyledger.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o pyledger.o `test -f 'src/pyledger.cc' || echo '$(srcdir)/'`src/pyledger.cc
+
+pyledger.obj: src/pyledger.cc
+@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT pyledger.obj -MD -MP -MF $(DEPDIR)/pyledger.Tpo -c -o pyledger.obj `if test -f 'src/pyledger.cc'; then $(CYGPATH_W) 'src/pyledger.cc'; else $(CYGPATH_W) '$(srcdir)/src/pyledger.cc'; fi`
+@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/pyledger.Tpo $(DEPDIR)/pyledger.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='src/pyledger.cc' object='pyledger.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o pyledger.obj `if test -f 'src/pyledger.cc'; then $(CYGPATH_W) 'src/pyledger.cc'; else $(CYGPATH_W) '$(srcdir)/src/pyledger.cc'; fi`
mostlyclean-libtool:
-rm -f *.lo
@@ -929,8 +953,11 @@ clean-libtool:
distclean-libtool:
-rm -f libtool
+docs/$(am__dirstamp):
+ @$(MKDIR_P) docs
+ @: > docs/$(am__dirstamp)
-.texi.info:
+$(srcdir)/docs/ledger.info: docs/ledger.texi
restore=: && backupdir="$(am__leading_dot)am$$$$" && \
am__cwd=`pwd` && cd $(srcdir) && \
rm -rf $$backupdir && mkdir $$backupdir && \
@@ -940,8 +967,8 @@ distclean-libtool:
done; \
else :; fi && \
cd "$$am__cwd"; \
- if $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
- -o $@ $<; \
+ if $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I docs -I $(srcdir)/docs \
+ -o $@ $(srcdir)/docs/ledger.texi; \
then \
rc=0; \
cd $(srcdir); \
@@ -952,20 +979,20 @@ distclean-libtool:
fi; \
rm -rf $$backupdir; exit $$rc
-.texi.dvi:
+docs/ledger.dvi: docs/ledger.texi docs/$(am__dirstamp)
TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
- MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
- $(TEXI2DVI) $<
+ MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I docs -I $(srcdir)/docs' \
+ $(TEXI2DVI) -o $@ `test -f 'docs/ledger.texi' || echo '$(srcdir)/'`docs/ledger.texi
-.texi.pdf:
+docs/ledger.pdf: docs/ledger.texi docs/$(am__dirstamp)
TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
- MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
- $(TEXI2PDF) $<
+ MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I docs -I $(srcdir)/docs' \
+ $(TEXI2PDF) -o $@ `test -f 'docs/ledger.texi' || echo '$(srcdir)/'`docs/ledger.texi
-.texi.html:
+docs/ledger.html: docs/ledger.texi docs/$(am__dirstamp)
rm -rf $(@:.html=.htp)
- if $(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
- -o $(@:.html=.htp) $<; \
+ if $(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) -I docs -I $(srcdir)/docs \
+ -o $(@:.html=.htp) `test -f 'docs/ledger.texi' || echo '$(srcdir)/'`docs/ledger.texi; \
then \
rm -rf $@; \
if test ! -d $(@:.html=.htp) && test -d $(@:.html=); then \
@@ -975,10 +1002,6 @@ distclean-libtool:
rm -rf $(@:.html=); else rm -Rf $(@:.html=.htp) $@; fi; \
exit 1; \
fi
-$(srcdir)/ledger.info: ledger.texi
-ledger.dvi: ledger.texi
-ledger.pdf: ledger.texi
-ledger.html: ledger.texi
.dvi.ps:
TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
$(DVIPS) -o $@ $<
@@ -1060,7 +1083,8 @@ mostlyclean-aminfo:
-rm -rf ledger.aux ledger.cp ledger.cps ledger.fn ledger.fns ledger.ky \
ledger.kys ledger.log ledger.pg ledger.pgs ledger.tmp \
ledger.toc ledger.tp ledger.tps ledger.vr ledger.vrs \
- ledger.dvi ledger.pdf ledger.ps ledger.html
+ docs/ledger.dvi docs/ledger.pdf docs/ledger.ps \
+ docs/ledger.html
maintainer-clean-aminfo:
@list='$(INFO_DEPS)'; for i in $$list; do \
@@ -1525,6 +1549,7 @@ clean-generic:
distclean-generic:
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -rm -f docs/$(am__dirstamp)
-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
maintainer-clean-generic:
@@ -1711,14 +1736,15 @@ uninstall-am: uninstall-binPROGRAMS uninstall-dist_lispLISP \
dist-hook:
rm -fr `find $(distdir) -name .svn`
-@USE_PCH_TRUE@$(top_builddir)/system.hh.gch: $(srcdir)/system.hh acconf.h $(srcdir)/fdstream.hpp
+@USE_PCH_TRUE@$(top_builddir)/system.hh.gch: $(srcdir)/src/system.hh acconf.h
@USE_PCH_TRUE@ $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(libledger_la_CPPFLAGS) \
-@USE_PCH_TRUE@ -o $@ $(srcdir)/system.hh
+@USE_PCH_TRUE@ -o $@ $(srcdir)/src/system.hh
@HAVE_BOOST_PYTHON_TRUE@clean-local:
@HAVE_BOOST_PYTHON_TRUE@ rm -fr build
-@HAVE_BOOST_PYTHON_TRUE@ledger.so: pyledger.cc libledger.la gdtoa/libgdtoa.la libpyledger.la
+@HAVE_BOOST_PYTHON_TRUE@ledger.so: src/pyledger.cc \
+@HAVE_BOOST_PYTHON_TRUE@ libledger.la gdtoa/libgdtoa.la libpyledger.la
@HAVE_BOOST_PYTHON_TRUE@ SRCDIR="$(srcdir)" \
@HAVE_BOOST_PYTHON_TRUE@ CFLAGS="$(CPPFLAGS) -I$(srcdir) $(libledger_la_CPPFLAGS)" \
@HAVE_BOOST_PYTHON_TRUE@ LDFLAGS="$(LDFLAGS) -L. -L.libs -Lgdtoa -Lgdtoa/.libs" \
@@ -1732,15 +1758,17 @@ dist-hook:
@HAVE_BOOST_PYTHON_TRUE@ PYLIBS="$(PYLIBS)" \
@HAVE_BOOST_PYTHON_TRUE@ python $(srcdir)/setup.py install --prefix=$(prefix)
-PyUnitTests: PyUnitTests.py
- cat $(srcdir)/PyUnitTests.py | sed "s/%srcdir%/$(ESC_srcdir)/g" \
- | sed "s/%builddir%/$(ESC_builddir)/g" > PyUnitTests
- chmod 755 PyUnitTests
+PyUnitTests: $(srcdir)/tests/python/PyUnitTests.py
+ cat $(srcdir)/tests/python/PyUnitTests.py \
+ | sed "s/%srcdir%/$(ESC_srcdir)/g" \
+ | sed "s/%builddir%/$(ESC_builddir)/g" > $@
+ chmod 755 $@
-alldocs: ledger.info ledger.pdf doxygen-docs
+alldocs: docs/ledger.info docs/ledger.pdf doxygen-docs
-$(top_builddir)/Doxyfile.gen: $(srcdir)/Doxyfile
- cat $(srcdir)/Doxyfile | sed "s/%srcdir%/$(ESC_srcdir)/g" \
+$(top_builddir)/Doxyfile.gen: $(srcdir)/docs/Doxyfile
+ cat $(srcdir)/docs/Doxyfile \
+ | sed "s/%srcdir%/$(ESC_srcdir)/g" \
| sed "s/%builddir%/$(ESC_builddir)/g" > $@
doxygen-docs: $(top_builddir)/Doxyfile.gen
@@ -1762,7 +1790,7 @@ all-clean: maintainer-clean
autom4te config.guess config.sub configure depcomp install-sh \
libtool ltconfig ltmain.sh missing stamp texinfo.tex \
Makefile.in mkinstalldirs elisp-comp elc-stamp elc-temp \
- py-compile
+ py-compile ylwrap compile
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
diff --git a/acprep b/acprep
index ee8488ee..45ce5348 100755
--- a/acprep
+++ b/acprep
@@ -96,6 +96,5 @@ if [ -d "$HOME/Products" ]; then
fi
"$HERE/configure" --srcdir="$HERE" \
- EMACS="$HOME/bin/emacs" EMACSLOADPATH="$EMACSLOADPATH" \
CPPFLAGS="$INCDIRS" CXXFLAGS="$CXXFLAGS $local_cxxflags" \
LDFLAGS="$LIBDIRS" $SWITCHES "$@"
diff --git a/compile b/compile
deleted file mode 100755
index 1b1d2321..00000000
--- a/compile
+++ /dev/null
@@ -1,142 +0,0 @@
-#! /bin/sh
-# Wrapper for compilers which do not understand `-c -o'.
-
-scriptversion=2005-05-14.22
-
-# Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc.
-# Written by Tom Tromey <tromey@cygnus.com>.
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-# As a special exception to the GNU General Public License, if you
-# distribute this file as part of a program that contains a
-# configuration script generated by Autoconf, you may include it under
-# the same distribution terms that you use for the rest of that program.
-
-# This file is maintained in Automake, please report
-# bugs to <bug-automake@gnu.org> or send patches to
-# <automake-patches@gnu.org>.
-
-case $1 in
- '')
- echo "$0: No command. Try \`$0 --help' for more information." 1>&2
- exit 1;
- ;;
- -h | --h*)
- cat <<\EOF
-Usage: compile [--help] [--version] PROGRAM [ARGS]
-
-Wrapper for compilers which do not understand `-c -o'.
-Remove `-o dest.o' from ARGS, run PROGRAM with the remaining
-arguments, and rename the output as expected.
-
-If you are trying to build a whole package this is not the
-right script to run: please start by reading the file `INSTALL'.
-
-Report bugs to <bug-automake@gnu.org>.
-EOF
- exit $?
- ;;
- -v | --v*)
- echo "compile $scriptversion"
- exit $?
- ;;
-esac
-
-ofile=
-cfile=
-eat=
-
-for arg
-do
- if test -n "$eat"; then
- eat=
- else
- case $1 in
- -o)
- # configure might choose to run compile as `compile cc -o foo foo.c'.
- # So we strip `-o arg' only if arg is an object.
- eat=1
- case $2 in
- *.o | *.obj)
- ofile=$2
- ;;
- *)
- set x "$@" -o "$2"
- shift
- ;;
- esac
- ;;
- *.c)
- cfile=$1
- set x "$@" "$1"
- shift
- ;;
- *)
- set x "$@" "$1"
- shift
- ;;
- esac
- fi
- shift
-done
-
-if test -z "$ofile" || test -z "$cfile"; then
- # If no `-o' option was seen then we might have been invoked from a
- # pattern rule where we don't need one. That is ok -- this is a
- # normal compilation that the losing compiler can handle. If no
- # `.c' file was seen then we are probably linking. That is also
- # ok.
- exec "$@"
-fi
-
-# Name of file we expect compiler to create.
-cofile=`echo "$cfile" | sed -e 's|^.*/||' -e 's/\.c$/.o/'`
-
-# Create the lock directory.
-# Note: use `[/.-]' here to ensure that we don't use the same name
-# that we are using for the .o file. Also, base the name on the expected
-# object file name, since that is what matters with a parallel build.
-lockdir=`echo "$cofile" | sed -e 's|[/.-]|_|g'`.d
-while true; do
- if mkdir "$lockdir" >/dev/null 2>&1; then
- break
- fi
- sleep 1
-done
-# FIXME: race condition here if user kills between mkdir and trap.
-trap "rmdir '$lockdir'; exit 1" 1 2 15
-
-# Run the compile.
-"$@"
-ret=$?
-
-if test -f "$cofile"; then
- mv "$cofile" "$ofile"
-elif test -f "${cofile}bj"; then
- mv "${cofile}bj" "$ofile"
-fi
-
-rmdir "$lockdir"
-exit $ret
-
-# Local Variables:
-# mode: shell-script
-# sh-indentation: 2
-# eval: (add-hook 'write-file-hooks 'time-stamp)
-# time-stamp-start: "scriptversion="
-# time-stamp-format: "%:y-%02m-%02d.%02H"
-# time-stamp-end: "$"
-# End:
diff --git a/configure b/configure
index def7f537..a62cf064 100755
--- a/configure
+++ b/configure
@@ -733,7 +733,7 @@ PACKAGE_STRING='ledger 3.0-git'
PACKAGE_BUGREPORT='johnw@newartisans.com'
ac_unique_file="ledger"
-ac_unique_file="main.cc"
+ac_unique_file="src/main.cc"
# Factoring default headers for most tests.
ac_includes_default="\
#include <stdio.h>
diff --git a/configure.in b/configure.in
index c65ec096..8259d1fe 100644
--- a/configure.in
+++ b/configure.in
@@ -7,7 +7,7 @@ AC_INIT(ledger, 3.0-git, johnw@newartisans.com)
AC_CONFIG_SRCDIR(ledger)
AM_INIT_AUTOMAKE
-AC_CONFIG_SRCDIR([main.cc])
+AC_CONFIG_SRCDIR([src/main.cc])
AC_CONFIG_HEADER([acconf.h])
AC_CONFIG_SUBDIRS([gdtoa])
diff --git a/ledger.vim b/contrib/ledger.vim
index df63feb8..df63feb8 100644
--- a/ledger.vim
+++ b/contrib/ledger.vim
diff --git a/ledger.xcodeproj/johnw.mode1 b/contrib/ledger.xcodeproj/johnw.mode1
index 0c179deb..0c179deb 100644
--- a/ledger.xcodeproj/johnw.mode1
+++ b/contrib/ledger.xcodeproj/johnw.mode1
diff --git a/ledger.xcodeproj/johnw.pbxuser b/contrib/ledger.xcodeproj/johnw.pbxuser
index d3c3754b..d3c3754b 100644
--- a/ledger.xcodeproj/johnw.pbxuser
+++ b/contrib/ledger.xcodeproj/johnw.pbxuser
diff --git a/ledger.xcodeproj/project.pbxproj b/contrib/ledger.xcodeproj/project.pbxproj
index 1cdfe32b..1cdfe32b 100644
--- a/ledger.xcodeproj/project.pbxproj
+++ b/contrib/ledger.xcodeproj/project.pbxproj
diff --git a/Doxyfile b/docs/Doxyfile
index a03b54d4..a03b54d4 100644
--- a/Doxyfile
+++ b/docs/Doxyfile
diff --git a/ledger.info b/docs/ledger.info
index 93704958..651f5d91 100644
--- a/ledger.info
+++ b/docs/ledger.info
@@ -1,5 +1,5 @@
-This is /Users/johnw/src/ledger/ledger.info, produced by makeinfo
-version 4.7 from /Users/johnw/src/ledger/ledger.texi.
+This is /Users/johnw/src/ledger/docs/ledger.info, produced by makeinfo
+version 4.7 from /Users/johnw/src/ledger/docs/ledger.texi.
INFO-DIR-SECTION User Applications
Copyright (c) 2003-2006, John Wiegley. All rights reserved.
@@ -3599,42 +3599,42 @@ data as long as the `expat' library was available when Ledger was built.

Tag Table:
-Node: Top1752
-Node: Introduction3430
-Ref: Introduction-Footnote-19370
-Node: Building the program9447
-Node: Getting help9994
-Node: Running Ledger10404
-Node: Usage overview11924
-Ref: Usage overview-Footnote-145394
-Ref: Usage overview-Footnote-245512
-Node: Commands45617
-Node: Options50846
-Node: Basic options51707
-Node: Report filtering53892
-Node: Output customization57772
-Node: Commodity reporting62677
-Node: Environment variables64775
-Node: Format strings65423
-Node: Value expressions70795
-Node: Period expressions77126
-Node: File format78714
-Node: Some typical queries83582
-Node: Budgeting and forecasting87304
-Node: Keeping a ledger90044
-Node: Stating where money goes92753
-Node: Assets and Liabilities95406
-Node: Commodities and Currencies103551
-Node: Accounts and Inventories109712
-Node: Understanding Equity111307
-Node: Dealing with Petty Cash113214
-Node: Working with multiple funds and accounts114311
-Node: Archiving previous years119027
-Node: Virtual transactions121551
-Node: Automated transactions123227
-Node: Using Emacs to Keep Your Ledger126247
-Node: Using GnuCash to Keep Your Ledger129318
-Node: Using timeclock to record billable time130227
-Node: Using XML132987
+Node: Top1762
+Node: Introduction3440
+Ref: Introduction-Footnote-19380
+Node: Building the program9457
+Node: Getting help10004
+Node: Running Ledger10414
+Node: Usage overview11934
+Ref: Usage overview-Footnote-145404
+Ref: Usage overview-Footnote-245522
+Node: Commands45627
+Node: Options50856
+Node: Basic options51717
+Node: Report filtering53902
+Node: Output customization57782
+Node: Commodity reporting62687
+Node: Environment variables64785
+Node: Format strings65433
+Node: Value expressions70805
+Node: Period expressions77136
+Node: File format78724
+Node: Some typical queries83592
+Node: Budgeting and forecasting87314
+Node: Keeping a ledger90054
+Node: Stating where money goes92763
+Node: Assets and Liabilities95416
+Node: Commodities and Currencies103561
+Node: Accounts and Inventories109722
+Node: Understanding Equity111317
+Node: Dealing with Petty Cash113224
+Node: Working with multiple funds and accounts114321
+Node: Archiving previous years119037
+Node: Virtual transactions121561
+Node: Automated transactions123237
+Node: Using Emacs to Keep Your Ledger126257
+Node: Using GnuCash to Keep Your Ledger129328
+Node: Using timeclock to record billable time130237
+Node: Using XML132997

End Tag Table
diff --git a/ledger.texi b/docs/ledger.texi
index bd42a3b0..bd42a3b0 100644
--- a/ledger.texi
+++ b/docs/ledger.texi
diff --git a/ledger.pdf b/ledger.pdf
deleted file mode 100644
index c94d2f88..00000000
--- a/ledger.pdf
+++ /dev/null
Binary files differ
diff --git a/ledger.el b/lisp/ledger.el
index 0812f8f6..0812f8f6 100644
--- a/ledger.el
+++ b/lisp/ledger.el
diff --git a/timeclock.el b/lisp/timeclock.el
index 03159e94..03159e94 100644
--- a/timeclock.el
+++ b/lisp/timeclock.el
diff --git a/parsetime.yy b/parsetime.yy
deleted file mode 100644
index 36bc08b9..00000000
--- a/parsetime.yy
+++ /dev/null
@@ -1,283 +0,0 @@
-%{
-#define YYSTYPE struct ledger::intorchar
-
-#include "times.h"
-#include "FlexLexer.h"
-
-static struct std::tm * timeval;
-
-namespace {
- ledger::moment_t moment;
-
- struct time_to_leave : std::exception {};
-
- yyFlexLexer * lexer;
-
- inline void yyerror(const char *str) {
- throw new ledger::datetime_error(str);
- }
-
- inline int yylex(void) {
- return lexer->yylex();
- }
-
- int month_to_int(const std::string& name)
- {
- switch (std::toupper(name[0])) {
- case 'J':
- if (std::tolower(name[1]) == 'a')
- return 1;
- else if (std::tolower(name[2]) == 'n')
- return 6;
- else
- return 7;
- case 'F':
- return 2;
- case 'M':
- if (std::tolower(name[2]) == 'r')
- return 3;
- else
- return 5;
- case 'A':
- if (std::tolower(name[1]) == 'p')
- return 4;
- else
- return 8;
- case 'S':
- return 9;
- case 'O':
- return 10;
- case 'N':
- return 11;
- case 'D':
- return 12;
- default:
- std::cerr << "What?? (" << name << ")" << std::endl;
- assert(0);
- return -1;
- }
- }
-
- void set_mdy(const ledger::intorchar& month,
- const ledger::intorchar& day,
- const ledger::intorchar& year = ledger::intorchar(),
- bool shortyear = false)
- {
- if (ledger::day_before_month) {
- timeval->tm_mon = (day.ival == -1 ?
- month_to_int(day.sval) : day.ival) - 1;
- timeval->tm_mday = month.ival;
- } else {
- timeval->tm_mon = (month.ival == -1 ?
- month_to_int(month.sval) : month.ival) - 1;
- timeval->tm_mday = day.ival;
- }
-
- if (year.ival != -1)
- timeval->tm_year = (shortyear ?
- (year.ival < 70 ? year.ival + 100 : year.ival) :
- year.ival - 1900);
- }
-
- void set_hms(const ledger::intorchar& ampm,
- const ledger::intorchar& hour,
- const ledger::intorchar& min = ledger::intorchar(),
- const ledger::intorchar& sec = ledger::intorchar())
- {
- if (! ampm.sval.empty() &&
- std::tolower(ampm.sval[0]) == 'a' && hour.ival == 12)
- timeval->tm_hour = 0;
- else if (! ampm.sval.empty() &&
- std::tolower(ampm.sval[0]) == 'p' && hour.ival == 12)
- timeval->tm_hour = 12;
- else if (hour.ival < 0 || (ampm.sval.empty() && hour.ival > 23) ||
- (! ampm.sval.empty() && hour.ival > 12))
- throw ledger::datetime_error("Hour out of range");
- else
- timeval->tm_hour += hour.ival;
-
- if (min.ival < -1 || min.ival > 59)
- throw ledger::datetime_error("Minute out of range");
- if (sec.ival < -1 || sec.ival > 59)
- throw ledger::datetime_error("Seconds out of range");
-
- timeval->tm_min = min.ival == -1 ? 0 : min.ival;
- timeval->tm_sec = sec.ival == -1 ? 0 : sec.ival;
- }
-}
-
-%}
-
-%token TOK_FOURNUM
-%token TOK_TWONUM
-%token TOK_ONENUM
-%token TOK_MONTH
-%token TOK_AMPM
-
-%token TOK_SPACE
-
-%left '/' '-' '.' 'T'
-
-%%
-
-input: date
-{
- throw time_to_leave();
-};
-
-date: absdate opttime
-{
- if (timeval->tm_gmtoff != -1) {
- boost::posix_time::ptime::time_duration_type offset;
- offset = boost::posix_time::seconds(timeval->tm_gmtoff);
- moment = boost::posix_time::from_time_t(timegm(timeval)) - offset;
- } else {
- moment = boost::posix_time::ptime_from_tm(*timeval);
- }
-};
-
-absdate:
- isodate
-| year '/' morday '/' morday { set_mdy($3, $5, $1); }
-| year '-' morday '-' morday { set_mdy($3, $5, $1); }
-| year '.' morday '.' morday { set_mdy($3, $5, $1); }
-| morday '/' morday '/' year { set_mdy($1, $3, $5); }
-| morday '-' morday '-' year { set_mdy($1, $3, $5); }
-| morday '.' morday '.' year { set_mdy($1, $3, $5); }
-| morday '.' morday { set_mdy($1, $3); }
-| morday '/' morday { set_mdy($1, $3); }
-| morday '-' morday { set_mdy($1, $3); }
-| morday '/' morday '/' TOK_TWONUM { set_mdy($1, $3, $5, true); }
-| morday '-' morday '-' TOK_TWONUM { set_mdy($1, $3, $5, true); }
-| morday '.' morday '.' TOK_TWONUM { set_mdy($1, $3, $5, true); }
-| year TOK_SPACE TOK_MONTH TOK_SPACE morday { set_mdy($3, $5, $1); }
-| morday TOK_SPACE TOK_MONTH TOK_SPACE year { set_mdy($3, $1, $5); }
-| TOK_MONTH TOK_SPACE morday { set_mdy($1, $3); }
-| morday TOK_SPACE TOK_MONTH { set_mdy($3, $1); }
-| year '-' TOK_MONTH '-' morday { set_mdy($3, $5, $1); }
-| morday '-' TOK_MONTH '-' year { set_mdy($3, $1, $5); }
-| TOK_MONTH '-' morday { set_mdy($1, $3); }
-| morday '-' TOK_MONTH { set_mdy($3, $1); }
-| TOK_MONTH TOK_SPACE morday ',' TOK_SPACE year { set_mdy($1, $3, $6); }
-;
-
-opttime: /* epsilon */ | TOK_SPACE time ;
-
-time:
- onetwo optspace TOK_AMPM {
- if (std::tolower($3.sval[0]) == 'p')
- timeval->tm_hour = 12;
- else
- timeval->tm_hour = 0;
-
- set_hms($3, $1);
- }
-|
- onetwo ':' TOK_TWONUM optampm {
- set_hms($4, $1, $3);
- }
-|
- onetwo ':' TOK_TWONUM ':' TOK_TWONUM optampm {
- set_hms($6, $1, $3, $5);
- }
-;
-
-onetwo: TOK_ONENUM { $$ = $1; } | TOK_TWONUM { $$ = $1; } ;
-
-optspace: /* epsilon */ | TOK_SPACE ;
-
-optampm: /* epsilon */ |
- optspace TOK_AMPM {
- if (std::tolower($2.sval[0]) == 'p')
- timeval->tm_hour = 12;
- else
- timeval->tm_hour = 0;
- $$ = $2;
- };
-
-isodate:
- year TOK_FOURNUM optisotime
-{
- timeval->tm_year = $1.ival - 1900;
- timeval->tm_mon = $2.ival / 100 - 1;
- timeval->tm_mday = $3.ival % 100;
-};
-
-optisotime: /* epsilon */ |
- 'T' TOK_FOURNUM TOK_TWONUM optisozone
-{
- timeval->tm_hour = $2.ival / 100;
- timeval->tm_min = $2.ival % 100;
- timeval->tm_sec = $3.ival;
-};
-
-optisozone: /* epsilon */ |
- '-' TOK_FOURNUM {
- timeval->tm_gmtoff = - (($2.ival / 100) * 3600 + ($2.ival % 100) * 60);
- }
-| '+' TOK_FOURNUM {
- timeval->tm_gmtoff = (($2.ival / 100) * 3600 + ($2.ival % 100) * 60);
- };
-
-year: TOK_FOURNUM { $$ = $1; };
-
-morday:
- TOK_TWONUM { $$ = $1; }
-| TOK_ONENUM { $$ = $1; };
-
-%%
-
-int yywrap()
-{
- return 1;
-}
-
-ledger::moment_t parse_abs_datetime(std::istream& input)
-{
- lexer = new yyFlexLexer(&input);
-
- struct std::tm temp;
- std::memset(&temp, 0, sizeof(struct std::tm));
- temp.tm_year = 2002 - 1900;
- temp.tm_gmtoff = -1;
-
- timeval = &temp;
-
- // jww (2007-04-19): Catch any boost errors thrown from here and
- // push them onto the new error stack scheme.
- try {
- if (yyparse() == 0) {
- delete lexer;
- return moment;
- }
- }
- catch (const time_to_leave&) {
- delete lexer;
- return moment;
- }
- catch (ledger::datetime_error *) {
- delete lexer;
- throw;
- }
- catch (...) {
- delete lexer;
- throw new ledger::datetime_error("Failed to parse date/time");
- }
- delete lexer;
- throw new ledger::datetime_error("Failed to parse date/time");
-}
-
-#ifdef MAIN
-
-namespace ledger {
- bool day_before_month = false;
-}
-
-int main()
-{
- yydebug = 1;
- std::cout << parse_abs_datetime(std::cin) << std::endl;
- return 0;
-}
-
-#endif // MAIN
diff --git a/pyledger.cc b/pyledger.cc
deleted file mode 100644
index 08b69590..00000000
--- a/pyledger.cc
+++ /dev/null
@@ -1,10 +0,0 @@
-#include "py_eval.h"
-#include "session.h"
-
-using namespace boost::python;
-
-BOOST_PYTHON_MODULE(ledger)
-{
- ledger::initialize();
- ledger::initialize_for_python();
-}
diff --git a/scantime.ll b/scantime.ll
deleted file mode 100644
index 75819bcc..00000000
--- a/scantime.ll
+++ /dev/null
@@ -1,32 +0,0 @@
-%option c++ 8bit
-
-%{
-#define YYSTYPE struct ledger::intorchar
-
-extern int yywrap();
-
-#include "times.h"
-#include "parsetime.h"
-
-extern YYSTYPE yylval;
-%}
-
-shortmon (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)
-longmon (January|February|March|April|May|June|July|August|September|October|November|December)
-ampm (AM|PM|am|pm|A.M.|P.M.|a.m.|p.m.|[AP]|[ap])
-
-%%
-
-[ \t] return TOK_SPACE;
-[\r\n] ;
-
-[0-9]{4} yylval = ledger::intorchar(std::atoi(yytext)); return TOK_FOURNUM;
-[0-9]{2} yylval = ledger::intorchar(std::atoi(yytext)); return TOK_TWONUM;
-[0-9]{1} yylval = ledger::intorchar(std::atoi(yytext)); return TOK_ONENUM;
-
-{shortmon} yylval = ledger::intorchar(yytext); return TOK_MONTH;
-{longmon} yylval = ledger::intorchar(yytext); return TOK_MONTH;
-
-{ampm} yylval = ledger::intorchar(yytext); return TOK_AMPM;
-
-. return (int) yytext[0];
diff --git a/setup.py b/setup.py
index 47d47827..fd42d62d 100755
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,6 @@
from distutils.core import setup, Extension
import os
-import string
defines = [('PYTHON_MODULE', 1)]
libs = os.environ["PYLIBS"].split()
@@ -15,5 +14,6 @@ setup(name = "Ledger",
author_email = "johnw@newartisans.com",
url = "http://johnwiegley.com/",
ext_modules = [
- Extension("ledger", [os.path.join(os.environ['SRCDIR'], "pyledger.cc")],
+ Extension("ledger",
+ [os.path.join(os.environ['SRCDIR'], "src", "pyledger.cc")],
define_macros = defines, libraries = libs)])
diff --git a/tests/python/corelib/.gitignore b/src/.gitignore
index 0d20b648..0d20b648 100644
--- a/tests/python/corelib/.gitignore
+++ b/src/.gitignore
diff --git a/COPYRIGHT b/src/COPYRIGHT
index c9d4bd18..c9d4bd18 100644
--- a/COPYRIGHT
+++ b/src/COPYRIGHT
diff --git a/amount.cc b/src/amount.cc
index ac7bbdb7..ac7bbdb7 100644
--- a/amount.cc
+++ b/src/amount.cc
diff --git a/amount.h b/src/amount.h
index dcd30b8d..dcd30b8d 100644
--- a/amount.h
+++ b/src/amount.h
diff --git a/balance.cc b/src/balance.cc
index 487f749f..487f749f 100644
--- a/balance.cc
+++ b/src/balance.cc
diff --git a/balance.h b/src/balance.h
index 2a6f3072..2a6f3072 100644
--- a/balance.h
+++ b/src/balance.h
diff --git a/binary.cc b/src/binary.cc
index d3238b5a..d3238b5a 100644
--- a/binary.cc
+++ b/src/binary.cc
diff --git a/binary.h b/src/binary.h
index 528217fa..528217fa 100644
--- a/binary.h
+++ b/src/binary.h
diff --git a/context.h b/src/context.h
index 3851d073..3851d073 100644
--- a/context.h
+++ b/src/context.h
diff --git a/csv.cc b/src/csv.cc
index e69de29b..e69de29b 100644
--- a/csv.cc
+++ b/src/csv.cc
diff --git a/csv.h b/src/csv.h
index e69de29b..e69de29b 100644
--- a/csv.h
+++ b/src/csv.h
diff --git a/derive.cc b/src/derive.cc
index 6586c1f4..6586c1f4 100644
--- a/derive.cc
+++ b/src/derive.cc
diff --git a/derive.h b/src/derive.h
index c0607fc2..c0607fc2 100644
--- a/derive.h
+++ b/src/derive.h
diff --git a/emacs.cc b/src/emacs.cc
index e69de29b..e69de29b 100644
--- a/emacs.cc
+++ b/src/emacs.cc
diff --git a/emacs.h b/src/emacs.h
index e69de29b..e69de29b 100644
--- a/emacs.h
+++ b/src/emacs.h
diff --git a/error.h b/src/error.h
index 5cbf54fb..5cbf54fb 100644
--- a/error.h
+++ b/src/error.h
diff --git a/fdstream.hpp b/src/fdstream.hpp
index a74a5781..a74a5781 100644
--- a/fdstream.hpp
+++ b/src/fdstream.hpp
diff --git a/format.cc b/src/format.cc
index 6a378823..774af6ca 100644
--- a/format.cc
+++ b/src/format.cc
@@ -1,9 +1,5 @@
#include "format.h"
-#if 0
-#ifdef USE_BOOST_PYTHON
-#include "py_eval.h"
-#endif
-#endif
+#include "pyinterp.h"
namespace ledger {
diff --git a/format.h b/src/format.h
index 1ddd8202..1ddd8202 100644
--- a/format.h
+++ b/src/format.h
diff --git a/gdtoa/gd_qnan.h b/src/gd_qnan.h
index 87eba8fb..87eba8fb 100644
--- a/gdtoa/gd_qnan.h
+++ b/src/gd_qnan.h
diff --git a/gnucash.cc b/src/gnucash.cc
index abe8c555..abe8c555 100644
--- a/gnucash.cc
+++ b/src/gnucash.cc
diff --git a/gnucash.h b/src/gnucash.h
index a0d9fb18..a0d9fb18 100644
--- a/gnucash.h
+++ b/src/gnucash.h
diff --git a/journal.cc b/src/journal.cc
index 1ae4be80..1f643364 100644
--- a/journal.cc
+++ b/src/journal.cc
@@ -2,7 +2,7 @@
#include "mask.h"
#if 0
#ifdef USE_BOOST_PYTHON
-#include "py_eval.h"
+#include "pyinterp.h"
#endif
#endif
diff --git a/journal.h b/src/journal.h
index 1995e0f3..1995e0f3 100644
--- a/journal.h
+++ b/src/journal.h
diff --git a/ledger.h b/src/ledger.h
index 7b351a3e..2122ece3 100644
--- a/ledger.h
+++ b/src/ledger.h
@@ -23,7 +23,6 @@
#include <parser.h>
#include <textual.h>
#include <binary.h>
-#include <xmlparse.h>
#include <gnucash.h>
#include <qif.h>
#include <ofx.h>
diff --git a/main.cc b/src/main.cc
index e4afa67a..0ca984c3 100644
--- a/main.cc
+++ b/src/main.cc
@@ -5,6 +5,14 @@
#endif
#include <option.h>
+#include "acconf.h"
+
+#ifdef HAVE_UNIX_PIPES
+#include <sys/types.h>
+#include <sys/wait.h>
+#include "fdstream.hpp"
+#endif
+
using namespace ledger;
#if 0
@@ -419,7 +427,7 @@ int main(int argc, char * argv[], char * envp[])
session->register_parser(new binary_parser_t);
#endif
#if defined(HAVE_EXPAT) || defined(HAVE_XMLPARSE)
- session->register_parser(new xml_parser_t);
+ session->register_parser(new xml::xml_parser_t);
session->register_parser(new gnucash_parser_t);
#endif
#ifdef HAVE_LIBOFX
diff --git a/mask.cc b/src/mask.cc
index 02cac880..02cac880 100644
--- a/mask.cc
+++ b/src/mask.cc
diff --git a/mask.h b/src/mask.h
index 82634c19..82634c19 100644
--- a/mask.h
+++ b/src/mask.h
diff --git a/ofx.cc b/src/ofx.cc
index f0bce1f2..f0bce1f2 100644
--- a/ofx.cc
+++ b/src/ofx.cc
diff --git a/ofx.h b/src/ofx.h
index 54713c17..54713c17 100644
--- a/ofx.h
+++ b/src/ofx.h
diff --git a/option.cc b/src/option.cc
index f5b80016..222baf92 100644
--- a/option.cc
+++ b/src/option.cc
@@ -1,9 +1,4 @@
#include "option.h"
-#if 0
-#ifdef USE_BOOST_PYTHON
-#include "py_eval.h"
-#endif
-#endif
#if 0
#ifdef USE_BOOST_PYTHON
diff --git a/option.h b/src/option.h
index c9664ae3..c9664ae3 100644
--- a/option.h
+++ b/src/option.h
diff --git a/parser.h b/src/parser.h
index 2bdc4622..2bdc4622 100644
--- a/parser.h
+++ b/src/parser.h
diff --git a/py_amount.cc b/src/py_amount.cc
index 607d0be5..1d9f9255 100644
--- a/py_amount.cc
+++ b/src/py_amount.cc
@@ -1,8 +1,9 @@
-#include "py_eval.h"
+#include "pyinterp.h"
#include "amount.h"
using namespace boost::python;
-using namespace ledger;
+
+namespace ledger {
int py_amount_quantity(amount_t& amount)
{
@@ -240,3 +241,5 @@ void export_amount()
EXC_TRANSLATE(amount_exception);
}
+
+} // namespace ledger
diff --git a/py_balance.cc b/src/py_balance.cc
index 372bf1e9..372bf1e9 100644
--- a/py_balance.cc
+++ b/src/py_balance.cc
diff --git a/py_format.cc b/src/py_format.cc
index e2faf5dc..e2faf5dc 100644
--- a/py_format.cc
+++ b/src/py_format.cc
diff --git a/py_journal.cc b/src/py_journal.cc
index d309cf95..d309cf95 100644
--- a/py_journal.cc
+++ b/src/py_journal.cc
diff --git a/py_option.cc b/src/py_option.cc
index 877d92a7..877d92a7 100644
--- a/py_option.cc
+++ b/src/py_option.cc
diff --git a/py_parser.cc b/src/py_parser.cc
index f119a0ef..f119a0ef 100644
--- a/py_parser.cc
+++ b/src/py_parser.cc
diff --git a/py_report.cc b/src/py_report.cc
index 0bc36857..0bc36857 100644
--- a/py_report.cc
+++ b/src/py_report.cc
diff --git a/py_session.cc b/src/py_session.cc
index f249c54e..f249c54e 100644
--- a/py_session.cc
+++ b/src/py_session.cc
diff --git a/py_transform.cc b/src/py_transform.cc
index a0ba31d4..a0ba31d4 100644
--- a/py_transform.cc
+++ b/src/py_transform.cc
diff --git a/py_value.cc b/src/py_value.cc
index 1a43ebc1..1a43ebc1 100644
--- a/py_value.cc
+++ b/src/py_value.cc
diff --git a/py_xpath.cc b/src/py_xpath.cc
index 6569ce7b..6569ce7b 100644
--- a/py_xpath.cc
+++ b/src/py_xpath.cc
diff --git a/pyfstream.h b/src/pyfstream.h
index 27e5166b..27e5166b 100644
--- a/pyfstream.h
+++ b/src/pyfstream.h
diff --git a/py_eval.cc b/src/pyinterp.cc
index d66f6188..b0cb166c 100644
--- a/py_eval.cc
+++ b/src/pyinterp.cc
@@ -1,47 +1,7 @@
-#include "py_eval.h"
-
-void export_amount();
-#if 0
-void export_balance();
-void export_value();
-
-void export_journal();
-void export_parser();
-void export_option();
-void export_walk();
-void export_report();
-void export_format();
-void export_valexpr();
-
-void shutdown_option();
-#endif
+#include "pyinterp.h"
namespace ledger {
-void initialize_for_python()
-{
- export_amount();
-#if 0
- export_balance();
- export_value();
-
- export_journal();
- export_parser();
- export_option();
- export_walk();
- export_format();
- export_report();
- export_valexpr();
-#endif
-}
-
-void shutdown_for_python()
-{
-#if 0
- shutdown_option();
-#endif
-}
-
struct python_run
{
object result;
@@ -55,6 +15,8 @@ struct python_run
}
};
+extern void initialize_for_python();
+
python_interpreter_t::python_interpreter_t(xml::xpath_t::scope_t * parent)
: xml::xpath_t::scope_t(parent),
mmodule(borrowed(PyImport_AddModule("__main__"))),
diff --git a/py_eval.h b/src/pyinterp.h
index 4712fe23..a75ef78b 100644
--- a/py_eval.h
+++ b/src/pyinterp.h
@@ -3,6 +3,8 @@
#include "xpath.h"
+#if defined(USE_BOOST_PYTHON)
+
#include <boost/python.hpp>
#include <boost/python/detail/api_placeholder.hpp>
#include <boost/python/exception_translator.hpp>
@@ -16,9 +18,6 @@ using namespace boost::python;
namespace ledger {
-void initialize_for_python();
-void shutdown_for_python();
-
class python_interpreter_t : public xml::xpath_t::scope_t
{
handle<> mmodule;
@@ -79,4 +78,6 @@ class python_interpreter_t : public xml::xpath_t::scope_t
} // namespace ledger
+#endif // USE_BOOST_PYTHON
+
#endif // _PY_EVAL_H
diff --git a/src/pyledger.cc b/src/pyledger.cc
new file mode 100644
index 00000000..b7654e5d
--- /dev/null
+++ b/src/pyledger.cc
@@ -0,0 +1,53 @@
+#include <pyledger.h>
+
+using namespace boost::python;
+
+namespace ledger {
+
+void export_amount();
+#if 0
+void export_balance();
+void export_value();
+
+void export_journal();
+void export_parser();
+void export_option();
+void export_walk();
+void export_report();
+void export_format();
+void export_valexpr();
+
+void shutdown_option();
+#endif
+
+void initialize_for_python()
+{
+ export_amount();
+#if 0
+ export_balance();
+ export_value();
+
+ export_journal();
+ export_parser();
+ export_option();
+ export_walk();
+ export_format();
+ export_report();
+ export_valexpr();
+#endif
+}
+
+void shutdown_for_python()
+{
+#if 0
+ shutdown_option();
+#endif
+}
+
+}
+
+BOOST_PYTHON_MODULE(ledger)
+{
+ ledger::initialize();
+ ledger::initialize_for_python();
+}
diff --git a/pyledger.h b/src/pyledger.h
index 9d8cafdf..4056fec0 100644
--- a/pyledger.h
+++ b/src/pyledger.h
@@ -11,6 +11,6 @@
//
#include <ledger.h>
-#include <py_eval.h>
+#include <pyinterp.h>
#endif // _PYLEDGER_H
diff --git a/qif.cc b/src/qif.cc
index 5e567ea0..5e567ea0 100644
--- a/qif.cc
+++ b/src/qif.cc
diff --git a/qif.h b/src/qif.h
index 6c68a99b..6c68a99b 100644
--- a/qif.h
+++ b/src/qif.h
diff --git a/quotes.cc b/src/quotes.cc
index 1463c9bc..1463c9bc 100644
--- a/quotes.cc
+++ b/src/quotes.cc
diff --git a/quotes.h b/src/quotes.h
index a1fabd93..a1fabd93 100644
--- a/quotes.h
+++ b/src/quotes.h
diff --git a/reconcile.cc b/src/reconcile.cc
index e69de29b..e69de29b 100644
--- a/reconcile.cc
+++ b/src/reconcile.cc
diff --git a/reconcile.h b/src/reconcile.h
index e69de29b..e69de29b 100644
--- a/reconcile.h
+++ b/src/reconcile.h
diff --git a/register.cc b/src/register.cc
index 9f33bd0c..9f33bd0c 100644
--- a/register.cc
+++ b/src/register.cc
diff --git a/register.h b/src/register.h
index ba2020ec..ba2020ec 100644
--- a/register.h
+++ b/src/register.h
diff --git a/report.cc b/src/report.cc
index 116747ef..116747ef 100644
--- a/report.cc
+++ b/src/report.cc
diff --git a/report.h b/src/report.h
index 11a0b759..11a0b759 100644
--- a/report.h
+++ b/src/report.h
diff --git a/session.cc b/src/session.cc
index 04ad3637..78fc2596 100644
--- a/session.cc
+++ b/src/session.cc
@@ -1,7 +1,4 @@
#include "session.h"
-#if defined(USE_BOOST_PYTHON)
-#include "py_eval.h"
-#endif
namespace ledger {
@@ -209,9 +206,6 @@ void initialize()
void shutdown()
{
-#if defined(USE_BOOST_PYTHON)
- shutdown_for_python();
-#endif
xml::xpath_t::shutdown();
amount_t::shutdown();
diff --git a/session.h b/src/session.h
index d2d52186..a1fd304b 100644
--- a/session.h
+++ b/src/session.h
@@ -124,8 +124,8 @@ class session_t : public xml::xpath_t::scope_t
const string * original_file = NULL);
unsigned int read_journal(const string& path,
- journal_t * journal,
- account_t * master = NULL,
+ journal_t * journal,
+ account_t * master = NULL,
const string * original_file = NULL);
void read_init();
diff --git a/system.hh b/src/system.hh
index a61e168e..bf376deb 100644
--- a/system.hh
+++ b/src/system.hh
@@ -63,12 +63,6 @@ namespace std {
#include <sys/stat.h>
-#ifdef HAVE_UNIX_PIPES
-#include <sys/types.h>
-#include <sys/wait.h>
-#include "fdstream.hpp"
-#endif
-
#ifdef WIN32
#include <io.h>
#else
@@ -87,7 +81,7 @@ namespace std {
#define HAVE_GDTOA 1
#ifdef HAVE_GDTOA
-#include "gdtoa/gdtoa.h"
+#include <gdtoa/gdtoa.h>
#endif
extern "C" {
diff --git a/textual.cc b/src/textual.cc
index ab657898..ab657898 100644
--- a/textual.cc
+++ b/src/textual.cc
diff --git a/textual.h b/src/textual.h
index bf05b1fc..bf05b1fc 100644
--- a/textual.h
+++ b/src/textual.h
diff --git a/times.cc b/src/times.cc
index 8966d598..8966d598 100644
--- a/times.cc
+++ b/src/times.cc
diff --git a/times.h b/src/times.h
index 2cc0d7e4..2cc0d7e4 100644
--- a/times.h
+++ b/src/times.h
diff --git a/transform.cc b/src/transform.cc
index b6a25cee..b6a25cee 100644
--- a/transform.cc
+++ b/src/transform.cc
diff --git a/transform.h b/src/transform.h
index 1a5286a1..1a5286a1 100644
--- a/transform.h
+++ b/src/transform.h
diff --git a/utils.cc b/src/utils.cc
index 63c28c5c..63c28c5c 100644
--- a/utils.cc
+++ b/src/utils.cc
diff --git a/utils.h b/src/utils.h
index 79595c71..79595c71 100644
--- a/utils.h
+++ b/src/utils.h
diff --git a/value.cc b/src/value.cc
index 914a49e2..914a49e2 100644
--- a/value.cc
+++ b/src/value.cc
diff --git a/value.h b/src/value.h
index 2b0adf2b..2b0adf2b 100644
--- a/value.h
+++ b/src/value.h
diff --git a/xml.cc b/src/xml.cc
index 3b791892..448b62b7 100644
--- a/xml.cc
+++ b/src/xml.cc
@@ -250,7 +250,7 @@ void terminal_node_t::write(std::ostream& out, int depth) const
#if defined(HAVE_EXPAT) || defined(HAVE_XMLPARSE)
template <typename T>
-inline T * create_node(parser_t * parser)
+inline T * create_node(document_t::parser_t * parser)
{
T * node = new T(parser->document, parser->node_stack.empty() ?
NULL : parser->node_stack.front());
@@ -266,7 +266,7 @@ inline T * create_node(parser_t * parser)
static void startElement(void *userData, const char *name, const char **attrs)
{
- parser_t * parser = static_cast<parser_t *>(userData);
+ document_t::parser_t * parser = static_cast<document_t::parser_t *>(userData);
DEBUG_("xml.parse", "startElement(" << name << ")");
@@ -293,7 +293,7 @@ static void startElement(void *userData, const char *name, const char **attrs)
static void endElement(void *userData, const char *name)
{
- parser_t * parser = static_cast<parser_t *>(userData);
+ document_t::parser_t * parser = static_cast<document_t::parser_t *>(userData);
DEBUG_("xml.parse", "endElement(" << name << ")");
@@ -315,7 +315,7 @@ static void endElement(void *userData, const char *name)
static void dataHandler(void *userData, const char *s, int len)
{
- parser_t * parser = static_cast<parser_t *>(userData);
+ document_t::parser_t * parser = static_cast<document_t::parser_t *>(userData);
DEBUG_("xml.parse", "dataHandler(" << string(s, len) << ")");
@@ -343,7 +343,7 @@ static void dataHandler(void *userData, const char *s, int len)
}
}
-bool parser_t::test(std::istream& in) const
+bool document_t::parser_t::test(std::istream& in) const
{
char buf[80];
@@ -359,7 +359,7 @@ bool parser_t::test(std::istream& in) const
return true;
}
-document_t * parser_t::parse(std::istream& in)
+document_t * document_t::parser_t::parse(std::istream& in)
{
std::auto_ptr<document_t> doc(new document_t);
diff --git a/xml.h b/src/xml.h
index 023388d8..6a600786 100644
--- a/xml.h
+++ b/src/xml.h
@@ -2,6 +2,7 @@
#define _XML_H
#include "value.h"
+#include "parser.h"
namespace ledger {
@@ -217,28 +218,41 @@ private:
const char * lookup_name(int id) const;
void write(std::ostream& out) const;
+
+#if defined(HAVE_EXPAT) || defined(HAVE_XMLPARSE)
+ class parser_t
+ {
+ public:
+ document_t * document;
+ XML_Parser parser;
+ string have_error;
+ const char * pending;
+ node_t::attrs_map * pending_attrs;
+ bool handled_data;
+
+ std::list<parent_node_t *> node_stack;
+
+ parser_t() : document(NULL), pending(NULL), pending_attrs(NULL),
+ handled_data(false) {}
+ virtual ~parser_t() {}
+
+ virtual bool test(std::istream& in) const;
+ virtual document_t * parse(std::istream& in);
+ };
+#endif
};
#if defined(HAVE_EXPAT) || defined(HAVE_XMLPARSE)
-class parser_t
+class xml_parser_t : public parser_t
{
public:
- document_t * document;
- XML_Parser parser;
- string have_error;
- const char * pending;
- node_t::attrs_map * pending_attrs;
- bool handled_data;
-
- std::list<parent_node_t *> node_stack;
-
- parser_t() : document(NULL), pending(NULL), pending_attrs(NULL),
- handled_data(false) {}
- virtual ~parser_t() {}
+ virtual bool test(std::istream& in) const;
- virtual bool test(std::istream& in) const;
- virtual document_t * parse(std::istream& in);
+ virtual unsigned int parse(std::istream& in,
+ journal_t * journal,
+ account_t * master = NULL,
+ const string * original_file = NULL);
};
DECLARE_EXCEPTION(parse_exception);
diff --git a/xmlparse.cc b/src/xmlparse.cc
index 35d26e5a..5dfcdbaa 100644
--- a/xmlparse.cc
+++ b/src/xmlparse.cc
@@ -1,7 +1,8 @@
-#include "xmlparse.h"
+#include "xml.h"
#include "journal.h"
namespace ledger {
+namespace xml {
#if defined(HAVE_EXPAT) || defined(HAVE_XMLPARSE)
@@ -11,13 +12,13 @@ static unsigned int count;
static journal_t * curr_journal;
static entry_t * curr_entry;
static commodity_t * curr_comm;
-static string comm_flags;
+static string comm_flags;
static transaction_t::state_t curr_state;
-static string data;
-static bool ignore;
-static string have_error;
+static string data;
+static bool ignore;
+static string have_error;
static void startElement(void *userData, const char *name, const char **attrs)
{
@@ -178,9 +179,9 @@ bool xml_parser_t::test(std::istream& in) const
return true;
}
-unsigned int xml_parser_t::parse(std::istream& in,
- journal_t * journal,
- account_t * master,
+unsigned int xml_parser_t::parse(std::istream& in,
+ journal_t * journal,
+ account_t * master,
const string * original_file)
{
char buf[BUFSIZ];
@@ -462,4 +463,5 @@ void format_xml_entries::format_last_entry()
}
#endif
+} // namespace xml
} // namespace ledger
diff --git a/xpath.cc b/src/xpath.cc
index 574a6ac8..6eb30d48 100644
--- a/xpath.cc
+++ b/src/xpath.cc
@@ -1,10 +1,5 @@
#include "xpath.h"
#include "parser.h"
-#if 0
-#ifdef USE_BOOST_PYTHON
-#include "py_eval.h"
-#endif
-#endif
namespace ledger {
namespace xml {
diff --git a/xpath.h b/src/xpath.h
index 13966ffc..13966ffc 100644
--- a/xpath.h
+++ b/src/xpath.h
diff --git a/tests/corelib/numerics/BasicAmount.cc b/tests/numerics/BasicAmount.cc
index 90cf26ec..90cf26ec 100644
--- a/tests/corelib/numerics/BasicAmount.cc
+++ b/tests/numerics/BasicAmount.cc
diff --git a/tests/corelib/numerics/BasicAmount.h b/tests/numerics/BasicAmount.h
index 2c107f45..2c107f45 100644
--- a/tests/corelib/numerics/BasicAmount.h
+++ b/tests/numerics/BasicAmount.h
diff --git a/tests/corelib/numerics/Commodity.cc b/tests/numerics/Commodity.cc
index e7e2a18c..e7e2a18c 100644
--- a/tests/corelib/numerics/Commodity.cc
+++ b/tests/numerics/Commodity.cc
diff --git a/tests/corelib/numerics/Commodity.h b/tests/numerics/Commodity.h
index dafa03e9..dafa03e9 100644
--- a/tests/corelib/numerics/Commodity.h
+++ b/tests/numerics/Commodity.h
diff --git a/tests/corelib/numerics/CommodityAmount.cc b/tests/numerics/CommodityAmount.cc
index 7ed7f403..7ed7f403 100644
--- a/tests/corelib/numerics/CommodityAmount.cc
+++ b/tests/numerics/CommodityAmount.cc
diff --git a/tests/corelib/numerics/CommodityAmount.h b/tests/numerics/CommodityAmount.h
index 5ffa7810..5ffa7810 100644
--- a/tests/corelib/numerics/CommodityAmount.h
+++ b/tests/numerics/CommodityAmount.h
diff --git a/tests/corelib/numerics/DateTime.cc b/tests/numerics/DateTime.cc
index 24b8dd16..24b8dd16 100644
--- a/tests/corelib/numerics/DateTime.cc
+++ b/tests/numerics/DateTime.cc
diff --git a/tests/corelib/numerics/DateTimeTest.h b/tests/numerics/DateTimeTest.h
index abc914cd..abc914cd 100644
--- a/tests/corelib/numerics/DateTimeTest.h
+++ b/tests/numerics/DateTimeTest.h
diff --git a/PyUnitTests.py b/tests/python/PyUnitTests.py
index 71267798..71267798 100755
--- a/PyUnitTests.py
+++ b/tests/python/PyUnitTests.py
diff --git a/tests/python/UnitTests.py b/tests/python/UnitTests.py
index 7a10c9e6..84b8432b 100644
--- a/tests/python/UnitTests.py
+++ b/tests/python/UnitTests.py
@@ -1,7 +1,7 @@
from unittest import TextTestRunner, TestSuite
-import tests.python.corelib.numerics.BasicAmount as BasicAmount
-import tests.python.corelib.numerics.CommodityAmount as CommodityAmount
+import tests.python.numerics.BasicAmount as BasicAmount
+import tests.python.numerics.CommodityAmount as CommodityAmount
suites = [
BasicAmount.suite(),
diff --git a/tests/python/corelib/values/__init__.py b/tests/python/corelib/values/__init__.py
deleted file mode 100644
index e69de29b..00000000
--- a/tests/python/corelib/values/__init__.py
+++ /dev/null
diff --git a/tests/python/corelib/numerics/.gitignore b/tests/python/numerics/.gitignore
index 0d20b648..0d20b648 100644
--- a/tests/python/corelib/numerics/.gitignore
+++ b/tests/python/numerics/.gitignore
diff --git a/tests/python/corelib/numerics/BasicAmount.py b/tests/python/numerics/BasicAmount.py
index bdc7dbe9..bdc7dbe9 100644
--- a/tests/python/corelib/numerics/BasicAmount.py
+++ b/tests/python/numerics/BasicAmount.py
diff --git a/tests/python/corelib/numerics/CommodityAmount.py b/tests/python/numerics/CommodityAmount.py
index 80f58b21..80f58b21 100644
--- a/tests/python/corelib/numerics/CommodityAmount.py
+++ b/tests/python/numerics/CommodityAmount.py
diff --git a/tests/python/corelib/__init__.py b/tests/python/numerics/__init__.py
index e69de29b..e69de29b 100644
--- a/tests/python/corelib/__init__.py
+++ b/tests/python/numerics/__init__.py
diff --git a/tests/python/corelib/balances/__init__.py b/tests/python/numerics/balances/__init__.py
index e69de29b..e69de29b 100644
--- a/tests/python/corelib/balances/__init__.py
+++ b/tests/python/numerics/balances/__init__.py
diff --git a/tests/python/corelib/numerics/__init__.py b/tests/python/numerics/values/__init__.py
index e69de29b..e69de29b 100644
--- a/tests/python/corelib/numerics/__init__.py
+++ b/tests/python/numerics/values/__init__.py
diff --git a/xmlparse.h b/xmlparse.h
deleted file mode 100644
index f8a77106..00000000
--- a/xmlparse.h
+++ /dev/null
@@ -1,25 +0,0 @@
-#ifndef _XMLPARSE_H
-#define _XMLPARSE_H
-
-#include "parser.h"
-
-namespace ledger {
-
-#if defined(HAVE_EXPAT) || defined(HAVE_XMLPARSE)
-
-class xml_parser_t : public parser_t
-{
- public:
- virtual bool test(std::istream& in) const;
-
- virtual unsigned int parse(std::istream& in,
- journal_t * journal,
- account_t * master = NULL,
- const string * original_file = NULL);
-};
-
-#endif
-
-} // namespace ledger
-
-#endif // _XMLPARSE_H
diff --git a/ylwrap b/ylwrap
deleted file mode 100755
index 102bd893..00000000
--- a/ylwrap
+++ /dev/null
@@ -1,223 +0,0 @@
-#! /bin/sh
-# ylwrap - wrapper for lex/yacc invocations.
-
-scriptversion=2005-05-14.22
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
-#
-# Written by Tom Tromey <tromey@cygnus.com>.
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-# 02110-1301, USA.
-
-# As a special exception to the GNU General Public License, if you
-# distribute this file as part of a program that contains a
-# configuration script generated by Autoconf, you may include it under
-# the same distribution terms that you use for the rest of that program.
-
-# This file is maintained in Automake, please report
-# bugs to <bug-automake@gnu.org> or send patches to
-# <automake-patches@gnu.org>.
-
-case "$1" in
- '')
- echo "$0: No files given. Try \`$0 --help' for more information." 1>&2
- exit 1
- ;;
- --basedir)
- basedir=$2
- shift 2
- ;;
- -h|--h*)
- cat <<\EOF
-Usage: ylwrap [--help|--version] INPUT [OUTPUT DESIRED]... -- PROGRAM [ARGS]...
-
-Wrapper for lex/yacc invocations, renaming files as desired.
-
- INPUT is the input file
- OUTPUT is one file PROG generates
- DESIRED is the file we actually want instead of OUTPUT
- PROGRAM is program to run
- ARGS are passed to PROG
-
-Any number of OUTPUT,DESIRED pairs may be used.
-
-Report bugs to <bug-automake@gnu.org>.
-EOF
- exit $?
- ;;
- -v|--v*)
- echo "ylwrap $scriptversion"
- exit $?
- ;;
-esac
-
-
-# The input.
-input="$1"
-shift
-case "$input" in
- [\\/]* | ?:[\\/]*)
- # Absolute path; do nothing.
- ;;
- *)
- # Relative path. Make it absolute.
- input="`pwd`/$input"
- ;;
-esac
-
-pairlist=
-while test "$#" -ne 0; do
- if test "$1" = "--"; then
- shift
- break
- fi
- pairlist="$pairlist $1"
- shift
-done
-
-# The program to run.
-prog="$1"
-shift
-# Make any relative path in $prog absolute.
-case "$prog" in
- [\\/]* | ?:[\\/]*) ;;
- *[\\/]*) prog="`pwd`/$prog" ;;
-esac
-
-# FIXME: add hostname here for parallel makes that run commands on
-# other machines. But that might take us over the 14-char limit.
-dirname=ylwrap$$
-trap "cd `pwd`; rm -rf $dirname > /dev/null 2>&1" 1 2 3 15
-mkdir $dirname || exit 1
-
-cd $dirname
-
-case $# in
- 0) $prog "$input" ;;
- *) $prog "$@" "$input" ;;
-esac
-ret=$?
-
-if test $ret -eq 0; then
- set X $pairlist
- shift
- first=yes
- # Since DOS filename conventions don't allow two dots,
- # the DOS version of Bison writes out y_tab.c instead of y.tab.c
- # and y_tab.h instead of y.tab.h. Test to see if this is the case.
- y_tab_nodot="no"
- if test -f y_tab.c || test -f y_tab.h; then
- y_tab_nodot="yes"
- fi
-
- # The directory holding the input.
- input_dir=`echo "$input" | sed -e 's,\([\\/]\)[^\\/]*$,\1,'`
- # Quote $INPUT_DIR so we can use it in a regexp.
- # FIXME: really we should care about more than `.' and `\'.
- input_rx=`echo "$input_dir" | sed 's,\\\\,\\\\\\\\,g;s,\\.,\\\\.,g'`
-
- while test "$#" -ne 0; do
- from="$1"
- # Handle y_tab.c and y_tab.h output by DOS
- if test $y_tab_nodot = "yes"; then
- if test $from = "y.tab.c"; then
- from="y_tab.c"
- else
- if test $from = "y.tab.h"; then
- from="y_tab.h"
- fi
- fi
- fi
- if test -f "$from"; then
- # If $2 is an absolute path name, then just use that,
- # otherwise prepend `../'.
- case "$2" in
- [\\/]* | ?:[\\/]*) target="$2";;
- *) target="../$2";;
- esac
-
- # We do not want to overwrite a header file if it hasn't
- # changed. This avoid useless recompilations. However the
- # parser itself (the first file) should always be updated,
- # because it is the destination of the .y.c rule in the
- # Makefile. Divert the output of all other files to a temporary
- # file so we can compare them to existing versions.
- if test $first = no; then
- realtarget="$target"
- target="tmp-`echo $target | sed s/.*[\\/]//g`"
- fi
- # Edit out `#line' or `#' directives.
- #
- # We don't want the resulting debug information to point at
- # an absolute srcdir; it is better for it to just mention the
- # .y file with no path.
- #
- # We want to use the real output file name, not yy.lex.c for
- # instance.
- #
- # We want the include guards to be adjusted too.
- FROM=`echo "$from" | sed \
- -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'\
- -e 's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g'`
- TARGET=`echo "$2" | sed \
- -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'\
- -e 's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g'`
-
- sed -e "/^#/!b" -e "s,$input_rx,," -e "s,$from,$2," \
- -e "s,$FROM,$TARGET," "$from" >"$target" || ret=$?
-
- # Check whether header files must be updated.
- if test $first = no; then
- if test -f "$realtarget" && cmp -s "$realtarget" "$target"; then
- echo "$2" is unchanged
- rm -f "$target"
- else
- echo updating "$2"
- mv -f "$target" "$realtarget"
- fi
- fi
- else
- # A missing file is only an error for the first file. This
- # is a blatant hack to let us support using "yacc -d". If -d
- # is not specified, we don't want an error when the header
- # file is "missing".
- if test $first = yes; then
- ret=1
- fi
- fi
- shift
- shift
- first=no
- done
-else
- ret=$?
-fi
-
-# Remove the directory.
-cd ..
-rm -rf $dirname
-
-exit $ret
-
-# Local Variables:
-# mode: shell-script
-# sh-indentation: 2
-# eval: (add-hook 'write-file-hooks 'time-stamp)
-# time-stamp-start: "scriptversion="
-# time-stamp-format: "%:y-%02m-%02d.%02H"
-# time-stamp-end: "$"
-# End: