1 AM_CPPFLAGS = -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
29 AM_CFLAGS = --coverage -O0
32 pkgcfgdir = $(pkgdatadir)/config.d/
34 libexecdir= $(pkglibdir)/libexec/
36 plugindir = $(libdir)/gnunet
50 DO_PROXY=gnunet-gns-proxy
65 bin_SCRIPTS = gnunet-gns-proxy-setup-ca
67 plugin_LTLIBRARIES = \
68 libgnunet_plugin_block_gns.la
70 gnunet_gns_SOURCES = \
73 $(top_builddir)/src/gns/libgnunetgns.la \
74 $(top_builddir)/src/namestore/libgnunetnamestore.la \
75 $(top_builddir)/src/identity/libgnunetidentity.la \
76 $(top_builddir)/src/util/libgnunetutil.la \
78 gnunet_gns_DEPENDENCIES = \
79 $(top_builddir)/src/namestore/libgnunetnamestore.la \
80 $(top_builddir)/src/identity/libgnunetidentity.la \
81 $(top_builddir)/src/util/libgnunetutil.la \
84 gnunet_dns2gns_SOURCES = \
86 gnunet_dns2gns_LDADD = \
87 $(top_builddir)/src/gns/libgnunetgns.la \
88 $(top_builddir)/src/util/libgnunetutil.la \
89 $(top_builddir)/src/identity/libgnunetidentity.la \
90 $(top_builddir)/src/namestore/libgnunetnamestore.la \
91 $(top_builddir)/src/dns/libgnunetdnsparser.la \
92 $(top_builddir)/src/dns/libgnunetdnsstub.la \
94 gnunet_dns2gns_DEPENDENCIES = \
95 $(top_builddir)/src/util/libgnunetutil.la \
96 $(top_builddir)/src/identity/libgnunetidentity.la \
97 $(top_builddir)/src/namestore/libgnunetnamestore.la \
98 $(top_builddir)/src/dns/libgnunetdnsparser.la \
99 $(top_builddir)/src/dns/libgnunetdnsstub.la \
102 gnunet_gns_proxy_SOURCES = \
104 gnunet_gns_proxy_LDADD = -lmicrohttpd -lcurl -lgnutls \
105 $(top_builddir)/src/gns/libgnunetgns.la \
106 $(top_builddir)/src/identity/libgnunetidentity.la \
107 $(top_builddir)/src/util/libgnunetutil.la \
109 gnunet_gns_proxy_DEPENDENCIES = \
110 $(top_builddir)/src/identity/libgnunetidentity.la \
111 $(top_builddir)/src/util/libgnunetutil.la \
114 gnunet_gns_helper_service_w32_SOURCES = \
115 gnunet-gns-helper-service-w32.c
116 gnunet_gns_helper_service_w32_LDADD = \
117 $(top_builddir)/src/gns/libgnunetgns.la \
118 $(top_builddir)/src/util/libgnunetutil.la \
120 gnunet_gns_helper_service_w32_DEPENDENCIES = \
121 $(top_builddir)/src/util/libgnunetutil.la \
124 w32nsp_install_SOURCES = \
126 w32nsp_install_LDADD = -lws2_32
128 w32nsp_uninstall_SOURCES = \
130 w32nsp_uninstall_LDADD = -lws2_32
132 w32nsp_resolve_SOURCES = \
134 w32nsp_resolve_LDADD = -lws2_32
136 gnunet_service_gns_SOURCES = \
137 gnunet-service-gns.c \
138 gnunet-service-gns_resolver.c gnunet-service-gns_resolver.h \
139 gnunet-service-gns_shorten.c gnunet-service-gns_shorten.h \
140 gnunet-service-gns_interceptor.c gnunet-service-gns_interceptor.h
141 gnunet_service_gns_LDADD = \
143 $(top_builddir)/src/statistics/libgnunetstatistics.la \
144 $(top_builddir)/src/util/libgnunetutil.la \
145 $(top_builddir)/src/dns/libgnunetdns.la \
146 $(top_builddir)/src/dns/libgnunetdnsparser.la \
147 $(top_builddir)/src/dns/libgnunetdnsstub.la \
148 $(top_builddir)/src/dht/libgnunetdht.la \
149 $(top_builddir)/src/namestore/libgnunetnamestore.la \
152 gnunet_service_gns_DEPENDENCIES = \
153 $(top_builddir)/src/statistics/libgnunetstatistics.la \
154 $(top_builddir)/src/util/libgnunetutil.la \
155 $(top_builddir)/src/dns/libgnunetdns.la \
156 $(top_builddir)/src/dns/libgnunetdnsparser.la \
157 $(top_builddir)/src/dht/libgnunetdht.la \
158 $(top_builddir)/src/namestore/libgnunetnamestore.la \
163 libw32nsp_la_SOURCES = \
165 libw32nsp_la_LIBADD = \
167 libw32nsp_la_LDFLAGS = \
168 -export-symbols $(top_srcdir)/src/gns/w32nsp.def \
171 libgnunetgns_la_SOURCES = \
173 libgnunetgns_la_LIBADD = \
174 $(top_builddir)/src/util/libgnunetutil.la $(XLIB) \
175 $(top_builddir)/src/namestore/libgnunetnamestore.la
176 libgnunetgns_la_LDFLAGS = \
178 libgnunetgns_la_DEPENDENCIES = \
179 $(top_builddir)/src/util/libgnunetutil.la \
180 $(top_builddir)/src/namestore/libgnunetnamestore.la
183 libgnunet_plugin_block_gns_la_SOURCES = \
185 libgnunet_plugin_block_gns_la_LIBADD = \
186 $(top_builddir)/src/util/libgnunetutil.la \
187 $(top_builddir)/src/block/libgnunetblock.la \
188 $(top_builddir)/src/namestore/libgnunetnamestore.la
189 libgnunet_plugin_block_gns_la_LDFLAGS = \
191 libgnunet_plugin_block_gns_la_DEPENDENCIES = \
192 $(top_builddir)/src/util/libgnunetutil.la \
193 $(top_builddir)/src/block/libgnunetblock.la \
194 $(top_builddir)/src/namestore/libgnunetnamestore.la
198 # test_gns_simple_shorten
199 # test_gns_simple_lookup
200 # test_gns_simple_delegated_lookup
201 # test_gns_simple_mx_lookup
202 # test_gns_simple_srv_lookup
203 # test_gns_simple_zkey_lookup
204 # test_gns_dht_delegated_lookup
205 # test_gns_pseu_shorten
206 # test_gns_max_queries
207 # test_gns_cname_lookup
209 # test_gns_revocation
210 # test_gns_dht_three_peers
217 # TESTS = $(check_PROGRAMS)
223 #test_gns_proxy_SOURCES = \
225 #test_gns_proxy_LDADD = -lmicrohttpd @LIBCURL@ \
226 # $(top_builddir)/src/util/libgnunetutil.la \
227 # $(top_builddir)/src/namestore/libgnunetnamestore.la \
228 # $(top_builddir)/src/gns/libgnunetgns.la \
229 # $(top_builddir)/src/testing/libgnunettesting.la
230 #test_gns_proxy_DEPENDENCIES = \
231 # $(top_builddir)/src/util/libgnunetutil.la \
232 # $(top_builddir)/src/namestore/libgnunetnamestore.la \
234 # $(top_builddir)/src/testing/libgnunettesting.la
236 test_gns_dht_three_peers_SOURCES = \
237 test_gns_dht_three_peers.c
238 test_gns_dht_three_peers_LDADD = \
239 $(top_builddir)/src/util/libgnunetutil.la \
240 $(top_builddir)/src/namestore/libgnunetnamestore.la \
241 $(top_builddir)/src/gns/libgnunetgns.la \
242 $(top_builddir)/src/testing/libgnunettesting.la \
243 $(top_builddir)/src/testbed/libgnunettestbed.la
244 test_gns_dht_three_peers_DEPENDENCIES = \
245 $(top_builddir)/src/util/libgnunetutil.la \
246 $(top_builddir)/src/namestore/libgnunetnamestore.la \
248 $(top_builddir)/src/testing/libgnunettesting.la \
249 $(top_builddir)/src/testbed/libgnunettestbed.la
251 test_gns_simple_lookup_SOURCES = \
252 test_gns_simple_lookup.c
253 test_gns_simple_lookup_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 test_gns_simple_lookup_DEPENDENCIES = \
259 $(top_builddir)/src/util/libgnunetutil.la \
260 $(top_builddir)/src/namestore/libgnunetnamestore.la \
262 $(top_builddir)/src/testing/libgnunettesting.la
264 test_gns_simple_delegated_lookup_SOURCES = \
265 test_gns_simple_delegated_lookup.c
266 test_gns_simple_delegated_lookup_LDADD = \
267 $(top_builddir)/src/util/libgnunetutil.la \
268 $(top_builddir)/src/namestore/libgnunetnamestore.la \
269 $(top_builddir)/src/gns/libgnunetgns.la \
270 $(top_builddir)/src/testing/libgnunettesting.la
271 test_gns_simple_delegated_lookup_DEPENDENCIES = \
272 $(top_builddir)/src/util/libgnunetutil.la \
273 $(top_builddir)/src/namestore/libgnunetnamestore.la \
275 $(top_builddir)/src/testing/libgnunettesting.la
277 test_gns_simple_mx_lookup_SOURCES = \
278 test_gns_simple_mx_lookup.c
279 test_gns_simple_mx_lookup_LDADD = \
280 $(top_builddir)/src/util/libgnunetutil.la \
281 $(top_builddir)/src/namestore/libgnunetnamestore.la \
282 $(top_builddir)/src/gns/libgnunetgns.la \
283 $(top_builddir)/src/testing/libgnunettesting.la
284 test_gns_simple_mx_lookup_DEPENDENCIES = \
285 $(top_builddir)/src/util/libgnunetutil.la \
286 $(top_builddir)/src/namestore/libgnunetnamestore.la \
288 $(top_builddir)/src/testing/libgnunettesting.la
290 test_gns_simple_srv_lookup_SOURCES = \
291 test_gns_simple_srv_lookup.c
292 test_gns_simple_srv_lookup_LDADD = \
293 $(top_builddir)/src/util/libgnunetutil.la \
294 $(top_builddir)/src/namestore/libgnunetnamestore.la \
295 $(top_builddir)/src/gns/libgnunetgns.la \
296 $(top_builddir)/src/testing/libgnunettesting.la
297 test_gns_simple_srv_lookup_DEPENDENCIES = \
298 $(top_builddir)/src/util/libgnunetutil.la \
299 $(top_builddir)/src/namestore/libgnunetnamestore.la \
301 $(top_builddir)/src/testing/libgnunettesting.la
303 test_gns_simple_zkey_lookup_SOURCES = \
304 test_gns_simple_zkey_lookup.c
305 test_gns_simple_zkey_lookup_LDADD = \
306 $(top_builddir)/src/util/libgnunetutil.la \
307 $(top_builddir)/src/namestore/libgnunetnamestore.la \
308 $(top_builddir)/src/gns/libgnunetgns.la \
309 $(top_builddir)/src/testing/libgnunettesting.la
310 test_gns_simple_zkey_lookup_DEPENDENCIES = \
311 $(top_builddir)/src/util/libgnunetutil.la \
312 $(top_builddir)/src/namestore/libgnunetnamestore.la \
314 $(top_builddir)/src/testing/libgnunettesting.la
316 test_gns_dht_delegated_lookup_SOURCES = \
317 test_gns_dht_delegated_lookup.c
318 test_gns_dht_delegated_lookup_LDADD = \
319 $(top_builddir)/src/util/libgnunetutil.la \
320 $(top_builddir)/src/namestore/libgnunetnamestore.la \
321 $(top_builddir)/src/dht/libgnunetdht.la \
322 $(top_builddir)/src/gns/libgnunetgns.la \
323 $(top_builddir)/src/testing/libgnunettesting.la
324 test_gns_dht_delegated_lookup_DEPENDENCIES = \
325 $(top_builddir)/src/util/libgnunetutil.la \
326 $(top_builddir)/src/namestore/libgnunetnamestore.la \
327 $(top_builddir)/src/dht/libgnunetdht.la \
329 $(top_builddir)/src/testing/libgnunettesting.la
331 test_gns_simple_shorten_SOURCES = \
332 test_gns_simple_shorten.c
333 test_gns_simple_shorten_LDADD = \
334 $(top_builddir)/src/util/libgnunetutil.la \
335 $(top_builddir)/src/namestore/libgnunetnamestore.la \
336 $(top_builddir)/src/gns/libgnunetgns.la \
337 $(top_builddir)/src/testing/libgnunettesting.la
338 test_gns_simple_shorten_DEPENDENCIES = \
339 $(top_builddir)/src/util/libgnunetutil.la \
340 $(top_builddir)/src/namestore/libgnunetnamestore.la \
342 $(top_builddir)/src/testing/libgnunettesting.la
345 test_gns_pseu_shorten_SOURCES = \
346 test_gns_pseu_shorten.c
347 test_gns_pseu_shorten_LDADD = \
348 $(top_builddir)/src/util/libgnunetutil.la \
349 $(top_builddir)/src/namestore/libgnunetnamestore.la \
350 $(top_builddir)/src/dht/libgnunetdht.la \
351 $(top_builddir)/src/gns/libgnunetgns.la \
352 $(top_builddir)/src/testing/libgnunettesting.la
353 test_gns_pseu_shorten_DEPENDENCIES = \
354 $(top_builddir)/src/util/libgnunetutil.la \
355 $(top_builddir)/src/namestore/libgnunetnamestore.la \
356 $(top_builddir)/src/dht/libgnunetdht.la \
358 $(top_builddir)/src/testing/libgnunettesting.la
361 test_gns_max_queries_SOURCES = \
362 test_gns_max_queries.c
363 test_gns_max_queries_LDADD = \
364 $(top_builddir)/src/util/libgnunetutil.la \
365 $(top_builddir)/src/namestore/libgnunetnamestore.la \
366 $(top_builddir)/src/gns/libgnunetgns.la \
367 $(top_builddir)/src/testing/libgnunettesting.la
368 test_gns_max_queries_DEPENDENCIES = \
369 $(top_builddir)/src/util/libgnunetutil.la \
370 $(top_builddir)/src/namestore/libgnunetnamestore.la \
372 $(top_builddir)/src/testing/libgnunettesting.la
374 test_gns_cname_lookup_SOURCES = \
375 test_gns_cname_lookup.c
376 test_gns_cname_lookup_LDADD = \
377 $(top_builddir)/src/util/libgnunetutil.la \
378 $(top_builddir)/src/namestore/libgnunetnamestore.la \
379 $(top_builddir)/src/gns/libgnunetgns.la \
380 $(top_builddir)/src/testing/libgnunettesting.la
381 test_gns_cname_lookup_DEPENDENCIES = \
382 $(top_builddir)/src/util/libgnunetutil.la \
383 $(top_builddir)/src/namestore/libgnunetnamestore.la \
385 $(top_builddir)/src/testing/libgnunettesting.la
388 test_gns_ns_lookup_SOURCES = \
390 test_gns_ns_lookup_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_ns_lookup_DEPENDENCIES = \
396 $(top_builddir)/src/util/libgnunetutil.la \
397 $(top_builddir)/src/namestore/libgnunetnamestore.la \
399 $(top_builddir)/src/testing/libgnunettesting.la
402 test_gns_revocation_SOURCES = \
403 test_gns_revocation.c
404 test_gns_revocation_LDADD = \
405 $(top_builddir)/src/util/libgnunetutil.la \
406 $(top_builddir)/src/namestore/libgnunetnamestore.la \
407 $(top_builddir)/src/gns/libgnunetgns.la \
408 $(top_builddir)/src/testing/libgnunettesting.la
409 test_gns_revocation_DEPENDENCIES = \
410 $(top_builddir)/src/util/libgnunetutil.la \
411 $(top_builddir)/src/namestore/libgnunetnamestore.la \
413 $(top_builddir)/src/testing/libgnunettesting.la
418 #libgnunetnamestore_la_SOURCES = \
419 # namestore_stub_api.c
420 #libgnunetnamestore_la_LIBADD = \
421 # $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
422 #libgnunetnamestore_la_LDFLAGS = \
424 #libgnunetnamestore_la_DEPENDENCIES = \
425 # $(top_builddir)/src/util/libgnunetutil.la