1 INCLUDES = -I$(top_srcdir)/src/include
7 SUBDIRS = . $(NSS_SUBDIR)
10 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
14 AM_CFLAGS = --coverage -O0
17 pkgcfgdir= $(pkgdatadir)/config.d/
19 plugindir = $(libdir)/gnunet
28 DO_FCFSD=gnunet-gns-fcfsd
30 DO_PROXY=gnunet-gns-proxy
40 bin_SCRIPTS=gnunet-gns-proxy-setup-ca
43 test_gns_simple_shorten \
44 test_gns_simple_get_authority \
45 test_gns_simple_lookup \
46 test_gns_simple_delegated_lookup \
47 test_gns_simple_mx_lookup \
48 test_gns_simple_srv_lookup \
49 test_gns_simple_zkey_lookup \
50 test_gns_dht_delegated_lookup \
51 test_gns_pseu_shorten \
52 test_gns_max_queries \
53 test_gns_dht_threepeer \
54 test_gns_cname_lookup \
59 # test_gns_simple_lookup
60 # test_gns_simple_delegated_lookup
61 # test_gns_dht_delegated_lookup
64 plugin_LTLIBRARIES = \
65 libgnunet_plugin_block_gns.la
67 test_gns_dht_threepeer_SOURCES = \
68 test_gns_dht_threepeer.c
69 test_gns_dht_threepeer_LDADD = \
70 $(top_builddir)/src/util/libgnunetutil.la \
71 $(top_builddir)/src/namestore/libgnunetnamestore.la \
72 $(top_builddir)/src/gns/libgnunetgns.la \
73 $(top_builddir)/src/testing_old/libgnunettesting_old.la
74 test_gns_dht_threepeer_DEPENDENCIES = \
75 $(top_builddir)/src/util/libgnunetutil.la \
76 $(top_builddir)/src/namestore/libgnunetnamestore.la \
77 $(top_builddir)/src/gns/libgnunetgns.la \
78 $(top_builddir)/src/testing_old/libgnunettesting_old.la
80 test_gns_simple_lookup_SOURCES = \
81 test_gns_simple_lookup.c
82 test_gns_simple_lookup_LDADD = \
83 $(top_builddir)/src/util/libgnunetutil.la \
84 $(top_builddir)/src/namestore/libgnunetnamestore.la \
85 $(top_builddir)/src/gns/libgnunetgns.la \
86 $(top_builddir)/src/testing_old/libgnunettesting_old.la
87 test_gns_simple_lookup_DEPENDENCIES = \
88 $(top_builddir)/src/util/libgnunetutil.la \
89 $(top_builddir)/src/namestore/libgnunetnamestore.la \
90 $(top_builddir)/src/gns/libgnunetgns.la \
91 $(top_builddir)/src/testing_old/libgnunettesting_old.la
93 test_gns_simple_delegated_lookup_SOURCES = \
94 test_gns_simple_delegated_lookup.c
95 test_gns_simple_delegated_lookup_LDADD = \
96 $(top_builddir)/src/util/libgnunetutil.la \
97 $(top_builddir)/src/namestore/libgnunetnamestore.la \
98 $(top_builddir)/src/gns/libgnunetgns.la \
99 $(top_builddir)/src/testing_old/libgnunettesting_old.la
100 test_gns_simple_delegated_lookup_DEPENDENCIES = \
101 $(top_builddir)/src/util/libgnunetutil.la \
102 $(top_builddir)/src/namestore/libgnunetnamestore.la \
103 $(top_builddir)/src/gns/libgnunetgns.la \
104 $(top_builddir)/src/testing_old/libgnunettesting_old.la
106 test_gns_simple_mx_lookup_SOURCES = \
107 test_gns_simple_mx_lookup.c
108 test_gns_simple_mx_lookup_LDADD = \
109 $(top_builddir)/src/util/libgnunetutil.la \
110 $(top_builddir)/src/namestore/libgnunetnamestore.la \
111 $(top_builddir)/src/gns/libgnunetgns.la \
112 $(top_builddir)/src/testing_old/libgnunettesting_old.la
113 test_gns_simple_mx_lookup_DEPENDENCIES = \
114 $(top_builddir)/src/util/libgnunetutil.la \
115 $(top_builddir)/src/namestore/libgnunetnamestore.la \
116 $(top_builddir)/src/gns/libgnunetgns.la \
117 $(top_builddir)/src/testing_old/libgnunettesting_old.la
119 test_gns_simple_srv_lookup_SOURCES = \
120 test_gns_simple_srv_lookup.c
121 test_gns_simple_srv_lookup_LDADD = \
122 $(top_builddir)/src/util/libgnunetutil.la \
123 $(top_builddir)/src/namestore/libgnunetnamestore.la \
124 $(top_builddir)/src/gns/libgnunetgns.la \
125 $(top_builddir)/src/testing_old/libgnunettesting_old.la
126 test_gns_simple_srv_lookup_DEPENDENCIES = \
127 $(top_builddir)/src/util/libgnunetutil.la \
128 $(top_builddir)/src/namestore/libgnunetnamestore.la \
129 $(top_builddir)/src/gns/libgnunetgns.la \
130 $(top_builddir)/src/testing_old/libgnunettesting_old.la
132 test_gns_simple_zkey_lookup_SOURCES = \
133 test_gns_simple_zkey_lookup.c
134 test_gns_simple_zkey_lookup_LDADD = \
135 $(top_builddir)/src/util/libgnunetutil.la \
136 $(top_builddir)/src/namestore/libgnunetnamestore.la \
137 $(top_builddir)/src/gns/libgnunetgns.la \
138 $(top_builddir)/src/testing_old/libgnunettesting_old.la
139 test_gns_simple_zkey_lookup_DEPENDENCIES = \
140 $(top_builddir)/src/util/libgnunetutil.la \
141 $(top_builddir)/src/namestore/libgnunetnamestore.la \
142 $(top_builddir)/src/gns/libgnunetgns.la \
143 $(top_builddir)/src/testing_old/libgnunettesting_old.la
145 test_gns_dht_delegated_lookup_SOURCES = \
146 test_gns_dht_delegated_lookup.c
147 test_gns_dht_delegated_lookup_LDADD = \
148 $(top_builddir)/src/util/libgnunetutil.la \
149 $(top_builddir)/src/namestore/libgnunetnamestore.la \
150 $(top_builddir)/src/dht/libgnunetdht.la \
151 $(top_builddir)/src/gns/libgnunetgns.la \
152 $(top_builddir)/src/testing_old/libgnunettesting_old.la
153 test_gns_dht_delegated_lookup_DEPENDENCIES = \
154 $(top_builddir)/src/util/libgnunetutil.la \
155 $(top_builddir)/src/namestore/libgnunetnamestore.la \
156 $(top_builddir)/src/dht/libgnunetdht.la \
157 $(top_builddir)/src/gns/libgnunetgns.la \
158 $(top_builddir)/src/testing_old/libgnunettesting_old.la
160 test_gns_simple_shorten_SOURCES = \
161 test_gns_simple_shorten.c
162 test_gns_simple_shorten_LDADD = \
163 $(top_builddir)/src/util/libgnunetutil.la \
164 $(top_builddir)/src/namestore/libgnunetnamestore.la \
165 $(top_builddir)/src/gns/libgnunetgns.la \
166 $(top_builddir)/src/testing_old/libgnunettesting_old.la
167 test_gns_simple_shorten_DEPENDENCIES = \
168 $(top_builddir)/src/util/libgnunetutil.la \
169 $(top_builddir)/src/namestore/libgnunetnamestore.la \
170 $(top_builddir)/src/gns/libgnunetgns.la \
171 $(top_builddir)/src/testing_old/libgnunettesting_old.la
173 test_gns_simple_get_authority_SOURCES = \
174 test_gns_simple_get_authority.c
175 test_gns_simple_get_authority_LDADD = \
176 $(top_builddir)/src/util/libgnunetutil.la \
177 $(top_builddir)/src/namestore/libgnunetnamestore.la \
178 $(top_builddir)/src/gns/libgnunetgns.la \
179 $(top_builddir)/src/testing_old/libgnunettesting_old.la
180 test_gns_simple_get_authority_DEPENDENCIES = \
181 $(top_builddir)/src/util/libgnunetutil.la \
182 $(top_builddir)/src/namestore/libgnunetnamestore.la \
183 $(top_builddir)/src/gns/libgnunetgns.la \
184 $(top_builddir)/src/testing_old/libgnunettesting_old.la
187 test_gns_pseu_shorten_SOURCES = \
188 test_gns_pseu_shorten.c
189 test_gns_pseu_shorten_LDADD = \
190 $(top_builddir)/src/util/libgnunetutil.la \
191 $(top_builddir)/src/namestore/libgnunetnamestore.la \
192 $(top_builddir)/src/dht/libgnunetdht.la \
193 $(top_builddir)/src/gns/libgnunetgns.la \
194 $(top_builddir)/src/testing_old/libgnunettesting_old.la
195 test_gns_pseu_shorten_DEPENDENCIES = \
196 $(top_builddir)/src/util/libgnunetutil.la \
197 $(top_builddir)/src/namestore/libgnunetnamestore.la \
198 $(top_builddir)/src/dht/libgnunetdht.la \
199 $(top_builddir)/src/gns/libgnunetgns.la \
200 $(top_builddir)/src/testing_old/libgnunettesting_old.la
203 test_gns_max_queries_SOURCES = \
204 test_gns_max_queries.c
205 test_gns_max_queries_LDADD = \
206 $(top_builddir)/src/util/libgnunetutil.la \
207 $(top_builddir)/src/namestore/libgnunetnamestore.la \
208 $(top_builddir)/src/gns/libgnunetgns.la \
209 $(top_builddir)/src/testing_old/libgnunettesting_old.la
210 test_gns_max_queries_DEPENDENCIES = \
211 $(top_builddir)/src/util/libgnunetutil.la \
212 $(top_builddir)/src/namestore/libgnunetnamestore.la \
213 $(top_builddir)/src/gns/libgnunetgns.la \
214 $(top_builddir)/src/testing_old/libgnunettesting_old.la
216 test_gns_cname_lookup_SOURCES = \
217 test_gns_cname_lookup.c
218 test_gns_cname_lookup_LDADD = \
219 $(top_builddir)/src/util/libgnunetutil.la \
220 $(top_builddir)/src/namestore/libgnunetnamestore.la \
221 $(top_builddir)/src/gns/libgnunetgns.la \
222 $(top_builddir)/src/testing_old/libgnunettesting_old.la
223 test_gns_cname_lookup_DEPENDENCIES = \
224 $(top_builddir)/src/util/libgnunetutil.la \
225 $(top_builddir)/src/namestore/libgnunetnamestore.la \
226 $(top_builddir)/src/gns/libgnunetgns.la \
227 $(top_builddir)/src/testing_old/libgnunettesting_old.la
230 test_gns_ns_lookup_SOURCES = \
232 test_gns_ns_lookup_LDADD = \
233 $(top_builddir)/src/util/libgnunetutil.la \
234 $(top_builddir)/src/namestore/libgnunetnamestore.la \
235 $(top_builddir)/src/gns/libgnunetgns.la \
236 $(top_builddir)/src/testing_old/libgnunettesting_old.la
237 test_gns_ns_lookup_DEPENDENCIES = \
238 $(top_builddir)/src/util/libgnunetutil.la \
239 $(top_builddir)/src/namestore/libgnunetnamestore.la \
240 $(top_builddir)/src/gns/libgnunetgns.la \
241 $(top_builddir)/src/testing_old/libgnunettesting_old.la
244 test_gns_revocation_SOURCES = \
245 test_gns_revocation.c
246 test_gns_revocation_LDADD = \
247 $(top_builddir)/src/util/libgnunetutil.la \
248 $(top_builddir)/src/namestore/libgnunetnamestore.la \
249 $(top_builddir)/src/gns/libgnunetgns.la \
250 $(top_builddir)/src/testing_old/libgnunettesting_old.la
251 test_gns_revocation_DEPENDENCIES = \
252 $(top_builddir)/src/util/libgnunetutil.la \
253 $(top_builddir)/src/namestore/libgnunetnamestore.la \
254 $(top_builddir)/src/gns/libgnunetgns.la \
255 $(top_builddir)/src/testing_old/libgnunettesting_old.la
258 gnunet_gns_SOURCES = \
261 $(top_builddir)/src/gns/libgnunetgns.la \
262 $(top_builddir)/src/util/libgnunetutil.la \
263 $(top_builddir)/src/namestore/libgnunetnamestore.la \
265 gnunet_gns_DEPENDENCIES = \
268 gnunet_gns_proxy_SOURCES = \
269 gnunet-gns-proxy.c gns_proxy_proto.h
270 gnunet_gns_proxy_LDADD = -lmicrohttpd -lcurl -lgnutls \
271 $(top_builddir)/src/gns/libgnunetgns.la \
272 $(top_builddir)/src/util/libgnunetutil.la \
274 gnunet_gns_proxy_DEPENDENCIES = \
277 gnunet_service_gns_SOURCES = \
278 gnunet-service-gns.c \
279 gnunet-service-gns_resolver.c gnunet-service-gns_resolver.h \
280 gnunet-service-gns_interceptor.c gnunet-service-gns_interceptor.h
281 gnunet_service_gns_LDADD = \
283 $(top_builddir)/src/statistics/libgnunetstatistics.la \
284 $(top_builddir)/src/util/libgnunetutil.la \
285 $(top_builddir)/src/dns/libgnunetdns.la \
286 $(top_builddir)/src/dns/libgnunetdnsparser.la \
287 $(top_builddir)/src/dht/libgnunetdht.la \
288 $(top_builddir)/src/namestore/libgnunetnamestore.la \
289 $(top_builddir)/src/vpn/libgnunetvpn.la \
291 gnunet_service_gns_DEPENDENCIES = \
292 $(top_builddir)/src/statistics/libgnunetstatistics.la \
293 $(top_builddir)/src/util/libgnunetutil.la \
294 $(top_builddir)/src/dns/libgnunetdns.la \
295 $(top_builddir)/src/dns/libgnunetdnsparser.la \
296 $(top_builddir)/src/dht/libgnunetdht.la \
297 $(top_builddir)/src/namestore/libgnunetnamestore.la \
298 $(top_builddir)/src/vpn/libgnunetvpn.la
301 gnunet_gns_fcfsd_SOURCES = \
303 gnunet_gns_fcfsd_LDADD = -lmicrohttpd \
304 $(top_builddir)/src/util/libgnunetutil.la \
305 $(top_builddir)/src/namestore/libgnunetnamestore.la \
307 gnunet_gns_fcfsd_DEPENDENCIES = \
308 $(top_builddir)/src/util/libgnunetutil.la \
309 $(top_builddir)/src/namestore/libgnunetnamestore.la
312 libgnunetgns_la_SOURCES = \
314 libgnunetgns_la_LIBADD = \
315 $(top_builddir)/src/util/libgnunetutil.la $(XLIB) \
316 $(top_builddir)/src/namestore/libgnunetnamestore.la
317 libgnunetgns_la_LDFLAGS = \
319 libgnunetgns_la_DEPENDENCIES = \
320 $(top_builddir)/src/util/libgnunetutil.la \
321 $(top_builddir)/src/namestore/libgnunetnamestore.la
323 libgnunet_plugin_block_gns_la_SOURCES = \
325 libgnunet_plugin_block_gns_la_LIBADD = \
326 $(top_builddir)/src/util/libgnunetutil.la \
327 $(top_builddir)/src/block/libgnunetblock.la \
328 $(top_builddir)/src/namestore/libgnunetnamestore.la
329 libgnunet_plugin_block_gns_la_LDFLAGS = \
331 libgnunet_plugin_block_gns_la_DEPENDENCIES = \
332 $(top_builddir)/src/util/libgnunetutil.la \
333 $(top_builddir)/src/block/libgnunetblock.la \
334 $(top_builddir)/src/namestore/libgnunetnamestore.la
337 #libgnunetnamestore_la_SOURCES = \
338 # namestore_stub_api.c
339 #libgnunetnamestore_la_LIBADD = \
340 # $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
341 #libgnunetnamestore_la_LDFLAGS = \
343 #libgnunetnamestore_la_DEPENDENCIES = \
344 # $(top_builddir)/src/util/libgnunetutil.la
348 TESTS = $(check_PROGRAMS)
353 test_gns_defaults.conf \
354 test_gns_simple_lookup.conf \
355 test_gns_dht_default.conf \
356 zonefiles/188JSUMKEF25GVU8TTV0PBNNN8JVCPUEDFV1UHJJU884JD25V0T0.zkey \
357 zonefiles/OEFL7A4VEF1B40QLEMTG5D8G1CN6EN16QUSG5R2DT71GRJN34LSG.zkey \
358 zonefiles/test_zonekey