1 INCLUDES = -I$(top_srcdir)/src/include -I$(top_builddir)/src/include
3 plugindir = $(libdir)/gnunet
5 pkgcfgdir= $(pkgdatadir)/config.d/
8 util.conf resolver.conf
11 noinst_LTLIBRARIES = \
13 libgnunetutilwin_la_SOURCES = \
16 libgnunetutilwin_la_LDFLAGS = \
17 -no-undefined -Wl,--export-all-symbols
18 libgnunetutilwin_la_LIBADD = \
19 -lshell32 -liconv -lstdc++ \
20 -lcomdlg32 -lgdi32 -liphlpapi
21 WINLIB = libgnunetutilwin.la
25 SERVER_CLIENT_UNIX = test_server_with_client_unix
29 AM_CFLAGS = --coverage -O0
35 test_common_logging_dummy
37 gnunet_config_diff_SOURCES = \
39 gnunet_config_diff_LDADD = \
40 $(top_builddir)/src/util/libgnunetutil.la
41 gnunet_config_diff_DEPENDENCIES = \
44 test_common_logging_dummy_SOURCES = \
45 test_common_logging_dummy.c
46 test_common_logging_dummy_LDADD = \
47 $(top_builddir)/src/util/libgnunetutil.la
48 test_common_logging_dummy_DEPENDENCIES = \
51 lib_LTLIBRARIES = libgnunetutil.la
53 libgnunetutil_la_SOURCES = \
62 container_bloomfilter.c \
64 container_meta_data.c \
65 container_multihashmap.c \
88 resolver_api.c resolver.h \
100 libgnunetutil_la_LIBADD = \
101 $(GCLIBADD) $(WINLIB) \
106 libgnunetutil_la_LDFLAGS = \
112 gnunet-service-resolver \
115 gnunet_service_resolver_SOURCES = \
116 gnunet-service-resolver.c
117 gnunet_service_resolver_LDADD = \
118 $(top_builddir)/src/util/libgnunetutil.la \
120 gnunet_service_resolver_DEPENDENCIES = \
124 gnunet_resolver_SOURCES = \
126 gnunet_resolver_LDADD = \
127 $(top_builddir)/src/util/libgnunetutil.la \
129 gnunet_resolver_DEPENDENCIES = \
132 plugin_LTLIBRARIES = \
133 libgnunet_plugin_test.la
135 libgnunet_plugin_test_la_SOURCES = \
137 libgnunet_plugin_test_la_LDFLAGS = \
148 test_common_allocation \
150 test_common_logging \
152 test_container_bloomfilter \
153 test_container_meta_data \
154 test_container_multihashmap \
155 test_container_heap \
156 test_container_slist \
158 test_crypto_aes_weak \
168 test_connection_addressing \
169 test_connection_receive_cancel \
170 test_connection_timeout \
171 test_connection_timeout_no_connect \
172 test_connection_transmit_cancel \
181 test_scheduler_delay \
183 test_server_disconnect \
184 test_server_with_client \
185 $(SERVER_CLIENT_UNIX) \
190 test_os_start_process \
191 test_common_logging_runtime_loglevels
194 TESTS = $(check_PROGRAMS)
200 $(top_builddir)/src/util/libgnunetutil.la
203 test_os_start_process_SOURCES = \
204 test_os_start_process.c
205 test_os_start_process_LDADD = \
206 $(top_builddir)/src/util/libgnunetutil.la
208 test_client_SOURCES = \
210 test_client_LDADD = \
211 $(top_builddir)/src/util/libgnunetutil.la
213 test_common_allocation_SOURCES = \
214 test_common_allocation.c
215 test_common_allocation_LDADD = \
216 $(top_builddir)/src/util/libgnunetutil.la
218 test_common_endian_SOURCES = \
220 test_common_endian_LDADD = \
221 $(top_builddir)/src/util/libgnunetutil.la
223 test_common_logging_SOURCES = \
224 test_common_logging.c
225 test_common_logging_LDADD = \
226 $(top_builddir)/src/util/libgnunetutil.la
228 test_common_logging_runtime_loglevels_SOURCES = \
229 test_common_logging_runtime_loglevels.c
230 test_common_logging_runtime_loglevels_LDADD = \
231 $(top_builddir)/src/util/libgnunetutil.la
233 test_configuration_SOURCES = \
235 test_configuration_LDADD = \
236 $(top_builddir)/src/util/libgnunetutil.la
238 test_container_bloomfilter_SOURCES = \
239 test_container_bloomfilter.c
240 test_container_bloomfilter_LDADD = \
241 $(top_builddir)/src/util/libgnunetutil.la
243 test_container_meta_data_SOURCES = \
244 test_container_meta_data.c
245 test_container_meta_data_LDADD = \
246 $(top_builddir)/src/util/libgnunetutil.la -lextractor
248 test_container_multihashmap_SOURCES = \
249 test_container_multihashmap.c
250 test_container_multihashmap_LDADD = \
251 $(top_builddir)/src/util/libgnunetutil.la
253 test_container_heap_SOURCES = \
254 test_container_heap.c
255 test_container_heap_LDADD = \
256 $(top_builddir)/src/util/libgnunetutil.la
258 test_container_slist_SOURCES = \
259 test_container_slist.c
260 test_container_slist_LDADD = \
261 $(top_builddir)/src/util/libgnunetutil.la
263 test_crypto_aes_SOURCES = \
265 test_crypto_aes_LDADD = \
266 $(top_builddir)/src/util/libgnunetutil.la
268 test_crypto_aes_weak_SOURCES = \
269 test_crypto_aes_weak.c
270 test_crypto_aes_weak_LDADD = \
271 $(top_builddir)/src/util/libgnunetutil.la \
274 test_crypto_crc_SOURCES = \
276 test_crypto_crc_LDADD = \
277 $(top_builddir)/src/util/libgnunetutil.la
279 test_crypto_hash_SOURCES = \
281 test_crypto_hash_LDADD = \
282 $(top_builddir)/src/util/libgnunetutil.la
284 test_crypto_hkdf_SOURCES = \
286 test_crypto_hkdf_LDADD = \
287 $(top_builddir)/src/util/libgnunetutil.la
289 test_crypto_ksk_SOURCES = \
291 test_crypto_ksk_LDADD = \
292 $(top_builddir)/src/util/libgnunetutil.la
294 test_crypto_random_SOURCES = \
296 test_crypto_random_LDADD = \
297 $(top_builddir)/src/util/libgnunetutil.la
299 test_crypto_rsa_SOURCES = \
301 test_crypto_rsa_LDADD = \
302 $(top_builddir)/src/util/libgnunetutil.la
304 test_disk_SOURCES = \
307 $(top_builddir)/src/util/libgnunetutil.la
309 test_getopt_SOURCES = \
311 test_getopt_LDADD = \
312 $(top_builddir)/src/util/libgnunetutil.la
314 test_connection_SOURCES = \
316 test_connection_LDADD = \
317 $(top_builddir)/src/util/libgnunetutil.la
319 test_connection_addressing_SOURCES = \
320 test_connection_addressing.c
321 test_connection_addressing_LDADD = \
322 $(top_builddir)/src/util/libgnunetutil.la
324 test_connection_receive_cancel_SOURCES = \
325 test_connection_receive_cancel.c
326 test_connection_receive_cancel_LDADD = \
327 $(top_builddir)/src/util/libgnunetutil.la
329 test_connection_timeout_SOURCES = \
330 test_connection_timeout.c
331 test_connection_timeout_LDADD = \
332 $(top_builddir)/src/util/libgnunetutil.la
334 test_connection_timeout_no_connect_SOURCES = \
335 test_connection_timeout_no_connect.c
336 test_connection_timeout_no_connect_LDADD = \
337 $(top_builddir)/src/util/libgnunetutil.la
339 test_connection_transmit_cancel_SOURCES = \
340 test_connection_transmit_cancel.c
341 test_connection_transmit_cancel_LDADD = \
342 $(top_builddir)/src/util/libgnunetutil.la
344 test_os_network_SOURCES = \
346 test_os_network_LDADD = \
347 $(top_builddir)/src/util/libgnunetutil.la
349 test_os_priority_SOURCES = \
351 test_os_priority_LDADD = \
352 $(top_builddir)/src/util/libgnunetutil.la
354 test_peer_SOURCES = \
357 $(top_builddir)/src/util/libgnunetutil.la
359 test_plugin_SOURCES = \
361 test_plugin_LDADD = \
362 $(top_builddir)/src/util/libgnunetutil.la
364 test_program_SOURCES = \
366 test_program_LDADD = \
367 $(top_builddir)/src/util/libgnunetutil.la
369 test_pseudonym_SOURCES = \
371 test_pseudonym_LDADD = \
372 $(top_builddir)/src/util/libgnunetutil.la
374 test_resolver_api_SOURCES = \
376 test_resolver_api_LDADD = \
377 $(top_builddir)/src/util/libgnunetutil.la
379 test_scheduler_SOURCES = \
381 test_scheduler_LDADD = \
382 $(top_builddir)/src/util/libgnunetutil.la
384 test_scheduler_delay_SOURCES = \
385 test_scheduler_delay.c
386 test_scheduler_delay_LDADD = \
387 $(top_builddir)/src/util/libgnunetutil.la
389 test_server_SOURCES = \
391 test_server_LDADD = \
392 $(top_builddir)/src/util/libgnunetutil.la
394 test_server_disconnect_SOURCES = \
395 test_server_disconnect.c
396 test_server_disconnect_LDADD = \
397 $(top_builddir)/src/util/libgnunetutil.la
399 test_server_with_client_SOURCES = \
400 test_server_with_client.c
401 test_server_with_client_LDADD = \
402 $(top_builddir)/src/util/libgnunetutil.la
404 test_server_with_client_unix_SOURCES = \
405 test_server_with_client_unix.c
406 test_server_with_client_unix_LDADD = \
407 $(top_builddir)/src/util/libgnunetutil.la
410 test_service_SOURCES = \
412 test_service_LDADD = \
413 $(top_builddir)/src/util/libgnunetutil.la
415 test_strings_SOURCES = \
417 test_strings_LDADD = \
418 $(top_builddir)/src/util/libgnunetutil.la
420 test_time_SOURCES = \
423 $(top_builddir)/src/util/libgnunetutil.la
425 perf_crypto_hash_SOURCES = \
427 perf_crypto_hash_LDADD = \
428 $(top_builddir)/src/util/libgnunetutil.la
432 test_configuration_data.conf \
433 test_program_data.conf \
434 test_pseudonym_data.conf \
435 test_resolver_api_data.conf \
436 test_service_data.conf