summaryrefslogtreecommitdiff
path: root/server/src/Makefile.am
blob: fdfeb4240bfe6be1bef61b27f1448c43afadca11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156

bin_PROGRAMS = pracrod macrotool

pracrod_LDADD = $(LD_EFENCE) $(PQXX_LIBS) $(CONFIG_LIBS) \
	$(LUA_LIBS) $(HTTPD_LIBS) $(PTHREAD_LIBS) \
	$(EXPAT_LIBS) $(ATF_LIBS)

pracrod_CXXFLAGS = $(PQXX_CXXFLAGS) $(CONFIG_CXXFLAGS) \
	$(LUA_CXXFLAGS) $(HTTPD_CFLAGS) $(EXPAT_CFLAGS) \
	$(PTHREAD_CFLAGS) $(ATF_CFLAGS)

pracrod_SOURCES = \
	pracrod.cc \
	artefact.cc \
	daemon.cc \
	database.cc \
	configuration.cc \
	configurationparser.cc \
	connection.cc \
	connectionpool.cc \
	debug.cc \
	entitylist.cc \
	environment.cc \
	exception.cc \
	httpd.cc \
	inotify.cc \
	journal_commit.cc \
	journalwriter.cc \
	log.cc \
	luaquerymapper.cc \
	luaresume.cc \
	luautil.cc \
	macroheaderparser.cc \
	macrolist.cc \
	macroparser.cc \
	mutex.cc \
	pracrodao.cc \
	pracrodaopgsql.cc \
	pracrodaotest.cc \
	queryhandlerpentominos.cc \
	queryhandlerpracro.cc \
	queryparser.cc \
	resumeparser.cc \
	saxparser.cc \
	semaphore.cc \
	server.cc \
	session.cc \
	sessionparser.cc \
	sessionserialiser.cc \
	templatelist.cc \
	templateheaderparser.cc \
	templateparser.cc \
	transactionhandler.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) $(PTHREAD_LIBS) $(EXPAT_LIBS)

macrotool_CXXFLAGS = $(PQXX_CXXFLAGS) $(CONFIG_CXXFLAGS) \
	$(LUA_CXXFLAGS) $(PTHREAD_CFLAGS) $(EXPAT_CFLAGS)

macrotool_SOURCES = \
	macrotool.cc \
	debug.cc \
	configuration.cc \
	configurationparser.cc \
	database.cc \
	entitylist.cc \
	exception.cc \
	inotify.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 = \
	artefact.h \
	configuration.h \
	configurationparser.h \
	connection.h \
	connectionpool.h \
	daemon.h \
	database.h \
	dbtypes.h \
	debug.h \
	environment.h \
	entitylist.h \
	exception.h \
	httpd.h \
	inotify.h \
	journal_commit.h \
	journalwriter.h \
	log.h \
	luaquerymapper.h \
	luaresume.h \
	luautil.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 \
	queryhandler.h \
	queryhandlerpentominos.h \
	queryhandlerpracro.h \
	queryparser.h \
	resumeparser.h \
	saxparser.h \
	semaphore.h \
	server.h \
	session.h \
	sessionparser.h \
	sessionserialiser.h \
	templatelist.h \
	templateheaderparser.h \
	templateparser.h \
	transactionhandler.h \
	transactionparser.h \
	tcpsocket.h \
	utf8.h \
	versionstr.h \
	widgetgenerator.h \
	xml_encode_decode.h

################
# Test Section #
################

TEST_SOURCE_DEPS = ${pracrod_SOURCES} ${macrotool_SOURCES} \
	${EXTRA_DIST}
TEST_SCRIPT_DIR = $(top_srcdir)/../tools

include ${TEST_SCRIPT_DIR}/Makefile.am.test

include Makefile.am.test