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
73 gnunet_gns_SOURCES = \
76 $(top_builddir)/src/gns/libgnunetgns.la \
77 $(top_builddir)/src/namestore/libgnunetnamestore.la \
78 $(top_builddir)/src/identity/libgnunetidentity.la \
79 $(top_builddir)/src/util/libgnunetutil.la \
81 gnunet_gns_DEPENDENCIES = \
82 $(top_builddir)/src/namestore/libgnunetnamestore.la \
83 $(top_builddir)/src/identity/libgnunetidentity.la \
84 $(top_builddir)/src/util/libgnunetutil.la \
87 gnunet_dns2gns_SOURCES = \
89 gnunet_dns2gns_LDADD = \
90 $(top_builddir)/src/gns/libgnunetgns.la \
91 $(top_builddir)/src/util/libgnunetutil.la \
92 $(top_builddir)/src/identity/libgnunetidentity.la \
93 $(top_builddir)/src/namestore/libgnunetnamestore.la \
94 $(top_builddir)/src/dns/libgnunetdnsparser.la \
95 $(top_builddir)/src/dns/libgnunetdnsstub.la \
97 gnunet_dns2gns_DEPENDENCIES = \
98 $(top_builddir)/src/util/libgnunetutil.la \
99 $(top_builddir)/src/identity/libgnunetidentity.la \
100 $(top_builddir)/src/namestore/libgnunetnamestore.la \
101 $(top_builddir)/src/dns/libgnunetdnsparser.la \
102 $(top_builddir)/src/dns/libgnunetdnsstub.la \
105 gnunet_gns_proxy_SOURCES = \
107 gnunet_gns_proxy_LDADD = -lmicrohttpd -lcurl -lgnutls \
108 $(top_builddir)/src/gns/libgnunetgns.la \
109 $(top_builddir)/src/identity/libgnunetidentity.la \
110 $(top_builddir)/src/util/libgnunetutil.la \
112 gnunet_gns_proxy_DEPENDENCIES = \
113 $(top_builddir)/src/identity/libgnunetidentity.la \
114 $(top_builddir)/src/util/libgnunetutil.la \
117 gnunet_gns_helper_service_w32_SOURCES = \
118 gnunet-gns-helper-service-w32.c
119 gnunet_gns_helper_service_w32_LDADD = \
120 $(top_builddir)/src/gns/libgnunetgns.la \
121 $(top_builddir)/src/util/libgnunetutil.la \
123 gnunet_gns_helper_service_w32_DEPENDENCIES = \
124 $(top_builddir)/src/util/libgnunetutil.la \
127 w32nsp_install_SOURCES = \
129 w32nsp_install_LDADD = -lws2_32
131 w32nsp_uninstall_SOURCES = \
133 w32nsp_uninstall_LDADD = -lws2_32
135 w32nsp_resolve_SOURCES = \
137 w32nsp_resolve_LDADD = -lws2_32
139 gnunet_service_gns_SOURCES = \
140 gnunet-service-gns.c \
141 gnunet-service-gns_resolver.c gnunet-service-gns_resolver.h \
142 gnunet-service-gns_shorten.c gnunet-service-gns_shorten.h \
143 gnunet-service-gns_interceptor.c gnunet-service-gns_interceptor.h
144 gnunet_service_gns_LDADD = \
146 $(top_builddir)/src/statistics/libgnunetstatistics.la \
147 $(top_builddir)/src/util/libgnunetutil.la \
148 $(top_builddir)/src/dns/libgnunetdns.la \
149 $(top_builddir)/src/dns/libgnunetdnsparser.la \
150 $(top_builddir)/src/dns/libgnunetdnsstub.la \
151 $(top_builddir)/src/dht/libgnunetdht.la \
152 $(top_builddir)/src/namestore/libgnunetnamestore.la \
155 gnunet_service_gns_DEPENDENCIES = \
156 $(top_builddir)/src/statistics/libgnunetstatistics.la \
157 $(top_builddir)/src/util/libgnunetutil.la \
158 $(top_builddir)/src/dns/libgnunetdns.la \
159 $(top_builddir)/src/dns/libgnunetdnsparser.la \
160 $(top_builddir)/src/dht/libgnunetdht.la \
161 $(top_builddir)/src/namestore/libgnunetnamestore.la \
166 libw32nsp_la_SOURCES = \
168 libw32nsp_la_LIBADD = \
170 libw32nsp_la_LDFLAGS = \
171 -export-symbols $(top_srcdir)/src/gns/w32nsp.def \
174 libgnunetgns_la_SOURCES = \
176 libgnunetgns_la_LIBADD = \
177 $(top_builddir)/src/util/libgnunetutil.la $(XLIB) \
178 $(top_builddir)/src/namestore/libgnunetnamestore.la
179 libgnunetgns_la_LDFLAGS = \
181 libgnunetgns_la_DEPENDENCIES = \
182 $(top_builddir)/src/util/libgnunetutil.la \
183 $(top_builddir)/src/namestore/libgnunetnamestore.la
186 libgnunet_plugin_block_gns_la_SOURCES = \
188 libgnunet_plugin_block_gns_la_LIBADD = \
189 $(top_builddir)/src/util/libgnunetutil.la \
190 $(top_builddir)/src/block/libgnunetblock.la \
191 $(top_builddir)/src/namestore/libgnunetnamestore.la
192 libgnunet_plugin_block_gns_la_LDFLAGS = \
194 libgnunet_plugin_block_gns_la_DEPENDENCIES = \
195 $(top_builddir)/src/util/libgnunetutil.la \
196 $(top_builddir)/src/block/libgnunetblock.la \
197 $(top_builddir)/src/namestore/libgnunetnamestore.la
201 test_gns_delegated_lookup.sh \
203 test_gns_ipv6_lookup.sh\
204 test_gns_txt_lookup.sh\
205 test_gns_mx_lookup.sh \
206 test_gns_ns_lookup.sh \
207 test_gns_dht_lookup.sh\
208 test_gns_pseu_shorten.sh\
209 test_gns_cname_lookup.sh
213 TESTS = $(check_SCRIPTS)