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 = \
68 configuration_loader.c \
70 container_bloomfilter.c \
72 container_meta_data.c \
73 container_multihashmap.c \
74 container_multipeermap.c \
75 container_multihashmap32.c \
105 resolver_api.c resolver.h \
118 libgnunetutil_la_LIBADD = \
119 $(GCLIBADD) $(WINLIB) \
123 -lltdl $(Z_LIBS) -lunistring $(XLIB)
125 libgnunetutil_la_LDFLAGS = \
130 libgnunetutil_taler_wallet_la_SOURCES = \
131 common_allocation.c \
135 container_multihashmap.c \
136 container_multihashmap32.c \
149 libgnunetutil_taler_wallet_la_LIBADD = \
153 libgnunetutil_taler_wallet_la_LDFLAGS = \
158 GNUNET_ECC = gnunet-ecc
159 GNUNET_SCRYPT = gnunet-scrypt
163 lib_LTLIBRARIES = libgnunetutil_taler_wallet.la
165 lib_LTLIBRARIES = libgnunetutil.la
168 gnunet-service-resolver \
184 test_common_logging_dummy
188 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
189 TESTS = $(check_PROGRAMS)
195 do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g'
197 gnunet-qr: gnunet-qr.py.in Makefile
198 $(do_subst) < gnunet-qr.py.in > gnunet-qr
201 gnunet_service_resolver_SOURCES = \
202 gnunet-service-resolver.c
203 gnunet_service_resolver_LDADD = \
208 gnunet_resolver_SOURCES = \
210 gnunet_resolver_LDADD = \
215 gnunet_ecc_SOURCES = \
219 $(GN_LIBINTL) -lgcrypt
221 gnunet_scrypt_SOURCES = \
223 gnunet_scrypt_LDADD = \
225 $(GN_LIBINTL) -lgcrypt
228 gnunet_config_SOURCES = \
230 gnunet_config_LDADD = \
235 gnunet_uri_SOURCES = \
241 plugin_LTLIBRARIES = \
242 libgnunet_plugin_test.la
244 libgnunet_plugin_test_la_SOURCES = \
246 libgnunet_plugin_test_la_LDFLAGS = \
252 perf_crypto_ecc_dlog \
254 perf_crypto_paillier \
255 perf_crypto_symmetric \
256 perf_crypto_asymmetric \
261 SSH_USING_TESTS = test_socks.nc
268 test_common_allocation \
270 test_common_logging \
272 test_container_bloomfilter \
273 test_container_meta_data \
274 test_container_multihashmap \
275 test_container_multihashmap32 \
276 test_container_multipeermap \
277 test_container_heap \
278 test_crypto_symmetric \
283 test_crypto_ecdh_eddsa \
284 test_crypto_ecc_dlog \
286 test_crypto_hash_context \
289 test_crypto_paillier \
295 test_connection_addressing.nc \
296 test_connection_receive_cancel.nc \
297 test_connection_timeout.nc \
298 test_connection_timeout_no_connect.nc \
299 test_connection_transmit_cancel.nc \
306 test_resolver_api.nc \
308 test_scheduler_delay \
310 test_server_disconnect.nc \
311 test_server_with_client.nc \
312 test_server_mst_interrupt.nc \
313 $(SERVER_CLIENT_UNIX) \
316 test_strings_to_data \
320 test_os_start_process \
321 test_common_logging_runtime_loglevels
324 # Declare .nc (NO-CONCURRENCY) as a test extension so that we can impart
325 # sequential execution order for them
326 TEST_EXTENSIONS = .nc
327 test_connection.log: test_client.log
328 test_connection_addressing.log: test_connection.log
329 test_connection_timeout_no_connect.log: test_connection_addressing.log
330 test_connection_transmit_cancel.log: test_connection_timeout_no_connect.log
331 test_connection_receive_cancel.log: test_connection_transmit_cancel.log
332 test_connection_timeout.log: test_connection_receive_cancel.log
333 test_mq_client.log: test_connection_timeout.log
334 test_resolver_api.log: test_mq_client.log
335 test_server.log: test_resolver_api.log
336 test_server_disconnect.log: test_server.log
337 test_server_with_client.log: test_server_disconnect.log
338 test_server_mst_interrupt.log: test_server_with_client.log
346 test_os_start_process_SOURCES = \
347 test_os_start_process.c
348 test_os_start_process_LDADD = \
350 test_os_start_process_DEPENDENCIES = \
354 test_client_nc_SOURCES = \
356 test_client_nc_LDADD = \
359 test_socks_nc_SOURCES = \
361 test_socks_nc_LDADD = \
364 test_common_allocation_SOURCES = \
365 test_common_allocation.c
366 test_common_allocation_LDADD = \
369 test_common_endian_SOURCES = \
371 test_common_endian_LDADD = \
374 test_common_logging_SOURCES = \
375 test_common_logging.c
376 test_common_logging_LDADD = \
379 test_common_logging_runtime_loglevels_SOURCES = \
380 test_common_logging_runtime_loglevels.c
381 test_common_logging_runtime_loglevels_LDADD = \
384 test_configuration_SOURCES = \
386 test_configuration_LDADD = \
389 test_container_bloomfilter_SOURCES = \
390 test_container_bloomfilter.c
391 test_container_bloomfilter_LDADD = \
394 test_container_meta_data_SOURCES = \
395 test_container_meta_data.c
396 test_container_meta_data_LDADD = \
397 libgnunetutil.la -lextractor
399 test_container_multihashmap_SOURCES = \
400 test_container_multihashmap.c
401 test_container_multihashmap_LDADD = \
404 test_container_multihashmap32_SOURCES = \
405 test_container_multihashmap32.c
406 test_container_multihashmap32_LDADD = \
409 test_container_multipeermap_SOURCES = \
410 test_container_multipeermap.c
411 test_container_multipeermap_LDADD = \
414 test_container_heap_SOURCES = \
415 test_container_heap.c
416 test_container_heap_LDADD = \
419 test_crypto_symmetric_SOURCES = \
420 test_crypto_symmetric.c
421 test_crypto_symmetric_LDADD = \
424 test_crypto_crc_SOURCES = \
426 test_crypto_crc_LDADD = \
429 test_crypto_ecdsa_SOURCES = \
431 test_crypto_ecdsa_LDADD = \
435 test_crypto_eddsa_SOURCES = \
437 test_crypto_eddsa_LDADD = \
441 test_crypto_ecc_dlog_SOURCES = \
442 test_crypto_ecc_dlog.c
443 test_crypto_ecc_dlog_LDADD = \
447 test_crypto_ecdhe_SOURCES = \
449 test_crypto_ecdhe_LDADD = \
453 test_crypto_ecdh_eddsa_SOURCES = \
454 test_crypto_ecdh_eddsa.c
455 test_crypto_ecdh_eddsa_LDADD = \
459 test_crypto_hash_SOURCES = \
461 test_crypto_hash_LDADD = \
464 test_crypto_hash_context_SOURCES = \
465 test_crypto_hash_context.c
466 test_crypto_hash_context_LDADD = \
469 test_crypto_hkdf_SOURCES = \
471 test_crypto_hkdf_LDADD = \
474 test_crypto_kdf_SOURCES = \
476 test_crypto_kdf_LDADD = \
477 libgnunetutil.la -lgcrypt
479 test_crypto_paillier_SOURCES = \
480 test_crypto_paillier.c
481 test_crypto_paillier_LDADD = \
485 test_crypto_random_SOURCES = \
487 test_crypto_random_LDADD = \
490 test_crypto_rsa_SOURCES = \
492 test_crypto_rsa_LDADD = \
493 libgnunetutil.la -lgcrypt
495 test_disk_SOURCES = \
500 test_getopt_SOURCES = \
502 test_getopt_LDADD = \
505 test_connection_nc_SOURCES = \
507 test_connection_nc_LDADD = \
510 test_connection_addressing_nc_SOURCES = \
511 test_connection_addressing.c
512 test_connection_addressing_nc_LDADD = \
515 test_connection_receive_cancel_nc_SOURCES = \
516 test_connection_receive_cancel.c
517 test_connection_receive_cancel_nc_LDADD = \
520 test_connection_timeout_nc_SOURCES = \
521 test_connection_timeout.c
522 test_connection_timeout_nc_LDADD = \
525 test_connection_timeout_no_connect_nc_SOURCES = \
526 test_connection_timeout_no_connect.c
527 test_connection_timeout_no_connect_nc_LDADD = \
530 test_connection_transmit_cancel_nc_SOURCES = \
531 test_connection_transmit_cancel.c
532 test_connection_transmit_cancel_nc_LDADD = \
540 test_mq_client_nc_SOURCES = \
542 test_mq_client_nc_LDADD = \
545 test_os_network_SOURCES = \
547 test_os_network_LDADD = \
550 test_peer_SOURCES = \
553 libgnunetutil.la -lgcrypt
555 test_plugin_SOURCES = \
557 test_plugin_LDADD = \
560 test_program_SOURCES = \
562 test_program_LDADD = \
565 test_resolver_api_nc_SOURCES = \
567 test_resolver_api_nc_LDADD = \
570 test_scheduler_SOURCES = \
572 test_scheduler_LDADD = \
575 test_scheduler_delay_SOURCES = \
576 test_scheduler_delay.c
577 test_scheduler_delay_LDADD = \
580 test_server_mst_interrupt_nc_SOURCES = \
581 test_server_mst_interrupt.c
582 test_server_mst_interrupt_nc_LDADD = \
585 test_server_nc_SOURCES = \
587 test_server_nc_LDADD = \
590 test_server_disconnect_nc_SOURCES = \
591 test_server_disconnect.c
592 test_server_disconnect_nc_LDADD = \
595 test_server_with_client_nc_SOURCES = \
596 test_server_with_client.c
597 test_server_with_client_nc_LDADD = \
600 test_server_with_client_unix_SOURCES = \
601 test_server_with_client_unix.c
602 test_server_with_client_unix_LDADD = \
606 test_service_SOURCES = \
608 test_service_LDADD = \
611 test_strings_SOURCES = \
613 test_strings_LDADD = \
617 test_strings_to_data_SOURCES = \
618 test_strings_to_data.c
619 test_strings_to_data_LDADD = \
623 test_time_SOURCES = \
628 test_speedup_SOURCES = \
630 test_speedup_LDADD = \
633 perf_crypto_hash_SOURCES = \
635 perf_crypto_hash_LDADD = \
638 perf_crypto_ecc_dlog_SOURCES = \
639 perf_crypto_ecc_dlog.c
640 perf_crypto_ecc_dlog_LDADD = \
644 perf_crypto_rsa_SOURCES = \
646 perf_crypto_rsa_LDADD = \
649 perf_crypto_symmetric_SOURCES = \
650 perf_crypto_symmetric.c
651 perf_crypto_symmetric_LDADD = \
654 perf_crypto_asymmetric_SOURCES = \
655 perf_crypto_asymmetric.c
656 perf_crypto_asymmetric_LDADD = \
659 perf_crypto_paillier_SOURCES = \
660 perf_crypto_paillier.c
661 perf_crypto_paillier_LDADD = \
665 perf_malloc_SOURCES = \
667 perf_malloc_LDADD = \
672 test_configuration_data.conf \
673 test_program_data.conf \
674 test_resolver_api_data.conf \
675 test_service_data.conf \
676 test_speedup_data.conf \