1 INCLUDES = -I$(top_srcdir)/src/include
3 plugindir = $(libdir)/gnunet
5 pkgcfgdir= $(pkgdatadir)/config.d/
7 libexecdir= $(pkglibdir)/libexec/
14 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
18 AM_CFLAGS = --coverage -O0
23 SQLITE_PLUGIN = libgnunet_plugin_namestore_sqlite.la
25 SQLITE_TESTS = test_plugin_namestore_sqlite
30 # postgres doesn't even build yet; thus: experimental!
32 POSTGRES_PLUGIN = libgnunet_plugin_namestore_postgres.la
34 POSTGRES_TESTS = test_plugin_namestore_postgres
39 # testcases do not even build yet; thus: experimental!
45 test_namestore_api_remove \
46 test_namestore_api_lookup
47 #test_namestore_api_lookup_specific_type
48 #test_namestore_api_create
49 #test_namestore_api_create_update
50 #test_namestore_api_remove_not_existing_record
51 #test_namestore_api_zone_to_name
52 #test_namestore_api_monitoring
53 #test_namestore_api_zone_iteration
54 #test_namestore_api_zone_iteration_specific_zone
55 #test_namestore_api_zone_iteration_stop
60 test_namestore_record_serialization \
61 test_namestore_api_blocks \
67 # end of 'HAVE_EXPERIMENTAL' for testcases
71 TESTS = $(check_PROGRAMS)
77 libgnunetnamestore_la_SOURCES = \
79 namestore_api_monitor.c \
80 namestore_api_common.c \
82 libgnunetnamestore_la_LIBADD = \
83 $(top_builddir)/src/statistics/libgnunetstatistics.la \
84 $(top_builddir)/src/util/libgnunetutil.la \
86 libgnunetnamestore_la_LDFLAGS = \
87 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
91 gnunet-service-namestore
98 gnunet-namestore-fcfsd
101 gnunet_namestore_SOURCES = \
103 gnunet_namestore_LDADD = \
104 $(top_builddir)/src/util/libgnunetutil.la \
105 $(top_builddir)/src/identity/libgnunetidentity.la \
106 libgnunetnamestore.la \
108 gnunet_namestore_DEPENDENCIES = \
109 $(top_builddir)/src/identity/libgnunetidentity.la \
110 $(top_builddir)/src/util/libgnunetutil.la \
111 libgnunetnamestore.la
114 gnunet_namestore_fcfsd_SOURCES = \
115 gnunet-namestore-fcfsd.c
116 gnunet_namestore_fcfsd_LDADD = -lmicrohttpd \
117 $(top_builddir)/src/util/libgnunetutil.la \
118 $(top_builddir)/src/identity/libgnunetidentity.la \
119 $(top_builddir)/src/namestore/libgnunetnamestore.la \
121 gnunet_namestore_fcfsd_DEPENDENCIES = \
122 $(top_builddir)/src/util/libgnunetutil.la \
123 libgnunetnamestore.la
127 gnunet_service_namestore_SOURCES = \
128 gnunet-service-namestore.c
130 gnunet_service_namestore_LDADD = \
131 $(top_builddir)/src/statistics/libgnunetstatistics.la \
132 $(top_builddir)/src/util/libgnunetutil.la \
133 libgnunetnamestore.la \
135 gnunet_service_namestore_DEPENDENCIES = \
136 $(top_builddir)/src/statistics/libgnunetstatistics.la \
137 $(top_builddir)/src/util/libgnunetutil.la \
138 libgnunetnamestore.la
141 plugin_LTLIBRARIES = \
145 libgnunet_plugin_namestore_sqlite_la_SOURCES = \
146 plugin_namestore_sqlite.c
147 libgnunet_plugin_namestore_sqlite_la_LIBADD = \
148 $(top_builddir)/src/namestore/libgnunetnamestore.la \
149 $(top_builddir)/src/statistics/libgnunetstatistics.la \
150 $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) -lsqlite3 \
152 libgnunet_plugin_namestore_sqlite_la_LDFLAGS = \
154 libgnunet_plugin_namestore_sqlite_la_DEPENDENCIES = \
155 $(top_builddir)/src/statistics/libgnunetstatistics.la \
156 $(top_builddir)/src/util/libgnunetutil.la \
157 libgnunetnamestore.la
160 libgnunet_plugin_namestore_postgres_la_SOURCES = \
161 plugin_namestore_postgres.c
162 libgnunet_plugin_namestore_postgres_la_LIBADD = \
163 $(top_builddir)/src/namestore/libgnunetnamestore.la \
164 $(top_builddir)/src/postgres/libgnunetpostgres.la \
165 $(top_builddir)/src/statistics/libgnunetstatistics.la \
166 $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) -lpq \
168 libgnunet_plugin_namestore_postgres_la_LDFLAGS = \
170 libgnunet_plugin_namestore_postgres_la_DEPENDENCIES = \
171 $(top_builddir)/src/postgres/libgnunetpostgres.la \
172 $(top_builddir)/src/statistics/libgnunetstatistics.la \
173 $(top_builddir)/src/util/libgnunetutil.la \
174 libgnunetnamestore.la
176 test_namestore_api_blocks_SOURCES = \
177 test_namestore_api_blocks.c
178 test_namestore_api_blocks_LDADD = \
179 $(top_builddir)/src/util/libgnunetutil.la \
180 $(top_builddir)/src/testing/libgnunettesting.la \
181 $(top_builddir)/src/namestore/libgnunetnamestore.la
183 test_namestore_api_SOURCES = \
185 test_namestore_api_LDADD = \
186 $(top_builddir)/src/testing/libgnunettesting.la \
187 $(top_builddir)/src/util/libgnunetutil.la \
188 $(top_builddir)/src/namestore/libgnunetnamestore.la
190 test_namestore_api_put_SOURCES = \
191 test_namestore_api_put.c
192 test_namestore_api_put_LDADD = \
193 $(top_builddir)/src/testing/libgnunettesting.la \
194 $(top_builddir)/src/util/libgnunetutil.la \
195 $(top_builddir)/src/namestore/libgnunetnamestore.la
197 test_namestore_api_lookup_SOURCES = \
198 test_namestore_api_lookup.c
199 test_namestore_api_lookup_LDADD = \
200 $(top_builddir)/src/testing/libgnunettesting.la \
201 $(top_builddir)/src/util/libgnunetutil.la \
202 $(top_builddir)/src/namestore/libgnunetnamestore.la
204 test_namestore_api_lookup_specific_type_SOURCES = \
205 test_namestore_api_lookup_specific_type.c
206 test_namestore_api_lookup_specific_type_LDADD = \
207 $(top_builddir)/src/testing/libgnunettesting.la \
208 $(top_builddir)/src/util/libgnunetutil.la \
209 $(top_builddir)/src/namestore/libgnunetnamestore.la
212 test_namestore_api_create_SOURCES = \
213 test_namestore_api_create.c
214 test_namestore_api_create_LDADD = \
215 $(top_builddir)/src/testing/libgnunettesting.la \
216 $(top_builddir)/src/util/libgnunetutil.la \
217 $(top_builddir)/src/namestore/libgnunetnamestore.la
219 test_namestore_api_create_update_SOURCES = \
220 test_namestore_api_create_update.c
221 test_namestore_api_create_update_LDADD = \
222 $(top_builddir)/src/testing/libgnunettesting.la \
223 $(top_builddir)/src/util/libgnunetutil.la \
224 $(top_builddir)/src/namestore/libgnunetnamestore.la
227 test_namestore_api_remove_SOURCES = \
228 test_namestore_api_remove.c
229 test_namestore_api_remove_LDADD = \
230 $(top_builddir)/src/testing/libgnunettesting.la \
231 $(top_builddir)/src/util/libgnunetutil.la \
232 $(top_builddir)/src/namestore/libgnunetnamestore.la
234 test_namestore_api_remove_not_existing_record_SOURCES = \
235 test_namestore_api_remove_not_existing_record.c
236 test_namestore_api_remove_not_existing_record_LDADD = \
237 $(top_builddir)/src/testing/libgnunettesting.la \
238 $(top_builddir)/src/util/libgnunetutil.la \
239 $(top_builddir)/src/namestore/libgnunetnamestore.la
241 test_namestore_api_zone_to_name_SOURCES = \
242 test_namestore_api_zone_to_name.c
243 test_namestore_api_zone_to_name_LDADD = \
244 $(top_builddir)/src/testing/libgnunettesting.la \
245 $(top_builddir)/src/util/libgnunetutil.la \
246 $(top_builddir)/src/namestore/libgnunetnamestore.la
248 test_namestore_api_monitoring_SOURCES = \
249 test_namestore_api_monitoring.c
250 test_namestore_api_monitoring_LDADD = \
251 $(top_builddir)/src/testing/libgnunettesting.la \
252 $(top_builddir)/src/namestore/libgnunetnamestore.la \
253 $(top_builddir)/src/util/libgnunetutil.la
255 test_namestore_api_zone_iteration_SOURCES = \
256 test_namestore_api_zone_iteration.c
257 test_namestore_api_zone_iteration_LDADD = \
258 $(top_builddir)/src/testing/libgnunettesting.la \
259 $(top_builddir)/src/util/libgnunetutil.la \
260 $(top_builddir)/src/namestore/libgnunetnamestore.la
262 test_namestore_api_zone_iteration_specific_zone_SOURCES = \
263 test_namestore_api_zone_iteration_specific_zone.c
264 test_namestore_api_zone_iteration_specific_zone_LDADD = \
265 $(top_builddir)/src/testing/libgnunettesting.la \
266 $(top_builddir)/src/util/libgnunetutil.la \
267 $(top_builddir)/src/namestore/libgnunetnamestore.la
269 test_namestore_api_zone_iteration_stop_SOURCES = \
270 test_namestore_api_zone_iteration_stop.c
271 test_namestore_api_zone_iteration_stop_LDADD = \
272 $(top_builddir)/src/testing/libgnunettesting.la \
273 $(top_builddir)/src/util/libgnunetutil.la \
274 $(top_builddir)/src/namestore/libgnunetnamestore.la
276 test_namestore_record_serialization_SOURCES = \
277 test_namestore_record_serialization.c
278 test_namestore_record_serialization_LDADD = \
279 $(top_builddir)/src/testing/libgnunettesting.la \
280 $(top_builddir)/src/util/libgnunetutil.la \
281 $(top_builddir)/src/namestore/libgnunetnamestore.la
284 test_namestore_api.conf \
285 test_plugin_namestore_sqlite.conf \
286 test_plugin_namestore_postgres.conf \
288 zonefiles/S5I9DSGQVAB5FVV16T3B3CC5H1B2JGL3Q412JBKURME8EKU0600G.zkey \
289 zonefiles/AQ835GVL939H4O8QJQ7GBLPTQC0QAAO91BN7QK01BA63MDSK6I4G.zkey \
290 zonefiles/HGU0A0VCU334DN7F2I9UIUMVQMM7JMSD142LIMNUGTTV9R0CF4EG.zkey \
291 zonefiles/N0UJMP015AFUNR2BTNM3FKPBLG38913BL8IDMCO2H0A1LIB81960.zkey
295 test_plugin_namestore_sqlite_SOURCES = \
296 test_plugin_namestore.c
297 test_plugin_namestore_sqlite_LDADD = \
298 $(top_builddir)/src/testing/libgnunettesting.la \
299 $(top_builddir)/src/util/libgnunetutil.la
301 test_plugin_namestore_postgres_SOURCES = \
302 test_plugin_namestore.c
303 test_plugin_namestore_postgres_LDADD = \
304 $(top_builddir)/src/testing/libgnunettesting.la \
305 $(top_builddir)/src/util/libgnunetutil.la