1 # This Makefile.am is in the public domain
2 AM_CPPFLAGS = -I$(top_srcdir)/src/include
4 plugindir = $(libdir)/gnunet
6 libexecdir= $(pkglibdir)/libexec/
8 pkgcfgdir= $(pkgdatadir)/config.d/
17 noinst_LTLIBRARIES = \
19 libgnunetutilwin_la_SOURCES = \
22 libgnunetutilwin_la_LDFLAGS = \
23 -no-undefined -Wl,--export-all-symbols
24 libgnunetutilwin_la_LIBADD = \
25 -lshell32 -liconv -lstdc++ \
26 -lcomdlg32 -lgdi32 -liphlpapi
27 WINLIB = libgnunetutilwin.la
29 W32CONSOLEHELPER = gnunet-helper-w32-console
33 SERVER_CLIENT_UNIX = test_server_with_client_unix
37 AM_CFLAGS = --coverage -O0
41 w32cat_SOURCES = w32cat.c
43 gnunet_helper_w32_console_SOURCES = \
44 gnunet-helper-w32-console.c \
45 gnunet-helper-w32-console.h
46 gnunet_helper_w32_console_LDADD = \
49 gnunet_config_diff_SOURCES = \
51 gnunet_config_diff_LDADD = \
54 test_common_logging_dummy_SOURCES = \
55 test_common_logging_dummy.c
56 test_common_logging_dummy_LDADD = \
59 libgnunetutil_la_SOURCES = \
67 configuration_loader.c \
69 container_bloomfilter.c \
71 container_meta_data.c \
72 container_multihashmap.c \
73 container_multishortmap.c \
74 container_multipeermap.c \
75 container_multihashmap32.c \
106 resolver_api.c resolver.h \
120 libgnunetutil_la_LIBADD = \
121 $(GCLIBADD) $(WINLIB) \
125 -lltdl $(Z_LIBS) -lunistring $(XLIB)
127 libgnunetutil_la_LDFLAGS = \
132 libgnunetutil_taler_wallet_la_SOURCES = \
133 common_allocation.c \
137 container_multihashmap.c \
138 container_multihashmap32.c \
151 libgnunetutil_taler_wallet_la_LIBADD = \
155 libgnunetutil_taler_wallet_la_LDFLAGS = \
160 GNUNET_ECC = gnunet-ecc
161 GNUNET_SCRYPT = gnunet-scrypt
165 lib_LTLIBRARIES = libgnunetutil_taler_wallet.la
167 lib_LTLIBRARIES = libgnunetutil.la
170 gnunet-service-resolver \
186 test_common_logging_dummy
190 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
191 TESTS = $(check_PROGRAMS)
197 do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g'
199 gnunet-qr: gnunet-qr.py.in Makefile
200 $(do_subst) < $(top_srcdir)/src/util/gnunet-qr.py.in > gnunet-qr
203 gnunet_service_resolver_SOURCES = \
204 gnunet-service-resolver.c
205 gnunet_service_resolver_LDADD = \
210 gnunet_resolver_SOURCES = \
212 gnunet_resolver_LDADD = \
217 gnunet_ecc_SOURCES = \
221 $(GN_LIBINTL) -lgcrypt
223 gnunet_scrypt_SOURCES = \
225 gnunet_scrypt_LDADD = \
227 $(GN_LIBINTL) -lgcrypt
230 gnunet_config_SOURCES = \
232 gnunet_config_LDADD = \
237 gnunet_uri_SOURCES = \
243 plugin_LTLIBRARIES = \
244 libgnunet_plugin_test.la
246 libgnunet_plugin_test_la_SOURCES = \
248 libgnunet_plugin_test_la_LDFLAGS = \
254 perf_crypto_ecc_dlog \
256 perf_crypto_paillier \
257 perf_crypto_symmetric \
258 perf_crypto_asymmetric \
263 SSH_USING_TESTS = test_socks.nc
269 test_client_unix.nc \
271 test_common_allocation \
273 test_common_logging \
275 test_container_bloomfilter \
276 test_container_meta_data \
277 test_container_multihashmap \
278 test_container_multihashmap32 \
279 test_container_multipeermap \
280 test_container_heap \
281 test_crypto_symmetric \
286 test_crypto_ecdh_eddsa \
287 test_crypto_ecc_dlog \
289 test_crypto_hash_context \
292 test_crypto_paillier \
298 test_connection_addressing.nc \
299 test_connection_receive_cancel.nc \
300 test_connection_timeout.nc \
301 test_connection_timeout_no_connect.nc \
302 test_connection_transmit_cancel.nc \
308 test_resolver_api.nc \
310 test_scheduler_delay \
312 test_server_disconnect.nc \
313 test_server_with_client.nc \
314 test_server_mst_interrupt.nc \
315 $(SERVER_CLIENT_UNIX) \
318 test_strings_to_data \
322 test_os_start_process \
323 test_common_logging_runtime_loglevels
326 # Declare .nc (NO-CONCURRENCY) as a test extension so that we can impart
327 # sequential execution order for them
328 TEST_EXTENSIONS = .nc
329 test_connection.log: test_client.log
330 test_connection_addressing.log: test_connection.log
331 test_connection_timeout_no_connect.log: test_connection_addressing.log
332 test_connection_transmit_cancel.log: test_connection_timeout_no_connect.log
333 test_connection_receive_cancel.log: test_connection_transmit_cancel.log
334 test_connection_timeout.log: test_connection_receive_cancel.log
335 test_resolver_api.log: test_connection_timeout.log
336 test_server.log: test_resolver_api.log
337 test_server_disconnect.log: test_server.log
338 test_server_with_client.log: test_server_disconnect.log
339 test_server_mst_interrupt.log: test_server_with_client.log
340 test_client_unix.log: test_server_mst_interrupt.log
348 test_os_start_process_SOURCES = \
349 test_os_start_process.c
350 test_os_start_process_LDADD = \
352 test_os_start_process_DEPENDENCIES = \
356 test_client_nc_SOURCES = \
358 test_client_nc_LDADD = \
361 test_client_unix_nc_SOURCES = \
363 test_client_unix_nc_LDADD = \
366 test_socks_nc_SOURCES = \
368 test_socks_nc_LDADD = \
371 test_common_allocation_SOURCES = \
372 test_common_allocation.c
373 test_common_allocation_LDADD = \
376 test_common_endian_SOURCES = \
378 test_common_endian_LDADD = \
381 test_common_logging_SOURCES = \
382 test_common_logging.c
383 test_common_logging_LDADD = \
386 test_common_logging_runtime_loglevels_SOURCES = \
387 test_common_logging_runtime_loglevels.c
388 test_common_logging_runtime_loglevels_LDADD = \
391 test_configuration_SOURCES = \
393 test_configuration_LDADD = \
396 test_container_bloomfilter_SOURCES = \
397 test_container_bloomfilter.c
398 test_container_bloomfilter_LDADD = \
401 test_container_meta_data_SOURCES = \
402 test_container_meta_data.c
403 test_container_meta_data_LDADD = \
404 libgnunetutil.la -lextractor
406 test_container_multihashmap_SOURCES = \
407 test_container_multihashmap.c
408 test_container_multihashmap_LDADD = \
411 test_container_multihashmap32_SOURCES = \
412 test_container_multihashmap32.c
413 test_container_multihashmap32_LDADD = \
416 test_container_multipeermap_SOURCES = \
417 test_container_multipeermap.c
418 test_container_multipeermap_LDADD = \
421 test_container_heap_SOURCES = \
422 test_container_heap.c
423 test_container_heap_LDADD = \
426 test_crypto_symmetric_SOURCES = \
427 test_crypto_symmetric.c
428 test_crypto_symmetric_LDADD = \
431 test_crypto_crc_SOURCES = \
433 test_crypto_crc_LDADD = \
436 test_crypto_ecdsa_SOURCES = \
438 test_crypto_ecdsa_LDADD = \
442 test_crypto_eddsa_SOURCES = \
444 test_crypto_eddsa_LDADD = \
448 test_crypto_ecc_dlog_SOURCES = \
449 test_crypto_ecc_dlog.c
450 test_crypto_ecc_dlog_LDADD = \
454 test_crypto_ecdhe_SOURCES = \
456 test_crypto_ecdhe_LDADD = \
460 test_crypto_ecdh_eddsa_SOURCES = \
461 test_crypto_ecdh_eddsa.c
462 test_crypto_ecdh_eddsa_LDADD = \
466 test_crypto_hash_SOURCES = \
468 test_crypto_hash_LDADD = \
471 test_crypto_hash_context_SOURCES = \
472 test_crypto_hash_context.c
473 test_crypto_hash_context_LDADD = \
476 test_crypto_hkdf_SOURCES = \
478 test_crypto_hkdf_LDADD = \
481 test_crypto_kdf_SOURCES = \
483 test_crypto_kdf_LDADD = \
484 libgnunetutil.la -lgcrypt
486 test_crypto_paillier_SOURCES = \
487 test_crypto_paillier.c
488 test_crypto_paillier_LDADD = \
492 test_crypto_random_SOURCES = \
494 test_crypto_random_LDADD = \
497 test_crypto_rsa_SOURCES = \
499 test_crypto_rsa_LDADD = \
500 libgnunetutil.la -lgcrypt
502 test_disk_SOURCES = \
507 test_getopt_SOURCES = \
509 test_getopt_LDADD = \
512 test_connection_nc_SOURCES = \
514 test_connection_nc_LDADD = \
517 test_connection_addressing_nc_SOURCES = \
518 test_connection_addressing.c
519 test_connection_addressing_nc_LDADD = \
522 test_connection_receive_cancel_nc_SOURCES = \
523 test_connection_receive_cancel.c
524 test_connection_receive_cancel_nc_LDADD = \
527 test_connection_timeout_nc_SOURCES = \
528 test_connection_timeout.c
529 test_connection_timeout_nc_LDADD = \
532 test_connection_timeout_no_connect_nc_SOURCES = \
533 test_connection_timeout_no_connect.c
534 test_connection_timeout_no_connect_nc_LDADD = \
537 test_connection_transmit_cancel_nc_SOURCES = \
538 test_connection_transmit_cancel.c
539 test_connection_transmit_cancel_nc_LDADD = \
547 test_os_network_SOURCES = \
549 test_os_network_LDADD = \
552 test_peer_SOURCES = \
555 libgnunetutil.la -lgcrypt
557 test_plugin_SOURCES = \
559 test_plugin_LDADD = \
562 test_program_SOURCES = \
564 test_program_LDADD = \
567 test_resolver_api_nc_SOURCES = \
569 test_resolver_api_nc_LDADD = \
572 test_scheduler_SOURCES = \
574 test_scheduler_LDADD = \
577 test_scheduler_delay_SOURCES = \
578 test_scheduler_delay.c
579 test_scheduler_delay_LDADD = \
582 test_server_mst_interrupt_nc_SOURCES = \
583 test_server_mst_interrupt.c
584 test_server_mst_interrupt_nc_LDADD = \
587 test_server_nc_SOURCES = \
589 test_server_nc_LDADD = \
592 test_server_disconnect_nc_SOURCES = \
593 test_server_disconnect.c
594 test_server_disconnect_nc_LDADD = \
597 test_server_with_client_nc_SOURCES = \
598 test_server_with_client.c
599 test_server_with_client_nc_LDADD = \
602 test_server_with_client_unix_SOURCES = \
603 test_server_with_client_unix.c
604 test_server_with_client_unix_LDADD = \
608 test_service_SOURCES = \
610 test_service_LDADD = \
613 test_strings_SOURCES = \
615 test_strings_LDADD = \
619 test_strings_to_data_SOURCES = \
620 test_strings_to_data.c
621 test_strings_to_data_LDADD = \
625 test_time_SOURCES = \
630 test_speedup_SOURCES = \
632 test_speedup_LDADD = \
635 perf_crypto_hash_SOURCES = \
637 perf_crypto_hash_LDADD = \
640 perf_crypto_ecc_dlog_SOURCES = \
641 perf_crypto_ecc_dlog.c
642 perf_crypto_ecc_dlog_LDADD = \
646 perf_crypto_rsa_SOURCES = \
648 perf_crypto_rsa_LDADD = \
651 perf_crypto_symmetric_SOURCES = \
652 perf_crypto_symmetric.c
653 perf_crypto_symmetric_LDADD = \
656 perf_crypto_asymmetric_SOURCES = \
657 perf_crypto_asymmetric.c
658 perf_crypto_asymmetric_LDADD = \
661 perf_crypto_paillier_SOURCES = \
662 perf_crypto_paillier.c
663 perf_crypto_paillier_LDADD = \
667 perf_malloc_SOURCES = \
669 perf_malloc_LDADD = \
674 test_client_data.conf \
675 test_client_unix.conf \
676 test_configuration_data.conf \
677 test_program_data.conf \
678 test_resolver_api_data.conf \
679 test_service_data.conf \
680 test_speedup_data.conf \