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.am10
1 files changed, 6 insertions, 4 deletions
diff --git a/server/src/Makefile.am b/server/src/Makefile.am
index 399d7fa..eb52775 100644
--- a/server/src/Makefile.am
+++ b/server/src/Makefile.am
@@ -139,7 +139,7 @@ BASICFLAGS = -I.. -DHAVE_CONFIG_H $(CONFIG_CXXFLAGS) $(CONFIG_LIBS)
PARSERFILES = saxparser.cc
PARSERFLAGS = -lexpat
-DBFILES = database.cc pracrodao.cc pracrodaopgsql.cc
+DBFILES = database.cc pracrodao.cc pracrodaopgsql.cc pracrodaotest.cc
DBFLAGS = $(PQXX_LIBS) $(PQXX_CXXFLAGS)
test: $(TESTFILES)
@@ -159,9 +159,10 @@ TEST_WIDGETGENERATOR_FILES = \
widgetgenerator.cc \
xml_encode_decode.cc \
luaquerymapper.cc \
- $(BASICFILES)
+ $(BASICFILES) \
+ $(DBFILES)
test_widgetgenerator: $(TEST_WIDGETGENERATOR_FILES)
- @../../tools/test $(TEST_WIDGETGENERATOR_FILES) $(BASICFLAGS) $(LUA_LIBS)
+ @../../tools/test $(TEST_WIDGETGENERATOR_FILES) $(BASICFLAGS) $(LUA_LIBS) $(DBFLAGS)
TEST_CONFIGURATIONPARSER_FILES = \
configurationparser.cc \
@@ -292,7 +293,8 @@ TEST_SERVER_FILES = \
transactionparser.cc \
widgetgenerator.cc \
database.cc \
- pracrodao.cc \
+ pracrodao.cc \
+ pracrodaotest.cc \
pracrodaopgsql.cc \
luaresume.cc \
macroparser.cc \