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 \
65 gnunet_download_SOURCES = \
67 gnunet_download_LDADD = \
68 $(top_builddir)/src/fs/libgnunetfs.la \
69 $(top_builddir)/src/util/libgnunetutil.la \
72 gnunet_publish_SOURCES = \
74 gnunet_publish_LDADD = \
75 $(top_builddir)/src/fs/libgnunetfs.la \
76 $(top_builddir)/src/util/libgnunetutil.la \
79 gnunet_pseudonym_SOURCES = \
81 gnunet_pseudonym_LDADD = \
82 $(top_builddir)/src/fs/libgnunetfs.la \
83 $(top_builddir)/src/util/libgnunetutil.la \
87 gnunet_search_SOURCES = \
89 gnunet_search_LDADD = \
90 $(top_builddir)/src/fs/libgnunetfs.la \
91 $(top_builddir)/src/util/libgnunetutil.la \
94 gnunet_service_fs_SOURCES = \
96 gnunet-service-fs_indexing.c gnunet-service-fs_indexing.h
97 gnunet_service_fs_LDADD = \
98 $(top_builddir)/src/fs/libgnunetfs.la \
99 $(top_builddir)/src/block/libgnunetblock.la \
100 $(top_builddir)/src/datastore/libgnunetdatastore.la \
101 $(top_builddir)/src/statistics/libgnunetstatistics.la \
102 $(top_builddir)/src/core/libgnunetcore.la \
103 $(top_builddir)/src/util/libgnunetutil.la \
106 gnunet_unindex_SOURCES = \
108 gnunet_unindex_LDADD = \
109 $(top_builddir)/src/fs/libgnunetfs.la \
110 $(top_builddir)/src/util/libgnunetutil.la \
119 test_fs_download_indexed \
120 test_fs_download_persistence \
121 test_fs_file_information \
123 test_fs_list_indexed \
125 test_fs_namespace_list_updateable \
127 test_fs_publish_persistence \
129 test_fs_search_persistence \
133 test_fs_unindex_persistence \
135 test_gnunet_service_fs_migration \
136 test_gnunet_service_fs_p2p
139 if HAVE_PYTHON_PEXPECT
141 test_gnunet_fs_psd.py \
142 test_gnunet_fs_rec.py \
143 test_gnunet_fs_ns.py \
144 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 \
156 test_fs_namespace_list_updateable \
158 test_fs_publish_persistence \
160 test_fs_search_persistence \
163 test_fs_unindex_persistence \
166 test_gnunet_service_fs_migration \
167 test_gnunet_service_fs_p2p \
172 test_fs_directory_SOURCES = \
174 test_fs_directory_LDADD = \
175 $(top_builddir)/src/fs/libgnunetfs.la \
176 $(top_builddir)/src/util/libgnunetutil.la
178 test_fs_download_SOURCES = \
180 test_fs_download_LDADD = \
181 $(top_builddir)/src/fs/libgnunetfs.la \
182 $(top_builddir)/src/util/libgnunetutil.la
184 test_fs_download_indexed_SOURCES = \
185 test_fs_download_indexed.c
186 test_fs_download_indexed_LDADD = \
187 $(top_builddir)/src/fs/libgnunetfs.la \
188 $(top_builddir)/src/util/libgnunetutil.la
190 test_fs_download_persistence_SOURCES = \
191 test_fs_download_persistence.c
192 test_fs_download_persistence_LDADD = \
193 $(top_builddir)/src/fs/libgnunetfs.la \
194 $(top_builddir)/src/util/libgnunetutil.la
196 test_fs_file_information_SOURCES = \
197 test_fs_file_information.c
198 test_fs_file_information_LDADD = \
199 $(top_builddir)/src/fs/libgnunetfs.la \
200 $(top_builddir)/src/util/libgnunetutil.la
202 test_fs_getopt_SOURCES = \
204 test_fs_getopt_LDADD = \
205 $(top_builddir)/src/fs/libgnunetfs.la \
206 $(top_builddir)/src/util/libgnunetutil.la
208 test_fs_list_indexed_SOURCES = \
209 test_fs_list_indexed.c
210 test_fs_list_indexed_LDADD = \
211 $(top_builddir)/src/fs/libgnunetfs.la \
212 $(top_builddir)/src/util/libgnunetutil.la
214 test_fs_namespace_SOURCES = \
216 test_fs_namespace_LDADD = \
217 $(top_builddir)/src/fs/libgnunetfs.la \
218 $(top_builddir)/src/util/libgnunetutil.la
220 test_fs_namespace_list_updateable_SOURCES = \
221 test_fs_namespace_list_updateable.c
222 test_fs_namespace_list_updateable_LDADD = \
223 $(top_builddir)/src/fs/libgnunetfs.la \
224 $(top_builddir)/src/util/libgnunetutil.la
226 test_fs_publish_SOURCES = \
228 test_fs_publish_LDADD = \
229 $(top_builddir)/src/fs/libgnunetfs.la \
230 $(top_builddir)/src/util/libgnunetutil.la
232 test_fs_publish_persistence_SOURCES = \
233 test_fs_publish_persistence.c
234 test_fs_publish_persistence_LDADD = \
235 $(top_builddir)/src/fs/libgnunetfs.la \
236 $(top_builddir)/src/util/libgnunetutil.la
238 test_fs_search_SOURCES = \
240 test_fs_search_LDADD = $(top_builddir)/src/fs/libgnunetfs.la \
241 $(top_builddir)/src/util/libgnunetutil.la
243 test_fs_search_persistence_SOURCES = \
244 test_fs_search_persistence.c
245 test_fs_search_persistence_LDADD = $(top_builddir)/src/fs/libgnunetfs.la \
246 $(top_builddir)/src/util/libgnunetutil.la
248 test_fs_start_stop_SOURCES = \
250 test_fs_start_stop_LDADD = \
251 $(top_builddir)/src/fs/libgnunetfs.la \
252 $(top_builddir)/src/util/libgnunetutil.la
254 test_fs_unindex_SOURCES = \
256 test_fs_unindex_LDADD = \
257 $(top_builddir)/src/fs/libgnunetfs.la \
258 $(top_builddir)/src/util/libgnunetutil.la
260 test_fs_unindex_persistence_SOURCES = \
261 test_fs_unindex_persistence.c
262 test_fs_unindex_persistence_LDADD = \
263 $(top_builddir)/src/fs/libgnunetfs.la \
264 $(top_builddir)/src/util/libgnunetutil.la
266 test_fs_uri_SOURCES = \
268 test_fs_uri_LDADD = \
269 $(top_builddir)/src/fs/libgnunetfs.la \
270 $(top_builddir)/src/util/libgnunetutil.la
272 test_fs_test_lib_SOURCES = \
274 test_fs_test_lib_LDADD = \
275 $(top_builddir)/src/fs/libgnunetfstest.a \
276 $(top_builddir)/src/testing/libgnunettesting.la \
277 $(top_builddir)/src/fs/libgnunetfs.la \
278 $(top_builddir)/src/util/libgnunetutil.la
280 test_gnunet_service_fs_p2p_SOURCES = \
281 test_gnunet_service_fs_p2p.c
282 test_gnunet_service_fs_p2p_LDADD = \
283 $(top_builddir)/src/fs/libgnunetfstest.a \
284 $(top_builddir)/src/testing/libgnunettesting.la \
285 $(top_builddir)/src/fs/libgnunetfs.la \
286 $(top_builddir)/src/util/libgnunetutil.la
288 test_gnunet_service_fs_migration_SOURCES = \
289 test_gnunet_service_fs_migration.c
290 test_gnunet_service_fs_migration_LDADD = \
291 $(top_builddir)/src/fs/libgnunetfstest.a \
292 $(top_builddir)/src/testing/libgnunettesting.la \
293 $(top_builddir)/src/fs/libgnunetfs.la \
294 $(top_builddir)/src/util/libgnunetutil.la
296 do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g'
298 test_gnunet_fs_psd.py: test_gnunet_fs_psd.py.in Makefile
299 $(do_subst) < $(srcdir)/test_gnunet_fs_psd.py.in > test_gnunet_fs_psd.py
300 chmod +x test_gnunet_fs_psd.py
302 test_gnunet_fs_rec.py: test_gnunet_fs_rec.py.in Makefile
303 $(do_subst) < $(srcdir)/test_gnunet_fs_rec.py.in > test_gnunet_fs_rec.py
304 chmod +x test_gnunet_fs_rec.py
306 test_gnunet_fs_ns.py: test_gnunet_fs_ns.py.in Makefile
307 $(do_subst) < $(srcdir)/test_gnunet_fs_ns.py.in > test_gnunet_fs_ns.py
308 chmod +x test_gnunet_fs_ns.py
310 test_gnunet_fs_idx.py: test_gnunet_fs_idx.py.in Makefile
311 $(do_subst) < $(srcdir)/test_gnunet_fs_idx.py.in > test_gnunet_fs_idx.py
312 chmod +x test_gnunet_fs_idx.py
316 fs_test_lib_data.conf \
318 test_fs_download_data.conf \
319 test_fs_file_information_data.conf \
320 test_fs_file_information_meta_data_image.jpg \
321 fs_test_lib_data.conf \
322 test_fs_list_indexed_data.conf \
323 test_fs_namespace_data.conf \
324 test_fs_publish_data.conf \
325 test_fs_search_data.conf \
326 test_fs_unindex_data.conf \
327 test_fs_uri_data.conf \
328 test_gnunet_service_fs_migration_data.conf \
329 test_gnunet_fs_idx_data.conf \
330 test_gnunet_fs_ns_data.conf \
331 test_gnunet_fs_psd_data.conf \
332 test_gnunet_fs_rec_data.conf \
333 test_gnunet_fs_rec_data.tgz \
334 test_gnunet_fs_psd.py.in \
335 test_gnunet_fs_rec.py.in \
336 test_gnunet_fs_ns.py.in \
337 test_gnunet_fs_idx.py.in
339 CLEANFILES = $(check_SCRIPTS)