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
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 = \
95 gnunet_gns_proxy_SOURCES = \
96 gnunet-gns-proxy.c gns_proxy_proto.h
97 gnunet_gns_proxy_LDADD = -lmicrohttpd -lcurl -lgnutls \
98 $(top_builddir)/src/gns/libgnunetgns.la \
99 $(top_builddir)/src/util/libgnunetutil.la \
101 gnunet_gns_proxy_DEPENDENCIES = \
104 gnunet_gns_helper_service_w32_SOURCES = \
105 gnunet-gns-helper-service-w32.c
106 gnunet_gns_helper_service_w32_LDADD = \
107 $(top_builddir)/src/gns/libgnunetgns.la \
108 $(top_builddir)/src/util/libgnunetutil.la \
110 gnunet_gns_helper_service_w32_DEPENDENCIES = \
113 w32nsp_install_SOURCES = \
115 w32nsp_install_LDADD = -lws2_32
117 w32nsp_uninstall_SOURCES = \
119 w32nsp_uninstall_LDADD = -lws2_32
121 w32nsp_resolve_SOURCES = \
123 w32nsp_resolve_LDADD = -lws2_32
125 gnunet_service_gns_SOURCES = \
126 gnunet-service-gns.c \
127 gnunet-service-gns_resolver.c gnunet-service-gns_resolver.h \
128 gnunet-service-gns_interceptor.c gnunet-service-gns_interceptor.h
129 gnunet_service_gns_LDADD = \
131 $(top_builddir)/src/statistics/libgnunetstatistics.la \
132 $(top_builddir)/src/util/libgnunetutil.la \
133 libgnunetgns_common.la \
134 $(top_builddir)/src/dns/libgnunetdns.la \
135 $(top_builddir)/src/dns/libgnunetdnsparser.la \
136 $(top_builddir)/src/dht/libgnunetdht.la \
137 $(top_builddir)/src/namestore/libgnunetnamestore.la \
140 gnunet_service_gns_DEPENDENCIES = \
141 $(top_builddir)/src/statistics/libgnunetstatistics.la \
142 $(top_builddir)/src/util/libgnunetutil.la \
143 libgnunetgns_common.la \
144 $(top_builddir)/src/dns/libgnunetdns.la \
145 $(top_builddir)/src/dns/libgnunetdnsparser.la \
146 $(top_builddir)/src/dht/libgnunetdht.la \
147 $(top_builddir)/src/namestore/libgnunetnamestore.la \
152 gnunet_gns_fcfsd_SOURCES = \
154 gnunet_gns_fcfsd_LDADD = -lmicrohttpd \
155 $(top_builddir)/src/util/libgnunetutil.la \
156 $(top_builddir)/src/namestore/libgnunetnamestore.la \
158 gnunet_gns_fcfsd_DEPENDENCIES = \
159 $(top_builddir)/src/util/libgnunetutil.la \
160 $(top_builddir)/src/namestore/libgnunetnamestore.la
162 libw32nsp_la_SOURCES = \
164 libw32nsp_la_LIBADD = \
166 libw32nsp_la_LDFLAGS = \
167 -export-symbols $(top_srcdir)/src/gns/w32nsp.def \
170 libgnunetgns_la_SOURCES = \
172 libgnunetgns_la_LIBADD = \
173 $(top_builddir)/src/util/libgnunetutil.la $(XLIB) \
174 $(top_builddir)/src/namestore/libgnunetnamestore.la
175 libgnunetgns_la_LDFLAGS = \
177 libgnunetgns_la_DEPENDENCIES = \
178 $(top_builddir)/src/util/libgnunetutil.la \
179 $(top_builddir)/src/namestore/libgnunetnamestore.la
182 libgnunetgns_common_la_SOURCES = \
183 gns_common.c gns_common.h
184 libgnunetgns_common_la_LDFLAGS = \
186 libgnunetgns_common_la_LIBADD = \
187 $(top_builddir)/src/util/libgnunetutil.la
188 libgnunetgns_common_la_DEPENDENCIES = \
189 $(top_builddir)/src/util/libgnunetutil.la
192 libgnunet_plugin_block_gns_la_SOURCES = \
194 libgnunet_plugin_block_gns_la_LIBADD = \
195 $(top_builddir)/src/util/libgnunetutil.la \
196 $(top_builddir)/src/block/libgnunetblock.la \
197 $(top_builddir)/src/gns/libgnunetgns_common.la \
198 $(top_builddir)/src/namestore/libgnunetnamestore.la
199 libgnunet_plugin_block_gns_la_LDFLAGS = \
201 libgnunet_plugin_block_gns_la_DEPENDENCIES = \
202 $(top_builddir)/src/util/libgnunetutil.la \
203 libgnunetgns_common.la \
204 $(top_builddir)/src/block/libgnunetblock.la \
205 $(top_builddir)/src/namestore/libgnunetnamestore.la
209 test_gns_simple_shorten \
210 test_gns_simple_get_authority \
211 test_gns_simple_lookup \
212 test_gns_simple_delegated_lookup \
213 test_gns_simple_mx_lookup \
214 test_gns_simple_srv_lookup \
215 test_gns_simple_zkey_lookup \
216 test_gns_dht_delegated_lookup \
217 test_gns_pseu_shorten \
218 test_gns_max_queries \
219 test_gns_cname_lookup \
221 test_gns_revocation \
222 test_gns_dht_three_peers
227 TESTS = $(check_PROGRAMS)
232 # test_gns_simple_lookup
233 # test_gns_simple_delegated_lookup
234 # test_gns_dht_delegated_lookup
237 #test_gns_proxy_SOURCES = \
239 #test_gns_proxy_LDADD = -lmicrohttpd @LIBCURL@ \
240 # $(top_builddir)/src/util/libgnunetutil.la \
241 # $(top_builddir)/src/namestore/libgnunetnamestore.la \
242 # $(top_builddir)/src/gns/libgnunetgns.la \
243 # $(top_builddir)/src/testing/libgnunettesting.la
244 #test_gns_proxy_DEPENDENCIES = \
245 # $(top_builddir)/src/util/libgnunetutil.la \
246 # $(top_builddir)/src/namestore/libgnunetnamestore.la \
248 # $(top_builddir)/src/testing/libgnunettesting.la
250 test_gns_dht_three_peers_SOURCES = \
251 test_gns_dht_three_peers.c
252 test_gns_dht_three_peers_LDADD = \
253 $(top_builddir)/src/util/libgnunetutil.la \
254 $(top_builddir)/src/namestore/libgnunetnamestore.la \
255 $(top_builddir)/src/gns/libgnunetgns.la \
256 $(top_builddir)/src/testing/libgnunettesting.la \
257 $(top_builddir)/src/testbed/libgnunettestbed.la
258 test_gns_dht_three_peers_DEPENDENCIES = \
259 $(top_builddir)/src/util/libgnunetutil.la \
260 $(top_builddir)/src/namestore/libgnunetnamestore.la \
262 $(top_builddir)/src/testing/libgnunettesting.la \
263 $(top_builddir)/src/testbed/libgnunettestbed.la
265 test_gns_simple_lookup_SOURCES = \
266 test_gns_simple_lookup.c
267 test_gns_simple_lookup_LDADD = \
268 $(top_builddir)/src/util/libgnunetutil.la \
269 $(top_builddir)/src/namestore/libgnunetnamestore.la \
270 $(top_builddir)/src/gns/libgnunetgns.la \
271 $(top_builddir)/src/testing/libgnunettesting.la
272 test_gns_simple_lookup_DEPENDENCIES = \
273 $(top_builddir)/src/util/libgnunetutil.la \
274 $(top_builddir)/src/namestore/libgnunetnamestore.la \
276 $(top_builddir)/src/testing/libgnunettesting.la
278 test_gns_simple_delegated_lookup_SOURCES = \
279 test_gns_simple_delegated_lookup.c
280 test_gns_simple_delegated_lookup_LDADD = \
281 $(top_builddir)/src/util/libgnunetutil.la \
282 $(top_builddir)/src/namestore/libgnunetnamestore.la \
283 $(top_builddir)/src/gns/libgnunetgns.la \
284 $(top_builddir)/src/testing/libgnunettesting.la
285 test_gns_simple_delegated_lookup_DEPENDENCIES = \
286 $(top_builddir)/src/util/libgnunetutil.la \
287 $(top_builddir)/src/namestore/libgnunetnamestore.la \
289 $(top_builddir)/src/testing/libgnunettesting.la
291 test_gns_simple_mx_lookup_SOURCES = \
292 test_gns_simple_mx_lookup.c
293 test_gns_simple_mx_lookup_LDADD = \
294 $(top_builddir)/src/util/libgnunetutil.la \
295 $(top_builddir)/src/namestore/libgnunetnamestore.la \
296 $(top_builddir)/src/gns/libgnunetgns.la \
297 $(top_builddir)/src/testing/libgnunettesting.la
298 test_gns_simple_mx_lookup_DEPENDENCIES = \
299 $(top_builddir)/src/util/libgnunetutil.la \
300 $(top_builddir)/src/namestore/libgnunetnamestore.la \
302 $(top_builddir)/src/testing/libgnunettesting.la
304 test_gns_simple_srv_lookup_SOURCES = \
305 test_gns_simple_srv_lookup.c
306 test_gns_simple_srv_lookup_LDADD = \
307 $(top_builddir)/src/util/libgnunetutil.la \
308 $(top_builddir)/src/namestore/libgnunetnamestore.la \
309 $(top_builddir)/src/gns/libgnunetgns.la \
310 $(top_builddir)/src/testing/libgnunettesting.la
311 test_gns_simple_srv_lookup_DEPENDENCIES = \
312 $(top_builddir)/src/util/libgnunetutil.la \
313 $(top_builddir)/src/namestore/libgnunetnamestore.la \
315 $(top_builddir)/src/testing/libgnunettesting.la
317 test_gns_simple_zkey_lookup_SOURCES = \
318 test_gns_simple_zkey_lookup.c
319 test_gns_simple_zkey_lookup_LDADD = \
320 $(top_builddir)/src/util/libgnunetutil.la \
321 $(top_builddir)/src/namestore/libgnunetnamestore.la \
322 $(top_builddir)/src/gns/libgnunetgns.la \
323 $(top_builddir)/src/testing/libgnunettesting.la
324 test_gns_simple_zkey_lookup_DEPENDENCIES = \
325 $(top_builddir)/src/util/libgnunetutil.la \
326 $(top_builddir)/src/namestore/libgnunetnamestore.la \
328 $(top_builddir)/src/testing/libgnunettesting.la
330 test_gns_dht_delegated_lookup_SOURCES = \
331 test_gns_dht_delegated_lookup.c
332 test_gns_dht_delegated_lookup_LDADD = \
333 $(top_builddir)/src/util/libgnunetutil.la \
334 $(top_builddir)/src/namestore/libgnunetnamestore.la \
335 $(top_builddir)/src/dht/libgnunetdht.la \
336 $(top_builddir)/src/gns/libgnunetgns.la \
337 $(top_builddir)/src/testing/libgnunettesting.la
338 test_gns_dht_delegated_lookup_DEPENDENCIES = \
339 $(top_builddir)/src/util/libgnunetutil.la \
340 $(top_builddir)/src/namestore/libgnunetnamestore.la \
341 $(top_builddir)/src/dht/libgnunetdht.la \
343 $(top_builddir)/src/testing/libgnunettesting.la
345 test_gns_simple_shorten_SOURCES = \
346 test_gns_simple_shorten.c
347 test_gns_simple_shorten_LDADD = \
348 $(top_builddir)/src/util/libgnunetutil.la \
349 $(top_builddir)/src/namestore/libgnunetnamestore.la \
350 $(top_builddir)/src/gns/libgnunetgns.la \
351 $(top_builddir)/src/testing/libgnunettesting.la
352 test_gns_simple_shorten_DEPENDENCIES = \
353 $(top_builddir)/src/util/libgnunetutil.la \
354 $(top_builddir)/src/namestore/libgnunetnamestore.la \
356 $(top_builddir)/src/testing/libgnunettesting.la
358 test_gns_simple_get_authority_SOURCES = \
359 test_gns_simple_get_authority.c
360 test_gns_simple_get_authority_LDADD = \
361 $(top_builddir)/src/util/libgnunetutil.la \
362 $(top_builddir)/src/namestore/libgnunetnamestore.la \
363 $(top_builddir)/src/gns/libgnunetgns.la \
364 $(top_builddir)/src/testing/libgnunettesting.la
365 test_gns_simple_get_authority_DEPENDENCIES = \
366 $(top_builddir)/src/util/libgnunetutil.la \
367 $(top_builddir)/src/namestore/libgnunetnamestore.la \
369 $(top_builddir)/src/testing/libgnunettesting.la
372 test_gns_pseu_shorten_SOURCES = \
373 test_gns_pseu_shorten.c
374 test_gns_pseu_shorten_LDADD = \
375 $(top_builddir)/src/util/libgnunetutil.la \
376 $(top_builddir)/src/namestore/libgnunetnamestore.la \
377 $(top_builddir)/src/dht/libgnunetdht.la \
378 $(top_builddir)/src/gns/libgnunetgns.la \
379 $(top_builddir)/src/testing/libgnunettesting.la
380 test_gns_pseu_shorten_DEPENDENCIES = \
381 $(top_builddir)/src/util/libgnunetutil.la \
382 $(top_builddir)/src/namestore/libgnunetnamestore.la \
383 $(top_builddir)/src/dht/libgnunetdht.la \
385 $(top_builddir)/src/testing/libgnunettesting.la
388 test_gns_max_queries_SOURCES = \
389 test_gns_max_queries.c
390 test_gns_max_queries_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
395 test_gns_max_queries_DEPENDENCIES = \
396 $(top_builddir)/src/util/libgnunetutil.la \
397 $(top_builddir)/src/namestore/libgnunetnamestore.la \
399 $(top_builddir)/src/testing/libgnunettesting.la
401 test_gns_cname_lookup_SOURCES = \
402 test_gns_cname_lookup.c
403 test_gns_cname_lookup_LDADD = \
404 $(top_builddir)/src/util/libgnunetutil.la \
405 $(top_builddir)/src/namestore/libgnunetnamestore.la \
406 $(top_builddir)/src/gns/libgnunetgns.la \
407 $(top_builddir)/src/testing/libgnunettesting.la
408 test_gns_cname_lookup_DEPENDENCIES = \
409 $(top_builddir)/src/util/libgnunetutil.la \
410 $(top_builddir)/src/namestore/libgnunetnamestore.la \
412 $(top_builddir)/src/testing/libgnunettesting.la
415 test_gns_ns_lookup_SOURCES = \
417 test_gns_ns_lookup_LDADD = \
418 $(top_builddir)/src/util/libgnunetutil.la \
419 $(top_builddir)/src/namestore/libgnunetnamestore.la \
420 $(top_builddir)/src/gns/libgnunetgns.la \
421 $(top_builddir)/src/testing/libgnunettesting.la
422 test_gns_ns_lookup_DEPENDENCIES = \
423 $(top_builddir)/src/util/libgnunetutil.la \
424 $(top_builddir)/src/namestore/libgnunetnamestore.la \
426 $(top_builddir)/src/testing/libgnunettesting.la
429 test_gns_revocation_SOURCES = \
430 test_gns_revocation.c
431 test_gns_revocation_LDADD = \
432 $(top_builddir)/src/util/libgnunetutil.la \
433 $(top_builddir)/src/namestore/libgnunetnamestore.la \
434 $(top_builddir)/src/gns/libgnunetgns.la \
435 $(top_builddir)/src/testing/libgnunettesting.la
436 test_gns_revocation_DEPENDENCIES = \
437 $(top_builddir)/src/util/libgnunetutil.la \
438 $(top_builddir)/src/namestore/libgnunetnamestore.la \
440 $(top_builddir)/src/testing/libgnunettesting.la
445 #libgnunetnamestore_la_SOURCES = \
446 # namestore_stub_api.c
447 #libgnunetnamestore_la_LIBADD = \
448 # $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
449 #libgnunetnamestore_la_LDFLAGS = \
451 #libgnunetnamestore_la_DEPENDENCIES = \
452 # $(top_builddir)/src/util/libgnunetutil.la