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/gns/libgnunetgns.la \
104 $(top_builddir)/src/util/libgnunetutil.la \
105 $(top_builddir)/src/identity/libgnunetidentity.la \
106 $(top_builddir)/src/namestore/libgnunetnamestore.la \
107 $(top_builddir)/src/dns/libgnunetdnsparser.la \
108 $(top_builddir)/src/dns/libgnunetdnsstub.la \
110 gnunet_dns2gns_DEPENDENCIES = \
111 $(top_builddir)/src/util/libgnunetutil.la \
112 $(top_builddir)/src/identity/libgnunetidentity.la \
113 $(top_builddir)/src/namestore/libgnunetnamestore.la \
114 $(top_builddir)/src/dns/libgnunetdnsparser.la \
115 $(top_builddir)/src/dns/libgnunetdnsstub.la \
118 gnunet_gns_proxy_SOURCES = \
120 gnunet_gns_proxy_LDADD = -lmicrohttpd -lcurl -lgnutls \
121 $(top_builddir)/src/gns/libgnunetgns.la \
122 $(top_builddir)/src/identity/libgnunetidentity.la \
123 $(top_builddir)/src/util/libgnunetutil.la \
125 gnunet_gns_proxy_DEPENDENCIES = \
126 $(top_builddir)/src/identity/libgnunetidentity.la \
127 $(top_builddir)/src/util/libgnunetutil.la \
130 gnunet_gns_helper_service_w32_SOURCES = \
131 gnunet-gns-helper-service-w32.c
132 gnunet_gns_helper_service_w32_LDADD = \
133 $(top_builddir)/src/gns/libgnunetgns.la \
134 $(top_builddir)/src/util/libgnunetutil.la \
136 gnunet_gns_helper_service_w32_DEPENDENCIES = \
137 $(top_builddir)/src/util/libgnunetutil.la \
140 w32nsp_install_SOURCES = \
142 w32nsp_install_LDADD = -lws2_32
144 w32nsp_uninstall_SOURCES = \
146 w32nsp_uninstall_LDADD = -lws2_32
148 w32nsp_resolve_SOURCES = \
150 w32nsp_resolve_LDADD = -lws2_32
152 gnunet_service_gns_SOURCES = \
153 gnunet-service-gns.c \
154 gnunet-service-gns_resolver.c gnunet-service-gns_resolver.h \
155 gnunet-service-gns_shorten.c gnunet-service-gns_shorten.h \
156 gnunet-service-gns_interceptor.c gnunet-service-gns_interceptor.h
157 gnunet_service_gns_LDADD = \
159 $(top_builddir)/src/statistics/libgnunetstatistics.la \
160 $(top_builddir)/src/util/libgnunetutil.la \
161 $(top_builddir)/src/dns/libgnunetdns.la \
162 $(top_builddir)/src/dns/libgnunetdnsparser.la \
163 $(top_builddir)/src/dns/libgnunetdnsstub.la \
164 $(top_builddir)/src/dht/libgnunetdht.la \
165 $(top_builddir)/src/namestore/libgnunetnamestore.la \
168 gnunet_service_gns_DEPENDENCIES = \
169 $(top_builddir)/src/statistics/libgnunetstatistics.la \
170 $(top_builddir)/src/util/libgnunetutil.la \
171 $(top_builddir)/src/dns/libgnunetdns.la \
172 $(top_builddir)/src/dns/libgnunetdnsparser.la \
173 $(top_builddir)/src/dht/libgnunetdht.la \
174 $(top_builddir)/src/namestore/libgnunetnamestore.la \
179 libw32nsp_la_SOURCES = \
181 libw32nsp_la_LIBADD = \
183 libw32nsp_la_LDFLAGS = \
184 -export-symbols $(top_srcdir)/src/gns/w32nsp.def \
187 libgnunetgns_la_SOURCES = \
189 libgnunetgns_la_LIBADD = \
190 $(top_builddir)/src/util/libgnunetutil.la $(XLIB) \
191 $(top_builddir)/src/namestore/libgnunetnamestore.la
192 libgnunetgns_la_LDFLAGS = \
194 libgnunetgns_la_DEPENDENCIES = \
195 $(top_builddir)/src/util/libgnunetutil.la \
196 $(top_builddir)/src/namestore/libgnunetnamestore.la
199 libgnunet_plugin_block_gns_la_SOURCES = \
201 libgnunet_plugin_block_gns_la_LIBADD = \
202 $(top_builddir)/src/util/libgnunetutil.la \
203 $(top_builddir)/src/block/libgnunetblock.la \
204 $(top_builddir)/src/namestore/libgnunetnamestore.la
205 libgnunet_plugin_block_gns_la_LDFLAGS = \
207 libgnunet_plugin_block_gns_la_DEPENDENCIES = \
208 $(top_builddir)/src/util/libgnunetutil.la \
209 $(top_builddir)/src/block/libgnunetblock.la \
210 $(top_builddir)/src/namestore/libgnunetnamestore.la
214 test_gns_delegated_lookup.sh \
216 test_gns_ipv6_lookup.sh\
217 test_gns_txt_lookup.sh\
218 test_gns_mx_lookup.sh \
219 test_gns_ns_lookup.sh \
220 test_gns_dht_lookup.sh\
221 test_gns_pseu_shorten.sh\
222 test_gns_plus_lookup.sh\
223 test_gns_zkey_lookup.sh\
224 test_gns_cname_lookup.sh
228 TESTS = $(check_SCRIPTS)