summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: a9466e9afe2d70cc8da8f0d93d4e8027cbc8c053 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
noinst_LIBRARIES = libledger.a
libledger_a_SOURCES = account.cc amount.cc autoxact.cc balance.cc binary.cc \
	config.cc datetime.cc format.cc ledger.cc option.cc parser.cc qif.cc \
	quotes.cc textual.cc valexpr.cc value.cc walk.cc
if DEBUG
libledger_a_CXXFLAGS = -DDEBUG_LEVEL=4
libledger_a_SOURCES += debug.cc
else
if STANDALONE
libledger_a_CXXFLAGS = -DSGI_STL_USE_SINGLE_CLIENT_ALLOCATOR=1
endif
endif
if READ_GNUCASH
libledger_a_SOURCES += gnucash.cc
endif

bin_PROGRAMS = ledger
if DEBUG
ledger_CXXFLAGS = -DDEBUG_LEVEL=4
else
if STANDALONE
ledger_CXXFLAGS = -DSGI_STL_USE_SINGLE_CLIENT_ALLOCATOR=1
endif
endif
ledger_SOURCES = main.cc
ledger_LDADD = $(LIBOBJS) libledger.a

info_TEXINFOS = ledger.texi