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 TESTS = $(check_PROGRAMS)
288 $(top_builddir)/src/util/libgnunetutil.la
291 test_os_start_process_SOURCES = \
292 test_os_start_process.c
293 test_os_start_process_LDADD = \
294 $(top_builddir)/src/util/libgnunetutil.la
295 test_os_start_process_DEPENDENCIES = \
298 test_client_SOURCES = \
300 test_client_LDADD = \
301 $(top_builddir)/src/util/libgnunetutil.la
303 test_common_allocation_SOURCES = \
304 test_common_allocation.c
305 test_common_allocation_LDADD = \
306 $(top_builddir)/src/util/libgnunetutil.la
308 test_common_endian_SOURCES = \
310 test_common_endian_LDADD = \
311 $(top_builddir)/src/util/libgnunetutil.la
313 test_common_logging_SOURCES = \
314 test_common_logging.c
315 test_common_logging_LDADD = \
316 $(top_builddir)/src/util/libgnunetutil.la
318 test_common_logging_runtime_loglevels_SOURCES = \
319 test_common_logging_runtime_loglevels.c
320 test_common_logging_runtime_loglevels_LDADD = \
321 $(top_builddir)/src/util/libgnunetutil.la
323 test_configuration_SOURCES = \
325 test_configuration_LDADD = \
326 $(top_builddir)/src/util/libgnunetutil.la
328 test_container_bloomfilter_SOURCES = \
329 test_container_bloomfilter.c
330 test_container_bloomfilter_LDADD = \
331 $(top_builddir)/src/util/libgnunetutil.la
333 test_container_meta_data_SOURCES = \
334 test_container_meta_data.c
335 test_container_meta_data_LDADD = \
336 $(top_builddir)/src/util/libgnunetutil.la -lextractor
338 test_container_multihashmap_SOURCES = \
339 test_container_multihashmap.c
340 test_container_multihashmap_LDADD = \
341 $(top_builddir)/src/util/libgnunetutil.la
343 test_container_multihashmap32_SOURCES = \
344 test_container_multihashmap32.c
345 test_container_multihashmap32_LDADD = \
346 $(top_builddir)/src/util/libgnunetutil.la
348 test_container_multipeermap_SOURCES = \
349 test_container_multipeermap.c
350 test_container_multipeermap_LDADD = \
351 $(top_builddir)/src/util/libgnunetutil.la
353 test_container_heap_SOURCES = \
354 test_container_heap.c
355 test_container_heap_LDADD = \
356 $(top_builddir)/src/util/libgnunetutil.la
358 test_container_slist_SOURCES = \
359 test_container_slist.c
360 test_container_slist_LDADD = \
361 $(top_builddir)/src/util/libgnunetutil.la
363 test_crypto_symmetric_SOURCES = \
364 test_crypto_symmetric.c
365 test_crypto_symmetric_LDADD = \
366 $(top_builddir)/src/util/libgnunetutil.la
368 test_crypto_crc_SOURCES = \
370 test_crypto_crc_LDADD = \
371 $(top_builddir)/src/util/libgnunetutil.la
373 test_crypto_ecdsa_SOURCES = \
375 test_crypto_ecdsa_LDADD = \
376 $(top_builddir)/src/util/libgnunetutil.la \
379 test_crypto_eddsa_SOURCES = \
381 test_crypto_eddsa_LDADD = \
382 $(top_builddir)/src/util/libgnunetutil.la \
385 test_crypto_ecdhe_SOURCES = \
387 test_crypto_ecdhe_LDADD = \
388 $(top_builddir)/src/util/libgnunetutil.la \
391 test_crypto_hash_SOURCES = \
393 test_crypto_hash_LDADD = \
394 $(top_builddir)/src/util/libgnunetutil.la
396 test_crypto_hkdf_SOURCES = \
398 test_crypto_hkdf_LDADD = \
399 $(top_builddir)/src/util/libgnunetutil.la
401 test_crypto_paillier_SOURCES = \
402 test_crypto_paillier.c
403 test_crypto_paillier_LDADD = \
404 $(top_builddir)/src/util/libgnunetutil.la
406 test_crypto_random_SOURCES = \
408 test_crypto_random_LDADD = \
409 $(top_builddir)/src/util/libgnunetutil.la
411 test_disk_SOURCES = \
414 $(top_builddir)/src/util/libgnunetutil.la
416 test_getopt_SOURCES = \
418 test_getopt_LDADD = \
419 $(top_builddir)/src/util/libgnunetutil.la
421 test_connection_SOURCES = \
423 test_connection_LDADD = \
424 $(top_builddir)/src/util/libgnunetutil.la
426 test_connection_addressing_SOURCES = \
427 test_connection_addressing.c
428 test_connection_addressing_LDADD = \
429 $(top_builddir)/src/util/libgnunetutil.la
431 test_connection_receive_cancel_SOURCES = \
432 test_connection_receive_cancel.c
433 test_connection_receive_cancel_LDADD = \
434 $(top_builddir)/src/util/libgnunetutil.la
436 test_connection_timeout_SOURCES = \
437 test_connection_timeout.c
438 test_connection_timeout_LDADD = \
439 $(top_builddir)/src/util/libgnunetutil.la
441 test_connection_timeout_no_connect_SOURCES = \
442 test_connection_timeout_no_connect.c
443 test_connection_timeout_no_connect_LDADD = \
444 $(top_builddir)/src/util/libgnunetutil.la
446 test_connection_transmit_cancel_SOURCES = \
447 test_connection_transmit_cancel.c
448 test_connection_transmit_cancel_LDADD = \
449 $(top_builddir)/src/util/libgnunetutil.la
454 $(top_builddir)/src/util/libgnunetutil.la
456 test_mq_client_SOURCES = \
458 test_mq_client_LDADD = \
459 $(top_builddir)/src/util/libgnunetutil.la
461 test_os_network_SOURCES = \
463 test_os_network_LDADD = \
464 $(top_builddir)/src/util/libgnunetutil.la
466 test_peer_SOURCES = \
469 $(top_builddir)/src/util/libgnunetutil.la -lgcrypt
471 test_plugin_SOURCES = \
473 test_plugin_LDADD = \
474 $(top_builddir)/src/util/libgnunetutil.la
476 test_program_SOURCES = \
478 test_program_LDADD = \
479 $(top_builddir)/src/util/libgnunetutil.la
481 test_resolver_api_SOURCES = \
483 test_resolver_api_LDADD = \
484 $(top_builddir)/src/util/libgnunetutil.la
486 test_scheduler_SOURCES = \
488 test_scheduler_LDADD = \
489 $(top_builddir)/src/util/libgnunetutil.la
491 test_scheduler_delay_SOURCES = \
492 test_scheduler_delay.c
493 test_scheduler_delay_LDADD = \
494 $(top_builddir)/src/util/libgnunetutil.la
496 test_server_mst_interrupt_SOURCES = \
497 test_server_mst_interrupt.c
498 test_server_mst_interrupt_LDADD = \
499 $(top_builddir)/src/util/libgnunetutil.la
501 test_server_SOURCES = \
503 test_server_LDADD = \
504 $(top_builddir)/src/util/libgnunetutil.la
506 test_server_disconnect_SOURCES = \
507 test_server_disconnect.c
508 test_server_disconnect_LDADD = \
509 $(top_builddir)/src/util/libgnunetutil.la
511 test_server_with_client_SOURCES = \
512 test_server_with_client.c
513 test_server_with_client_LDADD = \
514 $(top_builddir)/src/util/libgnunetutil.la
516 test_server_with_client_unix_SOURCES = \
517 test_server_with_client_unix.c
518 test_server_with_client_unix_LDADD = \
519 $(top_builddir)/src/util/libgnunetutil.la
522 test_service_SOURCES = \
524 test_service_LDADD = \
525 $(top_builddir)/src/util/libgnunetutil.la
527 test_strings_SOURCES = \
529 test_strings_LDADD = \
530 $(top_builddir)/src/util/libgnunetutil.la
533 test_strings_to_data_SOURCES = \
534 test_strings_to_data.c
535 test_strings_to_data_LDADD = \
536 $(top_builddir)/src/util/libgnunetutil.la
539 test_time_SOURCES = \
542 $(top_builddir)/src/util/libgnunetutil.la
544 test_speedup_SOURCES = \
546 test_speedup_LDADD = \
547 $(top_builddir)/src/util/libgnunetutil.la
549 perf_crypto_hash_SOURCES = \
551 perf_crypto_hash_LDADD = \
552 $(top_builddir)/src/util/libgnunetutil.la
554 perf_crypto_symmetric_SOURCES = \
555 perf_crypto_symmetric.c
556 perf_crypto_symmetric_LDADD = \
557 $(top_builddir)/src/util/libgnunetutil.la
559 perf_malloc_SOURCES = \
561 perf_malloc_LDADD = \
562 $(top_builddir)/src/util/libgnunetutil.la
566 test_configuration_data.conf \
567 test_program_data.conf \
568 test_resolver_api_data.conf \
569 test_service_data.conf \
570 test_speedup_data.conf \