summaryrefslogtreecommitdiff
path: root/server/src/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/Makefile.am')
-rw-r--r--server/src/Makefile.am21
1 files changed, 20 insertions, 1 deletions
diff --git a/server/src/Makefile.am b/server/src/Makefile.am
index a1920fe..768f563 100644
--- a/server/src/Makefile.am
+++ b/server/src/Makefile.am
@@ -1,5 +1,5 @@
-bin_PROGRAMS = pracrod
+bin_PROGRAMS = pracrod macrotool
pracrod_LDADD = $(LD_EFENCE) $(PQXX_LIBS) $(CONFIG_LIBS) $(LUA_LIBS) -lpthread
@@ -33,6 +33,25 @@ pracrod_SOURCES = \
widgetgenerator.cc \
xml_encode_decode.cc
+macrotool_LDADD = $(LD_EFENCE) $(PQXX_LIBS) $(CONFIG_LIBS) $(LUA_LIBS) -lpthread
+
+macrotool_CXXFLAGS = $(PQXX_CXXFLAGS) $(CONFIG_CXXFLAGS) $(LUA_CXXFLAGS)
+
+macrotool_SOURCES = \
+ macrotool.cc \
+ debug.cc \
+ configuration.cc \
+ configurationparser.cc \
+ database.cc \
+ exception.cc \
+ log.cc \
+ macroparser.cc \
+ macrotool_dump.cc \
+ pracrodao.cc \
+ pracrodaopgsql.cc \
+ saxparser.cc \
+ templateparser.cc
+
EXTRA_DIST = \
configuration.h \
configurationparser.h \