summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 76197716caad6bf046a3479840d734888b16f959 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
lib_LTLIBRARIES = libledger.la
libledger_la_SOURCES = amount.cc autoxact.cc balance.cc binary.cc config.cc \
	datetime.cc format.cc journal.cc option.cc parser.cc qif.cc quotes.cc \
	textual.cc valexpr.cc value.cc walk.cc
if DEBUG
libledger_la_CXXFLAGS = -DDEBUG_LEVEL=4
libledger_la_SOURCES += debug.cc
else
if STANDALONE
libledger_a_CXXFLAGS = -DSGI_STL_USE_SINGLE_CLIENT_ALLOCATOR=1
endif
endif
if READ_GNUCASH
libledger_la_SOURCES += gnucash.cc
endif
libledger_la_LDFLAGS = -version-info 2:0

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.la

nobase_include_HEADERS = \
	amount.h	 \
	autoxact.h	 \
	balance.h	 \
	binary.h	 \
	config.h	 \
	datetime.h	 \
	debug.h		 \
	error.h		 \
	format.h	 \
	gnucash.h	 \
	ledger.h	 \
	option.h	 \
	parser.h	 \
	qif.h		 \
	quotes.h	 \
	textual.h	 \
	valexpr.h	 \
	value.h		 \
	walk.h
info_TEXINFOS = ledger.texi