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
28 W32CONSOLEHELPER = gnunet-helper-w32-console
32 SERVER_CLIENT_UNIX = test_server_with_client_unix
36 AM_CFLAGS = --coverage -O0
40 w32cat_SOURCES = w32cat.c
42 gnunet_helper_w32_console_SOURCES = \
43 gnunet-helper-w32-console.c \
44 gnunet-helper-w32-console.h
45 gnunet_helper_w32_console_LDADD = \
51 test_common_logging_dummy
54 gnunet_config_diff_SOURCES = \
56 gnunet_config_diff_LDADD = \
59 test_common_logging_dummy_SOURCES = \
60 test_common_logging_dummy.c
61 test_common_logging_dummy_LDADD = \
64 lib_LTLIBRARIES = libgnunetutil.la
66 libgnunetutil_la_SOURCES = \
76 container_bloomfilter.c \
78 container_meta_data.c \
79 container_multihashmap.c \
80 container_multipeermap.c \
81 container_multihashmap32.c \
106 resolver_api.c resolver.h \
118 libgnunetutil_la_LIBADD = \
119 $(GCLIBADD) $(WINLIB) \
123 -lltdl $(Z_LIBS) -lunistring $(XLIB)
125 libgnunetutil_la_LDFLAGS = \
130 GNUNET_ECC = gnunet-ecc
131 GNUNET_SCRYPT = gnunet-scrypt
136 gnunet-service-resolver \
149 do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g'
151 gnunet-qr: gnunet-qr.py.in Makefile
152 $(do_subst) < gnunet-qr.py.in > gnunet-qr
155 gnunet_service_resolver_SOURCES = \
156 gnunet-service-resolver.c
157 gnunet_service_resolver_LDADD = \
162 gnunet_resolver_SOURCES = \
164 gnunet_resolver_LDADD = \
169 gnunet_ecc_SOURCES = \
173 $(GN_LIBINTL) -lgcrypt
175 gnunet_scrypt_SOURCES = \
177 gnunet_scrypt_LDADD = \
179 $(GN_LIBINTL) -lgcrypt
182 gnunet_config_SOURCES = \
184 gnunet_config_LDADD = \
189 gnunet_uri_SOURCES = \
195 plugin_LTLIBRARIES = \
196 libgnunet_plugin_test.la
198 libgnunet_plugin_test_la_SOURCES = \
200 libgnunet_plugin_test_la_LDFLAGS = \
206 perf_crypto_paillier \
207 perf_crypto_symmetric \
214 test_common_allocation \
216 test_common_logging \
218 test_container_bloomfilter \
219 test_container_meta_data \
220 test_container_multihashmap \
221 test_container_multihashmap32 \
222 test_container_multipeermap \
223 test_container_heap \
224 test_crypto_symmetric \
230 test_crypto_hash_context \
232 test_crypto_paillier \
238 test_connection_addressing.nc \
239 test_connection_receive_cancel.nc \
240 test_connection_timeout.nc \
241 test_connection_timeout_no_connect.nc \
242 test_connection_transmit_cancel.nc \
249 test_resolver_api.nc \
251 test_scheduler_delay \
253 test_server_disconnect.nc \
254 test_server_with_client.nc \
255 test_server_mst_interrupt.nc \
256 $(SERVER_CLIENT_UNIX) \
259 test_strings_to_data \
263 test_os_start_process \
264 test_common_logging_runtime_loglevels
267 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
268 TESTS = $(check_PROGRAMS)
271 # Declare .nc (NO-CONCURRENCY) as a test extension so that we can impart
272 # sequential execution order for them
273 TEST_EXTENSIONS = .nc
274 test_connection.log: test_client.log
275 test_connection_addressing.log: test_connection.log
276 test_connection_timeout_no_connect.log: test_connection_addressing.log
277 test_connection_transmit_cancel.log: test_connection_timeout_no_connect.log
278 test_connection_receive_cancel.log: test_connection_transmit_cancel.log
279 test_connection_timeout.log: test_connection_receive_cancel.log
280 test_mq_client.log: test_connection_timeout.log
281 test_resolver_api.log: test_mq_client.log
282 test_server.log: test_resolver_api.log
283 test_server_disconnect.log: test_server.log
284 test_server_with_client.log: test_server_disconnect.log
285 test_server_mst_interrupt.log: test_server_with_client.log
293 test_os_start_process_SOURCES = \
294 test_os_start_process.c
295 test_os_start_process_LDADD = \
297 test_os_start_process_DEPENDENCIES = \
301 test_client_nc_SOURCES = \
303 test_client_nc_LDADD = \
306 test_common_allocation_SOURCES = \
307 test_common_allocation.c
308 test_common_allocation_LDADD = \
311 test_common_endian_SOURCES = \
313 test_common_endian_LDADD = \
316 test_common_logging_SOURCES = \
317 test_common_logging.c
318 test_common_logging_LDADD = \
321 test_common_logging_runtime_loglevels_SOURCES = \
322 test_common_logging_runtime_loglevels.c
323 test_common_logging_runtime_loglevels_LDADD = \
326 test_configuration_SOURCES = \
328 test_configuration_LDADD = \
331 test_container_bloomfilter_SOURCES = \
332 test_container_bloomfilter.c
333 test_container_bloomfilter_LDADD = \
336 test_container_meta_data_SOURCES = \
337 test_container_meta_data.c
338 test_container_meta_data_LDADD = \
339 libgnunetutil.la -lextractor
341 test_container_multihashmap_SOURCES = \
342 test_container_multihashmap.c
343 test_container_multihashmap_LDADD = \
346 test_container_multihashmap32_SOURCES = \
347 test_container_multihashmap32.c
348 test_container_multihashmap32_LDADD = \
351 test_container_multipeermap_SOURCES = \
352 test_container_multipeermap.c
353 test_container_multipeermap_LDADD = \
356 test_container_heap_SOURCES = \
357 test_container_heap.c
358 test_container_heap_LDADD = \
361 test_crypto_symmetric_SOURCES = \
362 test_crypto_symmetric.c
363 test_crypto_symmetric_LDADD = \
366 test_crypto_crc_SOURCES = \
368 test_crypto_crc_LDADD = \
371 test_crypto_ecdsa_SOURCES = \
373 test_crypto_ecdsa_LDADD = \
377 test_crypto_eddsa_SOURCES = \
379 test_crypto_eddsa_LDADD = \
383 test_crypto_ecdhe_SOURCES = \
385 test_crypto_ecdhe_LDADD = \
389 test_crypto_hash_SOURCES = \
391 test_crypto_hash_LDADD = \
394 test_crypto_hash_context_SOURCES = \
395 test_crypto_hash_context.c
396 test_crypto_hash_context_LDADD = \
399 test_crypto_hkdf_SOURCES = \
401 test_crypto_hkdf_LDADD = \
404 test_crypto_paillier_SOURCES = \
405 test_crypto_paillier.c
406 test_crypto_paillier_LDADD = \
410 test_crypto_random_SOURCES = \
412 test_crypto_random_LDADD = \
415 test_crypto_rsa_SOURCES = \
417 test_crypto_rsa_LDADD = \
420 test_disk_SOURCES = \
425 test_getopt_SOURCES = \
427 test_getopt_LDADD = \
430 test_connection_nc_SOURCES = \
432 test_connection_nc_LDADD = \
435 test_connection_addressing_nc_SOURCES = \
436 test_connection_addressing.c
437 test_connection_addressing_nc_LDADD = \
440 test_connection_receive_cancel_nc_SOURCES = \
441 test_connection_receive_cancel.c
442 test_connection_receive_cancel_nc_LDADD = \
445 test_connection_timeout_nc_SOURCES = \
446 test_connection_timeout.c
447 test_connection_timeout_nc_LDADD = \
450 test_connection_timeout_no_connect_nc_SOURCES = \
451 test_connection_timeout_no_connect.c
452 test_connection_timeout_no_connect_nc_LDADD = \
455 test_connection_transmit_cancel_nc_SOURCES = \
456 test_connection_transmit_cancel.c
457 test_connection_transmit_cancel_nc_LDADD = \
465 test_mq_client_nc_SOURCES = \
467 test_mq_client_nc_LDADD = \
470 test_os_network_SOURCES = \
472 test_os_network_LDADD = \
475 test_peer_SOURCES = \
478 libgnunetutil.la -lgcrypt
480 test_plugin_SOURCES = \
482 test_plugin_LDADD = \
485 test_program_SOURCES = \
487 test_program_LDADD = \
490 test_resolver_api_nc_SOURCES = \
492 test_resolver_api_nc_LDADD = \
495 test_scheduler_SOURCES = \
497 test_scheduler_LDADD = \
500 test_scheduler_delay_SOURCES = \
501 test_scheduler_delay.c
502 test_scheduler_delay_LDADD = \
505 test_server_mst_interrupt_nc_SOURCES = \
506 test_server_mst_interrupt.c
507 test_server_mst_interrupt_nc_LDADD = \
510 test_server_nc_SOURCES = \
512 test_server_nc_LDADD = \
515 test_server_disconnect_nc_SOURCES = \
516 test_server_disconnect.c
517 test_server_disconnect_nc_LDADD = \
520 test_server_with_client_nc_SOURCES = \
521 test_server_with_client.c
522 test_server_with_client_nc_LDADD = \
525 test_server_with_client_unix_SOURCES = \
526 test_server_with_client_unix.c
527 test_server_with_client_unix_LDADD = \
531 test_service_SOURCES = \
533 test_service_LDADD = \
536 test_strings_SOURCES = \
538 test_strings_LDADD = \
542 test_strings_to_data_SOURCES = \
543 test_strings_to_data.c
544 test_strings_to_data_LDADD = \
548 test_time_SOURCES = \
553 test_speedup_SOURCES = \
555 test_speedup_LDADD = \
558 perf_crypto_hash_SOURCES = \
560 perf_crypto_hash_LDADD = \
563 perf_crypto_symmetric_SOURCES = \
564 perf_crypto_symmetric.c
565 perf_crypto_symmetric_LDADD = \
568 perf_crypto_paillier_SOURCES = \
569 perf_crypto_paillier.c
570 perf_crypto_paillier_LDADD = \
574 perf_malloc_SOURCES = \
576 perf_malloc_LDADD = \
581 test_configuration_data.conf \
582 test_program_data.conf \
583 test_resolver_api_data.conf \
584 test_service_data.conf \
585 test_speedup_data.conf \