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 \
110 resolver_api.c resolver.h \
122 libgnunetutil_la_LIBADD = \
123 $(GCLIBADD) $(WINLIB) \
127 -lltdl $(Z_LIBS) -lunistring $(XLIB)
129 libgnunetutil_la_LDFLAGS = \
134 GNUNET_ECC = gnunet-ecc
135 GNUNET_SCRYPT = gnunet-scrypt
140 gnunet-service-resolver \
153 do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g'
155 gnunet-qr: gnunet-qr.py.in Makefile
156 $(do_subst) < gnunet-qr.py.in > gnunet-qr
159 gnunet_service_resolver_SOURCES = \
160 gnunet-service-resolver.c
161 gnunet_service_resolver_LDADD = \
162 $(top_builddir)/src/util/libgnunetutil.la \
164 gnunet_service_resolver_DEPENDENCIES = \
168 gnunet_resolver_SOURCES = \
170 gnunet_resolver_LDADD = \
171 $(top_builddir)/src/util/libgnunetutil.la \
173 gnunet_resolver_DEPENDENCIES = \
177 gnunet_ecc_SOURCES = \
180 $(top_builddir)/src/util/libgnunetutil.la \
181 $(GN_LIBINTL) -lgcrypt
182 gnunet_ecc_DEPENDENCIES = \
185 gnunet_scrypt_SOURCES = \
187 gnunet_scrypt_LDADD = \
188 $(top_builddir)/src/util/libgnunetutil.la \
189 $(GN_LIBINTL) -lgcrypt
190 gnunet_scrypt_DEPENDENCIES = \
194 gnunet_config_SOURCES = \
196 gnunet_config_LDADD = \
197 $(top_builddir)/src/util/libgnunetutil.la \
199 gnunet_config_DEPENDENCIES = \
203 gnunet_uri_SOURCES = \
206 $(top_builddir)/src/util/libgnunetutil.la \
208 gnunet_uri_DEPENDENCIES = \
211 plugin_LTLIBRARIES = \
212 libgnunet_plugin_test.la
214 libgnunet_plugin_test_la_SOURCES = \
216 libgnunet_plugin_test_la_LDFLAGS = \
222 perf_crypto_symmetric \
229 test_common_allocation \
231 test_common_logging \
233 test_container_bloomfilter \
234 test_container_meta_data \
235 test_container_multihashmap \
236 test_container_multihashmap32 \
237 test_container_multipeermap \
238 test_container_heap \
239 test_container_slist \
240 test_crypto_symmetric \
251 test_connection_addressing \
252 test_connection_receive_cancel \
253 test_connection_timeout \
254 test_connection_timeout_no_connect \
255 test_connection_transmit_cancel \
264 test_scheduler_delay \
265 test_server_mst_interrupt \
267 test_server_disconnect \
268 test_server_with_client \
269 $(SERVER_CLIENT_UNIX) \
272 test_strings_to_data \
276 test_os_start_process \
277 test_common_logging_runtime_loglevels
280 TESTS = $(check_PROGRAMS)
286 $(top_builddir)/src/util/libgnunetutil.la
289 test_os_start_process_SOURCES = \
290 test_os_start_process.c
291 test_os_start_process_LDADD = \
292 $(top_builddir)/src/util/libgnunetutil.la
293 test_os_start_process_DEPENDENCIES = \
296 test_client_SOURCES = \
298 test_client_LDADD = \
299 $(top_builddir)/src/util/libgnunetutil.la
301 test_common_allocation_SOURCES = \
302 test_common_allocation.c
303 test_common_allocation_LDADD = \
304 $(top_builddir)/src/util/libgnunetutil.la
306 test_common_endian_SOURCES = \
308 test_common_endian_LDADD = \
309 $(top_builddir)/src/util/libgnunetutil.la
311 test_common_logging_SOURCES = \
312 test_common_logging.c
313 test_common_logging_LDADD = \
314 $(top_builddir)/src/util/libgnunetutil.la
316 test_common_logging_runtime_loglevels_SOURCES = \
317 test_common_logging_runtime_loglevels.c
318 test_common_logging_runtime_loglevels_LDADD = \
319 $(top_builddir)/src/util/libgnunetutil.la
321 test_configuration_SOURCES = \
323 test_configuration_LDADD = \
324 $(top_builddir)/src/util/libgnunetutil.la
326 test_container_bloomfilter_SOURCES = \
327 test_container_bloomfilter.c
328 test_container_bloomfilter_LDADD = \
329 $(top_builddir)/src/util/libgnunetutil.la
331 test_container_meta_data_SOURCES = \
332 test_container_meta_data.c
333 test_container_meta_data_LDADD = \
334 $(top_builddir)/src/util/libgnunetutil.la -lextractor
336 test_container_multihashmap_SOURCES = \
337 test_container_multihashmap.c
338 test_container_multihashmap_LDADD = \
339 $(top_builddir)/src/util/libgnunetutil.la
341 test_container_multihashmap32_SOURCES = \
342 test_container_multihashmap32.c
343 test_container_multihashmap32_LDADD = \
344 $(top_builddir)/src/util/libgnunetutil.la
346 test_container_multipeermap_SOURCES = \
347 test_container_multipeermap.c
348 test_container_multipeermap_LDADD = \
349 $(top_builddir)/src/util/libgnunetutil.la
351 test_container_heap_SOURCES = \
352 test_container_heap.c
353 test_container_heap_LDADD = \
354 $(top_builddir)/src/util/libgnunetutil.la
356 test_container_slist_SOURCES = \
357 test_container_slist.c
358 test_container_slist_LDADD = \
359 $(top_builddir)/src/util/libgnunetutil.la
361 test_crypto_symmetric_SOURCES = \
362 test_crypto_symmetric.c
363 test_crypto_symmetric_LDADD = \
364 $(top_builddir)/src/util/libgnunetutil.la
366 test_crypto_crc_SOURCES = \
368 test_crypto_crc_LDADD = \
369 $(top_builddir)/src/util/libgnunetutil.la
371 test_crypto_ecdsa_SOURCES = \
373 test_crypto_ecdsa_LDADD = \
374 $(top_builddir)/src/util/libgnunetutil.la \
377 test_crypto_eddsa_SOURCES = \
379 test_crypto_eddsa_LDADD = \
380 $(top_builddir)/src/util/libgnunetutil.la \
383 test_crypto_ecdhe_SOURCES = \
385 test_crypto_ecdhe_LDADD = \
386 $(top_builddir)/src/util/libgnunetutil.la \
389 test_crypto_hash_SOURCES = \
391 test_crypto_hash_LDADD = \
392 $(top_builddir)/src/util/libgnunetutil.la
394 test_crypto_hkdf_SOURCES = \
396 test_crypto_hkdf_LDADD = \
397 $(top_builddir)/src/util/libgnunetutil.la
399 test_crypto_random_SOURCES = \
401 test_crypto_random_LDADD = \
402 $(top_builddir)/src/util/libgnunetutil.la
404 test_disk_SOURCES = \
407 $(top_builddir)/src/util/libgnunetutil.la
409 test_getopt_SOURCES = \
411 test_getopt_LDADD = \
412 $(top_builddir)/src/util/libgnunetutil.la
414 test_connection_SOURCES = \
416 test_connection_LDADD = \
417 $(top_builddir)/src/util/libgnunetutil.la
419 test_connection_addressing_SOURCES = \
420 test_connection_addressing.c
421 test_connection_addressing_LDADD = \
422 $(top_builddir)/src/util/libgnunetutil.la
424 test_connection_receive_cancel_SOURCES = \
425 test_connection_receive_cancel.c
426 test_connection_receive_cancel_LDADD = \
427 $(top_builddir)/src/util/libgnunetutil.la
429 test_connection_timeout_SOURCES = \
430 test_connection_timeout.c
431 test_connection_timeout_LDADD = \
432 $(top_builddir)/src/util/libgnunetutil.la
434 test_connection_timeout_no_connect_SOURCES = \
435 test_connection_timeout_no_connect.c
436 test_connection_timeout_no_connect_LDADD = \
437 $(top_builddir)/src/util/libgnunetutil.la
439 test_connection_transmit_cancel_SOURCES = \
440 test_connection_transmit_cancel.c
441 test_connection_transmit_cancel_LDADD = \
442 $(top_builddir)/src/util/libgnunetutil.la
447 $(top_builddir)/src/util/libgnunetutil.la
449 test_mq_client_SOURCES = \
451 test_mq_client_LDADD = \
452 $(top_builddir)/src/util/libgnunetutil.la
454 test_os_network_SOURCES = \
456 test_os_network_LDADD = \
457 $(top_builddir)/src/util/libgnunetutil.la
459 test_peer_SOURCES = \
462 $(top_builddir)/src/util/libgnunetutil.la -lgcrypt
464 test_plugin_SOURCES = \
466 test_plugin_LDADD = \
467 $(top_builddir)/src/util/libgnunetutil.la
469 test_program_SOURCES = \
471 test_program_LDADD = \
472 $(top_builddir)/src/util/libgnunetutil.la
474 test_resolver_api_SOURCES = \
476 test_resolver_api_LDADD = \
477 $(top_builddir)/src/util/libgnunetutil.la
479 test_scheduler_SOURCES = \
481 test_scheduler_LDADD = \
482 $(top_builddir)/src/util/libgnunetutil.la
484 test_scheduler_delay_SOURCES = \
485 test_scheduler_delay.c
486 test_scheduler_delay_LDADD = \
487 $(top_builddir)/src/util/libgnunetutil.la
489 test_server_mst_interrupt_SOURCES = \
490 test_server_mst_interrupt.c
491 test_server_mst_interrupt_LDADD = \
492 $(top_builddir)/src/util/libgnunetutil.la
494 test_server_SOURCES = \
496 test_server_LDADD = \
497 $(top_builddir)/src/util/libgnunetutil.la
499 test_server_disconnect_SOURCES = \
500 test_server_disconnect.c
501 test_server_disconnect_LDADD = \
502 $(top_builddir)/src/util/libgnunetutil.la
504 test_server_with_client_SOURCES = \
505 test_server_with_client.c
506 test_server_with_client_LDADD = \
507 $(top_builddir)/src/util/libgnunetutil.la
509 test_server_with_client_unix_SOURCES = \
510 test_server_with_client_unix.c
511 test_server_with_client_unix_LDADD = \
512 $(top_builddir)/src/util/libgnunetutil.la
515 test_service_SOURCES = \
517 test_service_LDADD = \
518 $(top_builddir)/src/util/libgnunetutil.la
520 test_strings_SOURCES = \
522 test_strings_LDADD = \
523 $(top_builddir)/src/util/libgnunetutil.la
526 test_strings_to_data_SOURCES = \
527 test_strings_to_data.c
528 test_strings_to_data_LDADD = \
529 $(top_builddir)/src/util/libgnunetutil.la
532 test_time_SOURCES = \
535 $(top_builddir)/src/util/libgnunetutil.la
537 test_speedup_SOURCES = \
539 test_speedup_LDADD = \
540 $(top_builddir)/src/util/libgnunetutil.la
542 perf_crypto_hash_SOURCES = \
544 perf_crypto_hash_LDADD = \
545 $(top_builddir)/src/util/libgnunetutil.la
547 perf_crypto_symmetric_SOURCES = \
548 perf_crypto_symmetric.c
549 perf_crypto_symmetric_LDADD = \
550 $(top_builddir)/src/util/libgnunetutil.la
552 perf_malloc_SOURCES = \
554 perf_malloc_LDADD = \
555 $(top_builddir)/src/util/libgnunetutil.la
559 test_configuration_data.conf \
560 test_program_data.conf \
561 test_resolver_api_data.conf \
562 test_service_data.conf \
563 test_speedup_data.conf \