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 = \
46 $(top_builddir)/src/util/libgnunetutil.la
47 gnunet_helper_w32_console_DEPENDENCIES = \
53 test_common_logging_dummy
56 gnunet_config_diff_SOURCES = \
58 gnunet_config_diff_LDADD = \
59 $(top_builddir)/src/util/libgnunetutil.la
60 gnunet_config_diff_DEPENDENCIES = \
63 test_common_logging_dummy_SOURCES = \
64 test_common_logging_dummy.c
65 test_common_logging_dummy_LDADD = \
66 $(top_builddir)/src/util/libgnunetutil.la
67 test_common_logging_dummy_DEPENDENCIES = \
70 lib_LTLIBRARIES = libgnunetutil.la
72 libgnunetutil_la_SOURCES = \
82 container_bloomfilter.c \
84 container_meta_data.c \
85 container_multihashmap.c \
86 container_multipeermap.c \
87 container_multihashmap32.c \
112 resolver_api.c resolver.h \
124 libgnunetutil_la_LIBADD = \
125 $(GCLIBADD) $(WINLIB) \
129 -lltdl $(Z_LIBS) -lunistring $(XLIB)
131 libgnunetutil_la_LDFLAGS = \
136 GNUNET_ECC = gnunet-ecc
137 GNUNET_SCRYPT = gnunet-scrypt
142 gnunet-service-resolver \
155 do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g'
157 gnunet-qr: gnunet-qr.py.in Makefile
158 $(do_subst) < gnunet-qr.py.in > gnunet-qr
161 gnunet_service_resolver_SOURCES = \
162 gnunet-service-resolver.c
163 gnunet_service_resolver_LDADD = \
164 $(top_builddir)/src/util/libgnunetutil.la \
166 gnunet_service_resolver_DEPENDENCIES = \
170 gnunet_resolver_SOURCES = \
172 gnunet_resolver_LDADD = \
173 $(top_builddir)/src/util/libgnunetutil.la \
175 gnunet_resolver_DEPENDENCIES = \
179 gnunet_ecc_SOURCES = \
182 $(top_builddir)/src/util/libgnunetutil.la \
183 $(GN_LIBINTL) -lgcrypt
184 gnunet_ecc_DEPENDENCIES = \
187 gnunet_scrypt_SOURCES = \
189 gnunet_scrypt_LDADD = \
190 $(top_builddir)/src/util/libgnunetutil.la \
191 $(GN_LIBINTL) -lgcrypt
192 gnunet_scrypt_DEPENDENCIES = \
196 gnunet_config_SOURCES = \
198 gnunet_config_LDADD = \
199 $(top_builddir)/src/util/libgnunetutil.la \
201 gnunet_config_DEPENDENCIES = \
205 gnunet_uri_SOURCES = \
208 $(top_builddir)/src/util/libgnunetutil.la \
210 gnunet_uri_DEPENDENCIES = \
213 plugin_LTLIBRARIES = \
214 libgnunet_plugin_test.la
216 libgnunet_plugin_test_la_SOURCES = \
218 libgnunet_plugin_test_la_LDFLAGS = \
224 perf_crypto_symmetric \
231 test_common_allocation \
233 test_common_logging \
235 test_container_bloomfilter \
236 test_container_meta_data \
237 test_container_multihashmap \
238 test_container_multihashmap32 \
239 test_container_multipeermap \
240 test_container_heap \
241 test_container_slist \
242 test_crypto_symmetric \
249 test_crypto_paillier \
254 test_connection_addressing.nc \
255 test_connection_receive_cancel.nc \
256 test_connection_timeout.nc \
257 test_connection_timeout_no_connect.nc \
258 test_connection_transmit_cancel.nc \
265 test_resolver_api.nc \
267 test_scheduler_delay \
269 test_server_disconnect.nc \
270 test_server_with_client.nc \
271 test_server_mst_interrupt.nc \
272 $(SERVER_CLIENT_UNIX) \
275 test_strings_to_data \
279 test_os_start_process \
280 test_common_logging_runtime_loglevels
283 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
284 TESTS = $(check_PROGRAMS)
287 # Declare .nc (NO-CONCURRENCY) as a test extension so that we can impart
288 # sequential execution order for them
289 TEST_EXTENSIONS = .nc
290 test_connection.log: test_client.log
291 test_connection_addressing.log: test_connection.log
292 test_connection_timeout_no_connect.log: test_connection_addressing.log
293 test_connection_transmit_cancel.log: test_connection_timeout_no_connect.log
294 test_connection_receive_cancel.log: test_connection_transmit_cancel.log
295 test_connection_timeout.log: test_connection_receive_cancel.log
296 test_mq_client.log: test_connection_timeout.log
297 test_resolver_api.log: test_mq_client.log
298 test_server.log: test_resolver_api.log
299 test_server_disconnect.log: test_server.log
300 test_server_with_client.log: test_server_disconnect.log
301 test_server_mst_interrupt.log: test_server_with_client.log
306 $(top_builddir)/src/util/libgnunetutil.la
309 test_os_start_process_SOURCES = \
310 test_os_start_process.c
311 test_os_start_process_LDADD = \
312 $(top_builddir)/src/util/libgnunetutil.la
313 test_os_start_process_DEPENDENCIES = \
316 test_client_nc_SOURCES = \
318 test_client_nc_LDADD = \
319 $(top_builddir)/src/util/libgnunetutil.la
321 test_common_allocation_SOURCES = \
322 test_common_allocation.c
323 test_common_allocation_LDADD = \
324 $(top_builddir)/src/util/libgnunetutil.la
326 test_common_endian_SOURCES = \
328 test_common_endian_LDADD = \
329 $(top_builddir)/src/util/libgnunetutil.la
331 test_common_logging_SOURCES = \
332 test_common_logging.c
333 test_common_logging_LDADD = \
334 $(top_builddir)/src/util/libgnunetutil.la
336 test_common_logging_runtime_loglevels_SOURCES = \
337 test_common_logging_runtime_loglevels.c
338 test_common_logging_runtime_loglevels_LDADD = \
339 $(top_builddir)/src/util/libgnunetutil.la
341 test_configuration_SOURCES = \
343 test_configuration_LDADD = \
344 $(top_builddir)/src/util/libgnunetutil.la
346 test_container_bloomfilter_SOURCES = \
347 test_container_bloomfilter.c
348 test_container_bloomfilter_LDADD = \
349 $(top_builddir)/src/util/libgnunetutil.la
351 test_container_meta_data_SOURCES = \
352 test_container_meta_data.c
353 test_container_meta_data_LDADD = \
354 $(top_builddir)/src/util/libgnunetutil.la -lextractor
356 test_container_multihashmap_SOURCES = \
357 test_container_multihashmap.c
358 test_container_multihashmap_LDADD = \
359 $(top_builddir)/src/util/libgnunetutil.la
361 test_container_multihashmap32_SOURCES = \
362 test_container_multihashmap32.c
363 test_container_multihashmap32_LDADD = \
364 $(top_builddir)/src/util/libgnunetutil.la
366 test_container_multipeermap_SOURCES = \
367 test_container_multipeermap.c
368 test_container_multipeermap_LDADD = \
369 $(top_builddir)/src/util/libgnunetutil.la
371 test_container_heap_SOURCES = \
372 test_container_heap.c
373 test_container_heap_LDADD = \
374 $(top_builddir)/src/util/libgnunetutil.la
376 test_container_slist_SOURCES = \
377 test_container_slist.c
378 test_container_slist_LDADD = \
379 $(top_builddir)/src/util/libgnunetutil.la
381 test_crypto_symmetric_SOURCES = \
382 test_crypto_symmetric.c
383 test_crypto_symmetric_LDADD = \
384 $(top_builddir)/src/util/libgnunetutil.la
386 test_crypto_crc_SOURCES = \
388 test_crypto_crc_LDADD = \
389 $(top_builddir)/src/util/libgnunetutil.la
391 test_crypto_ecdsa_SOURCES = \
393 test_crypto_ecdsa_LDADD = \
394 $(top_builddir)/src/util/libgnunetutil.la \
397 test_crypto_eddsa_SOURCES = \
399 test_crypto_eddsa_LDADD = \
400 $(top_builddir)/src/util/libgnunetutil.la \
403 test_crypto_ecdhe_SOURCES = \
405 test_crypto_ecdhe_LDADD = \
406 $(top_builddir)/src/util/libgnunetutil.la \
409 test_crypto_hash_SOURCES = \
411 test_crypto_hash_LDADD = \
412 $(top_builddir)/src/util/libgnunetutil.la
414 test_crypto_hkdf_SOURCES = \
416 test_crypto_hkdf_LDADD = \
417 $(top_builddir)/src/util/libgnunetutil.la
419 test_crypto_paillier_SOURCES = \
420 test_crypto_paillier.c
421 test_crypto_paillier_LDADD = \
423 $(top_builddir)/src/util/libgnunetutil.la
425 test_crypto_random_SOURCES = \
427 test_crypto_random_LDADD = \
428 $(top_builddir)/src/util/libgnunetutil.la
430 test_disk_SOURCES = \
433 $(top_builddir)/src/util/libgnunetutil.la
435 test_getopt_SOURCES = \
437 test_getopt_LDADD = \
438 $(top_builddir)/src/util/libgnunetutil.la
440 test_connection_nc_SOURCES = \
442 test_connection_nc_LDADD = \
443 $(top_builddir)/src/util/libgnunetutil.la
445 test_connection_addressing_nc_SOURCES = \
446 test_connection_addressing.c
447 test_connection_addressing_nc_LDADD = \
448 $(top_builddir)/src/util/libgnunetutil.la
450 test_connection_receive_cancel_nc_SOURCES = \
451 test_connection_receive_cancel.c
452 test_connection_receive_cancel_nc_LDADD = \
453 $(top_builddir)/src/util/libgnunetutil.la
455 test_connection_timeout_nc_SOURCES = \
456 test_connection_timeout.c
457 test_connection_timeout_nc_LDADD = \
458 $(top_builddir)/src/util/libgnunetutil.la
460 test_connection_timeout_no_connect_nc_SOURCES = \
461 test_connection_timeout_no_connect.c
462 test_connection_timeout_no_connect_nc_LDADD = \
463 $(top_builddir)/src/util/libgnunetutil.la
465 test_connection_transmit_cancel_nc_SOURCES = \
466 test_connection_transmit_cancel.c
467 test_connection_transmit_cancel_nc_LDADD = \
468 $(top_builddir)/src/util/libgnunetutil.la
473 $(top_builddir)/src/util/libgnunetutil.la
475 test_mq_client_nc_SOURCES = \
477 test_mq_client_nc_LDADD = \
478 $(top_builddir)/src/util/libgnunetutil.la
480 test_os_network_SOURCES = \
482 test_os_network_LDADD = \
483 $(top_builddir)/src/util/libgnunetutil.la
485 test_peer_SOURCES = \
488 $(top_builddir)/src/util/libgnunetutil.la -lgcrypt
490 test_plugin_SOURCES = \
492 test_plugin_LDADD = \
493 $(top_builddir)/src/util/libgnunetutil.la
495 test_program_SOURCES = \
497 test_program_LDADD = \
498 $(top_builddir)/src/util/libgnunetutil.la
500 test_resolver_api_nc_SOURCES = \
502 test_resolver_api_nc_LDADD = \
503 $(top_builddir)/src/util/libgnunetutil.la
505 test_scheduler_SOURCES = \
507 test_scheduler_LDADD = \
508 $(top_builddir)/src/util/libgnunetutil.la
510 test_scheduler_delay_SOURCES = \
511 test_scheduler_delay.c
512 test_scheduler_delay_LDADD = \
513 $(top_builddir)/src/util/libgnunetutil.la
515 test_server_mst_interrupt_nc_SOURCES = \
516 test_server_mst_interrupt.c
517 test_server_mst_interrupt_nc_LDADD = \
518 $(top_builddir)/src/util/libgnunetutil.la
520 test_server_nc_SOURCES = \
522 test_server_nc_LDADD = \
523 $(top_builddir)/src/util/libgnunetutil.la
525 test_server_disconnect_nc_SOURCES = \
526 test_server_disconnect.c
527 test_server_disconnect_nc_LDADD = \
528 $(top_builddir)/src/util/libgnunetutil.la
530 test_server_with_client_nc_SOURCES = \
531 test_server_with_client.c
532 test_server_with_client_nc_LDADD = \
533 $(top_builddir)/src/util/libgnunetutil.la
535 test_server_with_client_unix_SOURCES = \
536 test_server_with_client_unix.c
537 test_server_with_client_unix_LDADD = \
538 $(top_builddir)/src/util/libgnunetutil.la
541 test_service_SOURCES = \
543 test_service_LDADD = \
544 $(top_builddir)/src/util/libgnunetutil.la
546 test_strings_SOURCES = \
548 test_strings_LDADD = \
549 $(top_builddir)/src/util/libgnunetutil.la
552 test_strings_to_data_SOURCES = \
553 test_strings_to_data.c
554 test_strings_to_data_LDADD = \
555 $(top_builddir)/src/util/libgnunetutil.la
558 test_time_SOURCES = \
561 $(top_builddir)/src/util/libgnunetutil.la
563 test_speedup_SOURCES = \
565 test_speedup_LDADD = \
566 $(top_builddir)/src/util/libgnunetutil.la
568 perf_crypto_hash_SOURCES = \
570 perf_crypto_hash_LDADD = \
571 $(top_builddir)/src/util/libgnunetutil.la
573 perf_crypto_symmetric_SOURCES = \
574 perf_crypto_symmetric.c
575 perf_crypto_symmetric_LDADD = \
576 $(top_builddir)/src/util/libgnunetutil.la
578 perf_malloc_SOURCES = \
580 perf_malloc_LDADD = \
581 $(top_builddir)/src/util/libgnunetutil.la
585 test_configuration_data.conf \
586 test_program_data.conf \
587 test_resolver_api_data.conf \
588 test_service_data.conf \
589 test_speedup_data.conf \