1 INCLUDES = -I$(top_srcdir)/src/include
4 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
8 AM_CFLAGS = --coverage -O0
11 pkgcfgdir= $(pkgdatadir)/config.d/
13 plugindir = $(libdir)/gnunet
22 DO_FCFSD=gnunet-gns-fcfsd
34 test_gns_simple_shorten \
35 test_gns_simple_get_authority \
36 test_gns_simple_lookup \
37 test_gns_simple_delegated_lookup \
38 test_gns_simple_mx_lookup \
39 test_gns_simple_zkey_lookup \
40 test_gns_dht_delegated_lookup \
44 # test_gns_simple_lookup
45 # test_gns_simple_delegated_lookup
46 # test_gns_dht_delegated_lookup
49 plugin_LTLIBRARIES = \
50 libgnunet_plugin_block_gns.la
52 #test_gns_twopeer_SOURCES = \
54 #test_gns_twopeer_LDADD = \
55 # $(top_builddir)/src/util/libgnunetutil.la \
56 # $(top_builddir)/src/namestore/libgnunetnamestore.la \
57 # $(top_builddir)/src/testing/libgnunettesting.la
58 #test_gns_twopeer_DEPENDENCIES = \
59 # $(top_builddir)/src/util/libgnunetutil.la \
60 # $(top_builddir)/src/namestore/libgnunetnamestore.la \
61 # $(top_builddir)/src/testing/libgnunettesting.la
63 test_gns_simple_lookup_SOURCES = \
64 test_gns_simple_lookup.c
65 test_gns_simple_lookup_LDADD = \
66 $(top_builddir)/src/util/libgnunetutil.la \
67 $(top_builddir)/src/namestore/libgnunetnamestore.la \
68 $(top_builddir)/src/gns/libgnunetgns.la \
69 $(top_builddir)/src/testing/libgnunettesting.la
70 test_gns_simple_lookup_DEPENDENCIES = \
71 $(top_builddir)/src/util/libgnunetutil.la \
72 $(top_builddir)/src/namestore/libgnunetnamestore.la \
73 $(top_builddir)/src/gns/libgnunetgns.la \
74 $(top_builddir)/src/testing/libgnunettesting.la
76 test_gns_simple_delegated_lookup_SOURCES = \
77 test_gns_simple_delegated_lookup.c
78 test_gns_simple_delegated_lookup_LDADD = \
79 $(top_builddir)/src/util/libgnunetutil.la \
80 $(top_builddir)/src/namestore/libgnunetnamestore.la \
81 $(top_builddir)/src/gns/libgnunetgns.la \
82 $(top_builddir)/src/testing/libgnunettesting.la
83 test_gns_simple_delegated_lookup_DEPENDENCIES = \
84 $(top_builddir)/src/util/libgnunetutil.la \
85 $(top_builddir)/src/namestore/libgnunetnamestore.la \
86 $(top_builddir)/src/gns/libgnunetgns.la \
87 $(top_builddir)/src/testing/libgnunettesting.la
89 test_gns_simple_mx_lookup_SOURCES = \
90 test_gns_simple_mx_lookup.c
91 test_gns_simple_mx_lookup_LDADD = \
92 $(top_builddir)/src/util/libgnunetutil.la \
93 $(top_builddir)/src/namestore/libgnunetnamestore.la \
94 $(top_builddir)/src/gns/libgnunetgns.la \
95 $(top_builddir)/src/testing/libgnunettesting.la
96 test_gns_simple_mx_lookup_DEPENDENCIES = \
97 $(top_builddir)/src/util/libgnunetutil.la \
98 $(top_builddir)/src/namestore/libgnunetnamestore.la \
99 $(top_builddir)/src/gns/libgnunetgns.la \
100 $(top_builddir)/src/testing/libgnunettesting.la
102 test_gns_simple_zkey_lookup_SOURCES = \
103 test_gns_simple_zkey_lookup.c
104 test_gns_simple_zkey_lookup_LDADD = \
105 $(top_builddir)/src/util/libgnunetutil.la \
106 $(top_builddir)/src/namestore/libgnunetnamestore.la \
107 $(top_builddir)/src/gns/libgnunetgns.la \
108 $(top_builddir)/src/testing/libgnunettesting.la
109 test_gns_simple_zkey_lookup_DEPENDENCIES = \
110 $(top_builddir)/src/util/libgnunetutil.la \
111 $(top_builddir)/src/namestore/libgnunetnamestore.la \
112 $(top_builddir)/src/gns/libgnunetgns.la \
113 $(top_builddir)/src/testing/libgnunettesting.la
115 test_gns_dht_delegated_lookup_SOURCES = \
116 test_gns_dht_delegated_lookup.c
117 test_gns_dht_delegated_lookup_LDADD = \
118 $(top_builddir)/src/util/libgnunetutil.la \
119 $(top_builddir)/src/namestore/libgnunetnamestore.la \
120 $(top_builddir)/src/dht/libgnunetdht.la \
121 $(top_builddir)/src/gns/libgnunetgns.la \
122 $(top_builddir)/src/testing/libgnunettesting.la
123 test_gns_dht_delegated_lookup_DEPENDENCIES = \
124 $(top_builddir)/src/util/libgnunetutil.la \
125 $(top_builddir)/src/namestore/libgnunetnamestore.la \
126 $(top_builddir)/src/dht/libgnunetdht.la \
127 $(top_builddir)/src/gns/libgnunetgns.la \
128 $(top_builddir)/src/testing/libgnunettesting.la
130 test_gns_simple_shorten_SOURCES = \
131 test_gns_simple_shorten.c
132 test_gns_simple_shorten_LDADD = \
133 $(top_builddir)/src/util/libgnunetutil.la \
134 $(top_builddir)/src/namestore/libgnunetnamestore.la \
135 $(top_builddir)/src/gns/libgnunetgns.la \
136 $(top_builddir)/src/testing/libgnunettesting.la
137 test_gns_simple_shorten_DEPENDENCIES = \
138 $(top_builddir)/src/util/libgnunetutil.la \
139 $(top_builddir)/src/namestore/libgnunetnamestore.la \
140 $(top_builddir)/src/gns/libgnunetgns.la \
141 $(top_builddir)/src/testing/libgnunettesting.la
143 test_gns_simple_get_authority_SOURCES = \
144 test_gns_simple_get_authority.c
145 test_gns_simple_get_authority_LDADD = \
146 $(top_builddir)/src/util/libgnunetutil.la \
147 $(top_builddir)/src/namestore/libgnunetnamestore.la \
148 $(top_builddir)/src/gns/libgnunetgns.la \
149 $(top_builddir)/src/testing/libgnunettesting.la
150 test_gns_simple_get_authority_DEPENDENCIES = \
151 $(top_builddir)/src/util/libgnunetutil.la \
152 $(top_builddir)/src/namestore/libgnunetnamestore.la \
153 $(top_builddir)/src/gns/libgnunetgns.la \
154 $(top_builddir)/src/testing/libgnunettesting.la
157 test_gns_pseu_shorten_SOURCES = \
158 test_gns_pseu_shorten.c
159 test_gns_pseu_shorten_LDADD = \
160 $(top_builddir)/src/util/libgnunetutil.la \
161 $(top_builddir)/src/namestore/libgnunetnamestore.la \
162 $(top_builddir)/src/dht/libgnunetdht.la \
163 $(top_builddir)/src/gns/libgnunetgns.la \
164 $(top_builddir)/src/testing/libgnunettesting.la
165 test_gns_pseu_shorten_DEPENDENCIES = \
166 $(top_builddir)/src/util/libgnunetutil.la \
167 $(top_builddir)/src/namestore/libgnunetnamestore.la \
168 $(top_builddir)/src/dht/libgnunetdht.la \
169 $(top_builddir)/src/gns/libgnunetgns.la \
170 $(top_builddir)/src/testing/libgnunettesting.la
172 gnunet_gns_SOURCES = \
175 $(top_builddir)/src/gns/libgnunetgns.la \
176 $(top_builddir)/src/util/libgnunetutil.la \
177 $(top_builddir)/src/namestore/libgnunetnamestore.la \
179 gnunet_gns_DEPENDENCIES = \
182 gnunet_service_gns_SOURCES = \
183 gnunet-service-gns.c \
184 gnunet-service-gns_resolver.c \
185 gnunet-service-gns_interceptor.c
186 gnunet_service_gns_LDADD = \
187 $(top_builddir)/src/tun/libgnunettun.la \
188 $(top_builddir)/src/mesh/libgnunetmesh.la \
189 $(top_builddir)/src/statistics/libgnunetstatistics.la \
190 $(top_builddir)/src/util/libgnunetutil.la \
191 $(top_builddir)/src/dns/libgnunetdns.la \
192 $(top_builddir)/src/dns/libgnunetdnsparser.la \
193 $(top_builddir)/src/dht/libgnunetdht.la \
194 $(top_builddir)/src/namestore/libgnunetnamestore.la \
196 gnunet_service_gns_DEPENDENCIES = \
197 $(top_builddir)/src/tun/libgnunettun.la \
198 $(top_builddir)/src/mesh/libgnunetmesh.la \
199 $(top_builddir)/src/statistics/libgnunetstatistics.la \
200 $(top_builddir)/src/util/libgnunetutil.la \
201 $(top_builddir)/src/dns/libgnunetdns.la \
202 $(top_builddir)/src/dns/libgnunetdnsparser.la \
203 $(top_builddir)/src/dht/libgnunetdht.la \
204 $(top_builddir)/src/namestore/libgnunetnamestore.la
207 gnunet_gns_fcfsd_SOURCES = \
209 gnunet_gns_fcfsd_LDADD = -lmicrohttpd \
210 $(top_builddir)/src/util/libgnunetutil.la \
211 $(top_builddir)/src/namestore/libgnunetnamestore.la \
213 gnunet_gns_fcfsd_DEPENDENCIES = \
214 $(top_builddir)/src/util/libgnunetutil.la \
215 $(top_builddir)/src/namestore/libgnunetnamestore.la
218 libgnunetgns_la_SOURCES = \
220 libgnunetgns_la_LIBADD = \
221 $(top_builddir)/src/util/libgnunetutil.la $(XLIB) \
222 $(top_builddir)/src/namestore/libgnunetnamestore.la
223 libgnunetgns_la_LDFLAGS = \
225 libgnunetgns_la_DEPENDENCIES = \
226 $(top_builddir)/src/util/libgnunetutil.la \
227 $(top_builddir)/src/namestore/libgnunetnamestore.la
229 libgnunet_plugin_block_gns_la_SOURCES = \
231 libgnunet_plugin_block_gns_la_LIBADD = \
232 $(top_builddir)/src/util/libgnunetutil.la \
233 $(top_builddir)/src/block/libgnunetblock.la \
234 $(top_builddir)/src/namestore/libgnunetnamestore.la
235 libgnunet_plugin_block_gns_la_LDFLAGS = \
237 libgnunet_plugin_block_gns_la_DEPENDENCIES = \
238 $(top_builddir)/src/util/libgnunetutil.la \
239 $(top_builddir)/src/block/libgnunetblock.la \
240 $(top_builddir)/src/namestore/libgnunetnamestore.la
243 #libgnunetnamestore_la_SOURCES = \
244 # namestore_stub_api.c
245 #libgnunetnamestore_la_LIBADD = \
246 # $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
247 #libgnunetnamestore_la_LDFLAGS = \
249 #libgnunetnamestore_la_DEPENDENCIES = \
250 # $(top_builddir)/src/util/libgnunetutil.la
253 TESTS = $(check_PROGRAMS)
257 test_gns_simple_lookup.conf