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_drq.c gnunet-service-fs_drq.h \
98 gnunet-service-fs_indexing.c gnunet-service-fs_indexing.h
99 gnunet_service_fs_LDADD = \
100 $(top_builddir)/src/fs/libgnunetfs.la \
101 $(top_builddir)/src/block/libgnunetblock.la \
102 $(top_builddir)/src/datastore/libgnunetdatastore.la \
103 $(top_builddir)/src/statistics/libgnunetstatistics.la \
104 $(top_builddir)/src/core/libgnunetcore.la \
105 $(top_builddir)/src/util/libgnunetutil.la \
108 gnunet_unindex_SOURCES = \
110 gnunet_unindex_LDADD = \
111 $(top_builddir)/src/fs/libgnunetfs.la \
112 $(top_builddir)/src/util/libgnunetutil.la \
122 test_fs_file_information \
124 test_fs_list_indexed \
132 test_gnunet_service_fs_p2p
135 if HAVE_PYTHON_PEXPECT
136 TEST_EXTENSIONS = .py
137 PY_LOG_COMPILER = $(PYTHON)
141 test_gnunet_fs_psd.py \
142 test_gnunet_fs_rec.py \
143 test_gnunet_fs_ns.py \
144 test_gnunet_fs_idx.py
147 TESTS = $(check_SCRIPTS) \
150 test_fs_file_information \
151 test_fs_list_indexed \
159 test_gnunet_service_fs_p2p
163 test_fs_collection_SOURCES = \
165 test_fs_collection_LDADD = \
166 $(top_builddir)/src/fs/libgnunetfs.la \
167 $(top_builddir)/src/util/libgnunetutil.la
169 test_fs_directory_SOURCES = \
171 test_fs_directory_LDADD = \
172 $(top_builddir)/src/fs/libgnunetfs.la \
173 $(top_builddir)/src/util/libgnunetutil.la
175 test_fs_download_SOURCES = \
177 test_fs_download_LDADD = \
178 $(top_builddir)/src/fs/libgnunetfs.la \
179 $(top_builddir)/src/arm/libgnunetarm.la \
180 $(top_builddir)/src/util/libgnunetutil.la
182 test_fs_file_information_SOURCES = \
183 test_fs_file_information.c
184 test_fs_file_information_LDADD = \
185 $(top_builddir)/src/fs/libgnunetfs.la \
186 $(top_builddir)/src/util/libgnunetutil.la
188 test_fs_getopt_SOURCES = \
190 test_fs_getopt_LDADD = \
191 $(top_builddir)/src/fs/libgnunetfs.la \
192 $(top_builddir)/src/util/libgnunetutil.la
194 test_fs_list_indexed_SOURCES = \
195 test_fs_list_indexed.c
196 test_fs_list_indexed_LDADD = \
197 $(top_builddir)/src/fs/libgnunetfs.la \
198 $(top_builddir)/src/arm/libgnunetarm.la \
199 $(top_builddir)/src/util/libgnunetutil.la
201 test_fs_namespace_SOURCES = \
203 test_fs_namespace_LDADD = \
204 $(top_builddir)/src/fs/libgnunetfs.la \
205 $(top_builddir)/src/arm/libgnunetarm.la \
206 $(top_builddir)/src/util/libgnunetutil.la
208 test_fs_publish_SOURCES = \
210 test_fs_publish_LDADD = \
211 $(top_builddir)/src/fs/libgnunetfs.la \
212 $(top_builddir)/src/arm/libgnunetarm.la \
213 $(top_builddir)/src/util/libgnunetutil.la
215 test_fs_search_SOURCES = \
217 test_fs_search_LDADD = $(top_builddir)/src/fs/libgnunetfs.la \
218 $(top_builddir)/src/arm/libgnunetarm.la \
219 $(top_builddir)/src/util/libgnunetutil.la
221 test_fs_start_stop_SOURCES = \
223 test_fs_start_stop_LDADD = \
224 $(top_builddir)/src/fs/libgnunetfs.la \
225 $(top_builddir)/src/arm/libgnunetarm.la \
226 $(top_builddir)/src/util/libgnunetutil.la
228 test_fs_unindex_SOURCES = \
230 test_fs_unindex_LDADD = \
231 $(top_builddir)/src/fs/libgnunetfs.la \
232 $(top_builddir)/src/arm/libgnunetarm.la \
233 $(top_builddir)/src/util/libgnunetutil.la
235 test_fs_uri_SOURCES = \
237 test_fs_uri_LDADD = \
238 $(top_builddir)/src/fs/libgnunetfs.la \
239 $(top_builddir)/src/util/libgnunetutil.la
241 test_fs_test_lib_SOURCES = \
243 test_fs_test_lib_LDADD = \
244 $(top_builddir)/src/fs/libgnunetfstest.a \
245 $(top_builddir)/src/testing/libgnunettesting.la \
246 $(top_builddir)/src/fs/libgnunetfs.la \
247 $(top_builddir)/src/util/libgnunetutil.la
249 test_gnunet_service_fs_p2p_SOURCES = \
250 test_gnunet_service_fs_p2p.c
251 test_gnunet_service_fs_p2p_LDADD = \
252 $(top_builddir)/src/fs/libgnunetfstest.a \
253 $(top_builddir)/src/testing/libgnunettesting.la \
254 $(top_builddir)/src/fs/libgnunetfs.la \
255 $(top_builddir)/src/util/libgnunetutil.la
259 fs_test_lib_data.conf \
261 test_fs_collection_data.conf \
262 test_fs_download_data.conf \
263 test_fs_file_information_data.conf \
264 fs_test_lib_data.conf \
265 test_fs_list_indexed_data.conf \
266 test_fs_namespace_data.conf \
267 test_fs_publish_data.conf \
268 test_fs_search_data.conf \
269 test_fs_unindex_data.conf \
270 test_fs_uri_data.conf \
271 test_gnunet_fs_idx_data.conf \
272 test_gnunet_fs_ns_data.conf \
273 test_gnunet_fs_psd_data.conf \
274 test_gnunet_fs_rec_data.conf \
275 test_gnunet_fs_rec_data.tgz \