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 \
255 test_connection_receive_cancel \
256 test_connection_timeout \
257 test_connection_timeout_no_connect \
258 test_connection_transmit_cancel \
267 test_scheduler_delay \
268 test_server_mst_interrupt \
270 test_server_disconnect \
271 test_server_with_client \
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)
290 $(top_builddir)/src/util/libgnunetutil.la
293 test_os_start_process_SOURCES = \
294 test_os_start_process.c
295 test_os_start_process_LDADD = \
296 $(top_builddir)/src/util/libgnunetutil.la
297 test_os_start_process_DEPENDENCIES = \
300 test_client_SOURCES = \
302 test_client_LDADD = \
303 $(top_builddir)/src/util/libgnunetutil.la
305 test_common_allocation_SOURCES = \
306 test_common_allocation.c
307 test_common_allocation_LDADD = \
308 $(top_builddir)/src/util/libgnunetutil.la
310 test_common_endian_SOURCES = \
312 test_common_endian_LDADD = \
313 $(top_builddir)/src/util/libgnunetutil.la
315 test_common_logging_SOURCES = \
316 test_common_logging.c
317 test_common_logging_LDADD = \
318 $(top_builddir)/src/util/libgnunetutil.la
320 test_common_logging_runtime_loglevels_SOURCES = \
321 test_common_logging_runtime_loglevels.c
322 test_common_logging_runtime_loglevels_LDADD = \
323 $(top_builddir)/src/util/libgnunetutil.la
325 test_configuration_SOURCES = \
327 test_configuration_LDADD = \
328 $(top_builddir)/src/util/libgnunetutil.la
330 test_container_bloomfilter_SOURCES = \
331 test_container_bloomfilter.c
332 test_container_bloomfilter_LDADD = \
333 $(top_builddir)/src/util/libgnunetutil.la
335 test_container_meta_data_SOURCES = \
336 test_container_meta_data.c
337 test_container_meta_data_LDADD = \
338 $(top_builddir)/src/util/libgnunetutil.la -lextractor
340 test_container_multihashmap_SOURCES = \
341 test_container_multihashmap.c
342 test_container_multihashmap_LDADD = \
343 $(top_builddir)/src/util/libgnunetutil.la
345 test_container_multihashmap32_SOURCES = \
346 test_container_multihashmap32.c
347 test_container_multihashmap32_LDADD = \
348 $(top_builddir)/src/util/libgnunetutil.la
350 test_container_multipeermap_SOURCES = \
351 test_container_multipeermap.c
352 test_container_multipeermap_LDADD = \
353 $(top_builddir)/src/util/libgnunetutil.la
355 test_container_heap_SOURCES = \
356 test_container_heap.c
357 test_container_heap_LDADD = \
358 $(top_builddir)/src/util/libgnunetutil.la
360 test_container_slist_SOURCES = \
361 test_container_slist.c
362 test_container_slist_LDADD = \
363 $(top_builddir)/src/util/libgnunetutil.la
365 test_crypto_symmetric_SOURCES = \
366 test_crypto_symmetric.c
367 test_crypto_symmetric_LDADD = \
368 $(top_builddir)/src/util/libgnunetutil.la
370 test_crypto_crc_SOURCES = \
372 test_crypto_crc_LDADD = \
373 $(top_builddir)/src/util/libgnunetutil.la
375 test_crypto_ecdsa_SOURCES = \
377 test_crypto_ecdsa_LDADD = \
378 $(top_builddir)/src/util/libgnunetutil.la \
381 test_crypto_eddsa_SOURCES = \
383 test_crypto_eddsa_LDADD = \
384 $(top_builddir)/src/util/libgnunetutil.la \
387 test_crypto_ecdhe_SOURCES = \
389 test_crypto_ecdhe_LDADD = \
390 $(top_builddir)/src/util/libgnunetutil.la \
393 test_crypto_hash_SOURCES = \
395 test_crypto_hash_LDADD = \
396 $(top_builddir)/src/util/libgnunetutil.la
398 test_crypto_hkdf_SOURCES = \
400 test_crypto_hkdf_LDADD = \
401 $(top_builddir)/src/util/libgnunetutil.la
403 test_crypto_paillier_SOURCES = \
404 test_crypto_paillier.c
405 test_crypto_paillier_LDADD = \
407 $(top_builddir)/src/util/libgnunetutil.la
409 test_crypto_random_SOURCES = \
411 test_crypto_random_LDADD = \
412 $(top_builddir)/src/util/libgnunetutil.la
414 test_disk_SOURCES = \
417 $(top_builddir)/src/util/libgnunetutil.la
419 test_getopt_SOURCES = \
421 test_getopt_LDADD = \
422 $(top_builddir)/src/util/libgnunetutil.la
424 test_connection_SOURCES = \
426 test_connection_LDADD = \
427 $(top_builddir)/src/util/libgnunetutil.la
429 test_connection_addressing_SOURCES = \
430 test_connection_addressing.c
431 test_connection_addressing_LDADD = \
432 $(top_builddir)/src/util/libgnunetutil.la
434 test_connection_receive_cancel_SOURCES = \
435 test_connection_receive_cancel.c
436 test_connection_receive_cancel_LDADD = \
437 $(top_builddir)/src/util/libgnunetutil.la
439 test_connection_timeout_SOURCES = \
440 test_connection_timeout.c
441 test_connection_timeout_LDADD = \
442 $(top_builddir)/src/util/libgnunetutil.la
444 test_connection_timeout_no_connect_SOURCES = \
445 test_connection_timeout_no_connect.c
446 test_connection_timeout_no_connect_LDADD = \
447 $(top_builddir)/src/util/libgnunetutil.la
449 test_connection_transmit_cancel_SOURCES = \
450 test_connection_transmit_cancel.c
451 test_connection_transmit_cancel_LDADD = \
452 $(top_builddir)/src/util/libgnunetutil.la
457 $(top_builddir)/src/util/libgnunetutil.la
459 test_mq_client_SOURCES = \
461 test_mq_client_LDADD = \
462 $(top_builddir)/src/util/libgnunetutil.la
464 test_os_network_SOURCES = \
466 test_os_network_LDADD = \
467 $(top_builddir)/src/util/libgnunetutil.la
469 test_peer_SOURCES = \
472 $(top_builddir)/src/util/libgnunetutil.la -lgcrypt
474 test_plugin_SOURCES = \
476 test_plugin_LDADD = \
477 $(top_builddir)/src/util/libgnunetutil.la
479 test_program_SOURCES = \
481 test_program_LDADD = \
482 $(top_builddir)/src/util/libgnunetutil.la
484 test_resolver_api_SOURCES = \
486 test_resolver_api_LDADD = \
487 $(top_builddir)/src/util/libgnunetutil.la
489 test_scheduler_SOURCES = \
491 test_scheduler_LDADD = \
492 $(top_builddir)/src/util/libgnunetutil.la
494 test_scheduler_delay_SOURCES = \
495 test_scheduler_delay.c
496 test_scheduler_delay_LDADD = \
497 $(top_builddir)/src/util/libgnunetutil.la
499 test_server_mst_interrupt_SOURCES = \
500 test_server_mst_interrupt.c
501 test_server_mst_interrupt_LDADD = \
502 $(top_builddir)/src/util/libgnunetutil.la
504 test_server_SOURCES = \
506 test_server_LDADD = \
507 $(top_builddir)/src/util/libgnunetutil.la
509 test_server_disconnect_SOURCES = \
510 test_server_disconnect.c
511 test_server_disconnect_LDADD = \
512 $(top_builddir)/src/util/libgnunetutil.la
514 test_server_with_client_SOURCES = \
515 test_server_with_client.c
516 test_server_with_client_LDADD = \
517 $(top_builddir)/src/util/libgnunetutil.la
519 test_server_with_client_unix_SOURCES = \
520 test_server_with_client_unix.c
521 test_server_with_client_unix_LDADD = \
522 $(top_builddir)/src/util/libgnunetutil.la
525 test_service_SOURCES = \
527 test_service_LDADD = \
528 $(top_builddir)/src/util/libgnunetutil.la
530 test_strings_SOURCES = \
532 test_strings_LDADD = \
533 $(top_builddir)/src/util/libgnunetutil.la
536 test_strings_to_data_SOURCES = \
537 test_strings_to_data.c
538 test_strings_to_data_LDADD = \
539 $(top_builddir)/src/util/libgnunetutil.la
542 test_time_SOURCES = \
545 $(top_builddir)/src/util/libgnunetutil.la
547 test_speedup_SOURCES = \
549 test_speedup_LDADD = \
550 $(top_builddir)/src/util/libgnunetutil.la
552 perf_crypto_hash_SOURCES = \
554 perf_crypto_hash_LDADD = \
555 $(top_builddir)/src/util/libgnunetutil.la
557 perf_crypto_symmetric_SOURCES = \
558 perf_crypto_symmetric.c
559 perf_crypto_symmetric_LDADD = \
560 $(top_builddir)/src/util/libgnunetutil.la
562 perf_malloc_SOURCES = \
564 perf_malloc_LDADD = \
565 $(top_builddir)/src/util/libgnunetutil.la
569 test_configuration_data.conf \
570 test_program_data.conf \
571 test_resolver_api_data.conf \
572 test_service_data.conf \
573 test_speedup_data.conf \