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 # does not compile right now...
52 DO_PROXY=gnunet-gns-proxy
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/namestore/libgnunetnamestore.la \
78 $(top_builddir)/src/identity/libgnunetidentity.la \
79 $(top_builddir)/src/util/libgnunetutil.la \
81 gnunet_gns_DEPENDENCIES = \
82 $(top_builddir)/src/namestore/libgnunetnamestore.la \
83 $(top_builddir)/src/identity/libgnunetidentity.la \
84 $(top_builddir)/src/util/libgnunetutil.la \
87 gnunet_dns2gns_SOURCES = \
89 gnunet_dns2gns_LDADD = \
90 $(top_builddir)/src/gns/libgnunetgns.la \
91 $(top_builddir)/src/util/libgnunetutil.la \
92 $(top_builddir)/src/identity/libgnunetidentity.la \
93 $(top_builddir)/src/namestore/libgnunetnamestore.la \
94 $(top_builddir)/src/dns/libgnunetdnsparser.la \
95 $(top_builddir)/src/dns/libgnunetdnsstub.la \
97 gnunet_dns2gns_DEPENDENCIES = \
98 $(top_builddir)/src/gns/libgnunetgns.la \
99 $(top_builddir)/src/util/libgnunetutil.la \
100 $(top_builddir)/src/identity/libgnunetidentity.la \
101 $(top_builddir)/src/namestore/libgnunetnamestore.la \
102 $(top_builddir)/src/dns/libgnunetdnsparser.la \
103 $(top_builddir)/src/dns/libgnunetdnsstub.la \
106 gnunet_gns_proxy_SOURCES = \
108 gnunet_gns_proxy_LDADD = -lmicrohttpd -lcurl -lgnutls \
109 $(top_builddir)/src/gns/libgnunetgns.la \
110 $(top_builddir)/src/identity/libgnunetidentity.la \
111 $(top_builddir)/src/util/libgnunetutil.la \
113 gnunet_gns_proxy_DEPENDENCIES = \
114 $(top_builddir)/src/identity/libgnunetidentity.la \
115 $(top_builddir)/src/util/libgnunetutil.la \
118 gnunet_gns_helper_service_w32_SOURCES = \
119 gnunet-gns-helper-service-w32.c
120 gnunet_gns_helper_service_w32_LDADD = \
121 $(top_builddir)/src/gns/libgnunetgns.la \
122 $(top_builddir)/src/util/libgnunetutil.la \
124 gnunet_gns_helper_service_w32_DEPENDENCIES = \
125 $(top_builddir)/src/util/libgnunetutil.la \
128 w32nsp_install_SOURCES = \
130 w32nsp_install_LDADD = -lws2_32
132 w32nsp_uninstall_SOURCES = \
134 w32nsp_uninstall_LDADD = -lws2_32
136 w32nsp_resolve_SOURCES = \
138 w32nsp_resolve_LDADD = -lws2_32
140 gnunet_service_gns_SOURCES = \
141 gnunet-service-gns.c \
142 gnunet-service-gns_resolver.c gnunet-service-gns_resolver.h \
143 gnunet-service-gns_shorten.c gnunet-service-gns_shorten.h \
144 gnunet-service-gns_interceptor.c gnunet-service-gns_interceptor.h
145 gnunet_service_gns_LDADD = \
147 $(top_builddir)/src/statistics/libgnunetstatistics.la \
148 $(top_builddir)/src/util/libgnunetutil.la \
149 $(top_builddir)/src/dns/libgnunetdns.la \
150 $(top_builddir)/src/dns/libgnunetdnsparser.la \
151 $(top_builddir)/src/dns/libgnunetdnsstub.la \
152 $(top_builddir)/src/dht/libgnunetdht.la \
153 $(top_builddir)/src/namestore/libgnunetnamestore.la \
156 gnunet_service_gns_DEPENDENCIES = \
157 $(top_builddir)/src/statistics/libgnunetstatistics.la \
158 $(top_builddir)/src/util/libgnunetutil.la \
159 $(top_builddir)/src/dns/libgnunetdns.la \
160 $(top_builddir)/src/dns/libgnunetdnsparser.la \
161 $(top_builddir)/src/dht/libgnunetdht.la \
162 $(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 libgnunet_plugin_block_gns_la_SOURCES = \
189 libgnunet_plugin_block_gns_la_LIBADD = \
190 $(top_builddir)/src/util/libgnunetutil.la \
191 $(top_builddir)/src/block/libgnunetblock.la \
192 $(top_builddir)/src/namestore/libgnunetnamestore.la
193 libgnunet_plugin_block_gns_la_LDFLAGS = \
195 libgnunet_plugin_block_gns_la_DEPENDENCIES = \
196 $(top_builddir)/src/util/libgnunetutil.la \
197 $(top_builddir)/src/block/libgnunetblock.la \
198 $(top_builddir)/src/namestore/libgnunetnamestore.la
202 # test_gns_simple_shorten
203 # test_gns_simple_lookup
204 # test_gns_simple_delegated_lookup
205 # test_gns_simple_mx_lookup
206 # test_gns_simple_srv_lookup
207 # test_gns_simple_zkey_lookup
208 # test_gns_dht_delegated_lookup
209 # test_gns_pseu_shorten
210 # test_gns_max_queries
211 # test_gns_cname_lookup
213 # test_gns_revocation
214 # test_gns_dht_three_peers
221 # TESTS = $(check_PROGRAMS)
227 #test_gns_proxy_SOURCES = \
229 #test_gns_proxy_LDADD = -lmicrohttpd @LIBCURL@ \
230 # $(top_builddir)/src/util/libgnunetutil.la \
231 # $(top_builddir)/src/namestore/libgnunetnamestore.la \
232 # $(top_builddir)/src/gns/libgnunetgns.la \
233 # $(top_builddir)/src/testing/libgnunettesting.la
234 #test_gns_proxy_DEPENDENCIES = \
235 # $(top_builddir)/src/util/libgnunetutil.la \
236 # $(top_builddir)/src/namestore/libgnunetnamestore.la \
238 # $(top_builddir)/src/testing/libgnunettesting.la
240 test_gns_dht_three_peers_SOURCES = \
241 test_gns_dht_three_peers.c
242 test_gns_dht_three_peers_LDADD = \
243 $(top_builddir)/src/util/libgnunetutil.la \
244 $(top_builddir)/src/namestore/libgnunetnamestore.la \
245 $(top_builddir)/src/gns/libgnunetgns.la \
246 $(top_builddir)/src/testing/libgnunettesting.la \
247 $(top_builddir)/src/testbed/libgnunettestbed.la
248 test_gns_dht_three_peers_DEPENDENCIES = \
249 $(top_builddir)/src/util/libgnunetutil.la \
250 $(top_builddir)/src/namestore/libgnunetnamestore.la \
252 $(top_builddir)/src/testing/libgnunettesting.la \
253 $(top_builddir)/src/testbed/libgnunettestbed.la
255 test_gns_simple_lookup_SOURCES = \
256 test_gns_simple_lookup.c
257 test_gns_simple_lookup_LDADD = \
258 $(top_builddir)/src/util/libgnunetutil.la \
259 $(top_builddir)/src/namestore/libgnunetnamestore.la \
260 $(top_builddir)/src/gns/libgnunetgns.la \
261 $(top_builddir)/src/testing/libgnunettesting.la
262 test_gns_simple_lookup_DEPENDENCIES = \
263 $(top_builddir)/src/util/libgnunetutil.la \
264 $(top_builddir)/src/namestore/libgnunetnamestore.la \
266 $(top_builddir)/src/testing/libgnunettesting.la
268 test_gns_simple_delegated_lookup_SOURCES = \
269 test_gns_simple_delegated_lookup.c
270 test_gns_simple_delegated_lookup_LDADD = \
271 $(top_builddir)/src/util/libgnunetutil.la \
272 $(top_builddir)/src/namestore/libgnunetnamestore.la \
273 $(top_builddir)/src/gns/libgnunetgns.la \
274 $(top_builddir)/src/testing/libgnunettesting.la
275 test_gns_simple_delegated_lookup_DEPENDENCIES = \
276 $(top_builddir)/src/util/libgnunetutil.la \
277 $(top_builddir)/src/namestore/libgnunetnamestore.la \
279 $(top_builddir)/src/testing/libgnunettesting.la
281 test_gns_simple_mx_lookup_SOURCES = \
282 test_gns_simple_mx_lookup.c
283 test_gns_simple_mx_lookup_LDADD = \
284 $(top_builddir)/src/util/libgnunetutil.la \
285 $(top_builddir)/src/namestore/libgnunetnamestore.la \
286 $(top_builddir)/src/gns/libgnunetgns.la \
287 $(top_builddir)/src/testing/libgnunettesting.la
288 test_gns_simple_mx_lookup_DEPENDENCIES = \
289 $(top_builddir)/src/util/libgnunetutil.la \
290 $(top_builddir)/src/namestore/libgnunetnamestore.la \
292 $(top_builddir)/src/testing/libgnunettesting.la
294 test_gns_simple_srv_lookup_SOURCES = \
295 test_gns_simple_srv_lookup.c
296 test_gns_simple_srv_lookup_LDADD = \
297 $(top_builddir)/src/util/libgnunetutil.la \
298 $(top_builddir)/src/namestore/libgnunetnamestore.la \
299 $(top_builddir)/src/gns/libgnunetgns.la \
300 $(top_builddir)/src/testing/libgnunettesting.la
301 test_gns_simple_srv_lookup_DEPENDENCIES = \
302 $(top_builddir)/src/util/libgnunetutil.la \
303 $(top_builddir)/src/namestore/libgnunetnamestore.la \
305 $(top_builddir)/src/testing/libgnunettesting.la
307 test_gns_simple_zkey_lookup_SOURCES = \
308 test_gns_simple_zkey_lookup.c
309 test_gns_simple_zkey_lookup_LDADD = \
310 $(top_builddir)/src/util/libgnunetutil.la \
311 $(top_builddir)/src/namestore/libgnunetnamestore.la \
312 $(top_builddir)/src/gns/libgnunetgns.la \
313 $(top_builddir)/src/testing/libgnunettesting.la
314 test_gns_simple_zkey_lookup_DEPENDENCIES = \
315 $(top_builddir)/src/util/libgnunetutil.la \
316 $(top_builddir)/src/namestore/libgnunetnamestore.la \
318 $(top_builddir)/src/testing/libgnunettesting.la
320 test_gns_dht_delegated_lookup_SOURCES = \
321 test_gns_dht_delegated_lookup.c
322 test_gns_dht_delegated_lookup_LDADD = \
323 $(top_builddir)/src/util/libgnunetutil.la \
324 $(top_builddir)/src/namestore/libgnunetnamestore.la \
325 $(top_builddir)/src/dht/libgnunetdht.la \
326 $(top_builddir)/src/gns/libgnunetgns.la \
327 $(top_builddir)/src/testing/libgnunettesting.la
328 test_gns_dht_delegated_lookup_DEPENDENCIES = \
329 $(top_builddir)/src/util/libgnunetutil.la \
330 $(top_builddir)/src/namestore/libgnunetnamestore.la \
331 $(top_builddir)/src/dht/libgnunetdht.la \
333 $(top_builddir)/src/testing/libgnunettesting.la
335 test_gns_simple_shorten_SOURCES = \
336 test_gns_simple_shorten.c
337 test_gns_simple_shorten_LDADD = \
338 $(top_builddir)/src/util/libgnunetutil.la \
339 $(top_builddir)/src/namestore/libgnunetnamestore.la \
340 $(top_builddir)/src/gns/libgnunetgns.la \
341 $(top_builddir)/src/testing/libgnunettesting.la
342 test_gns_simple_shorten_DEPENDENCIES = \
343 $(top_builddir)/src/util/libgnunetutil.la \
344 $(top_builddir)/src/namestore/libgnunetnamestore.la \
346 $(top_builddir)/src/testing/libgnunettesting.la
349 test_gns_pseu_shorten_SOURCES = \
350 test_gns_pseu_shorten.c
351 test_gns_pseu_shorten_LDADD = \
352 $(top_builddir)/src/util/libgnunetutil.la \
353 $(top_builddir)/src/namestore/libgnunetnamestore.la \
354 $(top_builddir)/src/dht/libgnunetdht.la \
355 $(top_builddir)/src/gns/libgnunetgns.la \
356 $(top_builddir)/src/testing/libgnunettesting.la
357 test_gns_pseu_shorten_DEPENDENCIES = \
358 $(top_builddir)/src/util/libgnunetutil.la \
359 $(top_builddir)/src/namestore/libgnunetnamestore.la \
360 $(top_builddir)/src/dht/libgnunetdht.la \
362 $(top_builddir)/src/testing/libgnunettesting.la
365 test_gns_max_queries_SOURCES = \
366 test_gns_max_queries.c
367 test_gns_max_queries_LDADD = \
368 $(top_builddir)/src/util/libgnunetutil.la \
369 $(top_builddir)/src/namestore/libgnunetnamestore.la \
370 $(top_builddir)/src/gns/libgnunetgns.la \
371 $(top_builddir)/src/testing/libgnunettesting.la
372 test_gns_max_queries_DEPENDENCIES = \
373 $(top_builddir)/src/util/libgnunetutil.la \
374 $(top_builddir)/src/namestore/libgnunetnamestore.la \
376 $(top_builddir)/src/testing/libgnunettesting.la
378 test_gns_cname_lookup_SOURCES = \
379 test_gns_cname_lookup.c
380 test_gns_cname_lookup_LDADD = \
381 $(top_builddir)/src/util/libgnunetutil.la \
382 $(top_builddir)/src/namestore/libgnunetnamestore.la \
383 $(top_builddir)/src/gns/libgnunetgns.la \
384 $(top_builddir)/src/testing/libgnunettesting.la
385 test_gns_cname_lookup_DEPENDENCIES = \
386 $(top_builddir)/src/util/libgnunetutil.la \
387 $(top_builddir)/src/namestore/libgnunetnamestore.la \
389 $(top_builddir)/src/testing/libgnunettesting.la
392 test_gns_ns_lookup_SOURCES = \
394 test_gns_ns_lookup_LDADD = \
395 $(top_builddir)/src/util/libgnunetutil.la \
396 $(top_builddir)/src/namestore/libgnunetnamestore.la \
397 $(top_builddir)/src/gns/libgnunetgns.la \
398 $(top_builddir)/src/testing/libgnunettesting.la
399 test_gns_ns_lookup_DEPENDENCIES = \
400 $(top_builddir)/src/util/libgnunetutil.la \
401 $(top_builddir)/src/namestore/libgnunetnamestore.la \
403 $(top_builddir)/src/testing/libgnunettesting.la
406 test_gns_revocation_SOURCES = \
407 test_gns_revocation.c
408 test_gns_revocation_LDADD = \
409 $(top_builddir)/src/util/libgnunetutil.la \
410 $(top_builddir)/src/namestore/libgnunetnamestore.la \
411 $(top_builddir)/src/gns/libgnunetgns.la \
412 $(top_builddir)/src/testing/libgnunettesting.la
413 test_gns_revocation_DEPENDENCIES = \
414 $(top_builddir)/src/util/libgnunetutil.la \
415 $(top_builddir)/src/namestore/libgnunetnamestore.la \
417 $(top_builddir)/src/testing/libgnunettesting.la
422 #libgnunetnamestore_la_SOURCES = \
423 # namestore_stub_api.c
424 #libgnunetnamestore_la_LIBADD = \
425 # $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
426 #libgnunetnamestore_la_LDFLAGS = \
428 #libgnunetnamestore_la_DEPENDENCIES = \
429 # $(top_builddir)/src/util/libgnunetutil.la