bin_PROGRAMS = pracrod pracrod_LDADD = $(LD_EFENCE) $(PQXX_LIBS) $(CONFIG_LIBS) $(LUA_LIBS) pracrod_CXXFLAGS = $(PQXX_CXXFLAGS) $(CONFIG_CXXFLAGS) $(LUA_CXXFLAGS) pracrod_SOURCES = \ pracrod.cc \ daemon.cc \ database.cc \ configuration.cc \ exception.cc \ queryhandler.cc \ queryparser.cc \ journal_commit.cc \ log.cc \ luaquerymapper.cc \ macro_parser.cc \ resumeparser.cc \ saxparser.cc \ server.cc \ templateparser.cc \ transactionparser.cc \ tcpsocket.cc \ tostring.cc \ uid.cc EXTRA_DIST = \ configuration.h \ daemon.h \ database.h \ debug.h \ exception.h \ queryhandler.h \ queryparser.h \ journal_commit.h \ log.h \ luaquerymapper.h \ macro.h \ macro_parser.h \ resumeparser.h \ saxparser.h \ server.h \ templateparser.h \ transactionparser.h \ tcpsocket.h \ tostring.h \ uid.h TESTFILES = \ test_queryhandler \ test_queryparser \ test_luaquerymapper TESTLOGS = `for F in ${TESTFILES}; do echo $$F.log; done` test: $(TESTFILES) @echo "All tests done." test_clean: rm -f $(TESTFILES) test_queryhandler: queryhandler.cc @../../tools/test queryhandler.cc tcpsocket.cc exception.cc tostring.cc uid.cc log.cc test_queryparser: queryparser.cc @../../tools/test queryparser.cc queryhandler.cc tcpsocket.cc exception.cc tostring.cc uid.cc log.cc saxparser.cc -lexpat test_luaquerymapper: luaquerymapper.cc @../../tools/test luaquerymapper.cc queryparser.cc queryhandler.cc tcpsocket.cc exception.cc tostring.cc uid.cc log.cc saxparser.cc -lexpat $(LUA_LIBS) CLEANFILES = $(TESTFILES) $(TESTLOGS)