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 \
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 \
64 gnunet_directory_DEPENDENCIES = \
67 gnunet_download_SOURCES = \
69 gnunet_download_LDADD = \
70 $(top_builddir)/src/fs/libgnunetfs.la \
71 $(top_builddir)/src/util/libgnunetutil.la \
73 gnunet_download_DEPENDENCIES = \
76 gnunet_publish_SOURCES = \
78 gnunet_publish_LDADD = \
79 $(top_builddir)/src/fs/libgnunetfs.la \
80 $(top_builddir)/src/util/libgnunetutil.la \
82 gnunet_publish_DEPENDENCIES = \
85 gnunet_pseudonym_SOURCES = \
87 gnunet_pseudonym_LDADD = \
88 $(top_builddir)/src/fs/libgnunetfs.la \
89 $(top_builddir)/src/util/libgnunetutil.la \
92 gnunet_pseudonym_DEPENDENCIES = \
95 gnunet_search_SOURCES = \
97 gnunet_search_LDADD = \
98 $(top_builddir)/src/fs/libgnunetfs.la \
99 $(top_builddir)/src/util/libgnunetutil.la \
101 gnunet_search_DEPENDENCIES = \
104 gnunet_service_fs_SOURCES = \
105 gnunet-service-fs.c \
106 gnunet-service-fs_indexing.c gnunet-service-fs_indexing.h
107 gnunet_service_fs_LDADD = \
108 $(top_builddir)/src/fs/libgnunetfs.la \
109 $(top_builddir)/src/dht/libgnunetdht.la \
110 $(top_builddir)/src/block/libgnunetblock.la \
111 $(top_builddir)/src/datastore/libgnunetdatastore.la \
112 $(top_builddir)/src/statistics/libgnunetstatistics.la \
113 $(top_builddir)/src/core/libgnunetcore.la \
114 $(top_builddir)/src/util/libgnunetutil.la \
116 gnunet_service_fs_DEPENDENCIES = \
119 gnunet_unindex_SOURCES = \
121 gnunet_unindex_LDADD = \
122 $(top_builddir)/src/fs/libgnunetfs.la \
123 $(top_builddir)/src/util/libgnunetutil.la \
125 gnunet_unindex_DEPENDENCIES = \
134 test_fs_download_indexed \
135 test_fs_download_persistence \
136 test_fs_file_information \
138 test_fs_list_indexed \
140 test_fs_namespace_list_updateable \
142 test_fs_publish_persistence \
144 test_fs_search_persistence \
148 test_fs_unindex_persistence \
150 test_gnunet_service_fs_migration \
151 test_gnunet_service_fs_p2p \
152 perf_gnunet_service_fs_p2p \
153 perf_gnunet_service_fs_p2p_dht \
154 perf_gnunet_service_fs_p2p_index
157 if HAVE_PYTHON_PEXPECT
159 test_gnunet_fs_psd.py \
160 test_gnunet_fs_rec.py \
161 test_gnunet_fs_ns.py \
162 test_gnunet_fs_idx.py
169 test_fs_download_indexed \
170 test_fs_download_persistence \
171 test_fs_file_information \
172 test_fs_list_indexed \
174 test_fs_namespace_list_updateable \
176 test_fs_publish_persistence \
178 test_fs_search_persistence \
181 test_fs_unindex_persistence \
184 test_gnunet_service_fs_migration \
185 test_gnunet_service_fs_p2p \
190 test_fs_directory_SOURCES = \
192 test_fs_directory_LDADD = \
193 $(top_builddir)/src/fs/libgnunetfs.la \
194 $(top_builddir)/src/util/libgnunetutil.la
196 test_fs_download_SOURCES = \
198 test_fs_download_LDADD = \
199 $(top_builddir)/src/fs/libgnunetfs.la \
200 $(top_builddir)/src/util/libgnunetutil.la
202 test_fs_download_indexed_SOURCES = \
203 test_fs_download_indexed.c
204 test_fs_download_indexed_LDADD = \
205 $(top_builddir)/src/fs/libgnunetfs.la \
206 $(top_builddir)/src/util/libgnunetutil.la
208 test_fs_download_persistence_SOURCES = \
209 test_fs_download_persistence.c
210 test_fs_download_persistence_LDADD = \
211 $(top_builddir)/src/fs/libgnunetfs.la \
212 $(top_builddir)/src/util/libgnunetutil.la
214 test_fs_file_information_SOURCES = \
215 test_fs_file_information.c
216 test_fs_file_information_LDADD = \
217 $(top_builddir)/src/fs/libgnunetfs.la \
218 $(top_builddir)/src/util/libgnunetutil.la
220 test_fs_getopt_SOURCES = \
222 test_fs_getopt_LDADD = \
223 $(top_builddir)/src/fs/libgnunetfs.la \
224 $(top_builddir)/src/util/libgnunetutil.la
226 test_fs_list_indexed_SOURCES = \
227 test_fs_list_indexed.c
228 test_fs_list_indexed_LDADD = \
229 $(top_builddir)/src/fs/libgnunetfs.la \
230 $(top_builddir)/src/util/libgnunetutil.la
232 test_fs_namespace_SOURCES = \
234 test_fs_namespace_LDADD = \
235 $(top_builddir)/src/fs/libgnunetfs.la \
236 $(top_builddir)/src/util/libgnunetutil.la
238 test_fs_namespace_list_updateable_SOURCES = \
239 test_fs_namespace_list_updateable.c
240 test_fs_namespace_list_updateable_LDADD = \
241 $(top_builddir)/src/fs/libgnunetfs.la \
242 $(top_builddir)/src/util/libgnunetutil.la
244 test_fs_publish_SOURCES = \
246 test_fs_publish_LDADD = \
247 $(top_builddir)/src/fs/libgnunetfs.la \
248 $(top_builddir)/src/util/libgnunetutil.la
250 test_fs_publish_persistence_SOURCES = \
251 test_fs_publish_persistence.c
252 test_fs_publish_persistence_LDADD = \
253 $(top_builddir)/src/fs/libgnunetfs.la \
254 $(top_builddir)/src/util/libgnunetutil.la
256 test_fs_search_SOURCES = \
258 test_fs_search_LDADD = $(top_builddir)/src/fs/libgnunetfs.la \
259 $(top_builddir)/src/util/libgnunetutil.la
261 test_fs_search_persistence_SOURCES = \
262 test_fs_search_persistence.c
263 test_fs_search_persistence_LDADD = $(top_builddir)/src/fs/libgnunetfs.la \
264 $(top_builddir)/src/util/libgnunetutil.la
266 test_fs_start_stop_SOURCES = \
268 test_fs_start_stop_LDADD = \
269 $(top_builddir)/src/fs/libgnunetfs.la \
270 $(top_builddir)/src/util/libgnunetutil.la
272 test_fs_unindex_SOURCES = \
274 test_fs_unindex_LDADD = \
275 $(top_builddir)/src/fs/libgnunetfs.la \
276 $(top_builddir)/src/util/libgnunetutil.la
278 test_fs_unindex_persistence_SOURCES = \
279 test_fs_unindex_persistence.c
280 test_fs_unindex_persistence_LDADD = \
281 $(top_builddir)/src/fs/libgnunetfs.la \
282 $(top_builddir)/src/util/libgnunetutil.la
284 test_fs_uri_SOURCES = \
286 test_fs_uri_LDADD = \
287 $(top_builddir)/src/fs/libgnunetfs.la \
288 $(top_builddir)/src/util/libgnunetutil.la
290 test_fs_test_lib_SOURCES = \
292 test_fs_test_lib_LDADD = \
293 $(top_builddir)/src/fs/libgnunetfstest.a \
294 $(top_builddir)/src/testing/libgnunettesting.la \
295 $(top_builddir)/src/fs/libgnunetfs.la \
296 $(top_builddir)/src/util/libgnunetutil.la
298 test_gnunet_service_fs_p2p_SOURCES = \
299 test_gnunet_service_fs_p2p.c
300 test_gnunet_service_fs_p2p_LDADD = \
301 $(top_builddir)/src/fs/libgnunetfstest.a \
302 $(top_builddir)/src/testing/libgnunettesting.la \
303 $(top_builddir)/src/fs/libgnunetfs.la \
304 $(top_builddir)/src/util/libgnunetutil.la
306 test_gnunet_service_fs_migration_SOURCES = \
307 test_gnunet_service_fs_migration.c
308 test_gnunet_service_fs_migration_LDADD = \
309 $(top_builddir)/src/fs/libgnunetfstest.a \
310 $(top_builddir)/src/testing/libgnunettesting.la \
311 $(top_builddir)/src/fs/libgnunetfs.la \
312 $(top_builddir)/src/util/libgnunetutil.la
314 perf_gnunet_service_fs_p2p_SOURCES = \
315 perf_gnunet_service_fs_p2p.c
316 perf_gnunet_service_fs_p2p_LDADD = \
317 $(top_builddir)/src/fs/libgnunetfstest.a \
318 $(top_builddir)/src/testing/libgnunettesting.la \
319 $(top_builddir)/src/fs/libgnunetfs.la \
320 $(top_builddir)/src/util/libgnunetutil.la
322 perf_gnunet_service_fs_p2p_index_SOURCES = \
323 perf_gnunet_service_fs_p2p.c
324 perf_gnunet_service_fs_p2p_index_LDADD = \
325 $(top_builddir)/src/fs/libgnunetfstest.a \
326 $(top_builddir)/src/testing/libgnunettesting.la \
327 $(top_builddir)/src/fs/libgnunetfs.la \
328 $(top_builddir)/src/util/libgnunetutil.la
330 perf_gnunet_service_fs_p2p_dht_SOURCES = \
331 perf_gnunet_service_fs_p2p.c
332 perf_gnunet_service_fs_p2p_dht_LDADD = \
333 $(top_builddir)/src/fs/libgnunetfstest.a \
334 $(top_builddir)/src/testing/libgnunettesting.la \
335 $(top_builddir)/src/fs/libgnunetfs.la \
336 $(top_builddir)/src/util/libgnunetutil.la
339 do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g'
341 test_gnunet_fs_psd.py: test_gnunet_fs_psd.py.in Makefile
342 $(do_subst) < $(srcdir)/test_gnunet_fs_psd.py.in > test_gnunet_fs_psd.py
343 chmod +x test_gnunet_fs_psd.py
345 test_gnunet_fs_rec.py: test_gnunet_fs_rec.py.in Makefile
346 $(do_subst) < $(srcdir)/test_gnunet_fs_rec.py.in > test_gnunet_fs_rec.py
347 chmod +x test_gnunet_fs_rec.py
349 test_gnunet_fs_ns.py: test_gnunet_fs_ns.py.in Makefile
350 $(do_subst) < $(srcdir)/test_gnunet_fs_ns.py.in > test_gnunet_fs_ns.py
351 chmod +x test_gnunet_fs_ns.py
353 test_gnunet_fs_idx.py: test_gnunet_fs_idx.py.in Makefile
354 $(do_subst) < $(srcdir)/test_gnunet_fs_idx.py.in > test_gnunet_fs_idx.py
355 chmod +x test_gnunet_fs_idx.py
359 fs_test_lib_data.conf \
361 test_fs_download_data.conf \
362 test_fs_file_information_data.conf \
363 test_fs_file_information_meta_data_image.jpg \
364 fs_test_lib_data.conf \
365 test_fs_list_indexed_data.conf \
366 test_fs_namespace_data.conf \
367 test_fs_publish_data.conf \
368 test_fs_search_data.conf \
369 test_fs_unindex_data.conf \
370 test_fs_uri_data.conf \
371 test_gnunet_service_fs_migration_data.conf \
372 test_gnunet_fs_idx_data.conf \
373 test_gnunet_fs_ns_data.conf \
374 test_gnunet_fs_psd_data.conf \
375 test_gnunet_fs_rec_data.conf \
376 test_gnunet_fs_rec_data.tgz \
377 test_gnunet_fs_psd.py.in \
378 test_gnunet_fs_rec.py.in \
379 test_gnunet_fs_ns.py.in \
380 test_gnunet_fs_idx.py.in
382 CLEANFILES = $(check_SCRIPTS)