bin_PROGRAMS = pracrod macrotool pracrod_LDADD = $(LD_EFENCE) $(PQXX_LIBS) $(CONFIG_LIBS) $(LUA_LIBS) $(HTTPD_LIBS) -lpthread pracrod_CXXFLAGS = $(PQXX_CXXFLAGS) $(CONFIG_CXXFLAGS) $(LUA_CXXFLAGS) $(HTTPD_CFLAGS) pracrod_SOURCES = \ pracrod.cc \ daemon.cc \ database.cc \ configuration.cc \ configurationparser.cc \ connectionpool.cc \ debug.cc \ exception.cc \ queryhandlerpentominos.cc \ queryhandlerpracro.cc \ queryparser.cc \ journal_commit.cc \ log.cc \ luaquerymapper.cc \ luaresume.cc \ macroheaderparser.cc \ macrolist.cc \ macroparser.cc \ mutex.cc \ pracrodao.cc \ pracrodaopgsql.cc \ pracrodaotest.cc \ resumeparser.cc \ saxparser.cc \ semaphore.cc \ server.cc \ session.cc \ templatelist.cc \ templateheaderparser.cc \ templateparser.cc \ transactionparser.cc \ tcpsocket.cc \ utf8.cc \ versionstr.cc \ 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 \ macroheaderparser.cc \ macrolist.cc \ macroparser.cc \ macrotool_dump.cc \ macrotool_fieldnames.cc \ macrotool_filehandler.cc \ macrotool_util.cc \ mutex.cc \ pracrodao.cc \ pracrodaopgsql.cc \ pracrodaotest.cc \ saxparser.cc \ templateparser.cc \ versionstr.cc EXTRA_DIST = \ configuration.h \ configurationparser.h \ connectionpool.h \ daemon.h \ database.h \ dbtypes.h \ debug.h \ exception.h \ queryhandler.h \ queryhandlerpentominos.h \ queryhandlerpracro.h \ queryparser.h \ journal_commit.h \ log.h \ luaquerymapper.h \ luaresume.h \ macroheaderparser.h \ macrolist.h \ macroparser.h \ macrotool_dump.h \ macrotool_fieldnames.h \ macrotool_filehandler.h \ macrotool_util.h \ mutex.h \ pracrodao.h \ pracrodaopgsql.h \ pracrodaotest.h \ resumeparser.h \ saxparser.h \ semaphore.h \ server.h \ session.h \ templatelist.h \ templateheaderparser.h \ templateparser.h \ transactionparser.h \ tcpsocket.h \ utf8.h \ versionstr.h \ widgetgenerator.h \ xml_encode_decode.h ################ # Test Section # ################ tests.make: ${pracrod_SOURCES} ${EXTRA_DIST} ../../tools/testlist > tests.make @touch Makefile.am include tests.make test: tests.make $(TESTFILES) @echo "All tests done." test_clean: rm -f $(TESTFILES) $(TESTLOGS) TESTLOGS = `for F in ${TESTFILES}; do echo $$F.log; done` CLEANFILES = $(TESTFILES) $(TESTLOGS) tests.make *~