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 \
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 \
83 gnunet_publish_DEPENDENCIES = \
86 gnunet_pseudonym_SOURCES = \
88 gnunet_pseudonym_LDADD = \
89 $(top_builddir)/src/fs/libgnunetfs.la \
90 $(top_builddir)/src/util/libgnunetutil.la \
93 gnunet_pseudonym_DEPENDENCIES = \
96 gnunet_search_SOURCES = \
98 gnunet_search_LDADD = \
99 $(top_builddir)/src/fs/libgnunetfs.la \
100 $(top_builddir)/src/util/libgnunetutil.la \
102 gnunet_search_DEPENDENCIES = \
105 gnunet_service_fs_SOURCES = \
106 gnunet-service-fs.c \
107 gnunet-service-fs_indexing.c gnunet-service-fs_indexing.h
108 gnunet_service_fs_LDADD = \
109 $(top_builddir)/src/fs/libgnunetfs.la \
110 $(top_builddir)/src/dht/libgnunetdht.la \
111 $(top_builddir)/src/block/libgnunetblock.la \
112 $(top_builddir)/src/datastore/libgnunetdatastore.la \
113 $(top_builddir)/src/statistics/libgnunetstatistics.la \
114 $(top_builddir)/src/core/libgnunetcore.la \
115 $(top_builddir)/src/util/libgnunetutil.la \
117 gnunet_service_fs_DEPENDENCIES = \
120 gnunet_unindex_SOURCES = \
122 gnunet_unindex_LDADD = \
123 $(top_builddir)/src/fs/libgnunetfs.la \
124 $(top_builddir)/src/util/libgnunetutil.la \
126 gnunet_unindex_DEPENDENCIES = \
135 test_fs_download_indexed \
136 test_fs_download_persistence \
137 test_fs_file_information \
139 test_fs_list_indexed \
141 test_fs_namespace_list_updateable \
143 test_fs_publish_persistence \
145 test_fs_search_persistence \
149 test_fs_unindex_persistence \
151 test_gnunet_service_fs_migration \
152 test_gnunet_service_fs_p2p \
153 perf_gnunet_service_fs_p2p \
154 perf_gnunet_service_fs_p2p_dht \
155 perf_gnunet_service_fs_p2p_index
158 if HAVE_PYTHON_PEXPECT
160 test_gnunet_fs_psd.py \
161 test_gnunet_fs_rec.py \
162 test_gnunet_fs_ns.py \
163 test_gnunet_fs_idx.py
170 test_fs_download_indexed \
171 test_fs_download_persistence \
172 test_fs_file_information \
173 test_fs_list_indexed \
175 test_fs_namespace_list_updateable \
177 test_fs_publish_persistence \
179 test_fs_search_persistence \
182 test_fs_unindex_persistence \
185 test_gnunet_service_fs_migration \
186 test_gnunet_service_fs_p2p \
191 test_fs_directory_SOURCES = \
193 test_fs_directory_LDADD = \
194 $(top_builddir)/src/fs/libgnunetfs.la \
195 $(top_builddir)/src/util/libgnunetutil.la
197 test_fs_download_SOURCES = \
199 test_fs_download_LDADD = \
200 $(top_builddir)/src/fs/libgnunetfs.la \
201 $(top_builddir)/src/util/libgnunetutil.la
203 test_fs_download_indexed_SOURCES = \
204 test_fs_download_indexed.c
205 test_fs_download_indexed_LDADD = \
206 $(top_builddir)/src/fs/libgnunetfs.la \
207 $(top_builddir)/src/util/libgnunetutil.la
209 test_fs_download_persistence_SOURCES = \
210 test_fs_download_persistence.c
211 test_fs_download_persistence_LDADD = \
212 $(top_builddir)/src/fs/libgnunetfs.la \
213 $(top_builddir)/src/util/libgnunetutil.la
215 test_fs_file_information_SOURCES = \
216 test_fs_file_information.c
217 test_fs_file_information_LDADD = \
218 $(top_builddir)/src/fs/libgnunetfs.la \
219 $(top_builddir)/src/util/libgnunetutil.la
221 test_fs_getopt_SOURCES = \
223 test_fs_getopt_LDADD = \
224 $(top_builddir)/src/fs/libgnunetfs.la \
225 $(top_builddir)/src/util/libgnunetutil.la
227 test_fs_list_indexed_SOURCES = \
228 test_fs_list_indexed.c
229 test_fs_list_indexed_LDADD = \
230 $(top_builddir)/src/fs/libgnunetfs.la \
231 $(top_builddir)/src/util/libgnunetutil.la
233 test_fs_namespace_SOURCES = \
235 test_fs_namespace_LDADD = \
236 $(top_builddir)/src/fs/libgnunetfs.la \
237 $(top_builddir)/src/util/libgnunetutil.la
239 test_fs_namespace_list_updateable_SOURCES = \
240 test_fs_namespace_list_updateable.c
241 test_fs_namespace_list_updateable_LDADD = \
242 $(top_builddir)/src/fs/libgnunetfs.la \
243 $(top_builddir)/src/util/libgnunetutil.la
245 test_fs_publish_SOURCES = \
247 test_fs_publish_LDADD = \
248 $(top_builddir)/src/fs/libgnunetfs.la \
249 $(top_builddir)/src/util/libgnunetutil.la
251 test_fs_publish_persistence_SOURCES = \
252 test_fs_publish_persistence.c
253 test_fs_publish_persistence_LDADD = \
254 $(top_builddir)/src/fs/libgnunetfs.la \
255 $(top_builddir)/src/util/libgnunetutil.la
257 test_fs_search_SOURCES = \
259 test_fs_search_LDADD = $(top_builddir)/src/fs/libgnunetfs.la \
260 $(top_builddir)/src/util/libgnunetutil.la
262 test_fs_search_persistence_SOURCES = \
263 test_fs_search_persistence.c
264 test_fs_search_persistence_LDADD = $(top_builddir)/src/fs/libgnunetfs.la \
265 $(top_builddir)/src/util/libgnunetutil.la
267 test_fs_start_stop_SOURCES = \
269 test_fs_start_stop_LDADD = \
270 $(top_builddir)/src/fs/libgnunetfs.la \
271 $(top_builddir)/src/util/libgnunetutil.la
273 test_fs_unindex_SOURCES = \
275 test_fs_unindex_LDADD = \
276 $(top_builddir)/src/fs/libgnunetfs.la \
277 $(top_builddir)/src/util/libgnunetutil.la
279 test_fs_unindex_persistence_SOURCES = \
280 test_fs_unindex_persistence.c
281 test_fs_unindex_persistence_LDADD = \
282 $(top_builddir)/src/fs/libgnunetfs.la \
283 $(top_builddir)/src/util/libgnunetutil.la
285 test_fs_uri_SOURCES = \
287 test_fs_uri_LDADD = \
288 $(top_builddir)/src/fs/libgnunetfs.la \
289 $(top_builddir)/src/util/libgnunetutil.la
291 test_fs_test_lib_SOURCES = \
293 test_fs_test_lib_LDADD = \
294 $(top_builddir)/src/fs/libgnunetfstest.a \
295 $(top_builddir)/src/testing/libgnunettesting.la \
296 $(top_builddir)/src/fs/libgnunetfs.la \
297 $(top_builddir)/src/util/libgnunetutil.la
299 test_gnunet_service_fs_p2p_SOURCES = \
300 test_gnunet_service_fs_p2p.c
301 test_gnunet_service_fs_p2p_LDADD = \
302 $(top_builddir)/src/fs/libgnunetfstest.a \
303 $(top_builddir)/src/testing/libgnunettesting.la \
304 $(top_builddir)/src/fs/libgnunetfs.la \
305 $(top_builddir)/src/util/libgnunetutil.la
307 test_gnunet_service_fs_migration_SOURCES = \
308 test_gnunet_service_fs_migration.c
309 test_gnunet_service_fs_migration_LDADD = \
310 $(top_builddir)/src/fs/libgnunetfstest.a \
311 $(top_builddir)/src/testing/libgnunettesting.la \
312 $(top_builddir)/src/fs/libgnunetfs.la \
313 $(top_builddir)/src/util/libgnunetutil.la
315 perf_gnunet_service_fs_p2p_SOURCES = \
316 perf_gnunet_service_fs_p2p.c
317 perf_gnunet_service_fs_p2p_LDADD = \
318 $(top_builddir)/src/fs/libgnunetfstest.a \
319 $(top_builddir)/src/testing/libgnunettesting.la \
320 $(top_builddir)/src/fs/libgnunetfs.la \
321 $(top_builddir)/src/util/libgnunetutil.la
323 perf_gnunet_service_fs_p2p_index_SOURCES = \
324 perf_gnunet_service_fs_p2p.c
325 perf_gnunet_service_fs_p2p_index_LDADD = \
326 $(top_builddir)/src/fs/libgnunetfstest.a \
327 $(top_builddir)/src/testing/libgnunettesting.la \
328 $(top_builddir)/src/fs/libgnunetfs.la \
329 $(top_builddir)/src/util/libgnunetutil.la
331 perf_gnunet_service_fs_p2p_dht_SOURCES = \
332 perf_gnunet_service_fs_p2p.c
333 perf_gnunet_service_fs_p2p_dht_LDADD = \
334 $(top_builddir)/src/fs/libgnunetfstest.a \
335 $(top_builddir)/src/testing/libgnunettesting.la \
336 $(top_builddir)/src/fs/libgnunetfs.la \
337 $(top_builddir)/src/util/libgnunetutil.la
340 do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g'
342 test_gnunet_fs_psd.py: test_gnunet_fs_psd.py.in Makefile
343 $(do_subst) < $(srcdir)/test_gnunet_fs_psd.py.in > test_gnunet_fs_psd.py
344 chmod +x test_gnunet_fs_psd.py
346 test_gnunet_fs_rec.py: test_gnunet_fs_rec.py.in Makefile
347 $(do_subst) < $(srcdir)/test_gnunet_fs_rec.py.in > test_gnunet_fs_rec.py
348 chmod +x test_gnunet_fs_rec.py
350 test_gnunet_fs_ns.py: test_gnunet_fs_ns.py.in Makefile
351 $(do_subst) < $(srcdir)/test_gnunet_fs_ns.py.in > test_gnunet_fs_ns.py
352 chmod +x test_gnunet_fs_ns.py
354 test_gnunet_fs_idx.py: test_gnunet_fs_idx.py.in Makefile
355 $(do_subst) < $(srcdir)/test_gnunet_fs_idx.py.in > test_gnunet_fs_idx.py
356 chmod +x test_gnunet_fs_idx.py
360 fs_test_lib_data.conf \
362 test_fs_download_data.conf \
363 test_fs_file_information_data.conf \
364 test_fs_file_information_meta_data_image.jpg \
365 fs_test_lib_data.conf \
366 test_fs_list_indexed_data.conf \
367 test_fs_namespace_data.conf \
368 test_fs_publish_data.conf \
369 test_fs_search_data.conf \
370 test_fs_unindex_data.conf \
371 test_fs_uri_data.conf \
372 test_gnunet_service_fs_migration_data.conf \
373 test_gnunet_fs_idx_data.conf \
374 test_gnunet_fs_ns_data.conf \
375 test_gnunet_fs_psd_data.conf \
376 test_gnunet_fs_rec_data.conf \
377 test_gnunet_fs_rec_data.tgz \
378 test_gnunet_fs_psd.py.in \
379 test_gnunet_fs_rec.py.in \
380 test_gnunet_fs_ns.py.in \
381 test_gnunet_fs_idx.py.in
383 CLEANFILES = $(check_SCRIPTS)