1 AM_CPPFLAGS = -I$(top_srcdir)/src/include -I$(top_builddir)/src/include
3 plugindir = $(libdir)/gnunet
5 libexecdir= $(pkglibdir)/libexec/
7 pkgcfgdir= $(pkgdatadir)/config.d/
16 noinst_LTLIBRARIES = \
18 libgnunetutilwin_la_SOURCES = \
21 libgnunetutilwin_la_LDFLAGS = \
22 -no-undefined -Wl,--export-all-symbols
23 libgnunetutilwin_la_LIBADD = \
24 -lshell32 -liconv -lstdc++ \
25 -lcomdlg32 -lgdi32 -liphlpapi
26 WINLIB = libgnunetutilwin.la
31 SERVER_CLIENT_UNIX = test_server_with_client_unix
35 AM_CFLAGS = --coverage -O0
39 w32cat_SOURCES = w32cat.c
44 test_common_logging_dummy
47 gnunet_config_diff_SOURCES = \
49 gnunet_config_diff_LDADD = \
50 $(top_builddir)/src/util/libgnunetutil.la
51 gnunet_config_diff_DEPENDENCIES = \
54 test_common_logging_dummy_SOURCES = \
55 test_common_logging_dummy.c
56 test_common_logging_dummy_LDADD = \
57 $(top_builddir)/src/util/libgnunetutil.la
58 test_common_logging_dummy_DEPENDENCIES = \
61 lib_LTLIBRARIES = libgnunetutil.la
63 libgnunetutil_la_SOURCES = \
72 container_bloomfilter.c \
74 container_meta_data.c \
75 container_multihashmap.c \
76 container_multipeermap.c \
77 container_multihashmap32.c \
100 resolver_api.c resolver.h \
112 libgnunetutil_la_LIBADD = \
113 $(GCLIBADD) $(WINLIB) \
117 -lltdl $(Z_LIBS) -lunistring $(XLIB)
119 libgnunetutil_la_LDFLAGS = \
124 GNUNET_ECC = gnunet-ecc
129 gnunet-service-resolver
138 gnunet_service_resolver_SOURCES = \
139 gnunet-service-resolver.c
140 gnunet_service_resolver_LDADD = \
141 $(top_builddir)/src/util/libgnunetutil.la \
143 gnunet_service_resolver_DEPENDENCIES = \
147 gnunet_resolver_SOURCES = \
149 gnunet_resolver_LDADD = \
150 $(top_builddir)/src/util/libgnunetutil.la \
152 gnunet_resolver_DEPENDENCIES = \
156 gnunet_ecc_SOURCES = \
159 $(top_builddir)/src/util/libgnunetutil.la \
160 $(GN_LIBINTL) -lgcrypt
161 gnunet_ecc_DEPENDENCIES = \
165 gnunet_config_SOURCES = \
167 gnunet_config_LDADD = \
168 $(top_builddir)/src/util/libgnunetutil.la \
170 gnunet_config_DEPENDENCIES = \
174 gnunet_uri_SOURCES = \
177 $(top_builddir)/src/util/libgnunetutil.la \
179 gnunet_uri_DEPENDENCIES = \
182 plugin_LTLIBRARIES = \
183 libgnunet_plugin_test.la
185 libgnunet_plugin_test_la_SOURCES = \
187 libgnunet_plugin_test_la_LDFLAGS = \
193 perf_crypto_symmetric \
200 test_common_allocation \
202 test_common_logging \
204 test_container_bloomfilter \
205 test_container_meta_data \
206 test_container_multihashmap \
207 test_container_multihashmap32 \
208 test_container_multipeermap \
209 test_container_heap \
210 test_container_slist \
211 test_crypto_symmetric \
222 test_connection_addressing \
223 test_connection_receive_cancel \
224 test_connection_timeout \
225 test_connection_timeout_no_connect \
226 test_connection_transmit_cancel \
235 test_scheduler_delay \
236 test_server_mst_interrupt \
238 test_server_disconnect \
239 test_server_with_client \
240 $(SERVER_CLIENT_UNIX) \
243 test_strings_to_data \
247 test_os_start_process \
248 test_common_logging_runtime_loglevels
251 TESTS = $(check_PROGRAMS)
257 $(top_builddir)/src/util/libgnunetutil.la
260 test_os_start_process_SOURCES = \
261 test_os_start_process.c
262 test_os_start_process_LDADD = \
263 $(top_builddir)/src/util/libgnunetutil.la
264 test_os_start_process_DEPENDENCIES = \
267 test_client_SOURCES = \
269 test_client_LDADD = \
270 $(top_builddir)/src/util/libgnunetutil.la
272 test_common_allocation_SOURCES = \
273 test_common_allocation.c
274 test_common_allocation_LDADD = \
275 $(top_builddir)/src/util/libgnunetutil.la
277 test_common_endian_SOURCES = \
279 test_common_endian_LDADD = \
280 $(top_builddir)/src/util/libgnunetutil.la
282 test_common_logging_SOURCES = \
283 test_common_logging.c
284 test_common_logging_LDADD = \
285 $(top_builddir)/src/util/libgnunetutil.la
287 test_common_logging_runtime_loglevels_SOURCES = \
288 test_common_logging_runtime_loglevels.c
289 test_common_logging_runtime_loglevels_LDADD = \
290 $(top_builddir)/src/util/libgnunetutil.la
292 test_configuration_SOURCES = \
294 test_configuration_LDADD = \
295 $(top_builddir)/src/util/libgnunetutil.la
297 test_container_bloomfilter_SOURCES = \
298 test_container_bloomfilter.c
299 test_container_bloomfilter_LDADD = \
300 $(top_builddir)/src/util/libgnunetutil.la
302 test_container_meta_data_SOURCES = \
303 test_container_meta_data.c
304 test_container_meta_data_LDADD = \
305 $(top_builddir)/src/util/libgnunetutil.la -lextractor
307 test_container_multihashmap_SOURCES = \
308 test_container_multihashmap.c
309 test_container_multihashmap_LDADD = \
310 $(top_builddir)/src/util/libgnunetutil.la
312 test_container_multihashmap32_SOURCES = \
313 test_container_multihashmap32.c
314 test_container_multihashmap32_LDADD = \
315 $(top_builddir)/src/util/libgnunetutil.la
317 test_container_multipeermap_SOURCES = \
318 test_container_multipeermap.c
319 test_container_multipeermap_LDADD = \
320 $(top_builddir)/src/util/libgnunetutil.la
322 test_container_heap_SOURCES = \
323 test_container_heap.c
324 test_container_heap_LDADD = \
325 $(top_builddir)/src/util/libgnunetutil.la
327 test_container_slist_SOURCES = \
328 test_container_slist.c
329 test_container_slist_LDADD = \
330 $(top_builddir)/src/util/libgnunetutil.la
332 test_crypto_symmetric_SOURCES = \
333 test_crypto_symmetric.c
334 test_crypto_symmetric_LDADD = \
335 $(top_builddir)/src/util/libgnunetutil.la
337 test_crypto_crc_SOURCES = \
339 test_crypto_crc_LDADD = \
340 $(top_builddir)/src/util/libgnunetutil.la
342 test_crypto_ecdsa_SOURCES = \
344 test_crypto_ecdsa_LDADD = \
345 $(top_builddir)/src/util/libgnunetutil.la \
348 test_crypto_eddsa_SOURCES = \
350 test_crypto_eddsa_LDADD = \
351 $(top_builddir)/src/util/libgnunetutil.la \
354 test_crypto_ecdhe_SOURCES = \
356 test_crypto_ecdhe_LDADD = \
357 $(top_builddir)/src/util/libgnunetutil.la \
360 test_crypto_hash_SOURCES = \
362 test_crypto_hash_LDADD = \
363 $(top_builddir)/src/util/libgnunetutil.la
365 test_crypto_hkdf_SOURCES = \
367 test_crypto_hkdf_LDADD = \
368 $(top_builddir)/src/util/libgnunetutil.la
370 test_crypto_random_SOURCES = \
372 test_crypto_random_LDADD = \
373 $(top_builddir)/src/util/libgnunetutil.la
375 test_disk_SOURCES = \
378 $(top_builddir)/src/util/libgnunetutil.la
380 test_getopt_SOURCES = \
382 test_getopt_LDADD = \
383 $(top_builddir)/src/util/libgnunetutil.la
385 test_connection_SOURCES = \
387 test_connection_LDADD = \
388 $(top_builddir)/src/util/libgnunetutil.la
390 test_connection_addressing_SOURCES = \
391 test_connection_addressing.c
392 test_connection_addressing_LDADD = \
393 $(top_builddir)/src/util/libgnunetutil.la
395 test_connection_receive_cancel_SOURCES = \
396 test_connection_receive_cancel.c
397 test_connection_receive_cancel_LDADD = \
398 $(top_builddir)/src/util/libgnunetutil.la
400 test_connection_timeout_SOURCES = \
401 test_connection_timeout.c
402 test_connection_timeout_LDADD = \
403 $(top_builddir)/src/util/libgnunetutil.la
405 test_connection_timeout_no_connect_SOURCES = \
406 test_connection_timeout_no_connect.c
407 test_connection_timeout_no_connect_LDADD = \
408 $(top_builddir)/src/util/libgnunetutil.la
410 test_connection_transmit_cancel_SOURCES = \
411 test_connection_transmit_cancel.c
412 test_connection_transmit_cancel_LDADD = \
413 $(top_builddir)/src/util/libgnunetutil.la
418 $(top_builddir)/src/util/libgnunetutil.la
420 test_mq_client_SOURCES = \
422 test_mq_client_LDADD = \
423 $(top_builddir)/src/util/libgnunetutil.la
425 test_os_network_SOURCES = \
427 test_os_network_LDADD = \
428 $(top_builddir)/src/util/libgnunetutil.la
430 test_peer_SOURCES = \
433 $(top_builddir)/src/util/libgnunetutil.la -lgcrypt
435 test_plugin_SOURCES = \
437 test_plugin_LDADD = \
438 $(top_builddir)/src/util/libgnunetutil.la
440 test_program_SOURCES = \
442 test_program_LDADD = \
443 $(top_builddir)/src/util/libgnunetutil.la
445 test_resolver_api_SOURCES = \
447 test_resolver_api_LDADD = \
448 $(top_builddir)/src/util/libgnunetutil.la
450 test_scheduler_SOURCES = \
452 test_scheduler_LDADD = \
453 $(top_builddir)/src/util/libgnunetutil.la
455 test_scheduler_delay_SOURCES = \
456 test_scheduler_delay.c
457 test_scheduler_delay_LDADD = \
458 $(top_builddir)/src/util/libgnunetutil.la
460 test_server_mst_interrupt_SOURCES = \
461 test_server_mst_interrupt.c
462 test_server_mst_interrupt_LDADD = \
463 $(top_builddir)/src/util/libgnunetutil.la
465 test_server_SOURCES = \
467 test_server_LDADD = \
468 $(top_builddir)/src/util/libgnunetutil.la
470 test_server_disconnect_SOURCES = \
471 test_server_disconnect.c
472 test_server_disconnect_LDADD = \
473 $(top_builddir)/src/util/libgnunetutil.la
475 test_server_with_client_SOURCES = \
476 test_server_with_client.c
477 test_server_with_client_LDADD = \
478 $(top_builddir)/src/util/libgnunetutil.la
480 test_server_with_client_unix_SOURCES = \
481 test_server_with_client_unix.c
482 test_server_with_client_unix_LDADD = \
483 $(top_builddir)/src/util/libgnunetutil.la
486 test_service_SOURCES = \
488 test_service_LDADD = \
489 $(top_builddir)/src/util/libgnunetutil.la
491 test_strings_SOURCES = \
493 test_strings_LDADD = \
494 $(top_builddir)/src/util/libgnunetutil.la
497 test_strings_to_data_SOURCES = \
498 test_strings_to_data.c
499 test_strings_to_data_LDADD = \
500 $(top_builddir)/src/util/libgnunetutil.la
503 test_time_SOURCES = \
506 $(top_builddir)/src/util/libgnunetutil.la
508 test_speedup_SOURCES = \
510 test_speedup_LDADD = \
511 $(top_builddir)/src/util/libgnunetutil.la
513 perf_crypto_hash_SOURCES = \
515 perf_crypto_hash_LDADD = \
516 $(top_builddir)/src/util/libgnunetutil.la
518 perf_crypto_symmetric_SOURCES = \
519 perf_crypto_symmetric.c
520 perf_crypto_symmetric_LDADD = \
521 $(top_builddir)/src/util/libgnunetutil.la
523 perf_malloc_SOURCES = \
525 perf_malloc_LDADD = \
526 $(top_builddir)/src/util/libgnunetutil.la
530 test_configuration_data.conf \
531 test_program_data.conf \
532 test_resolver_api_data.conf \
533 test_service_data.conf \
534 test_speedup_data.conf