1 INCLUDES = -I$(top_srcdir)/src/include
4 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
8 AM_CFLAGS = --coverage -O0
12 pkgcfgdir= $(pkgdatadir)/config.d/
18 lib_LTLIBRARIES = libgnunetfs.la
20 noinst_LIBRARIES = libgnunetfstest.a
22 libgnunetfs_la_SOURCES = \
26 fs_file_information.c \
37 libgnunetfs_la_LIBADD = \
38 $(top_builddir)/src/datastore/libgnunetdatastore.la \
39 $(top_builddir)/src/util/libgnunetutil.la \
43 libgnunetfs_la_LDFLAGS = \
44 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
48 libgnunetfstest_a_SOURCES = \
49 fs_test_lib.c fs_test_lib.h
51 libgnunetfstest_a_LIBADD = \
52 $(top_builddir)/src/testing/libgnunettesting.la
64 gnunet_directory_SOURCES = \
66 gnunet_directory_LDADD = \
67 $(top_builddir)/src/fs/libgnunetfs.la \
68 $(top_builddir)/src/util/libgnunetutil.la \
71 gnunet_directory_DEPENDENCIES = \
77 $(top_builddir)/src/fs/libgnunetfs.la \
78 $(top_builddir)/src/util/libgnunetutil.la \
81 gnunet_fs_DEPENDENCIES = \
84 gnunet_download_SOURCES = \
86 gnunet_download_LDADD = \
87 $(top_builddir)/src/fs/libgnunetfs.la \
88 $(top_builddir)/src/util/libgnunetutil.la \
90 gnunet_download_DEPENDENCIES = \
93 gnunet_publish_SOURCES = \
95 gnunet_publish_LDADD = \
96 $(top_builddir)/src/fs/libgnunetfs.la \
97 $(top_builddir)/src/util/libgnunetutil.la \
100 gnunet_publish_DEPENDENCIES = \
103 gnunet_pseudonym_SOURCES = \
105 gnunet_pseudonym_LDADD = \
106 $(top_builddir)/src/fs/libgnunetfs.la \
107 $(top_builddir)/src/util/libgnunetutil.la \
110 gnunet_pseudonym_DEPENDENCIES = \
113 gnunet_search_SOURCES = \
115 gnunet_search_LDADD = \
116 $(top_builddir)/src/fs/libgnunetfs.la \
117 $(top_builddir)/src/util/libgnunetutil.la \
120 gnunet_search_DEPENDENCIES = \
123 gnunet_service_fs_SOURCES = \
124 gnunet-service-fs.c gnunet-service-fs.h \
125 gnunet-service-fs_cp.c gnunet-service-fs_cp.h \
126 gnunet-service-fs_indexing.c gnunet-service-fs_indexing.h \
127 gnunet-service-fs_lc.c gnunet-service-fs_lc.h \
128 gnunet-service-fs_pe.c gnunet-service-fs_pe.h \
129 gnunet-service-fs_pr.c gnunet-service-fs_pr.h \
130 gnunet-service-fs_push.c gnunet-service-fs_push.h \
131 gnunet-service-fs_put.c gnunet-service-fs_put.h
132 gnunet_service_fs_LDADD = \
133 $(top_builddir)/src/fs/libgnunetfs.la \
134 $(top_builddir)/src/dht/libgnunetdht.la \
135 $(top_builddir)/src/block/libgnunetblock.la \
136 $(top_builddir)/src/datastore/libgnunetdatastore.la \
137 $(top_builddir)/src/statistics/libgnunetstatistics.la \
138 $(top_builddir)/src/ats/libgnunetats.la \
139 $(top_builddir)/src/core/libgnunetcore.la \
140 $(top_builddir)/src/util/libgnunetutil.la \
142 gnunet_service_fs_DEPENDENCIES = \
145 gnunet_unindex_SOURCES = \
147 gnunet_unindex_LDADD = \
148 $(top_builddir)/src/fs/libgnunetfs.la \
149 $(top_builddir)/src/util/libgnunetutil.la \
151 gnunet_unindex_DEPENDENCIES = \
156 perf_gnunet_service_fs_p2p \
157 perf_gnunet_service_fs_p2p_dht \
158 perf_gnunet_service_fs_p2p_index \
159 perf_gnunet_service_fs_p2p_trust
165 test_fs_download_indexed \
166 test_fs_download_persistence \
167 test_fs_file_information \
169 test_fs_list_indexed \
171 test_fs_namespace_list_updateable \
173 test_fs_publish_persistence \
175 test_fs_search_persistence \
179 test_fs_unindex_persistence \
181 test_gnunet_service_fs_migration \
182 test_gnunet_service_fs_p2p \
186 if HAVE_PYTHON_PEXPECT
188 test_gnunet_fs_psd.py \
189 test_gnunet_fs_rec.py \
190 test_gnunet_fs_idx.py \
199 test_fs_download_indexed \
200 test_fs_download_persistence \
201 test_fs_file_information \
202 test_fs_list_indexed \
204 test_fs_namespace_list_updateable \
206 test_fs_publish_persistence \
208 test_fs_search_persistence \
211 test_fs_unindex_persistence \
214 test_gnunet_service_fs_migration \
215 test_gnunet_service_fs_p2p \
216 perf_gnunet_service_fs_p2p \
217 perf_gnunet_service_fs_p2p_index \
218 perf_gnunet_service_fs_p2p_trust \
225 test_fs_directory_SOURCES = \
227 test_fs_directory_LDADD = \
229 $(top_builddir)/src/fs/libgnunetfs.la \
230 $(top_builddir)/src/util/libgnunetutil.la
232 test_fs_download_SOURCES = \
234 test_fs_download_LDADD = \
235 $(top_builddir)/src/fs/libgnunetfs.la \
236 $(top_builddir)/src/util/libgnunetutil.la
238 test_fs_download_indexed_SOURCES = \
239 test_fs_download_indexed.c
240 test_fs_download_indexed_LDADD = \
241 $(top_builddir)/src/fs/libgnunetfs.la \
242 $(top_builddir)/src/util/libgnunetutil.la
244 test_fs_download_persistence_SOURCES = \
245 test_fs_download_persistence.c
246 test_fs_download_persistence_LDADD = \
247 $(top_builddir)/src/fs/libgnunetfs.la \
248 $(top_builddir)/src/util/libgnunetutil.la
250 test_fs_file_information_SOURCES = \
251 test_fs_file_information.c
252 test_fs_file_information_LDADD = \
254 $(top_builddir)/src/fs/libgnunetfs.la \
255 $(top_builddir)/src/util/libgnunetutil.la
257 test_fs_getopt_SOURCES = \
259 test_fs_getopt_LDADD = \
260 $(top_builddir)/src/fs/libgnunetfs.la \
261 $(top_builddir)/src/util/libgnunetutil.la
263 test_fs_list_indexed_SOURCES = \
264 test_fs_list_indexed.c
265 test_fs_list_indexed_LDADD = \
266 $(top_builddir)/src/fs/libgnunetfs.la \
267 $(top_builddir)/src/util/libgnunetutil.la
269 test_fs_namespace_SOURCES = \
271 test_fs_namespace_LDADD = \
272 $(top_builddir)/src/fs/libgnunetfs.la \
273 $(top_builddir)/src/util/libgnunetutil.la
275 test_fs_namespace_list_updateable_SOURCES = \
276 test_fs_namespace_list_updateable.c
277 test_fs_namespace_list_updateable_LDADD = \
278 $(top_builddir)/src/fs/libgnunetfs.la \
279 $(top_builddir)/src/util/libgnunetutil.la
281 test_fs_publish_SOURCES = \
283 test_fs_publish_LDADD = \
284 $(top_builddir)/src/fs/libgnunetfs.la \
285 $(top_builddir)/src/util/libgnunetutil.la
287 test_fs_publish_persistence_SOURCES = \
288 test_fs_publish_persistence.c
289 test_fs_publish_persistence_LDADD = \
290 $(top_builddir)/src/fs/libgnunetfs.la \
291 $(top_builddir)/src/util/libgnunetutil.la
293 test_fs_search_SOURCES = \
295 test_fs_search_LDADD = $(top_builddir)/src/fs/libgnunetfs.la \
296 $(top_builddir)/src/util/libgnunetutil.la
298 test_fs_search_persistence_SOURCES = \
299 test_fs_search_persistence.c
300 test_fs_search_persistence_LDADD = $(top_builddir)/src/fs/libgnunetfs.la \
301 $(top_builddir)/src/util/libgnunetutil.la
303 test_fs_start_stop_SOURCES = \
305 test_fs_start_stop_LDADD = \
306 $(top_builddir)/src/fs/libgnunetfs.la \
307 $(top_builddir)/src/util/libgnunetutil.la
309 test_fs_unindex_SOURCES = \
311 test_fs_unindex_LDADD = \
312 $(top_builddir)/src/fs/libgnunetfs.la \
313 $(top_builddir)/src/util/libgnunetutil.la
315 test_fs_unindex_persistence_SOURCES = \
316 test_fs_unindex_persistence.c
317 test_fs_unindex_persistence_LDADD = \
318 $(top_builddir)/src/fs/libgnunetfs.la \
319 $(top_builddir)/src/util/libgnunetutil.la
321 test_fs_uri_SOURCES = \
323 test_fs_uri_LDADD = \
324 $(top_builddir)/src/fs/libgnunetfs.la \
325 $(top_builddir)/src/util/libgnunetutil.la
327 test_fs_test_lib_SOURCES = \
329 test_fs_test_lib_LDADD = \
330 $(top_builddir)/src/fs/libgnunetfstest.a \
331 $(top_builddir)/src/testing/libgnunettesting.la \
332 $(top_builddir)/src/fs/libgnunetfs.la \
333 $(top_builddir)/src/util/libgnunetutil.la
335 test_gnunet_service_fs_p2p_SOURCES = \
336 test_gnunet_service_fs_p2p.c
337 test_gnunet_service_fs_p2p_LDADD = \
338 $(top_builddir)/src/fs/libgnunetfstest.a \
339 $(top_builddir)/src/testing/libgnunettesting.la \
340 $(top_builddir)/src/fs/libgnunetfs.la \
341 $(top_builddir)/src/util/libgnunetutil.la
343 test_gnunet_service_fs_migration_SOURCES = \
344 test_gnunet_service_fs_migration.c
345 test_gnunet_service_fs_migration_LDADD = \
346 $(top_builddir)/src/fs/libgnunetfstest.a \
347 $(top_builddir)/src/testing/libgnunettesting.la \
348 $(top_builddir)/src/fs/libgnunetfs.la \
349 $(top_builddir)/src/util/libgnunetutil.la
351 perf_gnunet_service_fs_p2p_SOURCES = \
352 perf_gnunet_service_fs_p2p.c
353 perf_gnunet_service_fs_p2p_LDADD = \
354 $(top_builddir)/src/fs/libgnunetfstest.a \
355 $(top_builddir)/src/statistics/libgnunetstatistics.la \
356 $(top_builddir)/src/testing/libgnunettesting.la \
357 $(top_builddir)/src/fs/libgnunetfs.la \
358 $(top_builddir)/src/util/libgnunetutil.la
360 perf_gnunet_service_fs_p2p_index_SOURCES = \
361 perf_gnunet_service_fs_p2p.c
362 perf_gnunet_service_fs_p2p_index_LDADD = \
363 $(top_builddir)/src/fs/libgnunetfstest.a \
364 $(top_builddir)/src/statistics/libgnunetstatistics.la \
365 $(top_builddir)/src/testing/libgnunettesting.la \
366 $(top_builddir)/src/fs/libgnunetfs.la \
367 $(top_builddir)/src/util/libgnunetutil.la
369 perf_gnunet_service_fs_p2p_dht_SOURCES = \
370 perf_gnunet_service_fs_p2p.c
371 perf_gnunet_service_fs_p2p_dht_LDADD = \
372 $(top_builddir)/src/fs/libgnunetfstest.a \
373 $(top_builddir)/src/statistics/libgnunetstatistics.la \
374 $(top_builddir)/src/testing/libgnunettesting.la \
375 $(top_builddir)/src/fs/libgnunetfs.la \
376 $(top_builddir)/src/util/libgnunetutil.la
378 perf_gnunet_service_fs_p2p_trust_SOURCES = \
379 perf_gnunet_service_fs_p2p_trust.c
380 perf_gnunet_service_fs_p2p_trust_LDADD = \
381 $(top_builddir)/src/fs/libgnunetfstest.a \
382 $(top_builddir)/src/statistics/libgnunetstatistics.la \
383 $(top_builddir)/src/testing/libgnunettesting.la \
384 $(top_builddir)/src/fs/libgnunetfs.la \
385 $(top_builddir)/src/util/libgnunetutil.la
388 do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g'
390 test_gnunet_fs_psd.py: test_gnunet_fs_psd.py.in Makefile
391 $(do_subst) < $(srcdir)/test_gnunet_fs_psd.py.in > test_gnunet_fs_psd.py
392 chmod +x test_gnunet_fs_psd.py
394 test_gnunet_fs_rec.py: test_gnunet_fs_rec.py.in Makefile
395 $(do_subst) < $(srcdir)/test_gnunet_fs_rec.py.in > test_gnunet_fs_rec.py
396 chmod +x test_gnunet_fs_rec.py
398 test_gnunet_fs_ns.py: test_gnunet_fs_ns.py.in Makefile
399 $(do_subst) < $(srcdir)/test_gnunet_fs_ns.py.in > test_gnunet_fs_ns.py
400 chmod +x test_gnunet_fs_ns.py
402 test_gnunet_fs_idx.py: test_gnunet_fs_idx.py.in Makefile
403 $(do_subst) < $(srcdir)/test_gnunet_fs_idx.py.in > test_gnunet_fs_idx.py
404 chmod +x test_gnunet_fs_idx.py
408 test_fs_defaults.conf \
409 fs_test_lib_data.conf \
411 test_fs_download_data.conf \
412 test_fs_file_information_data.conf \
413 test_fs_file_information_meta_data_image.jpg \
414 fs_test_lib_data.conf \
415 test_fs_list_indexed_data.conf \
416 test_fs_namespace_data.conf \
417 test_fs_publish_data.conf \
418 test_fs_search_data.conf \
419 test_fs_unindex_data.conf \
420 test_fs_uri_data.conf \
421 test_gnunet_service_fs_migration_data.conf \
422 test_gnunet_fs_idx_data.conf \
423 test_gnunet_fs_ns_data.conf \
424 test_gnunet_fs_psd_data.conf \
425 test_gnunet_fs_rec_data.conf \
426 test_gnunet_fs_rec_data.tgz \
427 test_gnunet_fs_psd.py.in \
428 test_gnunet_fs_rec.py.in \
429 test_gnunet_fs_ns.py.in \
430 test_gnunet_fs_idx.py.in
432 CLEANFILES = $(check_SCRIPTS)