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 \
109 resolver_api.c resolver.h \
121 libgnunetutil_la_LIBADD = \
122 $(GCLIBADD) $(WINLIB) \
126 -lltdl $(Z_LIBS) -lunistring $(XLIB)
128 libgnunetutil_la_LDFLAGS = \
133 GNUNET_ECC = gnunet-ecc
134 GNUNET_SCRYPT = gnunet-scrypt
139 gnunet-service-resolver \
152 do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g'
154 gnunet-qr: gnunet-qr.py.in Makefile
155 $(do_subst) < gnunet-qr.py.in > gnunet-qr
158 gnunet_service_resolver_SOURCES = \
159 gnunet-service-resolver.c
160 gnunet_service_resolver_LDADD = \
161 $(top_builddir)/src/util/libgnunetutil.la \
163 gnunet_service_resolver_DEPENDENCIES = \
167 gnunet_resolver_SOURCES = \
169 gnunet_resolver_LDADD = \
170 $(top_builddir)/src/util/libgnunetutil.la \
172 gnunet_resolver_DEPENDENCIES = \
176 gnunet_ecc_SOURCES = \
179 $(top_builddir)/src/util/libgnunetutil.la \
180 $(GN_LIBINTL) -lgcrypt
181 gnunet_ecc_DEPENDENCIES = \
184 gnunet_scrypt_SOURCES = \
186 gnunet_scrypt_LDADD = \
187 $(top_builddir)/src/util/libgnunetutil.la \
188 $(GN_LIBINTL) -lgcrypt
189 gnunet_scrypt_DEPENDENCIES = \
193 gnunet_config_SOURCES = \
195 gnunet_config_LDADD = \
196 $(top_builddir)/src/util/libgnunetutil.la \
198 gnunet_config_DEPENDENCIES = \
202 gnunet_uri_SOURCES = \
205 $(top_builddir)/src/util/libgnunetutil.la \
207 gnunet_uri_DEPENDENCIES = \
210 plugin_LTLIBRARIES = \
211 libgnunet_plugin_test.la
213 libgnunet_plugin_test_la_SOURCES = \
215 libgnunet_plugin_test_la_LDFLAGS = \
221 perf_crypto_symmetric \
228 test_common_allocation \
230 test_common_logging \
232 test_container_bloomfilter \
233 test_container_meta_data \
234 test_container_multihashmap \
235 test_container_multihashmap32 \
236 test_container_multipeermap \
237 test_container_heap \
238 test_container_slist \
239 test_crypto_symmetric \
250 test_connection_addressing \
251 test_connection_receive_cancel \
252 test_connection_timeout \
253 test_connection_timeout_no_connect \
254 test_connection_transmit_cancel \
263 test_scheduler_delay \
264 test_server_mst_interrupt \
266 test_server_disconnect \
267 test_server_with_client \
268 $(SERVER_CLIENT_UNIX) \
271 test_strings_to_data \
275 test_os_start_process \
276 test_common_logging_runtime_loglevels
279 TESTS = $(check_PROGRAMS)
285 $(top_builddir)/src/util/libgnunetutil.la
288 test_os_start_process_SOURCES = \
289 test_os_start_process.c
290 test_os_start_process_LDADD = \
291 $(top_builddir)/src/util/libgnunetutil.la
292 test_os_start_process_DEPENDENCIES = \
295 test_client_SOURCES = \
297 test_client_LDADD = \
298 $(top_builddir)/src/util/libgnunetutil.la
300 test_common_allocation_SOURCES = \
301 test_common_allocation.c
302 test_common_allocation_LDADD = \
303 $(top_builddir)/src/util/libgnunetutil.la
305 test_common_endian_SOURCES = \
307 test_common_endian_LDADD = \
308 $(top_builddir)/src/util/libgnunetutil.la
310 test_common_logging_SOURCES = \
311 test_common_logging.c
312 test_common_logging_LDADD = \
313 $(top_builddir)/src/util/libgnunetutil.la
315 test_common_logging_runtime_loglevels_SOURCES = \
316 test_common_logging_runtime_loglevels.c
317 test_common_logging_runtime_loglevels_LDADD = \
318 $(top_builddir)/src/util/libgnunetutil.la
320 test_configuration_SOURCES = \
322 test_configuration_LDADD = \
323 $(top_builddir)/src/util/libgnunetutil.la
325 test_container_bloomfilter_SOURCES = \
326 test_container_bloomfilter.c
327 test_container_bloomfilter_LDADD = \
328 $(top_builddir)/src/util/libgnunetutil.la
330 test_container_meta_data_SOURCES = \
331 test_container_meta_data.c
332 test_container_meta_data_LDADD = \
333 $(top_builddir)/src/util/libgnunetutil.la -lextractor
335 test_container_multihashmap_SOURCES = \
336 test_container_multihashmap.c
337 test_container_multihashmap_LDADD = \
338 $(top_builddir)/src/util/libgnunetutil.la
340 test_container_multihashmap32_SOURCES = \
341 test_container_multihashmap32.c
342 test_container_multihashmap32_LDADD = \
343 $(top_builddir)/src/util/libgnunetutil.la
345 test_container_multipeermap_SOURCES = \
346 test_container_multipeermap.c
347 test_container_multipeermap_LDADD = \
348 $(top_builddir)/src/util/libgnunetutil.la
350 test_container_heap_SOURCES = \
351 test_container_heap.c
352 test_container_heap_LDADD = \
353 $(top_builddir)/src/util/libgnunetutil.la
355 test_container_slist_SOURCES = \
356 test_container_slist.c
357 test_container_slist_LDADD = \
358 $(top_builddir)/src/util/libgnunetutil.la
360 test_crypto_symmetric_SOURCES = \
361 test_crypto_symmetric.c
362 test_crypto_symmetric_LDADD = \
363 $(top_builddir)/src/util/libgnunetutil.la
365 test_crypto_crc_SOURCES = \
367 test_crypto_crc_LDADD = \
368 $(top_builddir)/src/util/libgnunetutil.la
370 test_crypto_ecdsa_SOURCES = \
372 test_crypto_ecdsa_LDADD = \
373 $(top_builddir)/src/util/libgnunetutil.la \
376 test_crypto_eddsa_SOURCES = \
378 test_crypto_eddsa_LDADD = \
379 $(top_builddir)/src/util/libgnunetutil.la \
382 test_crypto_ecdhe_SOURCES = \
384 test_crypto_ecdhe_LDADD = \
385 $(top_builddir)/src/util/libgnunetutil.la \
388 test_crypto_hash_SOURCES = \
390 test_crypto_hash_LDADD = \
391 $(top_builddir)/src/util/libgnunetutil.la
393 test_crypto_hkdf_SOURCES = \
395 test_crypto_hkdf_LDADD = \
396 $(top_builddir)/src/util/libgnunetutil.la
398 test_crypto_random_SOURCES = \
400 test_crypto_random_LDADD = \
401 $(top_builddir)/src/util/libgnunetutil.la
403 test_disk_SOURCES = \
406 $(top_builddir)/src/util/libgnunetutil.la
408 test_getopt_SOURCES = \
410 test_getopt_LDADD = \
411 $(top_builddir)/src/util/libgnunetutil.la
413 test_connection_SOURCES = \
415 test_connection_LDADD = \
416 $(top_builddir)/src/util/libgnunetutil.la
418 test_connection_addressing_SOURCES = \
419 test_connection_addressing.c
420 test_connection_addressing_LDADD = \
421 $(top_builddir)/src/util/libgnunetutil.la
423 test_connection_receive_cancel_SOURCES = \
424 test_connection_receive_cancel.c
425 test_connection_receive_cancel_LDADD = \
426 $(top_builddir)/src/util/libgnunetutil.la
428 test_connection_timeout_SOURCES = \
429 test_connection_timeout.c
430 test_connection_timeout_LDADD = \
431 $(top_builddir)/src/util/libgnunetutil.la
433 test_connection_timeout_no_connect_SOURCES = \
434 test_connection_timeout_no_connect.c
435 test_connection_timeout_no_connect_LDADD = \
436 $(top_builddir)/src/util/libgnunetutil.la
438 test_connection_transmit_cancel_SOURCES = \
439 test_connection_transmit_cancel.c
440 test_connection_transmit_cancel_LDADD = \
441 $(top_builddir)/src/util/libgnunetutil.la
446 $(top_builddir)/src/util/libgnunetutil.la
448 test_mq_client_SOURCES = \
450 test_mq_client_LDADD = \
451 $(top_builddir)/src/util/libgnunetutil.la
453 test_os_network_SOURCES = \
455 test_os_network_LDADD = \
456 $(top_builddir)/src/util/libgnunetutil.la
458 test_peer_SOURCES = \
461 $(top_builddir)/src/util/libgnunetutil.la -lgcrypt
463 test_plugin_SOURCES = \
465 test_plugin_LDADD = \
466 $(top_builddir)/src/util/libgnunetutil.la
468 test_program_SOURCES = \
470 test_program_LDADD = \
471 $(top_builddir)/src/util/libgnunetutil.la
473 test_resolver_api_SOURCES = \
475 test_resolver_api_LDADD = \
476 $(top_builddir)/src/util/libgnunetutil.la
478 test_scheduler_SOURCES = \
480 test_scheduler_LDADD = \
481 $(top_builddir)/src/util/libgnunetutil.la
483 test_scheduler_delay_SOURCES = \
484 test_scheduler_delay.c
485 test_scheduler_delay_LDADD = \
486 $(top_builddir)/src/util/libgnunetutil.la
488 test_server_mst_interrupt_SOURCES = \
489 test_server_mst_interrupt.c
490 test_server_mst_interrupt_LDADD = \
491 $(top_builddir)/src/util/libgnunetutil.la
493 test_server_SOURCES = \
495 test_server_LDADD = \
496 $(top_builddir)/src/util/libgnunetutil.la
498 test_server_disconnect_SOURCES = \
499 test_server_disconnect.c
500 test_server_disconnect_LDADD = \
501 $(top_builddir)/src/util/libgnunetutil.la
503 test_server_with_client_SOURCES = \
504 test_server_with_client.c
505 test_server_with_client_LDADD = \
506 $(top_builddir)/src/util/libgnunetutil.la
508 test_server_with_client_unix_SOURCES = \
509 test_server_with_client_unix.c
510 test_server_with_client_unix_LDADD = \
511 $(top_builddir)/src/util/libgnunetutil.la
514 test_service_SOURCES = \
516 test_service_LDADD = \
517 $(top_builddir)/src/util/libgnunetutil.la
519 test_strings_SOURCES = \
521 test_strings_LDADD = \
522 $(top_builddir)/src/util/libgnunetutil.la
525 test_strings_to_data_SOURCES = \
526 test_strings_to_data.c
527 test_strings_to_data_LDADD = \
528 $(top_builddir)/src/util/libgnunetutil.la
531 test_time_SOURCES = \
534 $(top_builddir)/src/util/libgnunetutil.la
536 test_speedup_SOURCES = \
538 test_speedup_LDADD = \
539 $(top_builddir)/src/util/libgnunetutil.la
541 perf_crypto_hash_SOURCES = \
543 perf_crypto_hash_LDADD = \
544 $(top_builddir)/src/util/libgnunetutil.la
546 perf_crypto_symmetric_SOURCES = \
547 perf_crypto_symmetric.c
548 perf_crypto_symmetric_LDADD = \
549 $(top_builddir)/src/util/libgnunetutil.la
551 perf_malloc_SOURCES = \
553 perf_malloc_LDADD = \
554 $(top_builddir)/src/util/libgnunetutil.la
558 test_configuration_data.conf \
559 test_program_data.conf \
560 test_resolver_api_data.conf \
561 test_service_data.conf \
562 test_speedup_data.conf \