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/dns/libgnunetdnsstub.la \
141 $(top_builddir)/src/dht/libgnunetdht.la \
142 $(top_builddir)/src/namestore/libgnunetnamestore.la \
145 gnunet_service_gns_DEPENDENCIES = \
146 $(top_builddir)/src/statistics/libgnunetstatistics.la \
147 $(top_builddir)/src/util/libgnunetutil.la \
148 libgnunetgns_common.la \
149 $(top_builddir)/src/dns/libgnunetdns.la \
150 $(top_builddir)/src/dns/libgnunetdnsparser.la \
151 $(top_builddir)/src/dht/libgnunetdht.la \
152 $(top_builddir)/src/namestore/libgnunetnamestore.la \
157 gnunet_gns_fcfsd_SOURCES = \
159 gnunet_gns_fcfsd_LDADD = -lmicrohttpd \
160 $(top_builddir)/src/util/libgnunetutil.la \
161 $(top_builddir)/src/namestore/libgnunetnamestore.la \
163 gnunet_gns_fcfsd_DEPENDENCIES = \
164 $(top_builddir)/src/util/libgnunetutil.la \
165 $(top_builddir)/src/namestore/libgnunetnamestore.la
167 libw32nsp_la_SOURCES = \
169 libw32nsp_la_LIBADD = \
171 libw32nsp_la_LDFLAGS = \
172 -export-symbols $(top_srcdir)/src/gns/w32nsp.def \
175 libgnunetgns_la_SOURCES = \
177 libgnunetgns_la_LIBADD = \
178 $(top_builddir)/src/util/libgnunetutil.la $(XLIB) \
179 $(top_builddir)/src/namestore/libgnunetnamestore.la
180 libgnunetgns_la_LDFLAGS = \
182 libgnunetgns_la_DEPENDENCIES = \
183 $(top_builddir)/src/util/libgnunetutil.la \
184 $(top_builddir)/src/namestore/libgnunetnamestore.la
187 libgnunetgns_common_la_SOURCES = \
188 gns_common.c gns_common.h
189 libgnunetgns_common_la_LDFLAGS = \
191 libgnunetgns_common_la_LIBADD = \
192 $(top_builddir)/src/util/libgnunetutil.la
193 libgnunetgns_common_la_DEPENDENCIES = \
194 $(top_builddir)/src/util/libgnunetutil.la
197 libgnunet_plugin_block_gns_la_SOURCES = \
199 libgnunet_plugin_block_gns_la_LIBADD = \
200 $(top_builddir)/src/util/libgnunetutil.la \
201 $(top_builddir)/src/block/libgnunetblock.la \
202 $(top_builddir)/src/gns/libgnunetgns_common.la \
203 $(top_builddir)/src/namestore/libgnunetnamestore.la
204 libgnunet_plugin_block_gns_la_LDFLAGS = \
206 libgnunet_plugin_block_gns_la_DEPENDENCIES = \
207 $(top_builddir)/src/util/libgnunetutil.la \
208 libgnunetgns_common.la \
209 $(top_builddir)/src/block/libgnunetblock.la \
210 $(top_builddir)/src/namestore/libgnunetnamestore.la
214 test_gns_simple_shorten \
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
361 test_gns_pseu_shorten_SOURCES = \
362 test_gns_pseu_shorten.c
363 test_gns_pseu_shorten_LDADD = \
364 $(top_builddir)/src/util/libgnunetutil.la \
365 $(top_builddir)/src/namestore/libgnunetnamestore.la \
366 $(top_builddir)/src/dht/libgnunetdht.la \
367 $(top_builddir)/src/gns/libgnunetgns.la \
368 $(top_builddir)/src/testing/libgnunettesting.la
369 test_gns_pseu_shorten_DEPENDENCIES = \
370 $(top_builddir)/src/util/libgnunetutil.la \
371 $(top_builddir)/src/namestore/libgnunetnamestore.la \
372 $(top_builddir)/src/dht/libgnunetdht.la \
374 $(top_builddir)/src/testing/libgnunettesting.la
377 test_gns_max_queries_SOURCES = \
378 test_gns_max_queries.c
379 test_gns_max_queries_LDADD = \
380 $(top_builddir)/src/util/libgnunetutil.la \
381 $(top_builddir)/src/namestore/libgnunetnamestore.la \
382 $(top_builddir)/src/gns/libgnunetgns.la \
383 $(top_builddir)/src/testing/libgnunettesting.la
384 test_gns_max_queries_DEPENDENCIES = \
385 $(top_builddir)/src/util/libgnunetutil.la \
386 $(top_builddir)/src/namestore/libgnunetnamestore.la \
388 $(top_builddir)/src/testing/libgnunettesting.la
390 test_gns_cname_lookup_SOURCES = \
391 test_gns_cname_lookup.c
392 test_gns_cname_lookup_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_cname_lookup_DEPENDENCIES = \
398 $(top_builddir)/src/util/libgnunetutil.la \
399 $(top_builddir)/src/namestore/libgnunetnamestore.la \
401 $(top_builddir)/src/testing/libgnunettesting.la
404 test_gns_ns_lookup_SOURCES = \
406 test_gns_ns_lookup_LDADD = \
407 $(top_builddir)/src/util/libgnunetutil.la \
408 $(top_builddir)/src/namestore/libgnunetnamestore.la \
409 $(top_builddir)/src/gns/libgnunetgns.la \
410 $(top_builddir)/src/testing/libgnunettesting.la
411 test_gns_ns_lookup_DEPENDENCIES = \
412 $(top_builddir)/src/util/libgnunetutil.la \
413 $(top_builddir)/src/namestore/libgnunetnamestore.la \
415 $(top_builddir)/src/testing/libgnunettesting.la
418 test_gns_revocation_SOURCES = \
419 test_gns_revocation.c
420 test_gns_revocation_LDADD = \
421 $(top_builddir)/src/util/libgnunetutil.la \
422 $(top_builddir)/src/namestore/libgnunetnamestore.la \
423 $(top_builddir)/src/gns/libgnunetgns.la \
424 $(top_builddir)/src/testing/libgnunettesting.la
425 test_gns_revocation_DEPENDENCIES = \
426 $(top_builddir)/src/util/libgnunetutil.la \
427 $(top_builddir)/src/namestore/libgnunetnamestore.la \
429 $(top_builddir)/src/testing/libgnunettesting.la
434 #libgnunetnamestore_la_SOURCES = \
435 # namestore_stub_api.c
436 #libgnunetnamestore_la_LIBADD = \
437 # $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
438 #libgnunetnamestore_la_LDFLAGS = \
440 #libgnunetnamestore_la_DEPENDENCIES = \
441 # $(top_builddir)/src/util/libgnunetutil.la