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_dht_default.conf \
15 gns-helper-service-w32.conf \
16 gnunet-gns-proxy-setup-ca \
17 zonefiles/J7POEUT41A8PBFS7KVVDRF88GBOU4HK8PSU5QKVLVE3R9T91E99G.zkey \
18 zonefiles/OEFL7A4VEF1B40QLEMTG5D8G1CN6EN16QUSG5R2DT71GRJN34LSG.zkey \
19 zonefiles/test_zonekey \
23 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
24 DO_W32_HELPER = gnunet-gns-helper-service-w32
25 DO_W32_NSP = libw32nsp.la
26 DO_W32_NSPTOOLS = w32nsp-install w32nsp-uninstall w32nsp-resolve
27 DO_W32_HS_CONF = gns-helper-service-w32.conf
29 USE_VPN = $(top_builddir)/src/vpn/libgnunetvpn.la
32 AM_CFLAGS = --coverage -O0
35 pkgcfgdir = $(pkgdatadir)/config.d/
37 libexecdir= $(pkglibdir)/libexec/
39 plugindir = $(libdir)/gnunet
53 DO_PROXY=gnunet-gns-proxy
68 bin_SCRIPTS = gnunet-gns-proxy-setup-ca
70 plugin_LTLIBRARIES = \
71 libgnunet_plugin_block_gns.la \
72 libgnunet_plugin_gnsrecord_gns.la
75 libgnunet_plugin_gnsrecord_gns_la_SOURCES = \
76 plugin_gnsrecord_gns.c
77 libgnunet_plugin_gnsrecord_gns_la_LIBADD = \
78 $(top_builddir)/src/dns/libgnunetdnsparser.la \
79 $(top_builddir)/src/util/libgnunetutil.la \
81 libgnunet_plugin_gnsrecord_gns_la_LDFLAGS = \
85 gnunet_gns_SOURCES = \
88 $(top_builddir)/src/gns/libgnunetgns.la \
89 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
90 $(top_builddir)/src/namestore/libgnunetnamestore.la \
91 $(top_builddir)/src/identity/libgnunetidentity.la \
92 $(top_builddir)/src/util/libgnunetutil.la \
94 gnunet_gns_DEPENDENCIES = \
95 $(top_builddir)/src/namestore/libgnunetnamestore.la \
96 $(top_builddir)/src/identity/libgnunetidentity.la \
97 $(top_builddir)/src/util/libgnunetutil.la \
100 gnunet_dns2gns_SOURCES = \
102 gnunet_dns2gns_LDADD = \
103 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
104 $(top_builddir)/src/gns/libgnunetgns.la \
105 $(top_builddir)/src/util/libgnunetutil.la \
106 $(top_builddir)/src/identity/libgnunetidentity.la \
107 $(top_builddir)/src/namestore/libgnunetnamestore.la \
108 $(top_builddir)/src/dns/libgnunetdnsparser.la \
109 $(top_builddir)/src/dns/libgnunetdnsstub.la \
111 gnunet_dns2gns_DEPENDENCIES = \
112 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
113 $(top_builddir)/src/util/libgnunetutil.la \
114 $(top_builddir)/src/identity/libgnunetidentity.la \
115 $(top_builddir)/src/namestore/libgnunetnamestore.la \
116 $(top_builddir)/src/dns/libgnunetdnsparser.la \
117 $(top_builddir)/src/dns/libgnunetdnsstub.la \
120 gnunet_gns_proxy_SOURCES = \
122 gnunet_gns_proxy_LDADD = -lmicrohttpd -lgnurl -lgnutls \
123 $(top_builddir)/src/gns/libgnunetgns.la \
124 $(top_builddir)/src/identity/libgnunetidentity.la \
125 $(top_builddir)/src/util/libgnunetutil.la \
128 gnunet_gns_proxy_LDADD += -lgnutls-dane
130 gnunet_gns_proxy_DEPENDENCIES = \
131 $(top_builddir)/src/identity/libgnunetidentity.la \
132 $(top_builddir)/src/util/libgnunetutil.la \
135 gnunet_gns_helper_service_w32_SOURCES = \
136 gnunet-gns-helper-service-w32.c
137 gnunet_gns_helper_service_w32_LDADD = \
138 $(top_builddir)/src/gns/libgnunetgns.la \
139 $(top_builddir)/src/util/libgnunetutil.la \
141 gnunet_gns_helper_service_w32_DEPENDENCIES = \
142 $(top_builddir)/src/util/libgnunetutil.la \
145 w32nsp_install_SOURCES = \
147 w32nsp_install_LDADD = -lws2_32
149 w32nsp_uninstall_SOURCES = \
151 w32nsp_uninstall_LDADD = -lws2_32
153 w32nsp_resolve_SOURCES = \
155 w32nsp_resolve_LDADD = -lws2_32
157 gnunet_service_gns_SOURCES = \
158 gnunet-service-gns.c \
159 gnunet-service-gns_resolver.c gnunet-service-gns_resolver.h \
160 gnunet-service-gns_shorten.c gnunet-service-gns_shorten.h \
161 gnunet-service-gns_interceptor.c gnunet-service-gns_interceptor.h
162 gnunet_service_gns_LDADD = \
164 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
165 $(top_builddir)/src/revocation/libgnunetrevocation.la \
166 $(top_builddir)/src/statistics/libgnunetstatistics.la \
167 $(top_builddir)/src/util/libgnunetutil.la \
168 $(top_builddir)/src/dns/libgnunetdns.la \
169 $(top_builddir)/src/dns/libgnunetdnsparser.la \
170 $(top_builddir)/src/dns/libgnunetdnsstub.la \
171 $(top_builddir)/src/dht/libgnunetdht.la \
172 $(top_builddir)/src/namecache/libgnunetnamecache.la \
173 $(top_builddir)/src/namestore/libgnunetnamestore.la \
176 gnunet_service_gns_DEPENDENCIES = \
177 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
178 $(top_builddir)/src/revocation/libgnunetrevocation.la \
179 $(top_builddir)/src/statistics/libgnunetstatistics.la \
180 $(top_builddir)/src/util/libgnunetutil.la \
181 $(top_builddir)/src/dns/libgnunetdns.la \
182 $(top_builddir)/src/dns/libgnunetdnsparser.la \
183 $(top_builddir)/src/dht/libgnunetdht.la \
184 $(top_builddir)/src/namestore/libgnunetnamestore.la \
189 libw32nsp_la_SOURCES = \
191 libw32nsp_la_LIBADD = \
193 libw32nsp_la_LDFLAGS = \
194 -export-symbols $(top_srcdir)/src/gns/w32nsp.def \
197 libgnunetgns_la_SOURCES = \
199 libgnunetgns_la_LIBADD = \
200 $(top_builddir)/src/util/libgnunetutil.la $(XLIB) \
201 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la
202 libgnunetgns_la_LDFLAGS = \
204 libgnunetgns_la_DEPENDENCIES = \
205 $(top_builddir)/src/util/libgnunetutil.la \
206 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la
209 libgnunet_plugin_block_gns_la_SOURCES = \
211 libgnunet_plugin_block_gns_la_LIBADD = \
212 $(top_builddir)/src/util/libgnunetutil.la \
213 $(top_builddir)/src/block/libgnunetblock.la \
214 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la
215 libgnunet_plugin_block_gns_la_LDFLAGS = \
217 libgnunet_plugin_block_gns_la_DEPENDENCIES = \
218 $(top_builddir)/src/util/libgnunetutil.la \
219 $(top_builddir)/src/block/libgnunetblock.la \
220 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la
225 test_gns_ipv6_lookup.sh\
226 test_gns_txt_lookup.sh\
227 test_gns_mx_lookup.sh \
228 test_gns_gns2dns_lookup.sh \
229 test_gns_dht_lookup.sh\
230 test_gns_delegated_lookup.sh \
231 test_gns_nick_shorten.sh\
232 test_gns_plus_lookup.sh\
233 test_gns_zkey_lookup.sh\
234 test_gns_rel_expiration.sh\
235 test_gns_soa_lookup.sh\
236 test_gns_revocation.sh\
237 test_gns_cname_lookup.sh
241 TESTS = $(check_SCRIPTS)