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 = \
81 container_bloomfilter.c \
83 container_meta_data.c \
84 container_multihashmap.c \
85 container_multipeermap.c \
86 container_multihashmap32.c \
111 resolver_api.c resolver.h \
123 libgnunetutil_la_LIBADD = \
124 $(GCLIBADD) $(WINLIB) \
128 -lltdl $(Z_LIBS) -lunistring $(XLIB)
130 libgnunetutil_la_LDFLAGS = \
135 GNUNET_ECC = gnunet-ecc
136 GNUNET_SCRYPT = gnunet-scrypt
141 gnunet-service-resolver \
154 do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g'
156 gnunet-qr: gnunet-qr.py.in Makefile
157 $(do_subst) < gnunet-qr.py.in > gnunet-qr
160 gnunet_service_resolver_SOURCES = \
161 gnunet-service-resolver.c
162 gnunet_service_resolver_LDADD = \
163 $(top_builddir)/src/util/libgnunetutil.la \
165 gnunet_service_resolver_DEPENDENCIES = \
169 gnunet_resolver_SOURCES = \
171 gnunet_resolver_LDADD = \
172 $(top_builddir)/src/util/libgnunetutil.la \
174 gnunet_resolver_DEPENDENCIES = \
178 gnunet_ecc_SOURCES = \
181 $(top_builddir)/src/util/libgnunetutil.la \
182 $(GN_LIBINTL) -lgcrypt
183 gnunet_ecc_DEPENDENCIES = \
186 gnunet_scrypt_SOURCES = \
188 gnunet_scrypt_LDADD = \
189 $(top_builddir)/src/util/libgnunetutil.la \
190 $(GN_LIBINTL) -lgcrypt
191 gnunet_scrypt_DEPENDENCIES = \
195 gnunet_config_SOURCES = \
197 gnunet_config_LDADD = \
198 $(top_builddir)/src/util/libgnunetutil.la \
200 gnunet_config_DEPENDENCIES = \
204 gnunet_uri_SOURCES = \
207 $(top_builddir)/src/util/libgnunetutil.la \
209 gnunet_uri_DEPENDENCIES = \
212 plugin_LTLIBRARIES = \
213 libgnunet_plugin_test.la
215 libgnunet_plugin_test_la_SOURCES = \
217 libgnunet_plugin_test_la_LDFLAGS = \
223 perf_crypto_symmetric \
230 test_common_allocation \
232 test_common_logging \
234 test_container_bloomfilter \
235 test_container_meta_data \
236 test_container_multihashmap \
237 test_container_multihashmap32 \
238 test_container_multipeermap \
239 test_container_heap \
240 test_container_slist \
241 test_crypto_symmetric \
248 test_crypto_paillier \
253 test_connection_addressing \
254 test_connection_receive_cancel \
255 test_connection_timeout \
256 test_connection_timeout_no_connect \
257 test_connection_transmit_cancel \
266 test_scheduler_delay \
267 test_server_mst_interrupt \
269 test_server_disconnect \
270 test_server_with_client \
271 $(SERVER_CLIENT_UNIX) \
274 test_strings_to_data \
278 test_os_start_process \
279 test_common_logging_runtime_loglevels
282 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
283 TESTS = $(check_PROGRAMS)
289 $(top_builddir)/src/util/libgnunetutil.la
292 test_os_start_process_SOURCES = \
293 test_os_start_process.c
294 test_os_start_process_LDADD = \
295 $(top_builddir)/src/util/libgnunetutil.la
296 test_os_start_process_DEPENDENCIES = \
299 test_client_SOURCES = \
301 test_client_LDADD = \
302 $(top_builddir)/src/util/libgnunetutil.la
304 test_common_allocation_SOURCES = \
305 test_common_allocation.c
306 test_common_allocation_LDADD = \
307 $(top_builddir)/src/util/libgnunetutil.la
309 test_common_endian_SOURCES = \
311 test_common_endian_LDADD = \
312 $(top_builddir)/src/util/libgnunetutil.la
314 test_common_logging_SOURCES = \
315 test_common_logging.c
316 test_common_logging_LDADD = \
317 $(top_builddir)/src/util/libgnunetutil.la
319 test_common_logging_runtime_loglevels_SOURCES = \
320 test_common_logging_runtime_loglevels.c
321 test_common_logging_runtime_loglevels_LDADD = \
322 $(top_builddir)/src/util/libgnunetutil.la
324 test_configuration_SOURCES = \
326 test_configuration_LDADD = \
327 $(top_builddir)/src/util/libgnunetutil.la
329 test_container_bloomfilter_SOURCES = \
330 test_container_bloomfilter.c
331 test_container_bloomfilter_LDADD = \
332 $(top_builddir)/src/util/libgnunetutil.la
334 test_container_meta_data_SOURCES = \
335 test_container_meta_data.c
336 test_container_meta_data_LDADD = \
337 $(top_builddir)/src/util/libgnunetutil.la -lextractor
339 test_container_multihashmap_SOURCES = \
340 test_container_multihashmap.c
341 test_container_multihashmap_LDADD = \
342 $(top_builddir)/src/util/libgnunetutil.la
344 test_container_multihashmap32_SOURCES = \
345 test_container_multihashmap32.c
346 test_container_multihashmap32_LDADD = \
347 $(top_builddir)/src/util/libgnunetutil.la
349 test_container_multipeermap_SOURCES = \
350 test_container_multipeermap.c
351 test_container_multipeermap_LDADD = \
352 $(top_builddir)/src/util/libgnunetutil.la
354 test_container_heap_SOURCES = \
355 test_container_heap.c
356 test_container_heap_LDADD = \
357 $(top_builddir)/src/util/libgnunetutil.la
359 test_container_slist_SOURCES = \
360 test_container_slist.c
361 test_container_slist_LDADD = \
362 $(top_builddir)/src/util/libgnunetutil.la
364 test_crypto_symmetric_SOURCES = \
365 test_crypto_symmetric.c
366 test_crypto_symmetric_LDADD = \
367 $(top_builddir)/src/util/libgnunetutil.la
369 test_crypto_crc_SOURCES = \
371 test_crypto_crc_LDADD = \
372 $(top_builddir)/src/util/libgnunetutil.la
374 test_crypto_ecdsa_SOURCES = \
376 test_crypto_ecdsa_LDADD = \
377 $(top_builddir)/src/util/libgnunetutil.la \
380 test_crypto_eddsa_SOURCES = \
382 test_crypto_eddsa_LDADD = \
383 $(top_builddir)/src/util/libgnunetutil.la \
386 test_crypto_ecdhe_SOURCES = \
388 test_crypto_ecdhe_LDADD = \
389 $(top_builddir)/src/util/libgnunetutil.la \
392 test_crypto_hash_SOURCES = \
394 test_crypto_hash_LDADD = \
395 $(top_builddir)/src/util/libgnunetutil.la
397 test_crypto_hkdf_SOURCES = \
399 test_crypto_hkdf_LDADD = \
400 $(top_builddir)/src/util/libgnunetutil.la
402 test_crypto_paillier_SOURCES = \
403 test_crypto_paillier.c
404 test_crypto_paillier_LDADD = \
406 $(top_builddir)/src/util/libgnunetutil.la
408 test_crypto_random_SOURCES = \
410 test_crypto_random_LDADD = \
411 $(top_builddir)/src/util/libgnunetutil.la
413 test_disk_SOURCES = \
416 $(top_builddir)/src/util/libgnunetutil.la
418 test_getopt_SOURCES = \
420 test_getopt_LDADD = \
421 $(top_builddir)/src/util/libgnunetutil.la
423 test_connection_SOURCES = \
425 test_connection_LDADD = \
426 $(top_builddir)/src/util/libgnunetutil.la
428 test_connection_addressing_SOURCES = \
429 test_connection_addressing.c
430 test_connection_addressing_LDADD = \
431 $(top_builddir)/src/util/libgnunetutil.la
433 test_connection_receive_cancel_SOURCES = \
434 test_connection_receive_cancel.c
435 test_connection_receive_cancel_LDADD = \
436 $(top_builddir)/src/util/libgnunetutil.la
438 test_connection_timeout_SOURCES = \
439 test_connection_timeout.c
440 test_connection_timeout_LDADD = \
441 $(top_builddir)/src/util/libgnunetutil.la
443 test_connection_timeout_no_connect_SOURCES = \
444 test_connection_timeout_no_connect.c
445 test_connection_timeout_no_connect_LDADD = \
446 $(top_builddir)/src/util/libgnunetutil.la
448 test_connection_transmit_cancel_SOURCES = \
449 test_connection_transmit_cancel.c
450 test_connection_transmit_cancel_LDADD = \
451 $(top_builddir)/src/util/libgnunetutil.la
456 $(top_builddir)/src/util/libgnunetutil.la
458 test_mq_client_SOURCES = \
460 test_mq_client_LDADD = \
461 $(top_builddir)/src/util/libgnunetutil.la
463 test_os_network_SOURCES = \
465 test_os_network_LDADD = \
466 $(top_builddir)/src/util/libgnunetutil.la
468 test_peer_SOURCES = \
471 $(top_builddir)/src/util/libgnunetutil.la -lgcrypt
473 test_plugin_SOURCES = \
475 test_plugin_LDADD = \
476 $(top_builddir)/src/util/libgnunetutil.la
478 test_program_SOURCES = \
480 test_program_LDADD = \
481 $(top_builddir)/src/util/libgnunetutil.la
483 test_resolver_api_SOURCES = \
485 test_resolver_api_LDADD = \
486 $(top_builddir)/src/util/libgnunetutil.la
488 test_scheduler_SOURCES = \
490 test_scheduler_LDADD = \
491 $(top_builddir)/src/util/libgnunetutil.la
493 test_scheduler_delay_SOURCES = \
494 test_scheduler_delay.c
495 test_scheduler_delay_LDADD = \
496 $(top_builddir)/src/util/libgnunetutil.la
498 test_server_mst_interrupt_SOURCES = \
499 test_server_mst_interrupt.c
500 test_server_mst_interrupt_LDADD = \
501 $(top_builddir)/src/util/libgnunetutil.la
503 test_server_SOURCES = \
505 test_server_LDADD = \
506 $(top_builddir)/src/util/libgnunetutil.la
508 test_server_disconnect_SOURCES = \
509 test_server_disconnect.c
510 test_server_disconnect_LDADD = \
511 $(top_builddir)/src/util/libgnunetutil.la
513 test_server_with_client_SOURCES = \
514 test_server_with_client.c
515 test_server_with_client_LDADD = \
516 $(top_builddir)/src/util/libgnunetutil.la
518 test_server_with_client_unix_SOURCES = \
519 test_server_with_client_unix.c
520 test_server_with_client_unix_LDADD = \
521 $(top_builddir)/src/util/libgnunetutil.la
524 test_service_SOURCES = \
526 test_service_LDADD = \
527 $(top_builddir)/src/util/libgnunetutil.la
529 test_strings_SOURCES = \
531 test_strings_LDADD = \
532 $(top_builddir)/src/util/libgnunetutil.la
535 test_strings_to_data_SOURCES = \
536 test_strings_to_data.c
537 test_strings_to_data_LDADD = \
538 $(top_builddir)/src/util/libgnunetutil.la
541 test_time_SOURCES = \
544 $(top_builddir)/src/util/libgnunetutil.la
546 test_speedup_SOURCES = \
548 test_speedup_LDADD = \
549 $(top_builddir)/src/util/libgnunetutil.la
551 perf_crypto_hash_SOURCES = \
553 perf_crypto_hash_LDADD = \
554 $(top_builddir)/src/util/libgnunetutil.la
556 perf_crypto_symmetric_SOURCES = \
557 perf_crypto_symmetric.c
558 perf_crypto_symmetric_LDADD = \
559 $(top_builddir)/src/util/libgnunetutil.la
561 perf_malloc_SOURCES = \
563 perf_malloc_LDADD = \
564 $(top_builddir)/src/util/libgnunetutil.la
568 test_configuration_data.conf \
569 test_program_data.conf \
570 test_resolver_api_data.conf \
571 test_service_data.conf \
572 test_speedup_data.conf \