1 INCLUDES = -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
31 SERVER_CLIENT_UNIX = test_server_with_client_unix
35 AM_CFLAGS = --coverage -O0
39 w32cat_SOURCES = w32cat.c
44 test_common_logging_dummy
47 gnunet_config_diff_SOURCES = \
49 gnunet_config_diff_LDADD = \
50 $(top_builddir)/src/util/libgnunetutil.la
51 gnunet_config_diff_DEPENDENCIES = \
54 test_common_logging_dummy_SOURCES = \
55 test_common_logging_dummy.c
56 test_common_logging_dummy_LDADD = \
57 $(top_builddir)/src/util/libgnunetutil.la
58 test_common_logging_dummy_DEPENDENCIES = \
61 lib_LTLIBRARIES = libgnunetutil.la
63 libgnunetutil_la_SOURCES = \
72 container_bloomfilter.c \
74 container_meta_data.c \
75 container_multihashmap.c \
76 container_multihashmap32.c \
101 resolver_api.c resolver.h \
113 libgnunetutil_la_CPPFLAGS = \
116 libgnunetutil_la_LIBADD = \
117 $(GCLIBADD) $(WINLIB) \
121 $(LIBLTDL) $(Z_LIBS) -lunistring $(XLIB)
123 libgnunetutil_la_LDFLAGS = \
128 GNUNET_ECC = gnunet-ecc
133 gnunet-service-resolver
143 gnunet_service_resolver_SOURCES = \
144 gnunet-service-resolver.c
145 gnunet_service_resolver_LDADD = \
146 $(top_builddir)/src/util/libgnunetutil.la \
148 gnunet_service_resolver_DEPENDENCIES = \
152 gnunet_resolver_SOURCES = \
154 gnunet_resolver_LDADD = \
155 $(top_builddir)/src/util/libgnunetutil.la \
157 gnunet_resolver_DEPENDENCIES = \
161 gnunet_rsa_SOURCES = \
164 $(top_builddir)/src/util/libgnunetutil.la \
165 $(GN_LIBINTL) -lgcrypt
166 gnunet_rsa_DEPENDENCIES = \
170 gnunet_ecc_SOURCES = \
173 $(top_builddir)/src/util/libgnunetutil.la \
174 $(GN_LIBINTL) -lgcrypt
175 gnunet_ecc_DEPENDENCIES = \
179 gnunet_config_SOURCES = \
181 gnunet_config_LDADD = \
182 $(top_builddir)/src/util/libgnunetutil.la \
184 gnunet_config_DEPENDENCIES = \
188 gnunet_uri_SOURCES = \
191 $(top_builddir)/src/util/libgnunetutil.la \
193 gnunet_uri_DEPENDENCIES = \
196 plugin_LTLIBRARIES = \
197 libgnunet_plugin_test.la
199 libgnunet_plugin_test_la_SOURCES = \
201 libgnunet_plugin_test_la_LDFLAGS = \
213 test_common_allocation \
215 test_common_logging \
217 test_container_bloomfilter \
218 test_container_meta_data \
219 test_container_multihashmap \
220 test_container_multihashmap32 \
221 test_container_heap \
222 test_container_slist \
224 test_crypto_aes_weak \
235 test_connection_addressing \
236 test_connection_receive_cancel \
237 test_connection_timeout \
238 test_connection_timeout_no_connect \
239 test_connection_transmit_cancel \
248 test_scheduler_delay \
249 test_server_mst_interrupt \
251 test_server_disconnect \
252 test_server_with_client \
253 $(SERVER_CLIENT_UNIX) \
256 test_strings_to_data \
260 test_os_start_process \
261 test_common_logging_runtime_loglevels
264 TESTS = $(check_PROGRAMS)
270 $(top_builddir)/src/util/libgnunetutil.la
273 test_os_start_process_SOURCES = \
274 test_os_start_process.c
275 test_os_start_process_LDADD = \
276 $(top_builddir)/src/util/libgnunetutil.la
277 test_os_start_process_DEPENDENCIES = \
280 test_client_SOURCES = \
282 test_client_LDADD = \
283 $(top_builddir)/src/util/libgnunetutil.la
285 test_common_allocation_SOURCES = \
286 test_common_allocation.c
287 test_common_allocation_LDADD = \
288 $(top_builddir)/src/util/libgnunetutil.la
290 test_common_endian_SOURCES = \
292 test_common_endian_LDADD = \
293 $(top_builddir)/src/util/libgnunetutil.la
295 test_common_logging_SOURCES = \
296 test_common_logging.c
297 test_common_logging_LDADD = \
298 $(top_builddir)/src/util/libgnunetutil.la
300 test_common_logging_runtime_loglevels_SOURCES = \
301 test_common_logging_runtime_loglevels.c
302 test_common_logging_runtime_loglevels_LDADD = \
303 $(top_builddir)/src/util/libgnunetutil.la
305 test_configuration_SOURCES = \
307 test_configuration_LDADD = \
308 $(top_builddir)/src/util/libgnunetutil.la
310 test_container_bloomfilter_SOURCES = \
311 test_container_bloomfilter.c
312 test_container_bloomfilter_LDADD = \
313 $(top_builddir)/src/util/libgnunetutil.la
315 test_container_meta_data_SOURCES = \
316 test_container_meta_data.c
317 test_container_meta_data_LDADD = \
318 $(top_builddir)/src/util/libgnunetutil.la -lextractor
320 test_container_multihashmap_SOURCES = \
321 test_container_multihashmap.c
322 test_container_multihashmap_LDADD = \
323 $(top_builddir)/src/util/libgnunetutil.la
325 test_container_multihashmap32_SOURCES = \
326 test_container_multihashmap32.c
327 test_container_multihashmap32_LDADD = \
328 $(top_builddir)/src/util/libgnunetutil.la
330 test_container_heap_SOURCES = \
331 test_container_heap.c
332 test_container_heap_LDADD = \
333 $(top_builddir)/src/util/libgnunetutil.la
335 test_container_slist_SOURCES = \
336 test_container_slist.c
337 test_container_slist_LDADD = \
338 $(top_builddir)/src/util/libgnunetutil.la
340 test_crypto_aes_SOURCES = \
342 test_crypto_aes_LDADD = \
343 $(top_builddir)/src/util/libgnunetutil.la
345 test_crypto_aes_weak_SOURCES = \
346 test_crypto_aes_weak.c
347 test_crypto_aes_weak_LDADD = \
348 $(top_builddir)/src/util/libgnunetutil.la \
351 test_crypto_crc_SOURCES = \
353 test_crypto_crc_LDADD = \
354 $(top_builddir)/src/util/libgnunetutil.la
356 test_crypto_ecc_SOURCES = \
358 test_crypto_ecc_LDADD = \
359 $(top_builddir)/src/util/libgnunetutil.la \
362 test_crypto_hash_SOURCES = \
364 test_crypto_hash_LDADD = \
365 $(top_builddir)/src/util/libgnunetutil.la
367 test_crypto_hkdf_SOURCES = \
369 test_crypto_hkdf_LDADD = \
370 $(top_builddir)/src/util/libgnunetutil.la
372 test_crypto_ksk_SOURCES = \
374 test_crypto_ksk_LDADD = \
375 $(top_builddir)/src/util/libgnunetutil.la
377 test_crypto_random_SOURCES = \
379 test_crypto_random_LDADD = \
380 $(top_builddir)/src/util/libgnunetutil.la
382 test_crypto_rsa_SOURCES = \
384 test_crypto_rsa_LDADD = \
385 $(top_builddir)/src/util/libgnunetutil.la
387 test_disk_SOURCES = \
390 $(top_builddir)/src/util/libgnunetutil.la
392 test_getopt_SOURCES = \
394 test_getopt_LDADD = \
395 $(top_builddir)/src/util/libgnunetutil.la
397 test_connection_SOURCES = \
399 test_connection_LDADD = \
400 $(top_builddir)/src/util/libgnunetutil.la
402 test_connection_addressing_SOURCES = \
403 test_connection_addressing.c
404 test_connection_addressing_LDADD = \
405 $(top_builddir)/src/util/libgnunetutil.la
407 test_connection_receive_cancel_SOURCES = \
408 test_connection_receive_cancel.c
409 test_connection_receive_cancel_LDADD = \
410 $(top_builddir)/src/util/libgnunetutil.la
412 test_connection_timeout_SOURCES = \
413 test_connection_timeout.c
414 test_connection_timeout_LDADD = \
415 $(top_builddir)/src/util/libgnunetutil.la
417 test_connection_timeout_no_connect_SOURCES = \
418 test_connection_timeout_no_connect.c
419 test_connection_timeout_no_connect_LDADD = \
420 $(top_builddir)/src/util/libgnunetutil.la
422 test_connection_transmit_cancel_SOURCES = \
423 test_connection_transmit_cancel.c
424 test_connection_transmit_cancel_LDADD = \
425 $(top_builddir)/src/util/libgnunetutil.la
430 $(top_builddir)/src/util/libgnunetutil.la
432 test_mq_client_SOURCES = \
434 test_mq_client_LDADD = \
435 $(top_builddir)/src/util/libgnunetutil.la
437 test_os_network_SOURCES = \
439 test_os_network_LDADD = \
440 $(top_builddir)/src/util/libgnunetutil.la
442 test_peer_SOURCES = \
445 $(top_builddir)/src/util/libgnunetutil.la
447 test_plugin_SOURCES = \
449 test_plugin_LDADD = \
450 $(top_builddir)/src/util/libgnunetutil.la
452 test_program_SOURCES = \
454 test_program_LDADD = \
455 $(top_builddir)/src/util/libgnunetutil.la
457 test_resolver_api_SOURCES = \
459 test_resolver_api_LDADD = \
460 $(top_builddir)/src/util/libgnunetutil.la
462 test_scheduler_SOURCES = \
464 test_scheduler_LDADD = \
465 $(top_builddir)/src/util/libgnunetutil.la
467 test_scheduler_delay_SOURCES = \
468 test_scheduler_delay.c
469 test_scheduler_delay_LDADD = \
470 $(top_builddir)/src/util/libgnunetutil.la
472 test_server_mst_interrupt_SOURCES = \
473 test_server_mst_interrupt.c
474 test_server_mst_interrupt_LDADD = \
475 $(top_builddir)/src/util/libgnunetutil.la
477 test_server_SOURCES = \
479 test_server_LDADD = \
480 $(top_builddir)/src/util/libgnunetutil.la
482 test_server_disconnect_SOURCES = \
483 test_server_disconnect.c
484 test_server_disconnect_LDADD = \
485 $(top_builddir)/src/util/libgnunetutil.la
487 test_server_with_client_SOURCES = \
488 test_server_with_client.c
489 test_server_with_client_LDADD = \
490 $(top_builddir)/src/util/libgnunetutil.la
492 test_server_with_client_unix_SOURCES = \
493 test_server_with_client_unix.c
494 test_server_with_client_unix_LDADD = \
495 $(top_builddir)/src/util/libgnunetutil.la
498 test_service_SOURCES = \
500 test_service_LDADD = \
501 $(top_builddir)/src/util/libgnunetutil.la
503 test_strings_SOURCES = \
505 test_strings_LDADD = \
506 $(top_builddir)/src/util/libgnunetutil.la
509 test_strings_to_data_SOURCES = \
510 test_strings_to_data.c
511 test_strings_to_data_LDADD = \
512 $(top_builddir)/src/util/libgnunetutil.la
515 test_time_SOURCES = \
518 $(top_builddir)/src/util/libgnunetutil.la
520 test_speedup_SOURCES = \
522 test_speedup_LDADD = \
523 $(top_builddir)/src/util/libgnunetutil.la
525 perf_crypto_hash_SOURCES = \
527 perf_crypto_hash_LDADD = \
528 $(top_builddir)/src/util/libgnunetutil.la
530 perf_malloc_SOURCES = \
532 perf_malloc_LDADD = \
533 $(top_builddir)/src/util/libgnunetutil.la
537 test_configuration_data.conf \
538 test_program_data.conf \
539 test_resolver_api_data.conf \
540 test_service_data.conf \
541 test_speedup_data.conf