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 -lcurl -lgnutls \
123 $(top_builddir)/src/gns/libgnunetgns.la \
124 $(top_builddir)/src/identity/libgnunetidentity.la \
125 $(top_builddir)/src/util/libgnunetutil.la \
127 gnunet_gns_proxy_DEPENDENCIES = \
128 $(top_builddir)/src/identity/libgnunetidentity.la \
129 $(top_builddir)/src/util/libgnunetutil.la \
132 gnunet_gns_helper_service_w32_SOURCES = \
133 gnunet-gns-helper-service-w32.c
134 gnunet_gns_helper_service_w32_LDADD = \
135 $(top_builddir)/src/gns/libgnunetgns.la \
136 $(top_builddir)/src/util/libgnunetutil.la \
138 gnunet_gns_helper_service_w32_DEPENDENCIES = \
139 $(top_builddir)/src/util/libgnunetutil.la \
142 w32nsp_install_SOURCES = \
144 w32nsp_install_LDADD = -lws2_32
146 w32nsp_uninstall_SOURCES = \
148 w32nsp_uninstall_LDADD = -lws2_32
150 w32nsp_resolve_SOURCES = \
152 w32nsp_resolve_LDADD = -lws2_32
154 gnunet_service_gns_SOURCES = \
155 gnunet-service-gns.c \
156 gnunet-service-gns_resolver.c gnunet-service-gns_resolver.h \
157 gnunet-service-gns_shorten.c gnunet-service-gns_shorten.h \
158 gnunet-service-gns_interceptor.c gnunet-service-gns_interceptor.h
159 gnunet_service_gns_LDADD = \
161 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
162 $(top_builddir)/src/statistics/libgnunetstatistics.la \
163 $(top_builddir)/src/util/libgnunetutil.la \
164 $(top_builddir)/src/dns/libgnunetdns.la \
165 $(top_builddir)/src/dns/libgnunetdnsparser.la \
166 $(top_builddir)/src/dns/libgnunetdnsstub.la \
167 $(top_builddir)/src/dht/libgnunetdht.la \
168 $(top_builddir)/src/namecache/libgnunetnamecache.la \
169 $(top_builddir)/src/namestore/libgnunetnamestore.la \
172 gnunet_service_gns_DEPENDENCIES = \
173 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
174 $(top_builddir)/src/statistics/libgnunetstatistics.la \
175 $(top_builddir)/src/util/libgnunetutil.la \
176 $(top_builddir)/src/dns/libgnunetdns.la \
177 $(top_builddir)/src/dns/libgnunetdnsparser.la \
178 $(top_builddir)/src/dht/libgnunetdht.la \
179 $(top_builddir)/src/namestore/libgnunetnamestore.la \
184 libw32nsp_la_SOURCES = \
186 libw32nsp_la_LIBADD = \
188 libw32nsp_la_LDFLAGS = \
189 -export-symbols $(top_srcdir)/src/gns/w32nsp.def \
192 libgnunetgns_la_SOURCES = \
194 libgnunetgns_la_LIBADD = \
195 $(top_builddir)/src/util/libgnunetutil.la $(XLIB) \
196 $(top_builddir)/src/namestore/libgnunetnamestore.la
197 libgnunetgns_la_LDFLAGS = \
199 libgnunetgns_la_DEPENDENCIES = \
200 $(top_builddir)/src/util/libgnunetutil.la \
201 $(top_builddir)/src/namestore/libgnunetnamestore.la
204 libgnunet_plugin_block_gns_la_SOURCES = \
206 libgnunet_plugin_block_gns_la_LIBADD = \
207 $(top_builddir)/src/util/libgnunetutil.la \
208 $(top_builddir)/src/block/libgnunetblock.la \
209 $(top_builddir)/src/namestore/libgnunetnamestore.la
210 libgnunet_plugin_block_gns_la_LDFLAGS = \
212 libgnunet_plugin_block_gns_la_DEPENDENCIES = \
213 $(top_builddir)/src/util/libgnunetutil.la \
214 $(top_builddir)/src/block/libgnunetblock.la \
215 $(top_builddir)/src/namestore/libgnunetnamestore.la
219 test_gns_delegated_lookup.sh \
221 test_gns_ipv6_lookup.sh\
222 test_gns_txt_lookup.sh\
223 test_gns_mx_lookup.sh \
224 test_gns_ns_lookup.sh \
225 test_gns_dht_lookup.sh\
226 test_gns_pseu_shorten.sh\
227 test_gns_plus_lookup.sh\
228 test_gns_zkey_lookup.sh\
229 test_gns_cname_lookup.sh
233 TESTS = $(check_SCRIPTS)