aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gns/Makefile.am236
1 files changed, 8 insertions, 228 deletions
diff --git a/src/gns/Makefile.am b/src/gns/Makefile.am
index 97b2fd57a..d55124925 100644
--- a/src/gns/Makefile.am
+++ b/src/gns/Makefile.am
@@ -14,7 +14,8 @@ EXTRA_DIST = \
14 gnunet-gns-proxy-setup-ca \ 14 gnunet-gns-proxy-setup-ca \
15 zonefiles/J7POEUT41A8PBFS7KVVDRF88GBOU4HK8PSU5QKVLVE3R9T91E99G.zkey \ 15 zonefiles/J7POEUT41A8PBFS7KVVDRF88GBOU4HK8PSU5QKVLVE3R9T91E99G.zkey \
16 zonefiles/OEFL7A4VEF1B40QLEMTG5D8G1CN6EN16QUSG5R2DT71GRJN34LSG.zkey \ 16 zonefiles/OEFL7A4VEF1B40QLEMTG5D8G1CN6EN16QUSG5R2DT71GRJN34LSG.zkey \
17 zonefiles/test_zonekey 17 zonefiles/test_zonekey \
18 $(check_SCRIPTS)
18 19
19if MINGW 20if MINGW
20 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols 21 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
@@ -193,236 +194,15 @@ libgnunet_plugin_block_gns_la_DEPENDENCIES = \
193 $(top_builddir)/src/block/libgnunetblock.la \ 194 $(top_builddir)/src/block/libgnunetblock.la \
194 $(top_builddir)/src/namestore/libgnunetnamestore.la 195 $(top_builddir)/src/namestore/libgnunetnamestore.la
195 196
196if HAVE_TESTING 197
197#check_PROGRAMS = 198check_SCRIPTS = \
198# test_gns_simple_shorten 199 test_gns_delegated_lookup.sh \
199# test_gns_simple_lookup 200 test_gns_lookup.sh \
200# test_gns_simple_delegated_lookup 201 test_gnunet_gns.sh
201# test_gns_simple_mx_lookup
202# test_gns_simple_srv_lookup
203# test_gns_simple_zkey_lookup
204# test_gns_dht_delegated_lookup
205# test_gns_pseu_shorten
206# test_gns_max_queries
207# test_gns_cname_lookup
208# test_gns_ns_lookup
209# test_gns_revocation
210# test_gns_dht_three_peers
211# test_gns_proxy
212endif
213 202
214if ENABLE_TEST_RUN 203if ENABLE_TEST_RUN
215if LINUX
216if HAVE_SQLITE 204if HAVE_SQLITE
217# TESTS = $(check_PROGRAMS) 205 TESTS = $(check_SCRIPTS)
218endif
219endif 206endif
220endif 207endif
221 208
222
223#test_gns_proxy_SOURCES = \
224# test_gns_proxy.c
225#test_gns_proxy_LDADD = -lmicrohttpd @LIBCURL@ \
226# $(top_builddir)/src/util/libgnunetutil.la \
227# $(top_builddir)/src/namestore/libgnunetnamestore.la \
228# $(top_builddir)/src/gns/libgnunetgns.la \
229# $(top_builddir)/src/testing/libgnunettesting.la
230#test_gns_proxy_DEPENDENCIES = \
231# $(top_builddir)/src/util/libgnunetutil.la \
232# $(top_builddir)/src/namestore/libgnunetnamestore.la \
233# libgnunetgns.la \
234# $(top_builddir)/src/testing/libgnunettesting.la
235
236test_gns_dht_three_peers_SOURCES = \
237 test_gns_dht_three_peers.c
238test_gns_dht_three_peers_LDADD = \
239 $(top_builddir)/src/util/libgnunetutil.la \
240 $(top_builddir)/src/namestore/libgnunetnamestore.la \
241 $(top_builddir)/src/gns/libgnunetgns.la \
242 $(top_builddir)/src/testing/libgnunettesting.la \
243 $(top_builddir)/src/testbed/libgnunettestbed.la
244test_gns_dht_three_peers_DEPENDENCIES = \
245 $(top_builddir)/src/util/libgnunetutil.la \
246 $(top_builddir)/src/namestore/libgnunetnamestore.la \
247 libgnunetgns.la \
248 $(top_builddir)/src/testing/libgnunettesting.la \
249 $(top_builddir)/src/testbed/libgnunettestbed.la
250
251test_gns_simple_lookup_SOURCES = \
252 test_gns_simple_lookup.c
253test_gns_simple_lookup_LDADD = \
254 $(top_builddir)/src/util/libgnunetutil.la \
255 $(top_builddir)/src/namestore/libgnunetnamestore.la \
256 $(top_builddir)/src/gns/libgnunetgns.la \
257 $(top_builddir)/src/testing/libgnunettesting.la
258test_gns_simple_lookup_DEPENDENCIES = \
259 $(top_builddir)/src/util/libgnunetutil.la \
260 $(top_builddir)/src/namestore/libgnunetnamestore.la \
261 libgnunetgns.la \
262 $(top_builddir)/src/testing/libgnunettesting.la
263
264test_gns_simple_delegated_lookup_SOURCES = \
265 test_gns_simple_delegated_lookup.c
266test_gns_simple_delegated_lookup_LDADD = \
267 $(top_builddir)/src/util/libgnunetutil.la \
268 $(top_builddir)/src/namestore/libgnunetnamestore.la \
269 $(top_builddir)/src/gns/libgnunetgns.la \
270 $(top_builddir)/src/testing/libgnunettesting.la
271test_gns_simple_delegated_lookup_DEPENDENCIES = \
272 $(top_builddir)/src/util/libgnunetutil.la \
273 $(top_builddir)/src/namestore/libgnunetnamestore.la \
274 libgnunetgns.la \
275 $(top_builddir)/src/testing/libgnunettesting.la
276
277test_gns_simple_mx_lookup_SOURCES = \
278 test_gns_simple_mx_lookup.c
279test_gns_simple_mx_lookup_LDADD = \
280 $(top_builddir)/src/util/libgnunetutil.la \
281 $(top_builddir)/src/namestore/libgnunetnamestore.la \
282 $(top_builddir)/src/gns/libgnunetgns.la \
283 $(top_builddir)/src/testing/libgnunettesting.la
284test_gns_simple_mx_lookup_DEPENDENCIES = \
285 $(top_builddir)/src/util/libgnunetutil.la \
286 $(top_builddir)/src/namestore/libgnunetnamestore.la \
287 libgnunetgns.la \
288 $(top_builddir)/src/testing/libgnunettesting.la
289
290test_gns_simple_srv_lookup_SOURCES = \
291 test_gns_simple_srv_lookup.c
292test_gns_simple_srv_lookup_LDADD = \
293 $(top_builddir)/src/util/libgnunetutil.la \
294 $(top_builddir)/src/namestore/libgnunetnamestore.la \
295 $(top_builddir)/src/gns/libgnunetgns.la \
296 $(top_builddir)/src/testing/libgnunettesting.la
297test_gns_simple_srv_lookup_DEPENDENCIES = \
298 $(top_builddir)/src/util/libgnunetutil.la \
299 $(top_builddir)/src/namestore/libgnunetnamestore.la \
300 libgnunetgns.la \
301 $(top_builddir)/src/testing/libgnunettesting.la
302
303test_gns_simple_zkey_lookup_SOURCES = \
304 test_gns_simple_zkey_lookup.c
305test_gns_simple_zkey_lookup_LDADD = \
306 $(top_builddir)/src/util/libgnunetutil.la \
307 $(top_builddir)/src/namestore/libgnunetnamestore.la \
308 $(top_builddir)/src/gns/libgnunetgns.la \
309 $(top_builddir)/src/testing/libgnunettesting.la
310test_gns_simple_zkey_lookup_DEPENDENCIES = \
311 $(top_builddir)/src/util/libgnunetutil.la \
312 $(top_builddir)/src/namestore/libgnunetnamestore.la \
313 libgnunetgns.la \
314 $(top_builddir)/src/testing/libgnunettesting.la
315
316test_gns_dht_delegated_lookup_SOURCES = \
317 test_gns_dht_delegated_lookup.c
318test_gns_dht_delegated_lookup_LDADD = \
319 $(top_builddir)/src/util/libgnunetutil.la \
320 $(top_builddir)/src/namestore/libgnunetnamestore.la \
321 $(top_builddir)/src/dht/libgnunetdht.la \
322 $(top_builddir)/src/gns/libgnunetgns.la \
323 $(top_builddir)/src/testing/libgnunettesting.la
324test_gns_dht_delegated_lookup_DEPENDENCIES = \
325 $(top_builddir)/src/util/libgnunetutil.la \
326 $(top_builddir)/src/namestore/libgnunetnamestore.la \
327 $(top_builddir)/src/dht/libgnunetdht.la \
328 libgnunetgns.la \
329 $(top_builddir)/src/testing/libgnunettesting.la
330
331test_gns_simple_shorten_SOURCES = \
332 test_gns_simple_shorten.c
333test_gns_simple_shorten_LDADD = \
334 $(top_builddir)/src/util/libgnunetutil.la \
335 $(top_builddir)/src/namestore/libgnunetnamestore.la \
336 $(top_builddir)/src/gns/libgnunetgns.la \
337 $(top_builddir)/src/testing/libgnunettesting.la
338test_gns_simple_shorten_DEPENDENCIES = \
339 $(top_builddir)/src/util/libgnunetutil.la \
340 $(top_builddir)/src/namestore/libgnunetnamestore.la \
341 libgnunetgns.la \
342 $(top_builddir)/src/testing/libgnunettesting.la
343
344
345test_gns_pseu_shorten_SOURCES = \
346 test_gns_pseu_shorten.c
347test_gns_pseu_shorten_LDADD = \
348 $(top_builddir)/src/util/libgnunetutil.la \
349 $(top_builddir)/src/namestore/libgnunetnamestore.la \
350 $(top_builddir)/src/dht/libgnunetdht.la \
351 $(top_builddir)/src/gns/libgnunetgns.la \
352 $(top_builddir)/src/testing/libgnunettesting.la
353test_gns_pseu_shorten_DEPENDENCIES = \
354 $(top_builddir)/src/util/libgnunetutil.la \
355 $(top_builddir)/src/namestore/libgnunetnamestore.la \
356 $(top_builddir)/src/dht/libgnunetdht.la \
357 libgnunetgns.la \
358 $(top_builddir)/src/testing/libgnunettesting.la
359
360
361test_gns_max_queries_SOURCES = \
362 test_gns_max_queries.c
363test_gns_max_queries_LDADD = \
364 $(top_builddir)/src/util/libgnunetutil.la \
365 $(top_builddir)/src/namestore/libgnunetnamestore.la \
366 $(top_builddir)/src/gns/libgnunetgns.la \
367 $(top_builddir)/src/testing/libgnunettesting.la
368test_gns_max_queries_DEPENDENCIES = \
369 $(top_builddir)/src/util/libgnunetutil.la \
370 $(top_builddir)/src/namestore/libgnunetnamestore.la \
371 libgnunetgns.la \
372 $(top_builddir)/src/testing/libgnunettesting.la
373
374test_gns_cname_lookup_SOURCES = \
375 test_gns_cname_lookup.c
376test_gns_cname_lookup_LDADD = \
377 $(top_builddir)/src/util/libgnunetutil.la \
378 $(top_builddir)/src/namestore/libgnunetnamestore.la \
379 $(top_builddir)/src/gns/libgnunetgns.la \
380 $(top_builddir)/src/testing/libgnunettesting.la
381test_gns_cname_lookup_DEPENDENCIES = \
382 $(top_builddir)/src/util/libgnunetutil.la \
383 $(top_builddir)/src/namestore/libgnunetnamestore.la \
384 libgnunetgns.la \
385 $(top_builddir)/src/testing/libgnunettesting.la
386
387
388test_gns_ns_lookup_SOURCES = \
389 test_gns_ns_lookup.c
390test_gns_ns_lookup_LDADD = \
391 $(top_builddir)/src/util/libgnunetutil.la \
392 $(top_builddir)/src/namestore/libgnunetnamestore.la \
393 $(top_builddir)/src/gns/libgnunetgns.la \
394 $(top_builddir)/src/testing/libgnunettesting.la
395test_gns_ns_lookup_DEPENDENCIES = \
396 $(top_builddir)/src/util/libgnunetutil.la \
397 $(top_builddir)/src/namestore/libgnunetnamestore.la \
398 libgnunetgns.la \
399 $(top_builddir)/src/testing/libgnunettesting.la
400
401
402test_gns_revocation_SOURCES = \
403 test_gns_revocation.c
404test_gns_revocation_LDADD = \
405 $(top_builddir)/src/util/libgnunetutil.la \
406 $(top_builddir)/src/namestore/libgnunetnamestore.la \
407 $(top_builddir)/src/gns/libgnunetgns.la \
408 $(top_builddir)/src/testing/libgnunettesting.la
409test_gns_revocation_DEPENDENCIES = \
410 $(top_builddir)/src/util/libgnunetutil.la \
411 $(top_builddir)/src/namestore/libgnunetnamestore.la \
412 libgnunetgns.la \
413 $(top_builddir)/src/testing/libgnunettesting.la
414
415
416
417#Build stub api
418#libgnunetnamestore_la_SOURCES = \
419# namestore_stub_api.c
420#libgnunetnamestore_la_LIBADD = \
421# $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
422#libgnunetnamestore_la_LDFLAGS = \
423# $(GN_LIB_LDFLAGS)
424#libgnunetnamestore_la_DEPENDENCIES = \
425# $(top_builddir)/src/util/libgnunetutil.la
426
427
428