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 = \
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/gns/libgnunetgns.la \
96 $(top_builddir)/src/util/libgnunetutil.la \
97 $(top_builddir)/src/identity/libgnunetidentity.la \
98 $(top_builddir)/src/namestore/libgnunetnamestore.la \
99 $(top_builddir)/src/dns/libgnunetdnsparser.la \
100 $(top_builddir)/src/dns/libgnunetdnsstub.la \
103 #gnunet_gns_proxy_SOURCES = \
104 # gnunet-gns-proxy.c gns_proxy_proto.h
105 #gnunet_gns_proxy_LDADD = -lmicrohttpd -lcurl -lgnutls \
106 # $(top_builddir)/src/gns/libgnunetgns.la \
107 # $(top_builddir)/src/util/libgnunetutil.la \
109 #gnunet_gns_proxy_DEPENDENCIES = \
112 gnunet_gns_helper_service_w32_SOURCES = \
113 gnunet-gns-helper-service-w32.c
114 gnunet_gns_helper_service_w32_LDADD = \
115 $(top_builddir)/src/gns/libgnunetgns.la \
116 $(top_builddir)/src/util/libgnunetutil.la \
118 gnunet_gns_helper_service_w32_DEPENDENCIES = \
121 w32nsp_install_SOURCES = \
123 w32nsp_install_LDADD = -lws2_32
125 w32nsp_uninstall_SOURCES = \
127 w32nsp_uninstall_LDADD = -lws2_32
129 w32nsp_resolve_SOURCES = \
131 w32nsp_resolve_LDADD = -lws2_32
133 gnunet_service_gns_SOURCES = \
134 gnunet-service-gns.c \
135 gnunet-service-gns_resolver.c gnunet-service-gns_resolver.h \
136 gnunet-service-gns_shorten.c gnunet-service-gns_shorten.h \
137 gnunet-service-gns_interceptor.c gnunet-service-gns_interceptor.h
138 gnunet_service_gns_LDADD = \
140 $(top_builddir)/src/statistics/libgnunetstatistics.la \
141 $(top_builddir)/src/util/libgnunetutil.la \
142 $(top_builddir)/src/dns/libgnunetdns.la \
143 $(top_builddir)/src/dns/libgnunetdnsparser.la \
144 $(top_builddir)/src/dns/libgnunetdnsstub.la \
145 $(top_builddir)/src/dht/libgnunetdht.la \
146 $(top_builddir)/src/namestore/libgnunetnamestore.la \
149 gnunet_service_gns_DEPENDENCIES = \
150 $(top_builddir)/src/statistics/libgnunetstatistics.la \
151 $(top_builddir)/src/util/libgnunetutil.la \
152 $(top_builddir)/src/dns/libgnunetdns.la \
153 $(top_builddir)/src/dns/libgnunetdnsparser.la \
154 $(top_builddir)/src/dht/libgnunetdht.la \
155 $(top_builddir)/src/namestore/libgnunetnamestore.la \
160 libw32nsp_la_SOURCES = \
162 libw32nsp_la_LIBADD = \
164 libw32nsp_la_LDFLAGS = \
165 -export-symbols $(top_srcdir)/src/gns/w32nsp.def \
168 libgnunetgns_la_SOURCES = \
170 libgnunetgns_la_LIBADD = \
171 $(top_builddir)/src/util/libgnunetutil.la $(XLIB) \
172 $(top_builddir)/src/namestore/libgnunetnamestore.la
173 libgnunetgns_la_LDFLAGS = \
175 libgnunetgns_la_DEPENDENCIES = \
176 $(top_builddir)/src/util/libgnunetutil.la \
177 $(top_builddir)/src/namestore/libgnunetnamestore.la
180 libgnunet_plugin_block_gns_la_SOURCES = \
182 libgnunet_plugin_block_gns_la_LIBADD = \
183 $(top_builddir)/src/util/libgnunetutil.la \
184 $(top_builddir)/src/block/libgnunetblock.la \
185 $(top_builddir)/src/namestore/libgnunetnamestore.la
186 libgnunet_plugin_block_gns_la_LDFLAGS = \
188 libgnunet_plugin_block_gns_la_DEPENDENCIES = \
189 $(top_builddir)/src/util/libgnunetutil.la \
190 $(top_builddir)/src/block/libgnunetblock.la \
191 $(top_builddir)/src/namestore/libgnunetnamestore.la
195 # test_gns_simple_shorten
196 # test_gns_simple_lookup
197 # test_gns_simple_delegated_lookup
198 # test_gns_simple_mx_lookup
199 # test_gns_simple_srv_lookup
200 # test_gns_simple_zkey_lookup
201 # test_gns_dht_delegated_lookup
202 # test_gns_pseu_shorten
203 # test_gns_max_queries
204 # test_gns_cname_lookup
206 # test_gns_revocation
207 # test_gns_dht_three_peers
214 # TESTS = $(check_PROGRAMS)
220 #test_gns_proxy_SOURCES = \
222 #test_gns_proxy_LDADD = -lmicrohttpd @LIBCURL@ \
223 # $(top_builddir)/src/util/libgnunetutil.la \
224 # $(top_builddir)/src/namestore/libgnunetnamestore.la \
225 # $(top_builddir)/src/gns/libgnunetgns.la \
226 # $(top_builddir)/src/testing/libgnunettesting.la
227 #test_gns_proxy_DEPENDENCIES = \
228 # $(top_builddir)/src/util/libgnunetutil.la \
229 # $(top_builddir)/src/namestore/libgnunetnamestore.la \
231 # $(top_builddir)/src/testing/libgnunettesting.la
233 test_gns_dht_three_peers_SOURCES = \
234 test_gns_dht_three_peers.c
235 test_gns_dht_three_peers_LDADD = \
236 $(top_builddir)/src/util/libgnunetutil.la \
237 $(top_builddir)/src/namestore/libgnunetnamestore.la \
238 $(top_builddir)/src/gns/libgnunetgns.la \
239 $(top_builddir)/src/testing/libgnunettesting.la \
240 $(top_builddir)/src/testbed/libgnunettestbed.la
241 test_gns_dht_three_peers_DEPENDENCIES = \
242 $(top_builddir)/src/util/libgnunetutil.la \
243 $(top_builddir)/src/namestore/libgnunetnamestore.la \
245 $(top_builddir)/src/testing/libgnunettesting.la \
246 $(top_builddir)/src/testbed/libgnunettestbed.la
248 test_gns_simple_lookup_SOURCES = \
249 test_gns_simple_lookup.c
250 test_gns_simple_lookup_LDADD = \
251 $(top_builddir)/src/util/libgnunetutil.la \
252 $(top_builddir)/src/namestore/libgnunetnamestore.la \
253 $(top_builddir)/src/gns/libgnunetgns.la \
254 $(top_builddir)/src/testing/libgnunettesting.la
255 test_gns_simple_lookup_DEPENDENCIES = \
256 $(top_builddir)/src/util/libgnunetutil.la \
257 $(top_builddir)/src/namestore/libgnunetnamestore.la \
259 $(top_builddir)/src/testing/libgnunettesting.la
261 test_gns_simple_delegated_lookup_SOURCES = \
262 test_gns_simple_delegated_lookup.c
263 test_gns_simple_delegated_lookup_LDADD = \
264 $(top_builddir)/src/util/libgnunetutil.la \
265 $(top_builddir)/src/namestore/libgnunetnamestore.la \
266 $(top_builddir)/src/gns/libgnunetgns.la \
267 $(top_builddir)/src/testing/libgnunettesting.la
268 test_gns_simple_delegated_lookup_DEPENDENCIES = \
269 $(top_builddir)/src/util/libgnunetutil.la \
270 $(top_builddir)/src/namestore/libgnunetnamestore.la \
272 $(top_builddir)/src/testing/libgnunettesting.la
274 test_gns_simple_mx_lookup_SOURCES = \
275 test_gns_simple_mx_lookup.c
276 test_gns_simple_mx_lookup_LDADD = \
277 $(top_builddir)/src/util/libgnunetutil.la \
278 $(top_builddir)/src/namestore/libgnunetnamestore.la \
279 $(top_builddir)/src/gns/libgnunetgns.la \
280 $(top_builddir)/src/testing/libgnunettesting.la
281 test_gns_simple_mx_lookup_DEPENDENCIES = \
282 $(top_builddir)/src/util/libgnunetutil.la \
283 $(top_builddir)/src/namestore/libgnunetnamestore.la \
285 $(top_builddir)/src/testing/libgnunettesting.la
287 test_gns_simple_srv_lookup_SOURCES = \
288 test_gns_simple_srv_lookup.c
289 test_gns_simple_srv_lookup_LDADD = \
290 $(top_builddir)/src/util/libgnunetutil.la \
291 $(top_builddir)/src/namestore/libgnunetnamestore.la \
292 $(top_builddir)/src/gns/libgnunetgns.la \
293 $(top_builddir)/src/testing/libgnunettesting.la
294 test_gns_simple_srv_lookup_DEPENDENCIES = \
295 $(top_builddir)/src/util/libgnunetutil.la \
296 $(top_builddir)/src/namestore/libgnunetnamestore.la \
298 $(top_builddir)/src/testing/libgnunettesting.la
300 test_gns_simple_zkey_lookup_SOURCES = \
301 test_gns_simple_zkey_lookup.c
302 test_gns_simple_zkey_lookup_LDADD = \
303 $(top_builddir)/src/util/libgnunetutil.la \
304 $(top_builddir)/src/namestore/libgnunetnamestore.la \
305 $(top_builddir)/src/gns/libgnunetgns.la \
306 $(top_builddir)/src/testing/libgnunettesting.la
307 test_gns_simple_zkey_lookup_DEPENDENCIES = \
308 $(top_builddir)/src/util/libgnunetutil.la \
309 $(top_builddir)/src/namestore/libgnunetnamestore.la \
311 $(top_builddir)/src/testing/libgnunettesting.la
313 test_gns_dht_delegated_lookup_SOURCES = \
314 test_gns_dht_delegated_lookup.c
315 test_gns_dht_delegated_lookup_LDADD = \
316 $(top_builddir)/src/util/libgnunetutil.la \
317 $(top_builddir)/src/namestore/libgnunetnamestore.la \
318 $(top_builddir)/src/dht/libgnunetdht.la \
319 $(top_builddir)/src/gns/libgnunetgns.la \
320 $(top_builddir)/src/testing/libgnunettesting.la
321 test_gns_dht_delegated_lookup_DEPENDENCIES = \
322 $(top_builddir)/src/util/libgnunetutil.la \
323 $(top_builddir)/src/namestore/libgnunetnamestore.la \
324 $(top_builddir)/src/dht/libgnunetdht.la \
326 $(top_builddir)/src/testing/libgnunettesting.la
328 test_gns_simple_shorten_SOURCES = \
329 test_gns_simple_shorten.c
330 test_gns_simple_shorten_LDADD = \
331 $(top_builddir)/src/util/libgnunetutil.la \
332 $(top_builddir)/src/namestore/libgnunetnamestore.la \
333 $(top_builddir)/src/gns/libgnunetgns.la \
334 $(top_builddir)/src/testing/libgnunettesting.la
335 test_gns_simple_shorten_DEPENDENCIES = \
336 $(top_builddir)/src/util/libgnunetutil.la \
337 $(top_builddir)/src/namestore/libgnunetnamestore.la \
339 $(top_builddir)/src/testing/libgnunettesting.la
342 test_gns_pseu_shorten_SOURCES = \
343 test_gns_pseu_shorten.c
344 test_gns_pseu_shorten_LDADD = \
345 $(top_builddir)/src/util/libgnunetutil.la \
346 $(top_builddir)/src/namestore/libgnunetnamestore.la \
347 $(top_builddir)/src/dht/libgnunetdht.la \
348 $(top_builddir)/src/gns/libgnunetgns.la \
349 $(top_builddir)/src/testing/libgnunettesting.la
350 test_gns_pseu_shorten_DEPENDENCIES = \
351 $(top_builddir)/src/util/libgnunetutil.la \
352 $(top_builddir)/src/namestore/libgnunetnamestore.la \
353 $(top_builddir)/src/dht/libgnunetdht.la \
355 $(top_builddir)/src/testing/libgnunettesting.la
358 test_gns_max_queries_SOURCES = \
359 test_gns_max_queries.c
360 test_gns_max_queries_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_max_queries_DEPENDENCIES = \
366 $(top_builddir)/src/util/libgnunetutil.la \
367 $(top_builddir)/src/namestore/libgnunetnamestore.la \
369 $(top_builddir)/src/testing/libgnunettesting.la
371 test_gns_cname_lookup_SOURCES = \
372 test_gns_cname_lookup.c
373 test_gns_cname_lookup_LDADD = \
374 $(top_builddir)/src/util/libgnunetutil.la \
375 $(top_builddir)/src/namestore/libgnunetnamestore.la \
376 $(top_builddir)/src/gns/libgnunetgns.la \
377 $(top_builddir)/src/testing/libgnunettesting.la
378 test_gns_cname_lookup_DEPENDENCIES = \
379 $(top_builddir)/src/util/libgnunetutil.la \
380 $(top_builddir)/src/namestore/libgnunetnamestore.la \
382 $(top_builddir)/src/testing/libgnunettesting.la
385 test_gns_ns_lookup_SOURCES = \
387 test_gns_ns_lookup_LDADD = \
388 $(top_builddir)/src/util/libgnunetutil.la \
389 $(top_builddir)/src/namestore/libgnunetnamestore.la \
390 $(top_builddir)/src/gns/libgnunetgns.la \
391 $(top_builddir)/src/testing/libgnunettesting.la
392 test_gns_ns_lookup_DEPENDENCIES = \
393 $(top_builddir)/src/util/libgnunetutil.la \
394 $(top_builddir)/src/namestore/libgnunetnamestore.la \
396 $(top_builddir)/src/testing/libgnunettesting.la
399 test_gns_revocation_SOURCES = \
400 test_gns_revocation.c
401 test_gns_revocation_LDADD = \
402 $(top_builddir)/src/util/libgnunetutil.la \
403 $(top_builddir)/src/namestore/libgnunetnamestore.la \
404 $(top_builddir)/src/gns/libgnunetgns.la \
405 $(top_builddir)/src/testing/libgnunettesting.la
406 test_gns_revocation_DEPENDENCIES = \
407 $(top_builddir)/src/util/libgnunetutil.la \
408 $(top_builddir)/src/namestore/libgnunetnamestore.la \
410 $(top_builddir)/src/testing/libgnunettesting.la
415 #libgnunetnamestore_la_SOURCES = \
416 # namestore_stub_api.c
417 #libgnunetnamestore_la_LIBADD = \
418 # $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
419 #libgnunetnamestore_la_LDFLAGS = \
421 #libgnunetnamestore_la_DEPENDENCIES = \
422 # $(top_builddir)/src/util/libgnunetutil.la