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 = \
23 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_download_SOURCES = \
68 gnunet_download_LDADD = \
69 $(top_builddir)/src/fs/libgnunetfs.la \
70 $(top_builddir)/src/util/libgnunetutil.la \
73 gnunet_publish_SOURCES = \
75 gnunet_publish_LDADD = \
76 $(top_builddir)/src/fs/libgnunetfs.la \
77 $(top_builddir)/src/util/libgnunetutil.la \
80 gnunet_pseudonym_SOURCES = \
82 gnunet_pseudonym_LDADD = \
83 $(top_builddir)/src/fs/libgnunetfs.la \
84 $(top_builddir)/src/util/libgnunetutil.la \
88 gnunet_search_SOURCES = \
90 gnunet_search_LDADD = \
91 $(top_builddir)/src/fs/libgnunetfs.la \
92 $(top_builddir)/src/util/libgnunetutil.la \
95 gnunet_service_fs_SOURCES = \
97 gnunet-service-fs_indexing.c gnunet-service-fs_indexing.h
98 gnunet_service_fs_LDADD = \
99 $(top_builddir)/src/fs/libgnunetfs.la \
100 $(top_builddir)/src/block/libgnunetblock.la \
101 $(top_builddir)/src/datastore/libgnunetdatastore.la \
102 $(top_builddir)/src/statistics/libgnunetstatistics.la \
103 $(top_builddir)/src/core/libgnunetcore.la \
104 $(top_builddir)/src/util/libgnunetutil.la \
107 gnunet_unindex_SOURCES = \
109 gnunet_unindex_LDADD = \
110 $(top_builddir)/src/fs/libgnunetfs.la \
111 $(top_builddir)/src/util/libgnunetutil.la \
121 test_fs_download_indexed \
122 test_fs_download_persistence \
123 test_fs_file_information \
125 test_fs_list_indexed \
128 test_fs_publish_persistence \
130 test_fs_search_persistence \
134 test_fs_unindex_persistence \
136 test_gnunet_service_fs_migration \
137 test_gnunet_service_fs_p2p
140 if HAVE_PYTHON_PEXPECT
142 test_gnunet_fs_psd.py \
143 test_gnunet_fs_rec.py \
144 test_gnunet_fs_ns.py \
145 test_gnunet_fs_idx.py
151 test_fs_download_indexed \
152 test_fs_download_persistence \
153 test_fs_file_information \
154 test_fs_list_indexed \
157 test_fs_publish_persistence \
159 test_fs_search_persistence \
162 test_fs_unindex_persistence \
165 test_gnunet_service_fs_migration \
166 test_gnunet_service_fs_p2p \
170 test_fs_collection_SOURCES = \
172 test_fs_collection_LDADD = \
173 $(top_builddir)/src/fs/libgnunetfs.la \
174 $(top_builddir)/src/util/libgnunetutil.la
176 test_fs_directory_SOURCES = \
178 test_fs_directory_LDADD = \
179 $(top_builddir)/src/fs/libgnunetfs.la \
180 $(top_builddir)/src/util/libgnunetutil.la
182 test_fs_download_SOURCES = \
184 test_fs_download_LDADD = \
185 $(top_builddir)/src/fs/libgnunetfs.la \
186 $(top_builddir)/src/util/libgnunetutil.la
188 test_fs_download_indexed_SOURCES = \
189 test_fs_download_indexed.c
190 test_fs_download_indexed_LDADD = \
191 $(top_builddir)/src/fs/libgnunetfs.la \
192 $(top_builddir)/src/util/libgnunetutil.la
194 test_fs_download_persistence_SOURCES = \
195 test_fs_download_persistence.c
196 test_fs_download_persistence_LDADD = \
197 $(top_builddir)/src/fs/libgnunetfs.la \
198 $(top_builddir)/src/util/libgnunetutil.la
200 test_fs_file_information_SOURCES = \
201 test_fs_file_information.c
202 test_fs_file_information_LDADD = \
203 $(top_builddir)/src/fs/libgnunetfs.la \
204 $(top_builddir)/src/util/libgnunetutil.la
206 test_fs_getopt_SOURCES = \
208 test_fs_getopt_LDADD = \
209 $(top_builddir)/src/fs/libgnunetfs.la \
210 $(top_builddir)/src/util/libgnunetutil.la
212 test_fs_list_indexed_SOURCES = \
213 test_fs_list_indexed.c
214 test_fs_list_indexed_LDADD = \
215 $(top_builddir)/src/fs/libgnunetfs.la \
216 $(top_builddir)/src/util/libgnunetutil.la
218 test_fs_namespace_SOURCES = \
220 test_fs_namespace_LDADD = \
221 $(top_builddir)/src/fs/libgnunetfs.la \
222 $(top_builddir)/src/util/libgnunetutil.la
224 test_fs_publish_SOURCES = \
226 test_fs_publish_LDADD = \
227 $(top_builddir)/src/fs/libgnunetfs.la \
228 $(top_builddir)/src/util/libgnunetutil.la
230 test_fs_publish_persistence_SOURCES = \
231 test_fs_publish_persistence.c
232 test_fs_publish_persistence_LDADD = \
233 $(top_builddir)/src/fs/libgnunetfs.la \
234 $(top_builddir)/src/util/libgnunetutil.la
236 test_fs_search_SOURCES = \
238 test_fs_search_LDADD = $(top_builddir)/src/fs/libgnunetfs.la \
239 $(top_builddir)/src/util/libgnunetutil.la
241 test_fs_search_persistence_SOURCES = \
242 test_fs_search_persistence.c
243 test_fs_search_persistence_LDADD = $(top_builddir)/src/fs/libgnunetfs.la \
244 $(top_builddir)/src/util/libgnunetutil.la
246 test_fs_start_stop_SOURCES = \
248 test_fs_start_stop_LDADD = \
249 $(top_builddir)/src/fs/libgnunetfs.la \
250 $(top_builddir)/src/util/libgnunetutil.la
252 test_fs_unindex_SOURCES = \
254 test_fs_unindex_LDADD = \
255 $(top_builddir)/src/fs/libgnunetfs.la \
256 $(top_builddir)/src/util/libgnunetutil.la
258 test_fs_unindex_persistence_SOURCES = \
259 test_fs_unindex_persistence.c
260 test_fs_unindex_persistence_LDADD = \
261 $(top_builddir)/src/fs/libgnunetfs.la \
262 $(top_builddir)/src/util/libgnunetutil.la
264 test_fs_uri_SOURCES = \
266 test_fs_uri_LDADD = \
267 $(top_builddir)/src/fs/libgnunetfs.la \
268 $(top_builddir)/src/util/libgnunetutil.la
270 test_fs_test_lib_SOURCES = \
272 test_fs_test_lib_LDADD = \
273 $(top_builddir)/src/fs/libgnunetfstest.a \
274 $(top_builddir)/src/testing/libgnunettesting.la \
275 $(top_builddir)/src/fs/libgnunetfs.la \
276 $(top_builddir)/src/util/libgnunetutil.la
278 test_gnunet_service_fs_p2p_SOURCES = \
279 test_gnunet_service_fs_p2p.c
280 test_gnunet_service_fs_p2p_LDADD = \
281 $(top_builddir)/src/fs/libgnunetfstest.a \
282 $(top_builddir)/src/testing/libgnunettesting.la \
283 $(top_builddir)/src/fs/libgnunetfs.la \
284 $(top_builddir)/src/util/libgnunetutil.la
286 test_gnunet_service_fs_migration_SOURCES = \
287 test_gnunet_service_fs_migration.c
288 test_gnunet_service_fs_migration_LDADD = \
289 $(top_builddir)/src/fs/libgnunetfstest.a \
290 $(top_builddir)/src/testing/libgnunettesting.la \
291 $(top_builddir)/src/fs/libgnunetfs.la \
292 $(top_builddir)/src/util/libgnunetutil.la
294 do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g'
296 test_gnunet_fs_psd.py: test_gnunet_fs_psd.py.in Makefile
297 $(do_subst) < $(srcdir)/test_gnunet_fs_psd.py.in > test_gnunet_fs_psd.py
298 chmod +x test_gnunet_fs_psd.py
300 test_gnunet_fs_rec.py: test_gnunet_fs_rec.py.in Makefile
301 $(do_subst) < $(srcdir)/test_gnunet_fs_rec.py.in > test_gnunet_fs_rec.py
302 chmod +x test_gnunet_fs_rec.py
304 test_gnunet_fs_ns.py: test_gnunet_fs_ns.py.in Makefile
305 $(do_subst) < $(srcdir)/test_gnunet_fs_ns.py.in > test_gnunet_fs_ns.py
306 chmod +x test_gnunet_fs_ns.py
308 test_gnunet_fs_idx.py: test_gnunet_fs_idx.py.in Makefile
309 $(do_subst) < $(srcdir)/test_gnunet_fs_idx.py.in > test_gnunet_fs_idx.py
310 chmod +x test_gnunet_fs_idx.py
314 fs_test_lib_data.conf \
316 test_fs_collection_data.conf \
317 test_fs_download_data.conf \
318 test_fs_file_information_data.conf \
319 test_fs_file_information_data_image.jpg \
320 fs_test_lib_data.conf \
321 test_fs_list_indexed_data.conf \
322 test_fs_namespace_data.conf \
323 test_fs_publish_data.conf \
324 test_fs_search_data.conf \
325 test_fs_unindex_data.conf \
326 test_fs_uri_data.conf \
327 test_gnunet_service_fs_migration_data.conf \
328 test_gnunet_fs_idx_data.conf \
329 test_gnunet_fs_ns_data.conf \
330 test_gnunet_fs_psd_data.conf \
331 test_gnunet_fs_rec_data.conf \
332 test_gnunet_fs_rec_data.tgz \
333 test_gnunet_fs_psd.py.in \
334 test_gnunet_fs_rec.py.in \
335 test_gnunet_fs_ns.py.in \
336 test_gnunet_fs_idx.py.in
338 CLEANFILES = $(check_SCRIPTS)