1 INCLUDES = -I$(top_srcdir)/src/include
4 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
8 AM_CFLAGS = --coverage -O0
13 lib_LTLIBRARIES = libgnunetfs.la
15 noinst_LIBRARIES = libgnunetfstest.a
17 libgnunetfs_la_SOURCES = \
21 fs_file_information.c \
32 libgnunetfs_la_LIBADD = \
33 $(top_builddir)/src/datastore/libgnunetdatastore.la \
34 $(top_builddir)/src/util/libgnunetutil.la \
38 libgnunetfs_la_LDFLAGS = \
39 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
43 libgnunetfstest_a_SOURCES = \
44 fs_test_lib.c fs_test_lib.h
46 libgnunetfstest_a_LIBADD = \
47 $(top_builddir)/src/testing/libgnunettesting.la
58 gnunet_directory_SOURCES = \
60 gnunet_directory_LDADD = \
61 $(top_builddir)/src/fs/libgnunetfs.la \
62 $(top_builddir)/src/util/libgnunetutil.la \
65 gnunet_directory_DEPENDENCIES = \
68 gnunet_download_SOURCES = \
70 gnunet_download_LDADD = \
71 $(top_builddir)/src/fs/libgnunetfs.la \
72 $(top_builddir)/src/util/libgnunetutil.la \
74 gnunet_download_DEPENDENCIES = \
77 gnunet_publish_SOURCES = \
79 gnunet_publish_LDADD = \
80 $(top_builddir)/src/fs/libgnunetfs.la \
81 $(top_builddir)/src/util/libgnunetutil.la \
84 gnunet_publish_DEPENDENCIES = \
87 gnunet_pseudonym_SOURCES = \
89 gnunet_pseudonym_LDADD = \
90 $(top_builddir)/src/fs/libgnunetfs.la \
91 $(top_builddir)/src/util/libgnunetutil.la \
94 gnunet_pseudonym_DEPENDENCIES = \
97 gnunet_search_SOURCES = \
99 gnunet_search_LDADD = \
100 $(top_builddir)/src/fs/libgnunetfs.la \
101 $(top_builddir)/src/util/libgnunetutil.la \
104 gnunet_search_DEPENDENCIES = \
107 gnunet_service_fs_SOURCES = \
108 gnunet-service-fs.c gnunet-service-fs.h \
109 gnunet-service-fs_cp.c gnunet-service-fs_cp.h \
110 gnunet-service-fs_indexing.c gnunet-service-fs_indexing.h \
111 gnunet-service-fs_lc.c gnunet-service-fs_lc.h \
112 gnunet-service-fs_pe.c gnunet-service-fs_pe.h \
113 gnunet-service-fs_pr.c gnunet-service-fs_pr.h \
114 gnunet-service-fs_push.c gnunet-service-fs_push.h \
115 gnunet-service-fs_put.c gnunet-service-fs_put.h
116 gnunet_service_fs_LDADD = \
117 $(top_builddir)/src/fs/libgnunetfs.la \
118 $(top_builddir)/src/dht/libgnunetdht.la \
119 $(top_builddir)/src/block/libgnunetblock.la \
120 $(top_builddir)/src/datastore/libgnunetdatastore.la \
121 $(top_builddir)/src/statistics/libgnunetstatistics.la \
122 $(top_builddir)/src/ats/libgnunetats.la \
123 $(top_builddir)/src/core/libgnunetcore.la \
124 $(top_builddir)/src/util/libgnunetutil.la \
126 gnunet_service_fs_DEPENDENCIES = \
129 gnunet_unindex_SOURCES = \
131 gnunet_unindex_LDADD = \
132 $(top_builddir)/src/fs/libgnunetfs.la \
133 $(top_builddir)/src/util/libgnunetutil.la \
135 gnunet_unindex_DEPENDENCIES = \
140 perf_gnunet_service_fs_p2p \
141 perf_gnunet_service_fs_p2p_dht \
142 perf_gnunet_service_fs_p2p_index \
143 perf_gnunet_service_fs_p2p_trust
149 test_fs_download_indexed \
150 test_fs_download_persistence \
151 test_fs_file_information \
153 test_fs_list_indexed \
155 test_fs_namespace_list_updateable \
157 test_fs_publish_persistence \
159 test_fs_search_persistence \
163 test_fs_unindex_persistence \
165 test_gnunet_service_fs_migration \
166 test_gnunet_service_fs_p2p \
170 if HAVE_PYTHON_PEXPECT
172 test_gnunet_fs_psd.py \
173 test_gnunet_fs_rec.py \
174 test_gnunet_fs_idx.py \
183 test_fs_download_indexed \
184 test_fs_download_persistence \
185 test_fs_file_information \
186 test_fs_list_indexed \
188 test_fs_namespace_list_updateable \
190 test_fs_publish_persistence \
192 test_fs_search_persistence \
195 test_fs_unindex_persistence \
198 test_gnunet_service_fs_migration \
199 test_gnunet_service_fs_p2p \
200 perf_gnunet_service_fs_p2p \
201 perf_gnunet_service_fs_p2p_index \
202 perf_gnunet_service_fs_p2p_trust \
209 test_fs_directory_SOURCES = \
211 test_fs_directory_LDADD = \
213 $(top_builddir)/src/fs/libgnunetfs.la \
214 $(top_builddir)/src/util/libgnunetutil.la
216 test_fs_download_SOURCES = \
218 test_fs_download_LDADD = \
219 $(top_builddir)/src/fs/libgnunetfs.la \
220 $(top_builddir)/src/util/libgnunetutil.la
222 test_fs_download_indexed_SOURCES = \
223 test_fs_download_indexed.c
224 test_fs_download_indexed_LDADD = \
225 $(top_builddir)/src/fs/libgnunetfs.la \
226 $(top_builddir)/src/util/libgnunetutil.la
228 test_fs_download_persistence_SOURCES = \
229 test_fs_download_persistence.c
230 test_fs_download_persistence_LDADD = \
231 $(top_builddir)/src/fs/libgnunetfs.la \
232 $(top_builddir)/src/util/libgnunetutil.la
234 test_fs_file_information_SOURCES = \
235 test_fs_file_information.c
236 test_fs_file_information_LDADD = \
238 $(top_builddir)/src/fs/libgnunetfs.la \
239 $(top_builddir)/src/util/libgnunetutil.la
241 test_fs_getopt_SOURCES = \
243 test_fs_getopt_LDADD = \
244 $(top_builddir)/src/fs/libgnunetfs.la \
245 $(top_builddir)/src/util/libgnunetutil.la
247 test_fs_list_indexed_SOURCES = \
248 test_fs_list_indexed.c
249 test_fs_list_indexed_LDADD = \
250 $(top_builddir)/src/fs/libgnunetfs.la \
251 $(top_builddir)/src/util/libgnunetutil.la
253 test_fs_namespace_SOURCES = \
255 test_fs_namespace_LDADD = \
256 $(top_builddir)/src/fs/libgnunetfs.la \
257 $(top_builddir)/src/util/libgnunetutil.la
259 test_fs_namespace_list_updateable_SOURCES = \
260 test_fs_namespace_list_updateable.c
261 test_fs_namespace_list_updateable_LDADD = \
262 $(top_builddir)/src/fs/libgnunetfs.la \
263 $(top_builddir)/src/util/libgnunetutil.la
265 test_fs_publish_SOURCES = \
267 test_fs_publish_LDADD = \
268 $(top_builddir)/src/fs/libgnunetfs.la \
269 $(top_builddir)/src/util/libgnunetutil.la
271 test_fs_publish_persistence_SOURCES = \
272 test_fs_publish_persistence.c
273 test_fs_publish_persistence_LDADD = \
274 $(top_builddir)/src/fs/libgnunetfs.la \
275 $(top_builddir)/src/util/libgnunetutil.la
277 test_fs_search_SOURCES = \
279 test_fs_search_LDADD = $(top_builddir)/src/fs/libgnunetfs.la \
280 $(top_builddir)/src/util/libgnunetutil.la
282 test_fs_search_persistence_SOURCES = \
283 test_fs_search_persistence.c
284 test_fs_search_persistence_LDADD = $(top_builddir)/src/fs/libgnunetfs.la \
285 $(top_builddir)/src/util/libgnunetutil.la
287 test_fs_start_stop_SOURCES = \
289 test_fs_start_stop_LDADD = \
290 $(top_builddir)/src/fs/libgnunetfs.la \
291 $(top_builddir)/src/util/libgnunetutil.la
293 test_fs_unindex_SOURCES = \
295 test_fs_unindex_LDADD = \
296 $(top_builddir)/src/fs/libgnunetfs.la \
297 $(top_builddir)/src/util/libgnunetutil.la
299 test_fs_unindex_persistence_SOURCES = \
300 test_fs_unindex_persistence.c
301 test_fs_unindex_persistence_LDADD = \
302 $(top_builddir)/src/fs/libgnunetfs.la \
303 $(top_builddir)/src/util/libgnunetutil.la
305 test_fs_uri_SOURCES = \
307 test_fs_uri_LDADD = \
308 $(top_builddir)/src/fs/libgnunetfs.la \
309 $(top_builddir)/src/util/libgnunetutil.la
311 test_fs_test_lib_SOURCES = \
313 test_fs_test_lib_LDADD = \
314 $(top_builddir)/src/fs/libgnunetfstest.a \
315 $(top_builddir)/src/testing/libgnunettesting.la \
316 $(top_builddir)/src/fs/libgnunetfs.la \
317 $(top_builddir)/src/util/libgnunetutil.la
319 test_gnunet_service_fs_p2p_SOURCES = \
320 test_gnunet_service_fs_p2p.c
321 test_gnunet_service_fs_p2p_LDADD = \
322 $(top_builddir)/src/fs/libgnunetfstest.a \
323 $(top_builddir)/src/testing/libgnunettesting.la \
324 $(top_builddir)/src/fs/libgnunetfs.la \
325 $(top_builddir)/src/util/libgnunetutil.la
327 test_gnunet_service_fs_migration_SOURCES = \
328 test_gnunet_service_fs_migration.c
329 test_gnunet_service_fs_migration_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 perf_gnunet_service_fs_p2p_SOURCES = \
336 perf_gnunet_service_fs_p2p.c
337 perf_gnunet_service_fs_p2p_LDADD = \
338 $(top_builddir)/src/fs/libgnunetfstest.a \
339 $(top_builddir)/src/statistics/libgnunetstatistics.la \
340 $(top_builddir)/src/testing/libgnunettesting.la \
341 $(top_builddir)/src/fs/libgnunetfs.la \
342 $(top_builddir)/src/util/libgnunetutil.la
344 perf_gnunet_service_fs_p2p_index_SOURCES = \
345 perf_gnunet_service_fs_p2p.c
346 perf_gnunet_service_fs_p2p_index_LDADD = \
347 $(top_builddir)/src/fs/libgnunetfstest.a \
348 $(top_builddir)/src/statistics/libgnunetstatistics.la \
349 $(top_builddir)/src/testing/libgnunettesting.la \
350 $(top_builddir)/src/fs/libgnunetfs.la \
351 $(top_builddir)/src/util/libgnunetutil.la
353 perf_gnunet_service_fs_p2p_dht_SOURCES = \
354 perf_gnunet_service_fs_p2p.c
355 perf_gnunet_service_fs_p2p_dht_LDADD = \
356 $(top_builddir)/src/fs/libgnunetfstest.a \
357 $(top_builddir)/src/statistics/libgnunetstatistics.la \
358 $(top_builddir)/src/testing/libgnunettesting.la \
359 $(top_builddir)/src/fs/libgnunetfs.la \
360 $(top_builddir)/src/util/libgnunetutil.la
362 perf_gnunet_service_fs_p2p_trust_SOURCES = \
363 perf_gnunet_service_fs_p2p_trust.c
364 perf_gnunet_service_fs_p2p_trust_LDADD = \
365 $(top_builddir)/src/fs/libgnunetfstest.a \
366 $(top_builddir)/src/statistics/libgnunetstatistics.la \
367 $(top_builddir)/src/testing/libgnunettesting.la \
368 $(top_builddir)/src/fs/libgnunetfs.la \
369 $(top_builddir)/src/util/libgnunetutil.la
372 do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g'
374 test_gnunet_fs_psd.py: test_gnunet_fs_psd.py.in Makefile
375 $(do_subst) < $(srcdir)/test_gnunet_fs_psd.py.in > test_gnunet_fs_psd.py
376 chmod +x test_gnunet_fs_psd.py
378 test_gnunet_fs_rec.py: test_gnunet_fs_rec.py.in Makefile
379 $(do_subst) < $(srcdir)/test_gnunet_fs_rec.py.in > test_gnunet_fs_rec.py
380 chmod +x test_gnunet_fs_rec.py
382 test_gnunet_fs_ns.py: test_gnunet_fs_ns.py.in Makefile
383 $(do_subst) < $(srcdir)/test_gnunet_fs_ns.py.in > test_gnunet_fs_ns.py
384 chmod +x test_gnunet_fs_ns.py
386 test_gnunet_fs_idx.py: test_gnunet_fs_idx.py.in Makefile
387 $(do_subst) < $(srcdir)/test_gnunet_fs_idx.py.in > test_gnunet_fs_idx.py
388 chmod +x test_gnunet_fs_idx.py
392 test_fs_defaults.conf \
393 fs_test_lib_data.conf \
395 test_fs_download_data.conf \
396 test_fs_file_information_data.conf \
397 test_fs_file_information_meta_data_image.jpg \
398 fs_test_lib_data.conf \
399 test_fs_list_indexed_data.conf \
400 test_fs_namespace_data.conf \
401 test_fs_publish_data.conf \
402 test_fs_search_data.conf \
403 test_fs_unindex_data.conf \
404 test_fs_uri_data.conf \
405 test_gnunet_service_fs_migration_data.conf \
406 test_gnunet_fs_idx_data.conf \
407 test_gnunet_fs_ns_data.conf \
408 test_gnunet_fs_psd_data.conf \
409 test_gnunet_fs_rec_data.conf \
410 test_gnunet_fs_rec_data.tgz \
411 test_gnunet_fs_psd.py.in \
412 test_gnunet_fs_rec.py.in \
413 test_gnunet_fs_ns.py.in \
414 test_gnunet_fs_idx.py.in
416 CLEANFILES = $(check_SCRIPTS)