2 INCLUDES = -I$(top_srcdir)/src/include
5 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
9 AM_CFLAGS = --coverage -O0
14 lib_LTLIBRARIES = libgnunetfs.la
16 noinst_LIBRARIES = libgnunetfstest.a
18 libgnunetfs_la_SOURCES = \
22 fs_file_information.c \
33 libgnunetfs_la_LIBADD = \
34 $(top_builddir)/src/datastore/libgnunetdatastore.la \
35 $(top_builddir)/src/util/libgnunetutil.la \
39 libgnunetfs_la_LDFLAGS = \
40 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
44 libgnunetfstest_a_SOURCES = \
45 fs_test_lib.c fs_test_lib.h
47 libgnunetfstest_a_LIBADD = \
48 $(top_builddir)/src/testing/libgnunettesting.la
59 gnunet_directory_SOURCES = \
61 gnunet_directory_LDADD = \
62 $(top_builddir)/src/fs/libgnunetfs.la \
63 $(top_builddir)/src/util/libgnunetutil.la \
66 gnunet_directory_DEPENDENCIES = \
69 gnunet_download_SOURCES = \
71 gnunet_download_LDADD = \
72 $(top_builddir)/src/fs/libgnunetfs.la \
73 $(top_builddir)/src/util/libgnunetutil.la \
75 gnunet_download_DEPENDENCIES = \
78 gnunet_publish_SOURCES = \
80 gnunet_publish_LDADD = \
81 $(top_builddir)/src/fs/libgnunetfs.la \
82 $(top_builddir)/src/util/libgnunetutil.la \
85 gnunet_publish_DEPENDENCIES = \
88 gnunet_pseudonym_SOURCES = \
90 gnunet_pseudonym_LDADD = \
91 $(top_builddir)/src/fs/libgnunetfs.la \
92 $(top_builddir)/src/util/libgnunetutil.la \
95 gnunet_pseudonym_DEPENDENCIES = \
98 gnunet_search_SOURCES = \
100 gnunet_search_LDADD = \
101 $(top_builddir)/src/fs/libgnunetfs.la \
102 $(top_builddir)/src/util/libgnunetutil.la \
105 gnunet_search_DEPENDENCIES = \
108 gnunet_service_fs_SOURCES = \
109 gnunet-service-fs.c gnunet-service-fs.h \
110 gnunet-service-fs_cp.c gnunet-service-fs_cp.h \
111 gnunet-service-fs_indexing.c gnunet-service-fs_indexing.h \
112 gnunet-service-fs_lc.c gnunet-service-fs_lc.h \
113 gnunet-service-fs_pe.c gnunet-service-fs_pe.h \
114 gnunet-service-fs_pr.c gnunet-service-fs_pr.h \
115 gnunet-service-fs_push.c gnunet-service-fs_push.h \
116 gnunet-service-fs_put.c gnunet-service-fs_put.h
117 gnunet_service_fs_LDADD = \
118 $(top_builddir)/src/fs/libgnunetfs.la \
119 $(top_builddir)/src/dht/libgnunetdht.la \
120 $(top_builddir)/src/block/libgnunetblock.la \
121 $(top_builddir)/src/datastore/libgnunetdatastore.la \
122 $(top_builddir)/src/statistics/libgnunetstatistics.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 = \
144 test_fs_download_indexed \
145 test_fs_download_persistence \
146 test_fs_file_information \
148 test_fs_list_indexed \
150 test_fs_namespace_list_updateable \
152 test_fs_publish_persistence \
154 test_fs_search_persistence \
158 test_fs_unindex_persistence \
160 test_gnunet_service_fs_migration \
161 test_gnunet_service_fs_p2p \
162 perf_gnunet_service_fs_p2p \
163 perf_gnunet_service_fs_p2p_dht \
164 perf_gnunet_service_fs_p2p_index \
165 perf_gnunet_service_fs_p2p_trust
168 if HAVE_PYTHON_PEXPECT
170 test_gnunet_fs_psd.py \
171 test_gnunet_fs_rec.py \
172 test_gnunet_fs_ns.py \
173 test_gnunet_fs_idx.py
180 test_fs_download_indexed \
181 test_fs_download_persistence \
182 test_fs_file_information \
183 test_fs_list_indexed \
185 test_fs_namespace_list_updateable \
187 test_fs_publish_persistence \
189 test_fs_search_persistence \
192 test_fs_unindex_persistence \
195 test_gnunet_service_fs_migration \
196 test_gnunet_service_fs_p2p \
201 test_fs_directory_SOURCES = \
203 test_fs_directory_LDADD = \
205 $(top_builddir)/src/fs/libgnunetfs.la \
206 $(top_builddir)/src/util/libgnunetutil.la
208 test_fs_download_SOURCES = \
210 test_fs_download_LDADD = \
211 $(top_builddir)/src/fs/libgnunetfs.la \
212 $(top_builddir)/src/util/libgnunetutil.la
214 test_fs_download_indexed_SOURCES = \
215 test_fs_download_indexed.c
216 test_fs_download_indexed_LDADD = \
217 $(top_builddir)/src/fs/libgnunetfs.la \
218 $(top_builddir)/src/util/libgnunetutil.la
220 test_fs_download_persistence_SOURCES = \
221 test_fs_download_persistence.c
222 test_fs_download_persistence_LDADD = \
223 $(top_builddir)/src/fs/libgnunetfs.la \
224 $(top_builddir)/src/util/libgnunetutil.la
226 test_fs_file_information_SOURCES = \
227 test_fs_file_information.c
228 test_fs_file_information_LDADD = \
230 $(top_builddir)/src/fs/libgnunetfs.la \
231 $(top_builddir)/src/util/libgnunetutil.la
233 test_fs_getopt_SOURCES = \
235 test_fs_getopt_LDADD = \
236 $(top_builddir)/src/fs/libgnunetfs.la \
237 $(top_builddir)/src/util/libgnunetutil.la
239 test_fs_list_indexed_SOURCES = \
240 test_fs_list_indexed.c
241 test_fs_list_indexed_LDADD = \
242 $(top_builddir)/src/fs/libgnunetfs.la \
243 $(top_builddir)/src/util/libgnunetutil.la
245 test_fs_namespace_SOURCES = \
247 test_fs_namespace_LDADD = \
248 $(top_builddir)/src/fs/libgnunetfs.la \
249 $(top_builddir)/src/util/libgnunetutil.la
251 test_fs_namespace_list_updateable_SOURCES = \
252 test_fs_namespace_list_updateable.c
253 test_fs_namespace_list_updateable_LDADD = \
254 $(top_builddir)/src/fs/libgnunetfs.la \
255 $(top_builddir)/src/util/libgnunetutil.la
257 test_fs_publish_SOURCES = \
259 test_fs_publish_LDADD = \
260 $(top_builddir)/src/fs/libgnunetfs.la \
261 $(top_builddir)/src/util/libgnunetutil.la
263 test_fs_publish_persistence_SOURCES = \
264 test_fs_publish_persistence.c
265 test_fs_publish_persistence_LDADD = \
266 $(top_builddir)/src/fs/libgnunetfs.la \
267 $(top_builddir)/src/util/libgnunetutil.la
269 test_fs_search_SOURCES = \
271 test_fs_search_LDADD = $(top_builddir)/src/fs/libgnunetfs.la \
272 $(top_builddir)/src/util/libgnunetutil.la
274 test_fs_search_persistence_SOURCES = \
275 test_fs_search_persistence.c
276 test_fs_search_persistence_LDADD = $(top_builddir)/src/fs/libgnunetfs.la \
277 $(top_builddir)/src/util/libgnunetutil.la
279 test_fs_start_stop_SOURCES = \
281 test_fs_start_stop_LDADD = \
282 $(top_builddir)/src/fs/libgnunetfs.la \
283 $(top_builddir)/src/util/libgnunetutil.la
285 test_fs_unindex_SOURCES = \
287 test_fs_unindex_LDADD = \
288 $(top_builddir)/src/fs/libgnunetfs.la \
289 $(top_builddir)/src/util/libgnunetutil.la
291 test_fs_unindex_persistence_SOURCES = \
292 test_fs_unindex_persistence.c
293 test_fs_unindex_persistence_LDADD = \
294 $(top_builddir)/src/fs/libgnunetfs.la \
295 $(top_builddir)/src/util/libgnunetutil.la
297 test_fs_uri_SOURCES = \
299 test_fs_uri_LDADD = \
300 $(top_builddir)/src/fs/libgnunetfs.la \
301 $(top_builddir)/src/util/libgnunetutil.la
303 test_fs_test_lib_SOURCES = \
305 test_fs_test_lib_LDADD = \
306 $(top_builddir)/src/fs/libgnunetfstest.a \
307 $(top_builddir)/src/testing/libgnunettesting.la \
308 $(top_builddir)/src/fs/libgnunetfs.la \
309 $(top_builddir)/src/util/libgnunetutil.la
311 test_gnunet_service_fs_p2p_SOURCES = \
312 test_gnunet_service_fs_p2p.c
313 test_gnunet_service_fs_p2p_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_migration_SOURCES = \
320 test_gnunet_service_fs_migration.c
321 test_gnunet_service_fs_migration_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 perf_gnunet_service_fs_p2p_SOURCES = \
328 perf_gnunet_service_fs_p2p.c
329 perf_gnunet_service_fs_p2p_LDADD = \
330 $(top_builddir)/src/fs/libgnunetfstest.a \
331 $(top_builddir)/src/statistics/libgnunetstatistics.la \
332 $(top_builddir)/src/testing/libgnunettesting.la \
333 $(top_builddir)/src/fs/libgnunetfs.la \
334 $(top_builddir)/src/util/libgnunetutil.la
336 perf_gnunet_service_fs_p2p_index_SOURCES = \
337 perf_gnunet_service_fs_p2p.c
338 perf_gnunet_service_fs_p2p_index_LDADD = \
339 $(top_builddir)/src/fs/libgnunetfstest.a \
340 $(top_builddir)/src/statistics/libgnunetstatistics.la \
341 $(top_builddir)/src/testing/libgnunettesting.la \
342 $(top_builddir)/src/fs/libgnunetfs.la \
343 $(top_builddir)/src/util/libgnunetutil.la
345 perf_gnunet_service_fs_p2p_dht_SOURCES = \
346 perf_gnunet_service_fs_p2p.c
347 perf_gnunet_service_fs_p2p_dht_LDADD = \
348 $(top_builddir)/src/fs/libgnunetfstest.a \
349 $(top_builddir)/src/statistics/libgnunetstatistics.la \
350 $(top_builddir)/src/testing/libgnunettesting.la \
351 $(top_builddir)/src/fs/libgnunetfs.la \
352 $(top_builddir)/src/util/libgnunetutil.la
354 perf_gnunet_service_fs_p2p_trust_SOURCES = \
355 perf_gnunet_service_fs_p2p_trust.c
356 perf_gnunet_service_fs_p2p_trust_LDADD = \
357 $(top_builddir)/src/fs/libgnunetfstest.a \
358 $(top_builddir)/src/statistics/libgnunetstatistics.la \
359 $(top_builddir)/src/testing/libgnunettesting.la \
360 $(top_builddir)/src/fs/libgnunetfs.la \
361 $(top_builddir)/src/util/libgnunetutil.la
364 do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g'
366 test_gnunet_fs_psd.py: test_gnunet_fs_psd.py.in Makefile
367 $(do_subst) < $(srcdir)/test_gnunet_fs_psd.py.in > test_gnunet_fs_psd.py
368 chmod +x test_gnunet_fs_psd.py
370 test_gnunet_fs_rec.py: test_gnunet_fs_rec.py.in Makefile
371 $(do_subst) < $(srcdir)/test_gnunet_fs_rec.py.in > test_gnunet_fs_rec.py
372 chmod +x test_gnunet_fs_rec.py
374 test_gnunet_fs_ns.py: test_gnunet_fs_ns.py.in Makefile
375 $(do_subst) < $(srcdir)/test_gnunet_fs_ns.py.in > test_gnunet_fs_ns.py
376 chmod +x test_gnunet_fs_ns.py
378 test_gnunet_fs_idx.py: test_gnunet_fs_idx.py.in Makefile
379 $(do_subst) < $(srcdir)/test_gnunet_fs_idx.py.in > test_gnunet_fs_idx.py
380 chmod +x test_gnunet_fs_idx.py
384 fs_test_lib_data.conf \
386 test_fs_download_data.conf \
387 test_fs_file_information_data.conf \
388 test_fs_file_information_meta_data_image.jpg \
389 fs_test_lib_data.conf \
390 test_fs_list_indexed_data.conf \
391 test_fs_namespace_data.conf \
392 test_fs_publish_data.conf \
393 test_fs_search_data.conf \
394 test_fs_unindex_data.conf \
395 test_fs_uri_data.conf \
396 test_gnunet_service_fs_migration_data.conf \
397 test_gnunet_fs_idx_data.conf \
398 test_gnunet_fs_ns_data.conf \
399 test_gnunet_fs_psd_data.conf \
400 test_gnunet_fs_rec_data.conf \
401 test_gnunet_fs_rec_data.tgz \
402 test_gnunet_fs_psd.py.in \
403 test_gnunet_fs_rec.py.in \
404 test_gnunet_fs_ns.py.in \
405 test_gnunet_fs_idx.py.in
407 CLEANFILES = $(check_SCRIPTS)