1 AM_CPPFLAGS = -I$(top_srcdir)/src/include
9 SUBDIRS = . $(NSS_SUBDIR)
12 test_gns_defaults.conf \
13 test_gns_simple_lookup.conf \
14 test_gns_nick_shorten.conf \
15 test_gns_dht_default.conf \
16 gns-helper-service-w32.conf \
17 gnunet-gns-proxy-setup-ca \
18 zonefiles/J7POEUT41A8PBFS7KVVDRF88GBOU4HK8PSU5QKVLVE3R9T91E99G.zkey \
19 zonefiles/OEFL7A4VEF1B40QLEMTG5D8G1CN6EN16QUSG5R2DT71GRJN34LSG.zkey \
20 zonefiles/test_zonekey \
24 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
25 DO_W32_HELPER = gnunet-gns-helper-service-w32
26 DO_W32_NSP = libw32nsp.la
27 DO_W32_NSPTOOLS = w32nsp-install w32nsp-uninstall w32nsp-resolve
28 DO_W32_HS_CONF = gns-helper-service-w32.conf
30 USE_VPN = $(top_builddir)/src/vpn/libgnunetvpn.la
33 AM_CFLAGS = --coverage -O0
36 pkgcfgdir = $(pkgdatadir)/config.d/
38 libexecdir= $(pkglibdir)/libexec/
40 plugindir = $(libdir)/gnunet
54 DO_PROXY=gnunet-gns-proxy
71 bin_PROGRAMS += gnunet-bcd
75 bin_SCRIPTS = gnunet-gns-proxy-setup-ca
77 plugin_LTLIBRARIES = \
78 libgnunet_plugin_block_gns.la \
79 libgnunet_plugin_gnsrecord_gns.la
82 libgnunet_plugin_gnsrecord_gns_la_SOURCES = \
83 plugin_gnsrecord_gns.c
84 libgnunet_plugin_gnsrecord_gns_la_LIBADD = \
85 $(top_builddir)/src/dns/libgnunetdnsparser.la \
86 $(top_builddir)/src/util/libgnunetutil.la \
88 libgnunet_plugin_gnsrecord_gns_la_LDFLAGS = \
92 gnunet_gns_SOURCES = \
95 $(top_builddir)/src/gns/libgnunetgns.la \
96 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
97 $(top_builddir)/src/namestore/libgnunetnamestore.la \
98 $(top_builddir)/src/identity/libgnunetidentity.la \
99 $(top_builddir)/src/util/libgnunetutil.la \
101 gnunet_gns_DEPENDENCIES = \
102 $(top_builddir)/src/namestore/libgnunetnamestore.la \
103 $(top_builddir)/src/identity/libgnunetidentity.la \
104 $(top_builddir)/src/util/libgnunetutil.la \
108 gnunet_bcd_SOURCES = \
111 $(top_builddir)/src/util/libgnunetutil.la \
112 $(GN_LIBINTL) -lmicrohttpd
113 gnunet_bcd_DEPENDENCIES = \
114 $(top_builddir)/src/util/libgnunetutil.la
117 gnunet_dns2gns_SOURCES = \
119 gnunet_dns2gns_LDADD = \
120 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
121 $(top_builddir)/src/gns/libgnunetgns.la \
122 $(top_builddir)/src/util/libgnunetutil.la \
123 $(top_builddir)/src/identity/libgnunetidentity.la \
124 $(top_builddir)/src/namestore/libgnunetnamestore.la \
125 $(top_builddir)/src/dns/libgnunetdnsparser.la \
126 $(top_builddir)/src/dns/libgnunetdnsstub.la \
128 gnunet_dns2gns_DEPENDENCIES = \
129 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
130 $(top_builddir)/src/util/libgnunetutil.la \
131 $(top_builddir)/src/identity/libgnunetidentity.la \
132 $(top_builddir)/src/namestore/libgnunetnamestore.la \
133 $(top_builddir)/src/dns/libgnunetdnsparser.la \
134 $(top_builddir)/src/dns/libgnunetdnsstub.la \
137 gnunet_gns_proxy_SOURCES = \
139 gnunet_gns_proxy_LDADD = -lmicrohttpd -lgnurl -lgnutls \
140 $(top_builddir)/src/gns/libgnunetgns.la \
141 $(top_builddir)/src/identity/libgnunetidentity.la \
142 $(top_builddir)/src/util/libgnunetutil.la \
145 gnunet_gns_proxy_LDADD += -lgnutls-dane
147 gnunet_gns_proxy_DEPENDENCIES = \
148 $(top_builddir)/src/identity/libgnunetidentity.la \
149 $(top_builddir)/src/util/libgnunetutil.la \
152 gnunet_gns_helper_service_w32_SOURCES = \
153 gnunet-gns-helper-service-w32.c
154 gnunet_gns_helper_service_w32_LDADD = \
155 $(top_builddir)/src/gns/libgnunetgns.la \
156 $(top_builddir)/src/util/libgnunetutil.la \
158 gnunet_gns_helper_service_w32_DEPENDENCIES = \
159 $(top_builddir)/src/util/libgnunetutil.la \
162 w32nsp_install_SOURCES = \
164 w32nsp_install_LDADD = -lws2_32
166 w32nsp_uninstall_SOURCES = \
168 w32nsp_uninstall_LDADD = -lws2_32
170 w32nsp_resolve_SOURCES = \
172 w32nsp_resolve_LDADD = -lws2_32
174 gnunet_service_gns_SOURCES = \
175 gnunet-service-gns.c \
176 gnunet-service-gns_resolver.c gnunet-service-gns_resolver.h \
177 gnunet-service-gns_shorten.c gnunet-service-gns_shorten.h \
178 gnunet-service-gns_interceptor.c gnunet-service-gns_interceptor.h
179 gnunet_service_gns_LDADD = \
181 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
182 $(top_builddir)/src/revocation/libgnunetrevocation.la \
183 $(top_builddir)/src/statistics/libgnunetstatistics.la \
184 $(top_builddir)/src/util/libgnunetutil.la \
185 $(top_builddir)/src/dns/libgnunetdns.la \
186 $(top_builddir)/src/dns/libgnunetdnsparser.la \
187 $(top_builddir)/src/dns/libgnunetdnsstub.la \
188 $(top_builddir)/src/dht/libgnunetdht.la \
189 $(top_builddir)/src/namecache/libgnunetnamecache.la \
190 $(top_builddir)/src/namestore/libgnunetnamestore.la \
193 gnunet_service_gns_DEPENDENCIES = \
194 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
195 $(top_builddir)/src/revocation/libgnunetrevocation.la \
196 $(top_builddir)/src/statistics/libgnunetstatistics.la \
197 $(top_builddir)/src/util/libgnunetutil.la \
198 $(top_builddir)/src/dns/libgnunetdns.la \
199 $(top_builddir)/src/dns/libgnunetdnsparser.la \
200 $(top_builddir)/src/dht/libgnunetdht.la \
201 $(top_builddir)/src/namestore/libgnunetnamestore.la \
206 libw32nsp_la_SOURCES = \
208 libw32nsp_la_LIBADD = \
210 libw32nsp_la_LDFLAGS = \
211 -export-symbols $(top_srcdir)/src/gns/w32nsp.def \
214 libgnunetgns_la_SOURCES = \
216 libgnunetgns_la_LIBADD = \
217 $(top_builddir)/src/util/libgnunetutil.la $(XLIB) \
218 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la
219 libgnunetgns_la_LDFLAGS = \
221 libgnunetgns_la_DEPENDENCIES = \
222 $(top_builddir)/src/util/libgnunetutil.la \
223 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la
226 libgnunet_plugin_block_gns_la_SOURCES = \
228 libgnunet_plugin_block_gns_la_LIBADD = \
229 $(top_builddir)/src/util/libgnunetutil.la \
230 $(top_builddir)/src/block/libgnunetblock.la \
231 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la
232 libgnunet_plugin_block_gns_la_LDFLAGS = \
234 libgnunet_plugin_block_gns_la_DEPENDENCIES = \
235 $(top_builddir)/src/util/libgnunetutil.la \
236 $(top_builddir)/src/block/libgnunetblock.la \
237 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la
242 test_gns_ipv6_lookup.sh\
243 test_gns_txt_lookup.sh\
244 test_gns_mx_lookup.sh \
245 test_gns_gns2dns_lookup.sh \
246 test_gns_dht_lookup.sh\
247 test_gns_delegated_lookup.sh \
248 test_gns_nick_shorten.sh\
249 test_gns_plus_lookup.sh\
250 test_gns_zkey_lookup.sh\
251 test_gns_rel_expiration.sh\
252 test_gns_soa_lookup.sh\
253 test_gns_revocation.sh\
254 test_gns_cname_lookup.sh
258 TESTS = $(check_SCRIPTS)