1 AM_CPPFLAGS = -I$(top_srcdir)/src/include
7 SUBDIRS = . $(NSS_SUBDIR)
10 test_gns_defaults.conf \
11 test_gns_simple_lookup.conf \
12 test_gns_dht_default.conf \
13 gns-helper-service-w32.conf \
14 gnunet-gns-proxy-setup-ca \
15 zonefiles/J7POEUT41A8PBFS7KVVDRF88GBOU4HK8PSU5QKVLVE3R9T91E99G.zkey \
16 zonefiles/OEFL7A4VEF1B40QLEMTG5D8G1CN6EN16QUSG5R2DT71GRJN34LSG.zkey \
17 zonefiles/test_zonekey \
21 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
22 DO_W32_HELPER = gnunet-gns-helper-service-w32
23 DO_W32_NSP = libw32nsp.la
24 DO_W32_NSPTOOLS = w32nsp-install w32nsp-uninstall w32nsp-resolve
25 DO_W32_HS_CONF = gns-helper-service-w32.conf
27 USE_VPN = $(top_builddir)/src/vpn/libgnunetvpn.la
30 AM_CFLAGS = --coverage -O0
33 pkgcfgdir = $(pkgdatadir)/config.d/
35 libexecdir= $(pkglibdir)/libexec/
37 plugindir = $(libdir)/gnunet
51 # DO_PROXY=gnunet-gns-proxy
66 bin_SCRIPTS = gnunet-gns-proxy-setup-ca
68 plugin_LTLIBRARIES = \
69 libgnunet_plugin_block_gns.la
71 gnunet_gns_SOURCES = \
74 $(top_builddir)/src/gns/libgnunetgns.la \
75 $(top_builddir)/src/namestore/libgnunetnamestore.la \
76 $(top_builddir)/src/identity/libgnunetidentity.la \
77 $(top_builddir)/src/util/libgnunetutil.la \
79 gnunet_gns_DEPENDENCIES = \
80 $(top_builddir)/src/namestore/libgnunetnamestore.la \
81 $(top_builddir)/src/identity/libgnunetidentity.la \
82 $(top_builddir)/src/util/libgnunetutil.la \
85 gnunet_dns2gns_SOURCES = \
87 gnunet_dns2gns_LDADD = \
88 $(top_builddir)/src/gns/libgnunetgns.la \
89 $(top_builddir)/src/util/libgnunetutil.la \
90 $(top_builddir)/src/identity/libgnunetidentity.la \
91 $(top_builddir)/src/namestore/libgnunetnamestore.la \
92 $(top_builddir)/src/dns/libgnunetdnsparser.la \
93 $(top_builddir)/src/dns/libgnunetdnsstub.la \
95 gnunet_dns2gns_DEPENDENCIES = \
96 $(top_builddir)/src/util/libgnunetutil.la \
97 $(top_builddir)/src/identity/libgnunetidentity.la \
98 $(top_builddir)/src/namestore/libgnunetnamestore.la \
99 $(top_builddir)/src/dns/libgnunetdnsparser.la \
100 $(top_builddir)/src/dns/libgnunetdnsstub.la \
103 gnunet_gns_proxy_SOURCES = \
105 gnunet_gns_proxy_LDADD = -lmicrohttpd -lcurl -lgnutls \
106 $(top_builddir)/src/gns/libgnunetgns.la \
107 $(top_builddir)/src/identity/libgnunetidentity.la \
108 $(top_builddir)/src/util/libgnunetutil.la \
110 gnunet_gns_proxy_DEPENDENCIES = \
111 $(top_builddir)/src/identity/libgnunetidentity.la \
112 $(top_builddir)/src/util/libgnunetutil.la \
115 gnunet_gns_helper_service_w32_SOURCES = \
116 gnunet-gns-helper-service-w32.c
117 gnunet_gns_helper_service_w32_LDADD = \
118 $(top_builddir)/src/gns/libgnunetgns.la \
119 $(top_builddir)/src/util/libgnunetutil.la \
121 gnunet_gns_helper_service_w32_DEPENDENCIES = \
122 $(top_builddir)/src/util/libgnunetutil.la \
125 w32nsp_install_SOURCES = \
127 w32nsp_install_LDADD = -lws2_32
129 w32nsp_uninstall_SOURCES = \
131 w32nsp_uninstall_LDADD = -lws2_32
133 w32nsp_resolve_SOURCES = \
135 w32nsp_resolve_LDADD = -lws2_32
137 gnunet_service_gns_SOURCES = \
138 gnunet-service-gns.c \
139 gnunet-service-gns_resolver.c gnunet-service-gns_resolver.h \
140 gnunet-service-gns_shorten.c gnunet-service-gns_shorten.h \
141 gnunet-service-gns_interceptor.c gnunet-service-gns_interceptor.h
142 gnunet_service_gns_LDADD = \
144 $(top_builddir)/src/statistics/libgnunetstatistics.la \
145 $(top_builddir)/src/util/libgnunetutil.la \
146 $(top_builddir)/src/dns/libgnunetdns.la \
147 $(top_builddir)/src/dns/libgnunetdnsparser.la \
148 $(top_builddir)/src/dns/libgnunetdnsstub.la \
149 $(top_builddir)/src/dht/libgnunetdht.la \
150 $(top_builddir)/src/namestore/libgnunetnamestore.la \
153 gnunet_service_gns_DEPENDENCIES = \
154 $(top_builddir)/src/statistics/libgnunetstatistics.la \
155 $(top_builddir)/src/util/libgnunetutil.la \
156 $(top_builddir)/src/dns/libgnunetdns.la \
157 $(top_builddir)/src/dns/libgnunetdnsparser.la \
158 $(top_builddir)/src/dht/libgnunetdht.la \
159 $(top_builddir)/src/namestore/libgnunetnamestore.la \
164 libw32nsp_la_SOURCES = \
166 libw32nsp_la_LIBADD = \
168 libw32nsp_la_LDFLAGS = \
169 -export-symbols $(top_srcdir)/src/gns/w32nsp.def \
172 libgnunetgns_la_SOURCES = \
174 libgnunetgns_la_LIBADD = \
175 $(top_builddir)/src/util/libgnunetutil.la $(XLIB) \
176 $(top_builddir)/src/namestore/libgnunetnamestore.la
177 libgnunetgns_la_LDFLAGS = \
179 libgnunetgns_la_DEPENDENCIES = \
180 $(top_builddir)/src/util/libgnunetutil.la \
181 $(top_builddir)/src/namestore/libgnunetnamestore.la
184 libgnunet_plugin_block_gns_la_SOURCES = \
186 libgnunet_plugin_block_gns_la_LIBADD = \
187 $(top_builddir)/src/util/libgnunetutil.la \
188 $(top_builddir)/src/block/libgnunetblock.la \
189 $(top_builddir)/src/namestore/libgnunetnamestore.la
190 libgnunet_plugin_block_gns_la_LDFLAGS = \
192 libgnunet_plugin_block_gns_la_DEPENDENCIES = \
193 $(top_builddir)/src/util/libgnunetutil.la \
194 $(top_builddir)/src/block/libgnunetblock.la \
195 $(top_builddir)/src/namestore/libgnunetnamestore.la
199 test_gns_delegated_lookup.sh \
204 TESTS = $(check_SCRIPTS)