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 \
105 resolver_api.c resolver.h \
117 libgnunetutil_la_LIBADD = \
118 $(GCLIBADD) $(WINLIB) \
122 -lltdl $(Z_LIBS) -lunistring $(XLIB)
124 libgnunetutil_la_LDFLAGS = \
129 GNUNET_ECC = gnunet-ecc
130 GNUNET_SCRYPT = gnunet-scrypt
135 gnunet-service-resolver \
148 do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g'
150 gnunet-qr: gnunet-qr.py.in Makefile
151 $(do_subst) < gnunet-qr.py.in > gnunet-qr
154 gnunet_service_resolver_SOURCES = \
155 gnunet-service-resolver.c
156 gnunet_service_resolver_LDADD = \
161 gnunet_resolver_SOURCES = \
163 gnunet_resolver_LDADD = \
168 gnunet_ecc_SOURCES = \
172 $(GN_LIBINTL) -lgcrypt
174 gnunet_scrypt_SOURCES = \
176 gnunet_scrypt_LDADD = \
178 $(GN_LIBINTL) -lgcrypt
181 gnunet_config_SOURCES = \
183 gnunet_config_LDADD = \
188 gnunet_uri_SOURCES = \
194 plugin_LTLIBRARIES = \
195 libgnunet_plugin_test.la
197 libgnunet_plugin_test_la_SOURCES = \
199 libgnunet_plugin_test_la_LDFLAGS = \
205 perf_crypto_paillier \
206 perf_crypto_symmetric \
213 test_common_allocation \
215 test_common_logging \
217 test_container_bloomfilter \
218 test_container_meta_data \
219 test_container_multihashmap \
220 test_container_multihashmap32 \
221 test_container_multipeermap \
222 test_container_heap \
223 test_crypto_symmetric \
230 test_crypto_paillier \
235 test_connection_addressing.nc \
236 test_connection_receive_cancel.nc \
237 test_connection_timeout.nc \
238 test_connection_timeout_no_connect.nc \
239 test_connection_transmit_cancel.nc \
246 test_resolver_api.nc \
248 test_scheduler_delay \
250 test_server_disconnect.nc \
251 test_server_with_client.nc \
252 test_server_mst_interrupt.nc \
253 $(SERVER_CLIENT_UNIX) \
256 test_strings_to_data \
260 test_os_start_process \
261 test_common_logging_runtime_loglevels
264 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
265 TESTS = $(check_PROGRAMS)
268 # Declare .nc (NO-CONCURRENCY) as a test extension so that we can impart
269 # sequential execution order for them
270 TEST_EXTENSIONS = .nc
271 test_connection.log: test_client.log
272 test_connection_addressing.log: test_connection.log
273 test_connection_timeout_no_connect.log: test_connection_addressing.log
274 test_connection_transmit_cancel.log: test_connection_timeout_no_connect.log
275 test_connection_receive_cancel.log: test_connection_transmit_cancel.log
276 test_connection_timeout.log: test_connection_receive_cancel.log
277 test_mq_client.log: test_connection_timeout.log
278 test_resolver_api.log: test_mq_client.log
279 test_server.log: test_resolver_api.log
280 test_server_disconnect.log: test_server.log
281 test_server_with_client.log: test_server_disconnect.log
282 test_server_mst_interrupt.log: test_server_with_client.log
290 test_os_start_process_SOURCES = \
291 test_os_start_process.c
292 test_os_start_process_LDADD = \
294 test_os_start_process_DEPENDENCIES = \
298 test_client_nc_SOURCES = \
300 test_client_nc_LDADD = \
303 test_common_allocation_SOURCES = \
304 test_common_allocation.c
305 test_common_allocation_LDADD = \
308 test_common_endian_SOURCES = \
310 test_common_endian_LDADD = \
313 test_common_logging_SOURCES = \
314 test_common_logging.c
315 test_common_logging_LDADD = \
318 test_common_logging_runtime_loglevels_SOURCES = \
319 test_common_logging_runtime_loglevels.c
320 test_common_logging_runtime_loglevels_LDADD = \
323 test_configuration_SOURCES = \
325 test_configuration_LDADD = \
328 test_container_bloomfilter_SOURCES = \
329 test_container_bloomfilter.c
330 test_container_bloomfilter_LDADD = \
333 test_container_meta_data_SOURCES = \
334 test_container_meta_data.c
335 test_container_meta_data_LDADD = \
336 libgnunetutil.la -lextractor
338 test_container_multihashmap_SOURCES = \
339 test_container_multihashmap.c
340 test_container_multihashmap_LDADD = \
343 test_container_multihashmap32_SOURCES = \
344 test_container_multihashmap32.c
345 test_container_multihashmap32_LDADD = \
348 test_container_multipeermap_SOURCES = \
349 test_container_multipeermap.c
350 test_container_multipeermap_LDADD = \
353 test_container_heap_SOURCES = \
354 test_container_heap.c
355 test_container_heap_LDADD = \
358 test_container_slist_SOURCES = \
359 test_container_slist.c
360 test_container_slist_LDADD = \
363 test_crypto_symmetric_SOURCES = \
364 test_crypto_symmetric.c
365 test_crypto_symmetric_LDADD = \
368 test_crypto_crc_SOURCES = \
370 test_crypto_crc_LDADD = \
373 test_crypto_ecdsa_SOURCES = \
375 test_crypto_ecdsa_LDADD = \
379 test_crypto_eddsa_SOURCES = \
381 test_crypto_eddsa_LDADD = \
385 test_crypto_ecdhe_SOURCES = \
387 test_crypto_ecdhe_LDADD = \
391 test_crypto_hash_SOURCES = \
393 test_crypto_hash_LDADD = \
396 test_crypto_hkdf_SOURCES = \
398 test_crypto_hkdf_LDADD = \
401 test_crypto_paillier_SOURCES = \
402 test_crypto_paillier.c
403 test_crypto_paillier_LDADD = \
407 test_crypto_random_SOURCES = \
409 test_crypto_random_LDADD = \
412 test_disk_SOURCES = \
417 test_getopt_SOURCES = \
419 test_getopt_LDADD = \
422 test_connection_nc_SOURCES = \
424 test_connection_nc_LDADD = \
427 test_connection_addressing_nc_SOURCES = \
428 test_connection_addressing.c
429 test_connection_addressing_nc_LDADD = \
432 test_connection_receive_cancel_nc_SOURCES = \
433 test_connection_receive_cancel.c
434 test_connection_receive_cancel_nc_LDADD = \
437 test_connection_timeout_nc_SOURCES = \
438 test_connection_timeout.c
439 test_connection_timeout_nc_LDADD = \
442 test_connection_timeout_no_connect_nc_SOURCES = \
443 test_connection_timeout_no_connect.c
444 test_connection_timeout_no_connect_nc_LDADD = \
447 test_connection_transmit_cancel_nc_SOURCES = \
448 test_connection_transmit_cancel.c
449 test_connection_transmit_cancel_nc_LDADD = \
457 test_mq_client_nc_SOURCES = \
459 test_mq_client_nc_LDADD = \
462 test_os_network_SOURCES = \
464 test_os_network_LDADD = \
467 test_peer_SOURCES = \
470 libgnunetutil.la -lgcrypt
472 test_plugin_SOURCES = \
474 test_plugin_LDADD = \
477 test_program_SOURCES = \
479 test_program_LDADD = \
482 test_resolver_api_nc_SOURCES = \
484 test_resolver_api_nc_LDADD = \
487 test_scheduler_SOURCES = \
489 test_scheduler_LDADD = \
492 test_scheduler_delay_SOURCES = \
493 test_scheduler_delay.c
494 test_scheduler_delay_LDADD = \
497 test_server_mst_interrupt_nc_SOURCES = \
498 test_server_mst_interrupt.c
499 test_server_mst_interrupt_nc_LDADD = \
502 test_server_nc_SOURCES = \
504 test_server_nc_LDADD = \
507 test_server_disconnect_nc_SOURCES = \
508 test_server_disconnect.c
509 test_server_disconnect_nc_LDADD = \
512 test_server_with_client_nc_SOURCES = \
513 test_server_with_client.c
514 test_server_with_client_nc_LDADD = \
517 test_server_with_client_unix_SOURCES = \
518 test_server_with_client_unix.c
519 test_server_with_client_unix_LDADD = \
523 test_service_SOURCES = \
525 test_service_LDADD = \
528 test_strings_SOURCES = \
530 test_strings_LDADD = \
534 test_strings_to_data_SOURCES = \
535 test_strings_to_data.c
536 test_strings_to_data_LDADD = \
540 test_time_SOURCES = \
545 test_speedup_SOURCES = \
547 test_speedup_LDADD = \
550 perf_crypto_hash_SOURCES = \
552 perf_crypto_hash_LDADD = \
555 perf_crypto_symmetric_SOURCES = \
556 perf_crypto_symmetric.c
557 perf_crypto_symmetric_LDADD = \
560 perf_crypto_paillier_SOURCES = \
561 perf_crypto_paillier.c
562 perf_crypto_paillier_LDADD = \
566 perf_malloc_SOURCES = \
568 perf_malloc_LDADD = \
573 test_configuration_data.conf \
574 test_program_data.conf \
575 test_resolver_api_data.conf \
576 test_service_data.conf \
577 test_speedup_data.conf \