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_dht_delegated_lookup \
43 # test_gns_simple_lookup
44 # test_gns_simple_delegated_lookup
45 # test_gns_dht_delegated_lookup
48 plugin_LTLIBRARIES = \
49 libgnunet_plugin_block_gns.la
51 #test_gns_twopeer_SOURCES = \
53 #test_gns_twopeer_LDADD = \
54 # $(top_builddir)/src/util/libgnunetutil.la \
55 # $(top_builddir)/src/namestore/libgnunetnamestore.la \
56 # $(top_builddir)/src/testing/libgnunettesting.la
57 #test_gns_twopeer_DEPENDENCIES = \
58 # $(top_builddir)/src/util/libgnunetutil.la \
59 # $(top_builddir)/src/namestore/libgnunetnamestore.la \
60 # $(top_builddir)/src/testing/libgnunettesting.la
62 test_gns_simple_lookup_SOURCES = \
63 test_gns_simple_lookup.c
64 test_gns_simple_lookup_LDADD = \
65 $(top_builddir)/src/util/libgnunetutil.la \
66 $(top_builddir)/src/namestore/libgnunetnamestore.la \
67 $(top_builddir)/src/gns/libgnunetgns.la \
68 $(top_builddir)/src/testing/libgnunettesting.la
69 test_gns_simple_lookup_DEPENDENCIES = \
70 $(top_builddir)/src/util/libgnunetutil.la \
71 $(top_builddir)/src/namestore/libgnunetnamestore.la \
72 $(top_builddir)/src/gns/libgnunetgns.la \
73 $(top_builddir)/src/testing/libgnunettesting.la
75 test_gns_simple_delegated_lookup_SOURCES = \
76 test_gns_simple_delegated_lookup.c
77 test_gns_simple_delegated_lookup_LDADD = \
78 $(top_builddir)/src/util/libgnunetutil.la \
79 $(top_builddir)/src/namestore/libgnunetnamestore.la \
80 $(top_builddir)/src/gns/libgnunetgns.la \
81 $(top_builddir)/src/testing/libgnunettesting.la
82 test_gns_simple_delegated_lookup_DEPENDENCIES = \
83 $(top_builddir)/src/util/libgnunetutil.la \
84 $(top_builddir)/src/namestore/libgnunetnamestore.la \
85 $(top_builddir)/src/gns/libgnunetgns.la \
86 $(top_builddir)/src/testing/libgnunettesting.la
88 test_gns_simple_mx_lookup_SOURCES = \
89 test_gns_simple_mx_lookup.c
90 test_gns_simple_mx_lookup_LDADD = \
91 $(top_builddir)/src/util/libgnunetutil.la \
92 $(top_builddir)/src/namestore/libgnunetnamestore.la \
93 $(top_builddir)/src/gns/libgnunetgns.la \
94 $(top_builddir)/src/testing/libgnunettesting.la
95 test_gns_simple_mx_lookup_DEPENDENCIES = \
96 $(top_builddir)/src/util/libgnunetutil.la \
97 $(top_builddir)/src/namestore/libgnunetnamestore.la \
98 $(top_builddir)/src/gns/libgnunetgns.la \
99 $(top_builddir)/src/testing/libgnunettesting.la
101 test_gns_dht_delegated_lookup_SOURCES = \
102 test_gns_dht_delegated_lookup.c
103 test_gns_dht_delegated_lookup_LDADD = \
104 $(top_builddir)/src/util/libgnunetutil.la \
105 $(top_builddir)/src/namestore/libgnunetnamestore.la \
106 $(top_builddir)/src/dht/libgnunetdht.la \
107 $(top_builddir)/src/gns/libgnunetgns.la \
108 $(top_builddir)/src/testing/libgnunettesting.la
109 test_gns_dht_delegated_lookup_DEPENDENCIES = \
110 $(top_builddir)/src/util/libgnunetutil.la \
111 $(top_builddir)/src/namestore/libgnunetnamestore.la \
112 $(top_builddir)/src/dht/libgnunetdht.la \
113 $(top_builddir)/src/gns/libgnunetgns.la \
114 $(top_builddir)/src/testing/libgnunettesting.la
116 test_gns_simple_shorten_SOURCES = \
117 test_gns_simple_shorten.c
118 test_gns_simple_shorten_LDADD = \
119 $(top_builddir)/src/util/libgnunetutil.la \
120 $(top_builddir)/src/namestore/libgnunetnamestore.la \
121 $(top_builddir)/src/gns/libgnunetgns.la \
122 $(top_builddir)/src/testing/libgnunettesting.la
123 test_gns_simple_shorten_DEPENDENCIES = \
124 $(top_builddir)/src/util/libgnunetutil.la \
125 $(top_builddir)/src/namestore/libgnunetnamestore.la \
126 $(top_builddir)/src/gns/libgnunetgns.la \
127 $(top_builddir)/src/testing/libgnunettesting.la
129 test_gns_simple_get_authority_SOURCES = \
130 test_gns_simple_get_authority.c
131 test_gns_simple_get_authority_LDADD = \
132 $(top_builddir)/src/util/libgnunetutil.la \
133 $(top_builddir)/src/namestore/libgnunetnamestore.la \
134 $(top_builddir)/src/gns/libgnunetgns.la \
135 $(top_builddir)/src/testing/libgnunettesting.la
136 test_gns_simple_get_authority_DEPENDENCIES = \
137 $(top_builddir)/src/util/libgnunetutil.la \
138 $(top_builddir)/src/namestore/libgnunetnamestore.la \
139 $(top_builddir)/src/gns/libgnunetgns.la \
140 $(top_builddir)/src/testing/libgnunettesting.la
143 test_gns_pseu_shorten_SOURCES = \
144 test_gns_pseu_shorten.c
145 test_gns_pseu_shorten_LDADD = \
146 $(top_builddir)/src/util/libgnunetutil.la \
147 $(top_builddir)/src/namestore/libgnunetnamestore.la \
148 $(top_builddir)/src/dht/libgnunetdht.la \
149 $(top_builddir)/src/gns/libgnunetgns.la \
150 $(top_builddir)/src/testing/libgnunettesting.la
151 test_gns_pseu_shorten_DEPENDENCIES = \
152 $(top_builddir)/src/util/libgnunetutil.la \
153 $(top_builddir)/src/namestore/libgnunetnamestore.la \
154 $(top_builddir)/src/dht/libgnunetdht.la \
155 $(top_builddir)/src/gns/libgnunetgns.la \
156 $(top_builddir)/src/testing/libgnunettesting.la
158 gnunet_gns_SOURCES = \
161 $(top_builddir)/src/gns/libgnunetgns.la \
162 $(top_builddir)/src/util/libgnunetutil.la \
163 $(top_builddir)/src/namestore/libgnunetnamestore.la \
165 gnunet_gns_DEPENDENCIES = \
168 gnunet_service_gns_SOURCES = \
169 gnunet-service-gns.c \
170 gnunet-service-gns_resolver.c \
171 gnunet-service-gns_interceptor.c
172 gnunet_service_gns_LDADD = \
173 $(top_builddir)/src/tun/libgnunettun.la \
174 $(top_builddir)/src/mesh/libgnunetmesh.la \
175 $(top_builddir)/src/statistics/libgnunetstatistics.la \
176 $(top_builddir)/src/util/libgnunetutil.la \
177 $(top_builddir)/src/dns/libgnunetdns.la \
178 $(top_builddir)/src/dns/libgnunetdnsparser.la \
179 $(top_builddir)/src/dht/libgnunetdht.la \
180 $(top_builddir)/src/namestore/libgnunetnamestore.la \
182 gnunet_service_gns_DEPENDENCIES = \
183 $(top_builddir)/src/tun/libgnunettun.la \
184 $(top_builddir)/src/mesh/libgnunetmesh.la \
185 $(top_builddir)/src/statistics/libgnunetstatistics.la \
186 $(top_builddir)/src/util/libgnunetutil.la \
187 $(top_builddir)/src/dns/libgnunetdns.la \
188 $(top_builddir)/src/dns/libgnunetdnsparser.la \
189 $(top_builddir)/src/dht/libgnunetdht.la \
190 $(top_builddir)/src/namestore/libgnunetnamestore.la
193 gnunet_gns_fcfsd_SOURCES = \
195 gnunet_gns_fcfsd_LDADD = -lmicrohttpd \
196 $(top_builddir)/src/util/libgnunetutil.la \
197 $(top_builddir)/src/namestore/libgnunetnamestore.la \
199 gnunet_gns_fcfsd_DEPENDENCIES = \
200 $(top_builddir)/src/util/libgnunetutil.la \
201 $(top_builddir)/src/namestore/libgnunetnamestore.la
204 libgnunetgns_la_SOURCES = \
206 libgnunetgns_la_LIBADD = \
207 $(top_builddir)/src/util/libgnunetutil.la $(XLIB) \
208 $(top_builddir)/src/namestore/libgnunetnamestore.la
209 libgnunetgns_la_LDFLAGS = \
211 libgnunetgns_la_DEPENDENCIES = \
212 $(top_builddir)/src/util/libgnunetutil.la \
213 $(top_builddir)/src/namestore/libgnunetnamestore.la
215 libgnunet_plugin_block_gns_la_SOURCES = \
217 libgnunet_plugin_block_gns_la_LIBADD = \
218 $(top_builddir)/src/util/libgnunetutil.la \
219 $(top_builddir)/src/block/libgnunetblock.la \
220 $(top_builddir)/src/namestore/libgnunetnamestore.la
221 libgnunet_plugin_block_gns_la_LDFLAGS = \
223 libgnunet_plugin_block_gns_la_DEPENDENCIES = \
224 $(top_builddir)/src/util/libgnunetutil.la \
225 $(top_builddir)/src/block/libgnunetblock.la \
226 $(top_builddir)/src/namestore/libgnunetnamestore.la
229 #libgnunetnamestore_la_SOURCES = \
230 # namestore_stub_api.c
231 #libgnunetnamestore_la_LIBADD = \
232 # $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
233 #libgnunetnamestore_la_LDFLAGS = \
235 #libgnunetnamestore_la_DEPENDENCIES = \
236 # $(top_builddir)/src/util/libgnunetutil.la
239 TESTS = $(check_PROGRAMS)
243 test_gns_simple_lookup.conf