summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-05-07 10:27:21 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:38:39 -0400
commitd8498372037a4d0c272547ae48046b2182bcd4b1 (patch)
treeea3f228c5b6b20d71456e47a418e383669925d5f /Makefile.am
parenta71d48881e538630aa1d147d58365da84e6db91f (diff)
downloadfork-ledger-d8498372037a4d0c272547ae48046b2182bcd4b1.tar.gz
fork-ledger-d8498372037a4d0c272547ae48046b2182bcd4b1.tar.bz2
fork-ledger-d8498372037a4d0c272547ae48046b2182bcd4b1.zip
Major restructuring of the value_t class.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am26
1 files changed, 12 insertions, 14 deletions
diff --git a/Makefile.am b/Makefile.am
index 3e22e2a8..a35635b4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,6 +1,6 @@
-SUBDIRS = gdtoa
+SUBDIRS = gdtoa
BUILT_SOURCES =
-CLEANFILES =
+CLEANFILES =
ESC_srcdir=`echo "$(srcdir)" | sed 's/\//\\\\\//g'`
@@ -22,14 +22,14 @@ endif
AM_YFLAGS = -d
AM_LFLAGS = -o $(LEX_OUTPUT_ROOT).c
-#WARNFLAGS = -H -Wall -Wextra -Wfloat-equal -Wno-endif-labels
-#WARNFLAGS += -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion
-#WARNFLAGS += -Wconversion -Wshorten-64-to-32 -Wsign-compare
-#WARNFLAGS += -Wmissing-field-initializers -pedantic-errors
+WARNFLAGS = -Wall -Wextra -Wfloat-equal -Wno-endif-labels
+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 -I$(srcdir)/gdtoa \
- -I$(srcdir)/src
-libledger_la_LDFLAGS = -release 3.0
+ -I$(srcdir)/src #$(WARNFLAGS)
+libledger_la_LDFLAGS = -release $(PACKAGE_VERSION)
libledger_la_SOURCES = \
src/utils.cc \
@@ -79,7 +79,6 @@ libledger_la_SOURCES += src/pyinterp.cc
endif
if USE_PCH
-libledger_la_CXXFLAGS = $(WARNFLAGS)
nodist_libledger_la_SOURCES = system.hh.gch
BUILT_SOURCES += system.hh.gch
@@ -93,7 +92,7 @@ endif
libpyledger_la_CPPFLAGS = $(libledger_la_CPPFLAGS)
-libpyledger_la_LDFLAGS = -release 3.0
+libpyledger_la_LDFLAGS = -release $(PACKAGE_VERSION)
libpyledger_la_SOURCES = \
src/py_utils.cc \
@@ -142,11 +141,10 @@ pkginclude_HEADERS = \
bin_PROGRAMS = ledger
ledger_CPPFLAGS = $(libledger_la_CPPFLAGS)
-ledger_CXXFLAGS = $(WARNFLAGS)
-ledger_LDADD = $(LIBOBJS) libledger.la gdtoa/libgdtoa.la $(LEXLIB)
-ledger_LDFLAGS = -static # for the sake of command-line speed
+ledger_LDADD = $(LIBOBJS) libledger.la gdtoa/libgdtoa.la $(LEXLIB)
+ledger_LDFLAGS = -static # for the sake of command-line speed
-ledger_SOURCES = \
+ledger_SOURCES = \
src/option.cc \
src/main.cc