1 AM_CPPFLAGS = -I$(top_srcdir)/src/include
3 plugindir = $(libdir)/gnunet
5 pkgcfgdir= $(pkgdatadir)/config.d/
7 libexecdir= $(pkglibdir)/libexec/
14 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
18 AM_CFLAGS = --coverage -O0
23 SQLITE_PLUGIN = libgnunet_plugin_namestore_sqlite.la
25 SQLITE_TESTS = test_plugin_namestore_sqlite
30 # postgres doesn't even build yet; thus: experimental!
31 POSTGRES_PLUGIN = libgnunet_plugin_namestore_postgres.la
33 POSTGRES_TESTS = test_plugin_namestore_postgres
37 # testcases do not even build yet; thus: experimental!
40 test_namestore_api_store \
41 test_namestore_api_store_update \
42 test_namestore_api_lookup_public \
43 test_namestore_api_remove \
44 test_namestore_api_remove_not_existing_record \
45 test_namestore_api_zone_iteration \
46 test_namestore_api_zone_iteration_specific_zone \
47 test_namestore_api_zone_iteration_stop \
48 test_namestore_api_monitoring \
49 test_namestore_api_monitoring_existing
50 #test_namestore_api_zone_to_name
69 libgnunetnamestore_la_SOURCES = \
71 namestore_api_monitor.c \
73 libgnunetnamestore_la_LIBADD = \
74 $(top_builddir)/src/statistics/libgnunetstatistics.la \
75 $(top_builddir)/src/dns/libgnunetdnsparser.la \
76 $(top_builddir)/src/util/libgnunetutil.la \
78 libgnunetnamestore_la_LDFLAGS = \
79 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
83 gnunet-service-namestore
90 gnunet-namestore-fcfsd
93 gnunet_namestore_SOURCES = \
95 gnunet_namestore_LDADD = \
96 $(top_builddir)/src/identity/libgnunetidentity.la \
97 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
98 $(top_builddir)/src/util/libgnunetutil.la \
99 libgnunetnamestore.la \
101 gnunet_namestore_DEPENDENCIES = \
102 $(top_builddir)/src/identity/libgnunetidentity.la \
103 $(top_builddir)/src/util/libgnunetutil.la \
104 libgnunetnamestore.la
107 gnunet_namestore_fcfsd_SOURCES = \
108 gnunet-namestore-fcfsd.c
109 gnunet_namestore_fcfsd_LDADD = -lmicrohttpd \
110 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
111 $(top_builddir)/src/identity/libgnunetidentity.la \
112 $(top_builddir)/src/namestore/libgnunetnamestore.la \
113 $(top_builddir)/src/util/libgnunetutil.la \
115 gnunet_namestore_fcfsd_DEPENDENCIES = \
116 $(top_builddir)/src/util/libgnunetutil.la \
117 libgnunetnamestore.la
121 gnunet_service_namestore_SOURCES = \
122 gnunet-service-namestore.c
124 gnunet_service_namestore_LDADD = \
125 $(top_builddir)/src/namecache/libgnunetnamecache.la \
126 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
127 $(top_builddir)/src/statistics/libgnunetstatistics.la \
128 $(top_builddir)/src/util/libgnunetutil.la \
129 libgnunetnamestore.la \
131 gnunet_service_namestore_DEPENDENCIES = \
132 $(top_builddir)/src/statistics/libgnunetstatistics.la \
133 $(top_builddir)/src/util/libgnunetutil.la \
134 libgnunetnamestore.la
137 plugin_LTLIBRARIES = \
141 libgnunet_plugin_namestore_sqlite_la_SOURCES = \
142 plugin_namestore_sqlite.c
143 libgnunet_plugin_namestore_sqlite_la_LIBADD = \
144 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
145 $(top_builddir)/src/statistics/libgnunetstatistics.la \
146 $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) -lsqlite3 \
148 libgnunet_plugin_namestore_sqlite_la_LDFLAGS = \
150 libgnunet_plugin_namestore_sqlite_la_DEPENDENCIES = \
151 $(top_builddir)/src/statistics/libgnunetstatistics.la \
152 $(top_builddir)/src/util/libgnunetutil.la \
153 libgnunetnamestore.la
156 libgnunet_plugin_namestore_postgres_la_SOURCES = \
157 plugin_namestore_postgres.c
158 libgnunet_plugin_namestore_postgres_la_LIBADD = \
159 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
160 $(top_builddir)/src/postgres/libgnunetpostgres.la \
161 $(top_builddir)/src/statistics/libgnunetstatistics.la \
162 $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) -lpq \
164 libgnunet_plugin_namestore_postgres_la_LDFLAGS = \
166 libgnunet_plugin_namestore_postgres_la_DEPENDENCIES = \
167 $(top_builddir)/src/postgres/libgnunetpostgres.la \
168 $(top_builddir)/src/statistics/libgnunetstatistics.la \
169 $(top_builddir)/src/util/libgnunetutil.la \
170 libgnunetnamestore.la
172 test_namestore_api_store_SOURCES = \
173 test_namestore_api_store.c
174 test_namestore_api_store_LDADD = \
175 $(top_builddir)/src/testing/libgnunettesting.la \
176 $(top_builddir)/src/util/libgnunetutil.la \
177 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
178 $(top_builddir)/src/namestore/libgnunetnamestore.la
180 test_namestore_api_store_update_SOURCES = \
181 test_namestore_api_store_update.c
182 test_namestore_api_store_update_LDADD = \
183 $(top_builddir)/src/testing/libgnunettesting.la \
184 $(top_builddir)/src/util/libgnunetutil.la \
185 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
186 $(top_builddir)/src/namecache/libgnunetnamecache.la \
187 $(top_builddir)/src/namestore/libgnunetnamestore.la
189 test_namestore_api_lookup_public_SOURCES = \
190 test_namestore_api_lookup_public.c
191 test_namestore_api_lookup_public_LDADD = \
192 $(top_builddir)/src/testing/libgnunettesting.la \
193 $(top_builddir)/src/util/libgnunetutil.la \
194 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
195 $(top_builddir)/src/namecache/libgnunetnamecache.la \
196 $(top_builddir)/src/namestore/libgnunetnamestore.la
198 test_namestore_api_put_SOURCES = \
199 test_namestore_api_put.c
200 test_namestore_api_put_LDADD = \
201 $(top_builddir)/src/testing/libgnunettesting.la \
202 $(top_builddir)/src/util/libgnunetutil.la \
203 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
204 $(top_builddir)/src/namestore/libgnunetnamestore.la
206 test_namestore_api_remove_SOURCES = \
207 test_namestore_api_remove.c
208 test_namestore_api_remove_LDADD = \
209 $(top_builddir)/src/testing/libgnunettesting.la \
210 $(top_builddir)/src/util/libgnunetutil.la \
211 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
212 $(top_builddir)/src/namestore/libgnunetnamestore.la
214 test_namestore_api_remove_not_existing_record_SOURCES = \
215 test_namestore_api_remove_not_existing_record.c
216 test_namestore_api_remove_not_existing_record_LDADD = \
217 $(top_builddir)/src/testing/libgnunettesting.la \
218 $(top_builddir)/src/util/libgnunetutil.la \
219 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
220 $(top_builddir)/src/namestore/libgnunetnamestore.la
222 test_namestore_api_zone_to_name_SOURCES = \
223 test_namestore_api_zone_to_name.c
224 test_namestore_api_zone_to_name_LDADD = \
225 $(top_builddir)/src/testing/libgnunettesting.la \
226 $(top_builddir)/src/util/libgnunetutil.la \
227 $(top_builddir)/src/namestore/libgnunetnamestore.la
229 test_namestore_api_monitoring_SOURCES = \
230 test_namestore_api_monitoring.c
231 test_namestore_api_monitoring_LDADD = \
232 $(top_builddir)/src/testing/libgnunettesting.la \
233 $(top_builddir)/src/namestore/libgnunetnamestore.la \
234 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
235 $(top_builddir)/src/util/libgnunetutil.la
237 test_namestore_api_monitoring_existing_SOURCES = \
238 test_namestore_api_monitoring_existing.c
239 test_namestore_api_monitoring_existing_LDADD = \
240 $(top_builddir)/src/testing/libgnunettesting.la \
241 $(top_builddir)/src/namestore/libgnunetnamestore.la \
242 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
243 $(top_builddir)/src/util/libgnunetutil.la
245 test_namestore_api_zone_iteration_SOURCES = \
246 test_namestore_api_zone_iteration.c
247 test_namestore_api_zone_iteration_LDADD = \
248 $(top_builddir)/src/testing/libgnunettesting.la \
249 $(top_builddir)/src/util/libgnunetutil.la \
250 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
251 $(top_builddir)/src/namestore/libgnunetnamestore.la
253 test_namestore_api_zone_iteration_specific_zone_SOURCES = \
254 test_namestore_api_zone_iteration_specific_zone.c
255 test_namestore_api_zone_iteration_specific_zone_LDADD = \
256 $(top_builddir)/src/testing/libgnunettesting.la \
257 $(top_builddir)/src/util/libgnunetutil.la \
258 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
259 $(top_builddir)/src/namestore/libgnunetnamestore.la
261 test_namestore_api_zone_iteration_stop_SOURCES = \
262 test_namestore_api_zone_iteration_stop.c
263 test_namestore_api_zone_iteration_stop_LDADD = \
264 $(top_builddir)/src/testing/libgnunettesting.la \
265 $(top_builddir)/src/util/libgnunetutil.la \
266 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
267 $(top_builddir)/src/namestore/libgnunetnamestore.la
269 test_plugin_namestore_sqlite_SOURCES = \
270 test_plugin_namestore.c
271 test_plugin_namestore_sqlite_LDADD = \
272 $(top_builddir)/src/testing/libgnunettesting.la \
273 $(top_builddir)/src/util/libgnunetutil.la
275 test_plugin_namestore_postgres_SOURCES = \
276 test_plugin_namestore.c
277 test_plugin_namestore_postgres_LDADD = \
278 $(top_builddir)/src/testing/libgnunettesting.la \
279 $(top_builddir)/src/util/libgnunetutil.la
282 test_namestore_put.sh \
283 test_namestore_lookup.sh \
284 test_namestore_delete.sh
287 test_namestore_api.conf \
288 test_plugin_namestore_sqlite.conf \
289 test_plugin_namestore_postgres.conf \
290 test_namestore_defaults.conf \
292 zonefiles/S5I9DSGQVAB5FVV16T3B3CC5H1B2JGL3Q412JBKURME8EKU0600G.zkey \
293 zonefiles/AQ835GVL939H4O8QJQ7GBLPTQC0QAAO91BN7QK01BA63MDSK6I4G.zkey \
294 zonefiles/HGU0A0VCU334DN7F2I9UIUMVQMM7JMSD142LIMNUGTTV9R0CF4EG.zkey \
295 zonefiles/N0UJMP015AFUNR2BTNM3FKPBLG38913BL8IDMCO2H0A1LIB81960.zkey \