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_lookup \
215 test_gns_simple_delegated_lookup \
216 test_gns_simple_mx_lookup \
217 test_gns_simple_srv_lookup \
218 test_gns_simple_zkey_lookup \
219 test_gns_dht_delegated_lookup \
220 test_gns_pseu_shorten \
221 test_gns_max_queries \
222 test_gns_cname_lookup \
224 test_gns_revocation \
225 test_gns_dht_three_peers
232 TESTS = $(check_PROGRAMS)
238 #test_gns_proxy_SOURCES = \
240 #test_gns_proxy_LDADD = -lmicrohttpd @LIBCURL@ \
241 # $(top_builddir)/src/util/libgnunetutil.la \
242 # $(top_builddir)/src/namestore/libgnunetnamestore.la \
243 # $(top_builddir)/src/gns/libgnunetgns.la \
244 # $(top_builddir)/src/testing/libgnunettesting.la
245 #test_gns_proxy_DEPENDENCIES = \
246 # $(top_builddir)/src/util/libgnunetutil.la \
247 # $(top_builddir)/src/namestore/libgnunetnamestore.la \
249 # $(top_builddir)/src/testing/libgnunettesting.la
251 test_gns_dht_three_peers_SOURCES = \
252 test_gns_dht_three_peers.c
253 test_gns_dht_three_peers_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 \
258 $(top_builddir)/src/testbed/libgnunettestbed.la
259 test_gns_dht_three_peers_DEPENDENCIES = \
260 $(top_builddir)/src/util/libgnunetutil.la \
261 $(top_builddir)/src/namestore/libgnunetnamestore.la \
263 $(top_builddir)/src/testing/libgnunettesting.la \
264 $(top_builddir)/src/testbed/libgnunettestbed.la
266 test_gns_simple_lookup_SOURCES = \
267 test_gns_simple_lookup.c
268 test_gns_simple_lookup_LDADD = \
269 $(top_builddir)/src/util/libgnunetutil.la \
270 $(top_builddir)/src/namestore/libgnunetnamestore.la \
271 $(top_builddir)/src/gns/libgnunetgns.la \
272 $(top_builddir)/src/testing/libgnunettesting.la
273 test_gns_simple_lookup_DEPENDENCIES = \
274 $(top_builddir)/src/util/libgnunetutil.la \
275 $(top_builddir)/src/namestore/libgnunetnamestore.la \
277 $(top_builddir)/src/testing/libgnunettesting.la
279 test_gns_simple_delegated_lookup_SOURCES = \
280 test_gns_simple_delegated_lookup.c
281 test_gns_simple_delegated_lookup_LDADD = \
282 $(top_builddir)/src/util/libgnunetutil.la \
283 $(top_builddir)/src/namestore/libgnunetnamestore.la \
284 $(top_builddir)/src/gns/libgnunetgns.la \
285 $(top_builddir)/src/testing/libgnunettesting.la
286 test_gns_simple_delegated_lookup_DEPENDENCIES = \
287 $(top_builddir)/src/util/libgnunetutil.la \
288 $(top_builddir)/src/namestore/libgnunetnamestore.la \
290 $(top_builddir)/src/testing/libgnunettesting.la
292 test_gns_simple_mx_lookup_SOURCES = \
293 test_gns_simple_mx_lookup.c
294 test_gns_simple_mx_lookup_LDADD = \
295 $(top_builddir)/src/util/libgnunetutil.la \
296 $(top_builddir)/src/namestore/libgnunetnamestore.la \
297 $(top_builddir)/src/gns/libgnunetgns.la \
298 $(top_builddir)/src/testing/libgnunettesting.la
299 test_gns_simple_mx_lookup_DEPENDENCIES = \
300 $(top_builddir)/src/util/libgnunetutil.la \
301 $(top_builddir)/src/namestore/libgnunetnamestore.la \
303 $(top_builddir)/src/testing/libgnunettesting.la
305 test_gns_simple_srv_lookup_SOURCES = \
306 test_gns_simple_srv_lookup.c
307 test_gns_simple_srv_lookup_LDADD = \
308 $(top_builddir)/src/util/libgnunetutil.la \
309 $(top_builddir)/src/namestore/libgnunetnamestore.la \
310 $(top_builddir)/src/gns/libgnunetgns.la \
311 $(top_builddir)/src/testing/libgnunettesting.la
312 test_gns_simple_srv_lookup_DEPENDENCIES = \
313 $(top_builddir)/src/util/libgnunetutil.la \
314 $(top_builddir)/src/namestore/libgnunetnamestore.la \
316 $(top_builddir)/src/testing/libgnunettesting.la
318 test_gns_simple_zkey_lookup_SOURCES = \
319 test_gns_simple_zkey_lookup.c
320 test_gns_simple_zkey_lookup_LDADD = \
321 $(top_builddir)/src/util/libgnunetutil.la \
322 $(top_builddir)/src/namestore/libgnunetnamestore.la \
323 $(top_builddir)/src/gns/libgnunetgns.la \
324 $(top_builddir)/src/testing/libgnunettesting.la
325 test_gns_simple_zkey_lookup_DEPENDENCIES = \
326 $(top_builddir)/src/util/libgnunetutil.la \
327 $(top_builddir)/src/namestore/libgnunetnamestore.la \
329 $(top_builddir)/src/testing/libgnunettesting.la
331 test_gns_dht_delegated_lookup_SOURCES = \
332 test_gns_dht_delegated_lookup.c
333 test_gns_dht_delegated_lookup_LDADD = \
334 $(top_builddir)/src/util/libgnunetutil.la \
335 $(top_builddir)/src/namestore/libgnunetnamestore.la \
336 $(top_builddir)/src/dht/libgnunetdht.la \
337 $(top_builddir)/src/gns/libgnunetgns.la \
338 $(top_builddir)/src/testing/libgnunettesting.la
339 test_gns_dht_delegated_lookup_DEPENDENCIES = \
340 $(top_builddir)/src/util/libgnunetutil.la \
341 $(top_builddir)/src/namestore/libgnunetnamestore.la \
342 $(top_builddir)/src/dht/libgnunetdht.la \
344 $(top_builddir)/src/testing/libgnunettesting.la
346 test_gns_simple_shorten_SOURCES = \
347 test_gns_simple_shorten.c
348 test_gns_simple_shorten_LDADD = \
349 $(top_builddir)/src/util/libgnunetutil.la \
350 $(top_builddir)/src/namestore/libgnunetnamestore.la \
351 $(top_builddir)/src/gns/libgnunetgns.la \
352 $(top_builddir)/src/testing/libgnunettesting.la
353 test_gns_simple_shorten_DEPENDENCIES = \
354 $(top_builddir)/src/util/libgnunetutil.la \
355 $(top_builddir)/src/namestore/libgnunetnamestore.la \
357 $(top_builddir)/src/testing/libgnunettesting.la
360 test_gns_pseu_shorten_SOURCES = \
361 test_gns_pseu_shorten.c
362 test_gns_pseu_shorten_LDADD = \
363 $(top_builddir)/src/util/libgnunetutil.la \
364 $(top_builddir)/src/namestore/libgnunetnamestore.la \
365 $(top_builddir)/src/dht/libgnunetdht.la \
366 $(top_builddir)/src/gns/libgnunetgns.la \
367 $(top_builddir)/src/testing/libgnunettesting.la
368 test_gns_pseu_shorten_DEPENDENCIES = \
369 $(top_builddir)/src/util/libgnunetutil.la \
370 $(top_builddir)/src/namestore/libgnunetnamestore.la \
371 $(top_builddir)/src/dht/libgnunetdht.la \
373 $(top_builddir)/src/testing/libgnunettesting.la
376 test_gns_max_queries_SOURCES = \
377 test_gns_max_queries.c
378 test_gns_max_queries_LDADD = \
379 $(top_builddir)/src/util/libgnunetutil.la \
380 $(top_builddir)/src/namestore/libgnunetnamestore.la \
381 $(top_builddir)/src/gns/libgnunetgns.la \
382 $(top_builddir)/src/testing/libgnunettesting.la
383 test_gns_max_queries_DEPENDENCIES = \
384 $(top_builddir)/src/util/libgnunetutil.la \
385 $(top_builddir)/src/namestore/libgnunetnamestore.la \
387 $(top_builddir)/src/testing/libgnunettesting.la
389 test_gns_cname_lookup_SOURCES = \
390 test_gns_cname_lookup.c
391 test_gns_cname_lookup_LDADD = \
392 $(top_builddir)/src/util/libgnunetutil.la \
393 $(top_builddir)/src/namestore/libgnunetnamestore.la \
394 $(top_builddir)/src/gns/libgnunetgns.la \
395 $(top_builddir)/src/testing/libgnunettesting.la
396 test_gns_cname_lookup_DEPENDENCIES = \
397 $(top_builddir)/src/util/libgnunetutil.la \
398 $(top_builddir)/src/namestore/libgnunetnamestore.la \
400 $(top_builddir)/src/testing/libgnunettesting.la
403 test_gns_ns_lookup_SOURCES = \
405 test_gns_ns_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_ns_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_revocation_SOURCES = \
418 test_gns_revocation.c
419 test_gns_revocation_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_revocation_DEPENDENCIES = \
425 $(top_builddir)/src/util/libgnunetutil.la \
426 $(top_builddir)/src/namestore/libgnunetnamestore.la \
428 $(top_builddir)/src/testing/libgnunettesting.la
433 #libgnunetnamestore_la_SOURCES = \
434 # namestore_stub_api.c
435 #libgnunetnamestore_la_LIBADD = \
436 # $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
437 #libgnunetnamestore_la_LDFLAGS = \
439 #libgnunetnamestore_la_DEPENDENCIES = \
440 # $(top_builddir)/src/util/libgnunetutil.la