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
138 gnunet-service-resolver \
150 do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g'
152 gnunet-qr: gnunet-qr.py.in Makefile
153 $(do_subst) < gnunet-qr.py.in > gnunet-qr
156 gnunet_service_resolver_SOURCES = \
157 gnunet-service-resolver.c
158 gnunet_service_resolver_LDADD = \
159 $(top_builddir)/src/util/libgnunetutil.la \
161 gnunet_service_resolver_DEPENDENCIES = \
165 gnunet_resolver_SOURCES = \
167 gnunet_resolver_LDADD = \
168 $(top_builddir)/src/util/libgnunetutil.la \
170 gnunet_resolver_DEPENDENCIES = \
174 gnunet_ecc_SOURCES = \
177 $(top_builddir)/src/util/libgnunetutil.la \
178 $(GN_LIBINTL) -lgcrypt
179 gnunet_ecc_DEPENDENCIES = \
183 gnunet_config_SOURCES = \
185 gnunet_config_LDADD = \
186 $(top_builddir)/src/util/libgnunetutil.la \
188 gnunet_config_DEPENDENCIES = \
192 gnunet_uri_SOURCES = \
195 $(top_builddir)/src/util/libgnunetutil.la \
197 gnunet_uri_DEPENDENCIES = \
200 plugin_LTLIBRARIES = \
201 libgnunet_plugin_test.la
203 libgnunet_plugin_test_la_SOURCES = \
205 libgnunet_plugin_test_la_LDFLAGS = \
211 perf_crypto_symmetric \
218 test_common_allocation \
220 test_common_logging \
222 test_container_bloomfilter \
223 test_container_meta_data \
224 test_container_multihashmap \
225 test_container_multihashmap32 \
226 test_container_multipeermap \
227 test_container_heap \
228 test_container_slist \
229 test_crypto_symmetric \
240 test_connection_addressing \
241 test_connection_receive_cancel \
242 test_connection_timeout \
243 test_connection_timeout_no_connect \
244 test_connection_transmit_cancel \
253 test_scheduler_delay \
254 test_server_mst_interrupt \
256 test_server_disconnect \
257 test_server_with_client \
258 $(SERVER_CLIENT_UNIX) \
261 test_strings_to_data \
265 test_os_start_process \
266 test_common_logging_runtime_loglevels
269 TESTS = $(check_PROGRAMS)
275 $(top_builddir)/src/util/libgnunetutil.la
278 test_os_start_process_SOURCES = \
279 test_os_start_process.c
280 test_os_start_process_LDADD = \
281 $(top_builddir)/src/util/libgnunetutil.la
282 test_os_start_process_DEPENDENCIES = \
285 test_client_SOURCES = \
287 test_client_LDADD = \
288 $(top_builddir)/src/util/libgnunetutil.la
290 test_common_allocation_SOURCES = \
291 test_common_allocation.c
292 test_common_allocation_LDADD = \
293 $(top_builddir)/src/util/libgnunetutil.la
295 test_common_endian_SOURCES = \
297 test_common_endian_LDADD = \
298 $(top_builddir)/src/util/libgnunetutil.la
300 test_common_logging_SOURCES = \
301 test_common_logging.c
302 test_common_logging_LDADD = \
303 $(top_builddir)/src/util/libgnunetutil.la
305 test_common_logging_runtime_loglevels_SOURCES = \
306 test_common_logging_runtime_loglevels.c
307 test_common_logging_runtime_loglevels_LDADD = \
308 $(top_builddir)/src/util/libgnunetutil.la
310 test_configuration_SOURCES = \
312 test_configuration_LDADD = \
313 $(top_builddir)/src/util/libgnunetutil.la
315 test_container_bloomfilter_SOURCES = \
316 test_container_bloomfilter.c
317 test_container_bloomfilter_LDADD = \
318 $(top_builddir)/src/util/libgnunetutil.la
320 test_container_meta_data_SOURCES = \
321 test_container_meta_data.c
322 test_container_meta_data_LDADD = \
323 $(top_builddir)/src/util/libgnunetutil.la -lextractor
325 test_container_multihashmap_SOURCES = \
326 test_container_multihashmap.c
327 test_container_multihashmap_LDADD = \
328 $(top_builddir)/src/util/libgnunetutil.la
330 test_container_multihashmap32_SOURCES = \
331 test_container_multihashmap32.c
332 test_container_multihashmap32_LDADD = \
333 $(top_builddir)/src/util/libgnunetutil.la
335 test_container_multipeermap_SOURCES = \
336 test_container_multipeermap.c
337 test_container_multipeermap_LDADD = \
338 $(top_builddir)/src/util/libgnunetutil.la
340 test_container_heap_SOURCES = \
341 test_container_heap.c
342 test_container_heap_LDADD = \
343 $(top_builddir)/src/util/libgnunetutil.la
345 test_container_slist_SOURCES = \
346 test_container_slist.c
347 test_container_slist_LDADD = \
348 $(top_builddir)/src/util/libgnunetutil.la
350 test_crypto_symmetric_SOURCES = \
351 test_crypto_symmetric.c
352 test_crypto_symmetric_LDADD = \
353 $(top_builddir)/src/util/libgnunetutil.la
355 test_crypto_crc_SOURCES = \
357 test_crypto_crc_LDADD = \
358 $(top_builddir)/src/util/libgnunetutil.la
360 test_crypto_ecdsa_SOURCES = \
362 test_crypto_ecdsa_LDADD = \
363 $(top_builddir)/src/util/libgnunetutil.la \
366 test_crypto_eddsa_SOURCES = \
368 test_crypto_eddsa_LDADD = \
369 $(top_builddir)/src/util/libgnunetutil.la \
372 test_crypto_ecdhe_SOURCES = \
374 test_crypto_ecdhe_LDADD = \
375 $(top_builddir)/src/util/libgnunetutil.la \
378 test_crypto_hash_SOURCES = \
380 test_crypto_hash_LDADD = \
381 $(top_builddir)/src/util/libgnunetutil.la
383 test_crypto_hkdf_SOURCES = \
385 test_crypto_hkdf_LDADD = \
386 $(top_builddir)/src/util/libgnunetutil.la
388 test_crypto_random_SOURCES = \
390 test_crypto_random_LDADD = \
391 $(top_builddir)/src/util/libgnunetutil.la
393 test_disk_SOURCES = \
396 $(top_builddir)/src/util/libgnunetutil.la
398 test_getopt_SOURCES = \
400 test_getopt_LDADD = \
401 $(top_builddir)/src/util/libgnunetutil.la
403 test_connection_SOURCES = \
405 test_connection_LDADD = \
406 $(top_builddir)/src/util/libgnunetutil.la
408 test_connection_addressing_SOURCES = \
409 test_connection_addressing.c
410 test_connection_addressing_LDADD = \
411 $(top_builddir)/src/util/libgnunetutil.la
413 test_connection_receive_cancel_SOURCES = \
414 test_connection_receive_cancel.c
415 test_connection_receive_cancel_LDADD = \
416 $(top_builddir)/src/util/libgnunetutil.la
418 test_connection_timeout_SOURCES = \
419 test_connection_timeout.c
420 test_connection_timeout_LDADD = \
421 $(top_builddir)/src/util/libgnunetutil.la
423 test_connection_timeout_no_connect_SOURCES = \
424 test_connection_timeout_no_connect.c
425 test_connection_timeout_no_connect_LDADD = \
426 $(top_builddir)/src/util/libgnunetutil.la
428 test_connection_transmit_cancel_SOURCES = \
429 test_connection_transmit_cancel.c
430 test_connection_transmit_cancel_LDADD = \
431 $(top_builddir)/src/util/libgnunetutil.la
436 $(top_builddir)/src/util/libgnunetutil.la
438 test_mq_client_SOURCES = \
440 test_mq_client_LDADD = \
441 $(top_builddir)/src/util/libgnunetutil.la
443 test_os_network_SOURCES = \
445 test_os_network_LDADD = \
446 $(top_builddir)/src/util/libgnunetutil.la
448 test_peer_SOURCES = \
451 $(top_builddir)/src/util/libgnunetutil.la -lgcrypt
453 test_plugin_SOURCES = \
455 test_plugin_LDADD = \
456 $(top_builddir)/src/util/libgnunetutil.la
458 test_program_SOURCES = \
460 test_program_LDADD = \
461 $(top_builddir)/src/util/libgnunetutil.la
463 test_resolver_api_SOURCES = \
465 test_resolver_api_LDADD = \
466 $(top_builddir)/src/util/libgnunetutil.la
468 test_scheduler_SOURCES = \
470 test_scheduler_LDADD = \
471 $(top_builddir)/src/util/libgnunetutil.la
473 test_scheduler_delay_SOURCES = \
474 test_scheduler_delay.c
475 test_scheduler_delay_LDADD = \
476 $(top_builddir)/src/util/libgnunetutil.la
478 test_server_mst_interrupt_SOURCES = \
479 test_server_mst_interrupt.c
480 test_server_mst_interrupt_LDADD = \
481 $(top_builddir)/src/util/libgnunetutil.la
483 test_server_SOURCES = \
485 test_server_LDADD = \
486 $(top_builddir)/src/util/libgnunetutil.la
488 test_server_disconnect_SOURCES = \
489 test_server_disconnect.c
490 test_server_disconnect_LDADD = \
491 $(top_builddir)/src/util/libgnunetutil.la
493 test_server_with_client_SOURCES = \
494 test_server_with_client.c
495 test_server_with_client_LDADD = \
496 $(top_builddir)/src/util/libgnunetutil.la
498 test_server_with_client_unix_SOURCES = \
499 test_server_with_client_unix.c
500 test_server_with_client_unix_LDADD = \
501 $(top_builddir)/src/util/libgnunetutil.la
504 test_service_SOURCES = \
506 test_service_LDADD = \
507 $(top_builddir)/src/util/libgnunetutil.la
509 test_strings_SOURCES = \
511 test_strings_LDADD = \
512 $(top_builddir)/src/util/libgnunetutil.la
515 test_strings_to_data_SOURCES = \
516 test_strings_to_data.c
517 test_strings_to_data_LDADD = \
518 $(top_builddir)/src/util/libgnunetutil.la
521 test_time_SOURCES = \
524 $(top_builddir)/src/util/libgnunetutil.la
526 test_speedup_SOURCES = \
528 test_speedup_LDADD = \
529 $(top_builddir)/src/util/libgnunetutil.la
531 perf_crypto_hash_SOURCES = \
533 perf_crypto_hash_LDADD = \
534 $(top_builddir)/src/util/libgnunetutil.la
536 perf_crypto_symmetric_SOURCES = \
537 perf_crypto_symmetric.c
538 perf_crypto_symmetric_LDADD = \
539 $(top_builddir)/src/util/libgnunetutil.la
541 perf_malloc_SOURCES = \
543 perf_malloc_LDADD = \
544 $(top_builddir)/src/util/libgnunetutil.la
548 test_configuration_data.conf \
549 test_program_data.conf \
550 test_resolver_api_data.conf \
551 test_service_data.conf \
552 test_speedup_data.conf \