1 INCLUDES = -I$(top_srcdir)/src/include
7 SUBDIRS = . $(NSS_SUBDIR)
10 test_gns_defaults.conf \
11 test_gns_simple_lookup.conf \
12 test_gns_dht_default.conf \
13 gns-helper-service-w32.conf \
14 gnunet-gns-proxy-setup-ca \
15 zonefiles/J7POEUT41A8PBFS7KVVDRF88GBOU4HK8PSU5QKVLVE3R9T91E99G.zkey \
16 zonefiles/OEFL7A4VEF1B40QLEMTG5D8G1CN6EN16QUSG5R2DT71GRJN34LSG.zkey \
17 zonefiles/test_zonekey
20 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
21 DO_W32_HELPER = gnunet-gns-helper-service-w32
22 DO_W32_NSP = libw32nsp.la
23 DO_W32_NSPTOOLS = w32nsp-install w32nsp-uninstall w32nsp-resolve
24 DO_W32_HS_CONF = gns-helper-service-w32.conf
26 USE_VPN = $(top_builddir)/src/vpn/libgnunetvpn.la
30 AM_CFLAGS = --coverage -O0
33 pkgcfgdir = $(pkgdatadir)/config.d/
35 libexecdir= $(pkglibdir)/libexec/
37 plugindir = $(libdir)/gnunet
46 libgnunetgns_common.la
50 DO_FCFSD=gnunet-gns-fcfsd
53 DO_PROXY=gnunet-gns-proxy
59 gnunet-service-gns $(DO_FCFSD) \
68 bin_SCRIPTS = gnunet-gns-proxy-setup-ca
70 plugin_LTLIBRARIES = \
71 libgnunet_plugin_block_gns.la
73 gnunet_gns_SOURCES = \
76 $(top_builddir)/src/gns/libgnunetgns.la \
77 $(top_builddir)/src/util/libgnunetutil.la \
78 $(top_builddir)/src/namestore/libgnunetnamestore.la \
80 gnunet_gns_DEPENDENCIES = \
83 gnunet_dns2gns_SOURCES = \
85 gnunet_dns2gns_LDADD = \
86 $(top_builddir)/src/gns/libgnunetgns.la \
87 $(top_builddir)/src/util/libgnunetutil.la \
88 $(top_builddir)/src/namestore/libgnunetnamestore.la \
89 $(top_builddir)/src/dns/libgnunetdnsparser.la \
90 $(top_builddir)/src/dns/libgnunetdnsstub.la \
92 gnunet_dns2gns_DEPENDENCIES = \
93 $(top_builddir)/src/util/libgnunetutil.la \
94 $(top_builddir)/src/namestore/libgnunetnamestore.la \
95 $(top_builddir)/src/dns/libgnunetdnsparser.la \
96 $(top_builddir)/src/dns/libgnunetdnsstub.la \
99 gnunet_gns_proxy_SOURCES = \
100 gnunet-gns-proxy.c gns_proxy_proto.h
101 gnunet_gns_proxy_LDADD = -lmicrohttpd -lcurl -lgnutls \
102 $(top_builddir)/src/gns/libgnunetgns.la \
103 $(top_builddir)/src/util/libgnunetutil.la \
105 gnunet_gns_proxy_DEPENDENCIES = \
108 gnunet_gns_helper_service_w32_SOURCES = \
109 gnunet-gns-helper-service-w32.c
110 gnunet_gns_helper_service_w32_LDADD = \
111 $(top_builddir)/src/gns/libgnunetgns.la \
112 $(top_builddir)/src/util/libgnunetutil.la \
114 gnunet_gns_helper_service_w32_DEPENDENCIES = \
117 w32nsp_install_SOURCES = \
119 w32nsp_install_LDADD = -lws2_32
121 w32nsp_uninstall_SOURCES = \
123 w32nsp_uninstall_LDADD = -lws2_32
125 w32nsp_resolve_SOURCES = \
127 w32nsp_resolve_LDADD = -lws2_32
129 gnunet_service_gns_SOURCES = \
130 gnunet-service-gns.c \
131 gnunet-service-gns_resolver.c gnunet-service-gns_resolver.h \
132 gnunet-service-gns_interceptor.c gnunet-service-gns_interceptor.h
133 gnunet_service_gns_LDADD = \
135 $(top_builddir)/src/statistics/libgnunetstatistics.la \
136 $(top_builddir)/src/util/libgnunetutil.la \
137 libgnunetgns_common.la \
138 $(top_builddir)/src/dns/libgnunetdns.la \
139 $(top_builddir)/src/dns/libgnunetdnsparser.la \
140 $(top_builddir)/src/dht/libgnunetdht.la \
141 $(top_builddir)/src/namestore/libgnunetnamestore.la \
144 gnunet_service_gns_DEPENDENCIES = \
145 $(top_builddir)/src/statistics/libgnunetstatistics.la \
146 $(top_builddir)/src/util/libgnunetutil.la \
147 libgnunetgns_common.la \
148 $(top_builddir)/src/dns/libgnunetdns.la \
149 $(top_builddir)/src/dns/libgnunetdnsparser.la \
150 $(top_builddir)/src/dht/libgnunetdht.la \
151 $(top_builddir)/src/namestore/libgnunetnamestore.la \
156 gnunet_gns_fcfsd_SOURCES = \
158 gnunet_gns_fcfsd_LDADD = -lmicrohttpd \
159 $(top_builddir)/src/util/libgnunetutil.la \
160 $(top_builddir)/src/namestore/libgnunetnamestore.la \
162 gnunet_gns_fcfsd_DEPENDENCIES = \
163 $(top_builddir)/src/util/libgnunetutil.la \
164 $(top_builddir)/src/namestore/libgnunetnamestore.la
166 libw32nsp_la_SOURCES = \
168 libw32nsp_la_LIBADD = \
170 libw32nsp_la_LDFLAGS = \
171 -export-symbols $(top_srcdir)/src/gns/w32nsp.def \
174 libgnunetgns_la_SOURCES = \
176 libgnunetgns_la_LIBADD = \
177 $(top_builddir)/src/util/libgnunetutil.la $(XLIB) \
178 $(top_builddir)/src/namestore/libgnunetnamestore.la
179 libgnunetgns_la_LDFLAGS = \
181 libgnunetgns_la_DEPENDENCIES = \
182 $(top_builddir)/src/util/libgnunetutil.la \
183 $(top_builddir)/src/namestore/libgnunetnamestore.la
186 libgnunetgns_common_la_SOURCES = \
187 gns_common.c gns_common.h
188 libgnunetgns_common_la_LDFLAGS = \
190 libgnunetgns_common_la_LIBADD = \
191 $(top_builddir)/src/util/libgnunetutil.la
192 libgnunetgns_common_la_DEPENDENCIES = \
193 $(top_builddir)/src/util/libgnunetutil.la
196 libgnunet_plugin_block_gns_la_SOURCES = \
198 libgnunet_plugin_block_gns_la_LIBADD = \
199 $(top_builddir)/src/util/libgnunetutil.la \
200 $(top_builddir)/src/block/libgnunetblock.la \
201 $(top_builddir)/src/gns/libgnunetgns_common.la \
202 $(top_builddir)/src/namestore/libgnunetnamestore.la
203 libgnunet_plugin_block_gns_la_LDFLAGS = \
205 libgnunet_plugin_block_gns_la_DEPENDENCIES = \
206 $(top_builddir)/src/util/libgnunetutil.la \
207 libgnunetgns_common.la \
208 $(top_builddir)/src/block/libgnunetblock.la \
209 $(top_builddir)/src/namestore/libgnunetnamestore.la
213 test_gns_simple_shorten \
214 test_gns_simple_get_authority \
215 test_gns_simple_lookup \
216 test_gns_simple_delegated_lookup \
217 test_gns_simple_mx_lookup \
218 test_gns_simple_srv_lookup \
219 test_gns_simple_zkey_lookup \
220 test_gns_dht_delegated_lookup \
221 test_gns_pseu_shorten \
222 test_gns_max_queries \
223 test_gns_cname_lookup \
225 test_gns_revocation \
226 test_gns_dht_three_peers
233 TESTS = $(check_PROGRAMS)
239 #test_gns_proxy_SOURCES = \
241 #test_gns_proxy_LDADD = -lmicrohttpd @LIBCURL@ \
242 # $(top_builddir)/src/util/libgnunetutil.la \
243 # $(top_builddir)/src/namestore/libgnunetnamestore.la \
244 # $(top_builddir)/src/gns/libgnunetgns.la \
245 # $(top_builddir)/src/testing/libgnunettesting.la
246 #test_gns_proxy_DEPENDENCIES = \
247 # $(top_builddir)/src/util/libgnunetutil.la \
248 # $(top_builddir)/src/namestore/libgnunetnamestore.la \
250 # $(top_builddir)/src/testing/libgnunettesting.la
252 test_gns_dht_three_peers_SOURCES = \
253 test_gns_dht_three_peers.c
254 test_gns_dht_three_peers_LDADD = \
255 $(top_builddir)/src/util/libgnunetutil.la \
256 $(top_builddir)/src/namestore/libgnunetnamestore.la \
257 $(top_builddir)/src/gns/libgnunetgns.la \
258 $(top_builddir)/src/testing/libgnunettesting.la \
259 $(top_builddir)/src/testbed/libgnunettestbed.la
260 test_gns_dht_three_peers_DEPENDENCIES = \
261 $(top_builddir)/src/util/libgnunetutil.la \
262 $(top_builddir)/src/namestore/libgnunetnamestore.la \
264 $(top_builddir)/src/testing/libgnunettesting.la \
265 $(top_builddir)/src/testbed/libgnunettestbed.la
267 test_gns_simple_lookup_SOURCES = \
268 test_gns_simple_lookup.c
269 test_gns_simple_lookup_LDADD = \
270 $(top_builddir)/src/util/libgnunetutil.la \
271 $(top_builddir)/src/namestore/libgnunetnamestore.la \
272 $(top_builddir)/src/gns/libgnunetgns.la \
273 $(top_builddir)/src/testing/libgnunettesting.la
274 test_gns_simple_lookup_DEPENDENCIES = \
275 $(top_builddir)/src/util/libgnunetutil.la \
276 $(top_builddir)/src/namestore/libgnunetnamestore.la \
278 $(top_builddir)/src/testing/libgnunettesting.la
280 test_gns_simple_delegated_lookup_SOURCES = \
281 test_gns_simple_delegated_lookup.c
282 test_gns_simple_delegated_lookup_LDADD = \
283 $(top_builddir)/src/util/libgnunetutil.la \
284 $(top_builddir)/src/namestore/libgnunetnamestore.la \
285 $(top_builddir)/src/gns/libgnunetgns.la \
286 $(top_builddir)/src/testing/libgnunettesting.la
287 test_gns_simple_delegated_lookup_DEPENDENCIES = \
288 $(top_builddir)/src/util/libgnunetutil.la \
289 $(top_builddir)/src/namestore/libgnunetnamestore.la \
291 $(top_builddir)/src/testing/libgnunettesting.la
293 test_gns_simple_mx_lookup_SOURCES = \
294 test_gns_simple_mx_lookup.c
295 test_gns_simple_mx_lookup_LDADD = \
296 $(top_builddir)/src/util/libgnunetutil.la \
297 $(top_builddir)/src/namestore/libgnunetnamestore.la \
298 $(top_builddir)/src/gns/libgnunetgns.la \
299 $(top_builddir)/src/testing/libgnunettesting.la
300 test_gns_simple_mx_lookup_DEPENDENCIES = \
301 $(top_builddir)/src/util/libgnunetutil.la \
302 $(top_builddir)/src/namestore/libgnunetnamestore.la \
304 $(top_builddir)/src/testing/libgnunettesting.la
306 test_gns_simple_srv_lookup_SOURCES = \
307 test_gns_simple_srv_lookup.c
308 test_gns_simple_srv_lookup_LDADD = \
309 $(top_builddir)/src/util/libgnunetutil.la \
310 $(top_builddir)/src/namestore/libgnunetnamestore.la \
311 $(top_builddir)/src/gns/libgnunetgns.la \
312 $(top_builddir)/src/testing/libgnunettesting.la
313 test_gns_simple_srv_lookup_DEPENDENCIES = \
314 $(top_builddir)/src/util/libgnunetutil.la \
315 $(top_builddir)/src/namestore/libgnunetnamestore.la \
317 $(top_builddir)/src/testing/libgnunettesting.la
319 test_gns_simple_zkey_lookup_SOURCES = \
320 test_gns_simple_zkey_lookup.c
321 test_gns_simple_zkey_lookup_LDADD = \
322 $(top_builddir)/src/util/libgnunetutil.la \
323 $(top_builddir)/src/namestore/libgnunetnamestore.la \
324 $(top_builddir)/src/gns/libgnunetgns.la \
325 $(top_builddir)/src/testing/libgnunettesting.la
326 test_gns_simple_zkey_lookup_DEPENDENCIES = \
327 $(top_builddir)/src/util/libgnunetutil.la \
328 $(top_builddir)/src/namestore/libgnunetnamestore.la \
330 $(top_builddir)/src/testing/libgnunettesting.la
332 test_gns_dht_delegated_lookup_SOURCES = \
333 test_gns_dht_delegated_lookup.c
334 test_gns_dht_delegated_lookup_LDADD = \
335 $(top_builddir)/src/util/libgnunetutil.la \
336 $(top_builddir)/src/namestore/libgnunetnamestore.la \
337 $(top_builddir)/src/dht/libgnunetdht.la \
338 $(top_builddir)/src/gns/libgnunetgns.la \
339 $(top_builddir)/src/testing/libgnunettesting.la
340 test_gns_dht_delegated_lookup_DEPENDENCIES = \
341 $(top_builddir)/src/util/libgnunetutil.la \
342 $(top_builddir)/src/namestore/libgnunetnamestore.la \
343 $(top_builddir)/src/dht/libgnunetdht.la \
345 $(top_builddir)/src/testing/libgnunettesting.la
347 test_gns_simple_shorten_SOURCES = \
348 test_gns_simple_shorten.c
349 test_gns_simple_shorten_LDADD = \
350 $(top_builddir)/src/util/libgnunetutil.la \
351 $(top_builddir)/src/namestore/libgnunetnamestore.la \
352 $(top_builddir)/src/gns/libgnunetgns.la \
353 $(top_builddir)/src/testing/libgnunettesting.la
354 test_gns_simple_shorten_DEPENDENCIES = \
355 $(top_builddir)/src/util/libgnunetutil.la \
356 $(top_builddir)/src/namestore/libgnunetnamestore.la \
358 $(top_builddir)/src/testing/libgnunettesting.la
360 test_gns_simple_get_authority_SOURCES = \
361 test_gns_simple_get_authority.c
362 test_gns_simple_get_authority_LDADD = \
363 $(top_builddir)/src/util/libgnunetutil.la \
364 $(top_builddir)/src/namestore/libgnunetnamestore.la \
365 $(top_builddir)/src/gns/libgnunetgns.la \
366 $(top_builddir)/src/testing/libgnunettesting.la
367 test_gns_simple_get_authority_DEPENDENCIES = \
368 $(top_builddir)/src/util/libgnunetutil.la \
369 $(top_builddir)/src/namestore/libgnunetnamestore.la \
371 $(top_builddir)/src/testing/libgnunettesting.la
374 test_gns_pseu_shorten_SOURCES = \
375 test_gns_pseu_shorten.c
376 test_gns_pseu_shorten_LDADD = \
377 $(top_builddir)/src/util/libgnunetutil.la \
378 $(top_builddir)/src/namestore/libgnunetnamestore.la \
379 $(top_builddir)/src/dht/libgnunetdht.la \
380 $(top_builddir)/src/gns/libgnunetgns.la \
381 $(top_builddir)/src/testing/libgnunettesting.la
382 test_gns_pseu_shorten_DEPENDENCIES = \
383 $(top_builddir)/src/util/libgnunetutil.la \
384 $(top_builddir)/src/namestore/libgnunetnamestore.la \
385 $(top_builddir)/src/dht/libgnunetdht.la \
387 $(top_builddir)/src/testing/libgnunettesting.la
390 test_gns_max_queries_SOURCES = \
391 test_gns_max_queries.c
392 test_gns_max_queries_LDADD = \
393 $(top_builddir)/src/util/libgnunetutil.la \
394 $(top_builddir)/src/namestore/libgnunetnamestore.la \
395 $(top_builddir)/src/gns/libgnunetgns.la \
396 $(top_builddir)/src/testing/libgnunettesting.la
397 test_gns_max_queries_DEPENDENCIES = \
398 $(top_builddir)/src/util/libgnunetutil.la \
399 $(top_builddir)/src/namestore/libgnunetnamestore.la \
401 $(top_builddir)/src/testing/libgnunettesting.la
403 test_gns_cname_lookup_SOURCES = \
404 test_gns_cname_lookup.c
405 test_gns_cname_lookup_LDADD = \
406 $(top_builddir)/src/util/libgnunetutil.la \
407 $(top_builddir)/src/namestore/libgnunetnamestore.la \
408 $(top_builddir)/src/gns/libgnunetgns.la \
409 $(top_builddir)/src/testing/libgnunettesting.la
410 test_gns_cname_lookup_DEPENDENCIES = \
411 $(top_builddir)/src/util/libgnunetutil.la \
412 $(top_builddir)/src/namestore/libgnunetnamestore.la \
414 $(top_builddir)/src/testing/libgnunettesting.la
417 test_gns_ns_lookup_SOURCES = \
419 test_gns_ns_lookup_LDADD = \
420 $(top_builddir)/src/util/libgnunetutil.la \
421 $(top_builddir)/src/namestore/libgnunetnamestore.la \
422 $(top_builddir)/src/gns/libgnunetgns.la \
423 $(top_builddir)/src/testing/libgnunettesting.la
424 test_gns_ns_lookup_DEPENDENCIES = \
425 $(top_builddir)/src/util/libgnunetutil.la \
426 $(top_builddir)/src/namestore/libgnunetnamestore.la \
428 $(top_builddir)/src/testing/libgnunettesting.la
431 test_gns_revocation_SOURCES = \
432 test_gns_revocation.c
433 test_gns_revocation_LDADD = \
434 $(top_builddir)/src/util/libgnunetutil.la \
435 $(top_builddir)/src/namestore/libgnunetnamestore.la \
436 $(top_builddir)/src/gns/libgnunetgns.la \
437 $(top_builddir)/src/testing/libgnunettesting.la
438 test_gns_revocation_DEPENDENCIES = \
439 $(top_builddir)/src/util/libgnunetutil.la \
440 $(top_builddir)/src/namestore/libgnunetnamestore.la \
442 $(top_builddir)/src/testing/libgnunettesting.la
447 #libgnunetnamestore_la_SOURCES = \
448 # namestore_stub_api.c
449 #libgnunetnamestore_la_LIBADD = \
450 # $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
451 #libgnunetnamestore_la_LDFLAGS = \
453 #libgnunetnamestore_la_DEPENDENCIES = \
454 # $(top_builddir)/src/util/libgnunetutil.la