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/dht/libgnunetdht.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 \
120 test_fs_download_indexed \
121 test_fs_download_persistence \
122 test_fs_file_information \
124 test_fs_list_indexed \
126 test_fs_namespace_list_updateable \
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
152 test_fs_download_indexed \
153 test_fs_download_persistence \
154 test_fs_file_information \
155 test_fs_list_indexed \
157 test_fs_namespace_list_updateable \
159 test_fs_publish_persistence \
161 test_fs_search_persistence \
164 test_fs_unindex_persistence \
167 test_gnunet_service_fs_migration \
168 test_gnunet_service_fs_p2p \
173 test_fs_directory_SOURCES = \
175 test_fs_directory_LDADD = \
176 $(top_builddir)/src/fs/libgnunetfs.la \
177 $(top_builddir)/src/util/libgnunetutil.la
179 test_fs_download_SOURCES = \
181 test_fs_download_LDADD = \
182 $(top_builddir)/src/fs/libgnunetfs.la \
183 $(top_builddir)/src/util/libgnunetutil.la
185 test_fs_download_indexed_SOURCES = \
186 test_fs_download_indexed.c
187 test_fs_download_indexed_LDADD = \
188 $(top_builddir)/src/fs/libgnunetfs.la \
189 $(top_builddir)/src/util/libgnunetutil.la
191 test_fs_download_persistence_SOURCES = \
192 test_fs_download_persistence.c
193 test_fs_download_persistence_LDADD = \
194 $(top_builddir)/src/fs/libgnunetfs.la \
195 $(top_builddir)/src/util/libgnunetutil.la
197 test_fs_file_information_SOURCES = \
198 test_fs_file_information.c
199 test_fs_file_information_LDADD = \
200 $(top_builddir)/src/fs/libgnunetfs.la \
201 $(top_builddir)/src/util/libgnunetutil.la
203 test_fs_getopt_SOURCES = \
205 test_fs_getopt_LDADD = \
206 $(top_builddir)/src/fs/libgnunetfs.la \
207 $(top_builddir)/src/util/libgnunetutil.la
209 test_fs_list_indexed_SOURCES = \
210 test_fs_list_indexed.c
211 test_fs_list_indexed_LDADD = \
212 $(top_builddir)/src/fs/libgnunetfs.la \
213 $(top_builddir)/src/util/libgnunetutil.la
215 test_fs_namespace_SOURCES = \
217 test_fs_namespace_LDADD = \
218 $(top_builddir)/src/fs/libgnunetfs.la \
219 $(top_builddir)/src/util/libgnunetutil.la
221 test_fs_namespace_list_updateable_SOURCES = \
222 test_fs_namespace_list_updateable.c
223 test_fs_namespace_list_updateable_LDADD = \
224 $(top_builddir)/src/fs/libgnunetfs.la \
225 $(top_builddir)/src/util/libgnunetutil.la
227 test_fs_publish_SOURCES = \
229 test_fs_publish_LDADD = \
230 $(top_builddir)/src/fs/libgnunetfs.la \
231 $(top_builddir)/src/util/libgnunetutil.la
233 test_fs_publish_persistence_SOURCES = \
234 test_fs_publish_persistence.c
235 test_fs_publish_persistence_LDADD = \
236 $(top_builddir)/src/fs/libgnunetfs.la \
237 $(top_builddir)/src/util/libgnunetutil.la
239 test_fs_search_SOURCES = \
241 test_fs_search_LDADD = $(top_builddir)/src/fs/libgnunetfs.la \
242 $(top_builddir)/src/util/libgnunetutil.la
244 test_fs_search_persistence_SOURCES = \
245 test_fs_search_persistence.c
246 test_fs_search_persistence_LDADD = $(top_builddir)/src/fs/libgnunetfs.la \
247 $(top_builddir)/src/util/libgnunetutil.la
249 test_fs_start_stop_SOURCES = \
251 test_fs_start_stop_LDADD = \
252 $(top_builddir)/src/fs/libgnunetfs.la \
253 $(top_builddir)/src/util/libgnunetutil.la
255 test_fs_unindex_SOURCES = \
257 test_fs_unindex_LDADD = \
258 $(top_builddir)/src/fs/libgnunetfs.la \
259 $(top_builddir)/src/util/libgnunetutil.la
261 test_fs_unindex_persistence_SOURCES = \
262 test_fs_unindex_persistence.c
263 test_fs_unindex_persistence_LDADD = \
264 $(top_builddir)/src/fs/libgnunetfs.la \
265 $(top_builddir)/src/util/libgnunetutil.la
267 test_fs_uri_SOURCES = \
269 test_fs_uri_LDADD = \
270 $(top_builddir)/src/fs/libgnunetfs.la \
271 $(top_builddir)/src/util/libgnunetutil.la
273 test_fs_test_lib_SOURCES = \
275 test_fs_test_lib_LDADD = \
276 $(top_builddir)/src/fs/libgnunetfstest.a \
277 $(top_builddir)/src/testing/libgnunettesting.la \
278 $(top_builddir)/src/fs/libgnunetfs.la \
279 $(top_builddir)/src/util/libgnunetutil.la
281 test_gnunet_service_fs_p2p_SOURCES = \
282 test_gnunet_service_fs_p2p.c
283 test_gnunet_service_fs_p2p_LDADD = \
284 $(top_builddir)/src/fs/libgnunetfstest.a \
285 $(top_builddir)/src/testing/libgnunettesting.la \
286 $(top_builddir)/src/fs/libgnunetfs.la \
287 $(top_builddir)/src/util/libgnunetutil.la
289 test_gnunet_service_fs_migration_SOURCES = \
290 test_gnunet_service_fs_migration.c
291 test_gnunet_service_fs_migration_LDADD = \
292 $(top_builddir)/src/fs/libgnunetfstest.a \
293 $(top_builddir)/src/testing/libgnunettesting.la \
294 $(top_builddir)/src/fs/libgnunetfs.la \
295 $(top_builddir)/src/util/libgnunetutil.la
297 do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g'
299 test_gnunet_fs_psd.py: test_gnunet_fs_psd.py.in Makefile
300 $(do_subst) < $(srcdir)/test_gnunet_fs_psd.py.in > test_gnunet_fs_psd.py
301 chmod +x test_gnunet_fs_psd.py
303 test_gnunet_fs_rec.py: test_gnunet_fs_rec.py.in Makefile
304 $(do_subst) < $(srcdir)/test_gnunet_fs_rec.py.in > test_gnunet_fs_rec.py
305 chmod +x test_gnunet_fs_rec.py
307 test_gnunet_fs_ns.py: test_gnunet_fs_ns.py.in Makefile
308 $(do_subst) < $(srcdir)/test_gnunet_fs_ns.py.in > test_gnunet_fs_ns.py
309 chmod +x test_gnunet_fs_ns.py
311 test_gnunet_fs_idx.py: test_gnunet_fs_idx.py.in Makefile
312 $(do_subst) < $(srcdir)/test_gnunet_fs_idx.py.in > test_gnunet_fs_idx.py
313 chmod +x test_gnunet_fs_idx.py
317 fs_test_lib_data.conf \
319 test_fs_download_data.conf \
320 test_fs_file_information_data.conf \
321 test_fs_file_information_meta_data_image.jpg \
322 fs_test_lib_data.conf \
323 test_fs_list_indexed_data.conf \
324 test_fs_namespace_data.conf \
325 test_fs_publish_data.conf \
326 test_fs_search_data.conf \
327 test_fs_unindex_data.conf \
328 test_fs_uri_data.conf \
329 test_gnunet_service_fs_migration_data.conf \
330 test_gnunet_fs_idx_data.conf \
331 test_gnunet_fs_ns_data.conf \
332 test_gnunet_fs_psd_data.conf \
333 test_gnunet_fs_rec_data.conf \
334 test_gnunet_fs_rec_data.tgz \
335 test_gnunet_fs_psd.py.in \
336 test_gnunet_fs_rec.py.in \
337 test_gnunet_fs_ns.py.in \
338 test_gnunet_fs_idx.py.in
340 CLEANFILES = $(check_SCRIPTS)