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/
17 plugindir = $(libdir)/gnunet
20 lib_LTLIBRARIES = libgnunetfs.la
22 plugin_LTLIBRARIES = \
23 libgnunet_plugin_block_fs.la
25 noinst_LIBRARIES = libgnunetfstest.a
27 libgnunetfs_la_SOURCES = \
28 fs_api.c fs_api.h fs.h \
32 fs_file_information.c \
39 fs_namespace_advertise.c \
46 libgnunetfs_la_LIBADD = \
47 $(top_builddir)/src/datastore/libgnunetdatastore.la \
48 $(top_builddir)/src/util/libgnunetutil.la \
49 $(GN_LIBINTL) $(XLIB) -lunistring -lextractor
51 libgnunetfs_la_LDFLAGS = \
52 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
56 libgnunetfstest_a_SOURCES = \
57 fs_test_lib.c fs_test_lib.h
59 libgnunetfstest_a_LIBADD = \
60 $(top_builddir)/src/testing_old/libgnunettesting_old.la
67 gnunet-helper-fs-publish \
75 gnunet-download-manager.scm
77 gnunet_directory_SOURCES = \
79 gnunet_directory_LDADD = \
80 $(top_builddir)/src/fs/libgnunetfs.la \
81 $(top_builddir)/src/util/libgnunetutil.la \
84 gnunet_directory_DEPENDENCIES = \
90 $(top_builddir)/src/fs/libgnunetfs.la \
91 $(top_builddir)/src/util/libgnunetutil.la \
94 gnunet_fs_DEPENDENCIES = \
97 gnunet_download_SOURCES = \
99 gnunet_download_LDADD = \
100 $(top_builddir)/src/fs/libgnunetfs.la \
101 $(top_builddir)/src/util/libgnunetutil.la \
103 gnunet_download_DEPENDENCIES = \
106 gnunet_publish_SOURCES = \
108 gnunet_publish_LDADD = \
109 $(top_builddir)/src/fs/libgnunetfs.la \
110 $(top_builddir)/src/util/libgnunetutil.la \
113 gnunet_publish_DEPENDENCIES = \
116 gnunet_auto_share_SOURCES = \
118 gnunet_auto_share_LDADD = \
119 $(top_builddir)/src/util/libgnunetutil.la \
122 gnunet_auto_share_DEPENDENCIES = \
125 gnunet_helper_fs_publish_SOURCES = \
126 gnunet-helper-fs-publish.c
127 gnunet_helper_fs_publish_LDADD = \
128 $(top_builddir)/src/util/libgnunetutil.la \
131 gnunet_helper_fs_publish_DEPENDENCIES = \
134 gnunet_pseudonym_SOURCES = \
136 gnunet_pseudonym_LDADD = \
137 $(top_builddir)/src/fs/libgnunetfs.la \
138 $(top_builddir)/src/util/libgnunetutil.la \
141 gnunet_pseudonym_DEPENDENCIES = \
144 gnunet_search_SOURCES = \
146 gnunet_search_LDADD = \
147 $(top_builddir)/src/fs/libgnunetfs.la \
148 $(top_builddir)/src/util/libgnunetutil.la \
151 gnunet_search_DEPENDENCIES = \
154 gnunet_service_fs_SOURCES = \
155 gnunet-service-fs.c gnunet-service-fs.h \
156 gnunet-service-fs_cp.c gnunet-service-fs_cp.h \
157 gnunet-service-fs_indexing.c gnunet-service-fs_indexing.h \
158 gnunet-service-fs_lc.c gnunet-service-fs_lc.h \
159 gnunet-service-fs_pe.c gnunet-service-fs_pe.h \
160 gnunet-service-fs_pr.c gnunet-service-fs_pr.h \
161 gnunet-service-fs_push.c gnunet-service-fs_push.h \
162 gnunet-service-fs_put.c gnunet-service-fs_put.h
163 gnunet_service_fs_LDADD = \
164 $(top_builddir)/src/fs/libgnunetfs.la \
165 $(top_builddir)/src/dht/libgnunetdht.la \
166 $(top_builddir)/src/block/libgnunetblock.la \
167 $(top_builddir)/src/datastore/libgnunetdatastore.la \
168 $(top_builddir)/src/statistics/libgnunetstatistics.la \
169 $(top_builddir)/src/ats/libgnunetats.la \
170 $(top_builddir)/src/core/libgnunetcore.la \
171 $(top_builddir)/src/util/libgnunetutil.la \
173 gnunet_service_fs_DEPENDENCIES = \
176 gnunet_unindex_SOURCES = \
178 gnunet_unindex_LDADD = \
179 $(top_builddir)/src/fs/libgnunetfs.la \
180 $(top_builddir)/src/util/libgnunetutil.la \
182 gnunet_unindex_DEPENDENCIES = \
186 libgnunet_plugin_block_fs_la_SOURCES = \
188 libgnunet_plugin_block_fs_la_LIBADD = \
189 $(top_builddir)/src/block/libgnunetblock.la \
190 $(top_builddir)/src/util/libgnunetutil.la \
192 libgnunet_plugin_block_fs_la_LDFLAGS = \
194 libgnunet_plugin_block_fs_la_DEPENDENCIES = \
195 $(top_builddir)/src/block/libgnunetblock.la
201 perf_gnunet_service_fs_p2p \
202 perf_gnunet_service_fs_p2p_dht \
203 perf_gnunet_service_fs_p2p_index \
204 perf_gnunet_service_fs_p2p_respect
210 test_fs_download_indexed \
211 test_fs_download_persistence \
212 test_fs_file_information \
214 test_fs_list_indexed \
216 test_fs_namespace_list_updateable \
218 test_fs_publish_persistence \
220 test_fs_search_probes \
221 test_fs_search_persistence \
225 test_fs_unindex_persistence \
227 test_gnunet_service_fs_migration \
228 test_gnunet_service_fs_p2p \
234 test_gnunet_fs_psd.py \
235 test_gnunet_fs_rec.py \
236 test_gnunet_fs_idx.py \
241 TESTS_ENVIRONMENT = @MONKEYPREFIX@
242 AM_LDFLAGS = -no-install
250 test_fs_download_indexed \
251 test_fs_download_persistence \
252 test_fs_file_information \
253 test_fs_list_indexed \
255 test_fs_namespace_list_updateable \
257 test_fs_publish_persistence \
259 test_fs_search_probes \
260 test_fs_search_persistence \
263 test_fs_unindex_persistence \
266 test_gnunet_service_fs_migration \
267 test_gnunet_service_fs_p2p \
268 perf_gnunet_service_fs_p2p \
269 perf_gnunet_service_fs_p2p_index \
270 perf_gnunet_service_fs_p2p_respect \
275 test_fs_directory_SOURCES = \
277 test_fs_directory_LDADD = \
279 $(top_builddir)/src/fs/libgnunetfs.la \
280 $(top_builddir)/src/util/libgnunetutil.la
282 test_fs_download_SOURCES = \
284 test_fs_download_LDADD = \
285 $(top_builddir)/src/testing/libgnunettesting.la \
286 $(top_builddir)/src/fs/libgnunetfs.la \
287 $(top_builddir)/src/util/libgnunetutil.la
289 test_fs_download_indexed_SOURCES = \
290 test_fs_download_indexed.c
291 test_fs_download_indexed_LDADD = \
292 $(top_builddir)/src/testing/libgnunettesting.la \
293 $(top_builddir)/src/fs/libgnunetfs.la \
294 $(top_builddir)/src/util/libgnunetutil.la
296 test_fs_download_persistence_SOURCES = \
297 test_fs_download_persistence.c
298 test_fs_download_persistence_LDADD = \
299 $(top_builddir)/src/testing/libgnunettesting.la \
300 $(top_builddir)/src/fs/libgnunetfs.la \
301 $(top_builddir)/src/util/libgnunetutil.la
303 test_fs_file_information_SOURCES = \
304 test_fs_file_information.c
305 test_fs_file_information_LDADD = \
307 $(top_builddir)/src/fs/libgnunetfs.la \
308 $(top_builddir)/src/util/libgnunetutil.la
310 test_fs_getopt_SOURCES = \
312 test_fs_getopt_LDADD = \
313 $(top_builddir)/src/fs/libgnunetfs.la \
314 $(top_builddir)/src/util/libgnunetutil.la
316 test_fs_list_indexed_SOURCES = \
317 test_fs_list_indexed.c
318 test_fs_list_indexed_LDADD = \
319 $(top_builddir)/src/testing/libgnunettesting.la \
320 $(top_builddir)/src/fs/libgnunetfs.la \
321 $(top_builddir)/src/util/libgnunetutil.la
323 test_fs_namespace_SOURCES = \
325 test_fs_namespace_LDADD = \
326 $(top_builddir)/src/testing/libgnunettesting.la \
327 $(top_builddir)/src/fs/libgnunetfs.la \
328 $(top_builddir)/src/util/libgnunetutil.la
330 test_fs_namespace_list_updateable_SOURCES = \
331 test_fs_namespace_list_updateable.c
332 test_fs_namespace_list_updateable_LDADD = \
333 $(top_builddir)/src/testing/libgnunettesting.la \
334 $(top_builddir)/src/fs/libgnunetfs.la \
335 $(top_builddir)/src/util/libgnunetutil.la
337 test_fs_publish_SOURCES = \
339 test_fs_publish_LDADD = \
340 $(top_builddir)/src/testing/libgnunettesting.la \
341 $(top_builddir)/src/fs/libgnunetfs.la \
342 $(top_builddir)/src/util/libgnunetutil.la
344 test_fs_publish_persistence_SOURCES = \
345 test_fs_publish_persistence.c
346 test_fs_publish_persistence_LDADD = \
347 $(top_builddir)/src/testing/libgnunettesting.la \
348 $(top_builddir)/src/fs/libgnunetfs.la \
349 $(top_builddir)/src/util/libgnunetutil.la
351 test_fs_search_SOURCES = \
353 test_fs_search_LDADD = \
354 $(top_builddir)/src/testing/libgnunettesting.la \
355 $(top_builddir)/src/fs/libgnunetfs.la \
356 $(top_builddir)/src/util/libgnunetutil.la
358 test_fs_search_probes_SOURCES = \
359 test_fs_search_probes.c
360 test_fs_search_probes_LDADD = \
361 $(top_builddir)/src/testing/libgnunettesting.la \
362 $(top_builddir)/src/fs/libgnunetfs.la \
363 $(top_builddir)/src/util/libgnunetutil.la
365 test_fs_search_persistence_SOURCES = \
366 test_fs_search_persistence.c
367 test_fs_search_persistence_LDADD = \
368 $(top_builddir)/src/testing/libgnunettesting.la \
369 $(top_builddir)/src/fs/libgnunetfs.la \
370 $(top_builddir)/src/util/libgnunetutil.la
372 test_fs_start_stop_SOURCES = \
374 test_fs_start_stop_LDADD = \
375 $(top_builddir)/src/testing/libgnunettesting.la \
376 $(top_builddir)/src/fs/libgnunetfs.la \
377 $(top_builddir)/src/util/libgnunetutil.la
379 test_fs_unindex_SOURCES = \
381 test_fs_unindex_LDADD = \
382 $(top_builddir)/src/testing/libgnunettesting.la \
383 $(top_builddir)/src/fs/libgnunetfs.la \
384 $(top_builddir)/src/util/libgnunetutil.la
386 test_fs_unindex_persistence_SOURCES = \
387 test_fs_unindex_persistence.c
388 test_fs_unindex_persistence_LDADD = \
389 $(top_builddir)/src/testing/libgnunettesting.la \
390 $(top_builddir)/src/fs/libgnunetfs.la \
391 $(top_builddir)/src/util/libgnunetutil.la
393 test_fs_uri_SOURCES = \
395 test_fs_uri_LDADD = \
396 $(top_builddir)/src/fs/libgnunetfs.la \
397 $(top_builddir)/src/util/libgnunetutil.la
399 test_fs_test_lib_SOURCES = \
401 test_fs_test_lib_LDADD = \
402 $(top_builddir)/src/fs/libgnunetfstest.a \
403 $(top_builddir)/src/testing_old/libgnunettesting_old.la \
404 $(top_builddir)/src/fs/libgnunetfs.la \
405 $(top_builddir)/src/util/libgnunetutil.la
407 test_gnunet_service_fs_p2p_SOURCES = \
408 test_gnunet_service_fs_p2p.c
409 test_gnunet_service_fs_p2p_LDADD = \
410 $(top_builddir)/src/fs/libgnunetfstest.a \
411 $(top_builddir)/src/testing_old/libgnunettesting_old.la \
412 $(top_builddir)/src/fs/libgnunetfs.la \
413 $(top_builddir)/src/util/libgnunetutil.la
415 test_gnunet_service_fs_migration_SOURCES = \
416 test_gnunet_service_fs_migration.c
417 test_gnunet_service_fs_migration_LDADD = \
418 $(top_builddir)/src/fs/libgnunetfstest.a \
419 $(top_builddir)/src/testing_old/libgnunettesting_old.la \
420 $(top_builddir)/src/fs/libgnunetfs.la \
421 $(top_builddir)/src/util/libgnunetutil.la
423 perf_gnunet_service_fs_p2p_SOURCES = \
424 perf_gnunet_service_fs_p2p.c
425 perf_gnunet_service_fs_p2p_LDADD = \
426 $(top_builddir)/src/fs/libgnunetfstest.a \
427 $(top_builddir)/src/statistics/libgnunetstatistics.la \
428 $(top_builddir)/src/testing_old/libgnunettesting_old.la \
429 $(top_builddir)/src/fs/libgnunetfs.la \
430 $(top_builddir)/src/util/libgnunetutil.la
432 perf_gnunet_service_fs_p2p_index_SOURCES = \
433 perf_gnunet_service_fs_p2p.c
434 perf_gnunet_service_fs_p2p_index_LDADD = \
435 $(top_builddir)/src/fs/libgnunetfstest.a \
436 $(top_builddir)/src/statistics/libgnunetstatistics.la \
437 $(top_builddir)/src/testing_old/libgnunettesting_old.la \
438 $(top_builddir)/src/fs/libgnunetfs.la \
439 $(top_builddir)/src/util/libgnunetutil.la
441 perf_gnunet_service_fs_p2p_dht_SOURCES = \
442 perf_gnunet_service_fs_p2p.c
443 perf_gnunet_service_fs_p2p_dht_LDADD = \
444 $(top_builddir)/src/fs/libgnunetfstest.a \
445 $(top_builddir)/src/statistics/libgnunetstatistics.la \
446 $(top_builddir)/src/testing_old/libgnunettesting_old.la \
447 $(top_builddir)/src/fs/libgnunetfs.la \
448 $(top_builddir)/src/util/libgnunetutil.la
450 perf_gnunet_service_fs_p2p_respect_SOURCES = \
451 perf_gnunet_service_fs_p2p_respect.c
452 perf_gnunet_service_fs_p2p_respect_LDADD = \
453 $(top_builddir)/src/fs/libgnunetfstest.a \
454 $(top_builddir)/src/statistics/libgnunetstatistics.la \
455 $(top_builddir)/src/testing_old/libgnunettesting_old.la \
456 $(top_builddir)/src/fs/libgnunetfs.la \
457 $(top_builddir)/src/util/libgnunetutil.la
460 do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g'
462 test_gnunet_fs_psd.py: test_gnunet_fs_psd.py.in Makefile
463 $(do_subst) < $(srcdir)/test_gnunet_fs_psd.py.in > test_gnunet_fs_psd.py
464 chmod +x test_gnunet_fs_psd.py
466 test_gnunet_fs_rec.py: test_gnunet_fs_rec.py.in Makefile
467 $(do_subst) < $(srcdir)/test_gnunet_fs_rec.py.in > test_gnunet_fs_rec.py
468 chmod +x test_gnunet_fs_rec.py
470 test_gnunet_fs_ns.py: test_gnunet_fs_ns.py.in Makefile
471 $(do_subst) < $(srcdir)/test_gnunet_fs_ns.py.in > test_gnunet_fs_ns.py
472 chmod +x test_gnunet_fs_ns.py
474 test_gnunet_fs_idx.py: test_gnunet_fs_idx.py.in Makefile
475 $(do_subst) < $(srcdir)/test_gnunet_fs_idx.py.in > test_gnunet_fs_idx.py
476 chmod +x test_gnunet_fs_idx.py
480 test_fs_defaults.conf \
481 fs_test_lib_data.conf \
483 test_fs_download_data.conf \
484 test_fs_file_information_data.conf \
485 fs_test_lib_data.conf \
486 test_fs_list_indexed_data.conf \
487 test_fs_namespace_data.conf \
488 test_fs_publish_data.conf \
489 test_fs_search_data.conf \
490 test_fs_unindex_data.conf \
491 test_fs_uri_data.conf \
492 test_gnunet_service_fs_migration_data.conf \
493 test_gnunet_fs_idx_data.conf \
494 test_gnunet_fs_ns_data.conf \
495 test_gnunet_fs_psd_data.conf \
496 test_gnunet_fs_rec_data.conf \
497 test_gnunet_fs_rec_data.tgz \
498 test_gnunet_fs_psd.py.in \
499 test_gnunet_fs_rec.py.in \
500 test_gnunet_fs_ns.py.in \
501 test_gnunet_fs_idx.py.in \
504 CLEANFILES = $(check_SCRIPTS)