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/188JSUMKEF25GVU8TTV0PBNNN8JVCPUEDFV1UHJJU884JD25V0T0.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
52 DO_PROXY=gnunet-gns-proxy
57 gnunet-service-gns $(DO_FCFSD) \
66 bin_SCRIPTS = gnunet-gns-proxy-setup-ca
68 plugin_LTLIBRARIES = \
69 libgnunet_plugin_block_gns.la
71 gnunet_gns_SOURCES = \
74 $(top_builddir)/src/gns/libgnunetgns.la \
75 $(top_builddir)/src/util/libgnunetutil.la \
76 $(top_builddir)/src/namestore/libgnunetnamestore.la \
78 gnunet_gns_DEPENDENCIES = \
81 gnunet_dns2gns_SOURCES = \
83 gnunet_dns2gns_LDADD = \
84 $(top_builddir)/src/gns/libgnunetgns.la \
85 $(top_builddir)/src/util/libgnunetutil.la \
86 $(top_builddir)/src/namestore/libgnunetnamestore.la \
87 $(top_builddir)/src/dns/libgnunetdnsparser.la \
88 $(top_builddir)/src/dns/libgnunetdnsstub.la \
90 gnunet_dns2gns_DEPENDENCIES = \
93 gnunet_gns_proxy_SOURCES = \
94 gnunet-gns-proxy.c gns_proxy_proto.h
95 gnunet_gns_proxy_LDADD = -lmicrohttpd -lcurl -lgnutls \
96 $(top_builddir)/src/gns/libgnunetgns.la \
97 $(top_builddir)/src/util/libgnunetutil.la \
99 gnunet_gns_proxy_DEPENDENCIES = \
102 gnunet_gns_helper_service_w32_SOURCES = \
103 gnunet-gns-helper-service-w32.c
104 gnunet_gns_helper_service_w32_LDADD = \
105 $(top_builddir)/src/gns/libgnunetgns.la \
106 $(top_builddir)/src/util/libgnunetutil.la \
108 gnunet_gns_helper_service_w32_DEPENDENCIES = \
111 w32nsp_install_SOURCES = \
113 w32nsp_install_LDADD = -lws2_32
115 w32nsp_uninstall_SOURCES = \
117 w32nsp_uninstall_LDADD = -lws2_32
119 w32nsp_resolve_SOURCES = \
121 w32nsp_resolve_LDADD = -lws2_32
123 gnunet_service_gns_SOURCES = \
124 gnunet-service-gns.c \
125 gnunet-service-gns_resolver.c gnunet-service-gns_resolver.h \
126 gnunet-service-gns_interceptor.c gnunet-service-gns_interceptor.h
127 gnunet_service_gns_LDADD = \
129 $(top_builddir)/src/statistics/libgnunetstatistics.la \
130 $(top_builddir)/src/util/libgnunetutil.la \
131 libgnunetgns_common.la \
132 $(top_builddir)/src/dns/libgnunetdns.la \
133 $(top_builddir)/src/dns/libgnunetdnsparser.la \
134 $(top_builddir)/src/dht/libgnunetdht.la \
135 $(top_builddir)/src/namestore/libgnunetnamestore.la \
138 gnunet_service_gns_DEPENDENCIES = \
139 $(top_builddir)/src/statistics/libgnunetstatistics.la \
140 $(top_builddir)/src/util/libgnunetutil.la \
141 libgnunetgns_common.la \
142 $(top_builddir)/src/dns/libgnunetdns.la \
143 $(top_builddir)/src/dns/libgnunetdnsparser.la \
144 $(top_builddir)/src/dht/libgnunetdht.la \
145 $(top_builddir)/src/namestore/libgnunetnamestore.la \
150 gnunet_gns_fcfsd_SOURCES = \
152 gnunet_gns_fcfsd_LDADD = -lmicrohttpd \
153 $(top_builddir)/src/util/libgnunetutil.la \
154 $(top_builddir)/src/namestore/libgnunetnamestore.la \
156 gnunet_gns_fcfsd_DEPENDENCIES = \
157 $(top_builddir)/src/util/libgnunetutil.la \
158 $(top_builddir)/src/namestore/libgnunetnamestore.la
160 libw32nsp_la_SOURCES = \
162 libw32nsp_la_LIBADD = \
164 libw32nsp_la_LDFLAGS = \
165 -export-symbols $(top_srcdir)/src/gns/w32nsp.def \
168 libgnunetgns_la_SOURCES = \
170 libgnunetgns_la_LIBADD = \
171 $(top_builddir)/src/util/libgnunetutil.la $(XLIB) \
172 $(top_builddir)/src/namestore/libgnunetnamestore.la
173 libgnunetgns_la_LDFLAGS = \
175 libgnunetgns_la_DEPENDENCIES = \
176 $(top_builddir)/src/util/libgnunetutil.la \
177 $(top_builddir)/src/namestore/libgnunetnamestore.la
180 libgnunetgns_common_la_SOURCES = \
181 gns_common.c gns_common.h
182 libgnunetgns_common_la_LDFLAGS = \
184 libgnunetgns_common_la_LIBADD = \
185 $(top_builddir)/src/util/libgnunetutil.la
186 libgnunetgns_common_la_DEPENDENCIES = \
187 $(top_builddir)/src/util/libgnunetutil.la
190 libgnunet_plugin_block_gns_la_SOURCES = \
192 libgnunet_plugin_block_gns_la_LIBADD = \
193 $(top_builddir)/src/util/libgnunetutil.la \
194 $(top_builddir)/src/block/libgnunetblock.la \
195 $(top_builddir)/src/gns/libgnunetgns_common.la \
196 $(top_builddir)/src/namestore/libgnunetnamestore.la
197 libgnunet_plugin_block_gns_la_LDFLAGS = \
199 libgnunet_plugin_block_gns_la_DEPENDENCIES = \
200 $(top_builddir)/src/util/libgnunetutil.la \
201 libgnunetgns_common.la \
202 $(top_builddir)/src/block/libgnunetblock.la \
203 $(top_builddir)/src/namestore/libgnunetnamestore.la
207 test_gns_simple_shorten \
208 test_gns_simple_get_authority \
209 test_gns_simple_lookup \
210 test_gns_simple_delegated_lookup \
211 test_gns_simple_mx_lookup \
212 test_gns_simple_srv_lookup \
213 test_gns_simple_zkey_lookup \
214 test_gns_dht_delegated_lookup \
215 test_gns_pseu_shorten \
216 test_gns_max_queries \
217 test_gns_cname_lookup \
219 test_gns_revocation \
220 test_gns_dht_three_peers
225 TESTS = $(check_PROGRAMS)
230 # test_gns_simple_lookup
231 # test_gns_simple_delegated_lookup
232 # test_gns_dht_delegated_lookup
235 #test_gns_proxy_SOURCES = \
237 #test_gns_proxy_LDADD = -lmicrohttpd @LIBCURL@ \
238 # $(top_builddir)/src/util/libgnunetutil.la \
239 # $(top_builddir)/src/namestore/libgnunetnamestore.la \
240 # $(top_builddir)/src/gns/libgnunetgns.la \
241 # $(top_builddir)/src/testing/libgnunettesting.la
242 #test_gns_proxy_DEPENDENCIES = \
243 # $(top_builddir)/src/util/libgnunetutil.la \
244 # $(top_builddir)/src/namestore/libgnunetnamestore.la \
246 # $(top_builddir)/src/testing/libgnunettesting.la
248 test_gns_dht_three_peers_SOURCES = \
249 test_gns_dht_three_peers.c
250 test_gns_dht_three_peers_LDADD = \
251 $(top_builddir)/src/util/libgnunetutil.la \
252 $(top_builddir)/src/namestore/libgnunetnamestore.la \
253 $(top_builddir)/src/gns/libgnunetgns.la \
254 $(top_builddir)/src/testing/libgnunettesting.la \
255 $(top_builddir)/src/testbed/libgnunettestbed.la
256 test_gns_dht_three_peers_DEPENDENCIES = \
257 $(top_builddir)/src/util/libgnunetutil.la \
258 $(top_builddir)/src/namestore/libgnunetnamestore.la \
260 $(top_builddir)/src/testing/libgnunettesting.la \
261 $(top_builddir)/src/testbed/libgnunettestbed.la
263 test_gns_simple_lookup_SOURCES = \
264 test_gns_simple_lookup.c
265 test_gns_simple_lookup_LDADD = \
266 $(top_builddir)/src/util/libgnunetutil.la \
267 $(top_builddir)/src/namestore/libgnunetnamestore.la \
268 $(top_builddir)/src/gns/libgnunetgns.la \
269 $(top_builddir)/src/testing/libgnunettesting.la
270 test_gns_simple_lookup_DEPENDENCIES = \
271 $(top_builddir)/src/util/libgnunetutil.la \
272 $(top_builddir)/src/namestore/libgnunetnamestore.la \
274 $(top_builddir)/src/testing/libgnunettesting.la
276 test_gns_simple_delegated_lookup_SOURCES = \
277 test_gns_simple_delegated_lookup.c
278 test_gns_simple_delegated_lookup_LDADD = \
279 $(top_builddir)/src/util/libgnunetutil.la \
280 $(top_builddir)/src/namestore/libgnunetnamestore.la \
281 $(top_builddir)/src/gns/libgnunetgns.la \
282 $(top_builddir)/src/testing/libgnunettesting.la
283 test_gns_simple_delegated_lookup_DEPENDENCIES = \
284 $(top_builddir)/src/util/libgnunetutil.la \
285 $(top_builddir)/src/namestore/libgnunetnamestore.la \
287 $(top_builddir)/src/testing/libgnunettesting.la
289 test_gns_simple_mx_lookup_SOURCES = \
290 test_gns_simple_mx_lookup.c
291 test_gns_simple_mx_lookup_LDADD = \
292 $(top_builddir)/src/util/libgnunetutil.la \
293 $(top_builddir)/src/namestore/libgnunetnamestore.la \
294 $(top_builddir)/src/gns/libgnunetgns.la \
295 $(top_builddir)/src/testing/libgnunettesting.la
296 test_gns_simple_mx_lookup_DEPENDENCIES = \
297 $(top_builddir)/src/util/libgnunetutil.la \
298 $(top_builddir)/src/namestore/libgnunetnamestore.la \
300 $(top_builddir)/src/testing/libgnunettesting.la
302 test_gns_simple_srv_lookup_SOURCES = \
303 test_gns_simple_srv_lookup.c
304 test_gns_simple_srv_lookup_LDADD = \
305 $(top_builddir)/src/util/libgnunetutil.la \
306 $(top_builddir)/src/namestore/libgnunetnamestore.la \
307 $(top_builddir)/src/gns/libgnunetgns.la \
308 $(top_builddir)/src/testing/libgnunettesting.la
309 test_gns_simple_srv_lookup_DEPENDENCIES = \
310 $(top_builddir)/src/util/libgnunetutil.la \
311 $(top_builddir)/src/namestore/libgnunetnamestore.la \
313 $(top_builddir)/src/testing/libgnunettesting.la
315 test_gns_simple_zkey_lookup_SOURCES = \
316 test_gns_simple_zkey_lookup.c
317 test_gns_simple_zkey_lookup_LDADD = \
318 $(top_builddir)/src/util/libgnunetutil.la \
319 $(top_builddir)/src/namestore/libgnunetnamestore.la \
320 $(top_builddir)/src/gns/libgnunetgns.la \
321 $(top_builddir)/src/testing/libgnunettesting.la
322 test_gns_simple_zkey_lookup_DEPENDENCIES = \
323 $(top_builddir)/src/util/libgnunetutil.la \
324 $(top_builddir)/src/namestore/libgnunetnamestore.la \
326 $(top_builddir)/src/testing/libgnunettesting.la
328 test_gns_dht_delegated_lookup_SOURCES = \
329 test_gns_dht_delegated_lookup.c
330 test_gns_dht_delegated_lookup_LDADD = \
331 $(top_builddir)/src/util/libgnunetutil.la \
332 $(top_builddir)/src/namestore/libgnunetnamestore.la \
333 $(top_builddir)/src/dht/libgnunetdht.la \
334 $(top_builddir)/src/gns/libgnunetgns.la \
335 $(top_builddir)/src/testing/libgnunettesting.la
336 test_gns_dht_delegated_lookup_DEPENDENCIES = \
337 $(top_builddir)/src/util/libgnunetutil.la \
338 $(top_builddir)/src/namestore/libgnunetnamestore.la \
339 $(top_builddir)/src/dht/libgnunetdht.la \
341 $(top_builddir)/src/testing/libgnunettesting.la
343 test_gns_simple_shorten_SOURCES = \
344 test_gns_simple_shorten.c
345 test_gns_simple_shorten_LDADD = \
346 $(top_builddir)/src/util/libgnunetutil.la \
347 $(top_builddir)/src/namestore/libgnunetnamestore.la \
348 $(top_builddir)/src/gns/libgnunetgns.la \
349 $(top_builddir)/src/testing/libgnunettesting.la
350 test_gns_simple_shorten_DEPENDENCIES = \
351 $(top_builddir)/src/util/libgnunetutil.la \
352 $(top_builddir)/src/namestore/libgnunetnamestore.la \
354 $(top_builddir)/src/testing/libgnunettesting.la
356 test_gns_simple_get_authority_SOURCES = \
357 test_gns_simple_get_authority.c
358 test_gns_simple_get_authority_LDADD = \
359 $(top_builddir)/src/util/libgnunetutil.la \
360 $(top_builddir)/src/namestore/libgnunetnamestore.la \
361 $(top_builddir)/src/gns/libgnunetgns.la \
362 $(top_builddir)/src/testing/libgnunettesting.la
363 test_gns_simple_get_authority_DEPENDENCIES = \
364 $(top_builddir)/src/util/libgnunetutil.la \
365 $(top_builddir)/src/namestore/libgnunetnamestore.la \
367 $(top_builddir)/src/testing/libgnunettesting.la
370 test_gns_pseu_shorten_SOURCES = \
371 test_gns_pseu_shorten.c
372 test_gns_pseu_shorten_LDADD = \
373 $(top_builddir)/src/util/libgnunetutil.la \
374 $(top_builddir)/src/namestore/libgnunetnamestore.la \
375 $(top_builddir)/src/dht/libgnunetdht.la \
376 $(top_builddir)/src/gns/libgnunetgns.la \
377 $(top_builddir)/src/testing/libgnunettesting.la
378 test_gns_pseu_shorten_DEPENDENCIES = \
379 $(top_builddir)/src/util/libgnunetutil.la \
380 $(top_builddir)/src/namestore/libgnunetnamestore.la \
381 $(top_builddir)/src/dht/libgnunetdht.la \
383 $(top_builddir)/src/testing/libgnunettesting.la
386 test_gns_max_queries_SOURCES = \
387 test_gns_max_queries.c
388 test_gns_max_queries_LDADD = \
389 $(top_builddir)/src/util/libgnunetutil.la \
390 $(top_builddir)/src/namestore/libgnunetnamestore.la \
391 $(top_builddir)/src/gns/libgnunetgns.la \
392 $(top_builddir)/src/testing/libgnunettesting.la
393 test_gns_max_queries_DEPENDENCIES = \
394 $(top_builddir)/src/util/libgnunetutil.la \
395 $(top_builddir)/src/namestore/libgnunetnamestore.la \
397 $(top_builddir)/src/testing/libgnunettesting.la
399 test_gns_cname_lookup_SOURCES = \
400 test_gns_cname_lookup.c
401 test_gns_cname_lookup_LDADD = \
402 $(top_builddir)/src/util/libgnunetutil.la \
403 $(top_builddir)/src/namestore/libgnunetnamestore.la \
404 $(top_builddir)/src/gns/libgnunetgns.la \
405 $(top_builddir)/src/testing/libgnunettesting.la
406 test_gns_cname_lookup_DEPENDENCIES = \
407 $(top_builddir)/src/util/libgnunetutil.la \
408 $(top_builddir)/src/namestore/libgnunetnamestore.la \
410 $(top_builddir)/src/testing/libgnunettesting.la
413 test_gns_ns_lookup_SOURCES = \
415 test_gns_ns_lookup_LDADD = \
416 $(top_builddir)/src/util/libgnunetutil.la \
417 $(top_builddir)/src/namestore/libgnunetnamestore.la \
418 $(top_builddir)/src/gns/libgnunetgns.la \
419 $(top_builddir)/src/testing/libgnunettesting.la
420 test_gns_ns_lookup_DEPENDENCIES = \
421 $(top_builddir)/src/util/libgnunetutil.la \
422 $(top_builddir)/src/namestore/libgnunetnamestore.la \
424 $(top_builddir)/src/testing/libgnunettesting.la
427 test_gns_revocation_SOURCES = \
428 test_gns_revocation.c
429 test_gns_revocation_LDADD = \
430 $(top_builddir)/src/util/libgnunetutil.la \
431 $(top_builddir)/src/namestore/libgnunetnamestore.la \
432 $(top_builddir)/src/gns/libgnunetgns.la \
433 $(top_builddir)/src/testing/libgnunettesting.la
434 test_gns_revocation_DEPENDENCIES = \
435 $(top_builddir)/src/util/libgnunetutil.la \
436 $(top_builddir)/src/namestore/libgnunetnamestore.la \
438 $(top_builddir)/src/testing/libgnunettesting.la
443 #libgnunetnamestore_la_SOURCES = \
444 # namestore_stub_api.c
445 #libgnunetnamestore_la_LIBADD = \
446 # $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
447 #libgnunetnamestore_la_LDFLAGS = \
449 #libgnunetnamestore_la_DEPENDENCIES = \
450 # $(top_builddir)/src/util/libgnunetutil.la