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
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_multipeermap.c \
77 container_multihashmap32.c \
100 resolver_api.c resolver.h \
112 libgnunetutil_la_LIBADD = \
113 $(GCLIBADD) $(WINLIB) \
117 -lltdl $(Z_LIBS) -lunistring $(XLIB)
119 libgnunetutil_la_LDFLAGS = \
124 GNUNET_ECC = gnunet-ecc
129 gnunet-service-resolver
141 gnunet_service_resolver_SOURCES = \
142 gnunet-service-resolver.c
143 gnunet_service_resolver_LDADD = \
144 $(top_builddir)/src/util/libgnunetutil.la \
146 gnunet_service_resolver_DEPENDENCIES = \
150 gnunet_resolver_SOURCES = \
152 gnunet_resolver_LDADD = \
153 $(top_builddir)/src/util/libgnunetutil.la \
155 gnunet_resolver_DEPENDENCIES = \
159 gnunet_ecc_SOURCES = \
162 $(top_builddir)/src/util/libgnunetutil.la \
163 $(GN_LIBINTL) -lgcrypt
164 gnunet_ecc_DEPENDENCIES = \
168 gnunet_config_SOURCES = \
170 gnunet_config_LDADD = \
171 $(top_builddir)/src/util/libgnunetutil.la \
173 gnunet_config_DEPENDENCIES = \
177 gnunet_uri_SOURCES = \
180 $(top_builddir)/src/util/libgnunetutil.la \
182 gnunet_uri_DEPENDENCIES = \
185 plugin_LTLIBRARIES = \
186 libgnunet_plugin_test.la
188 libgnunet_plugin_test_la_SOURCES = \
190 libgnunet_plugin_test_la_LDFLAGS = \
196 perf_crypto_symmetric \
203 test_common_allocation \
205 test_common_logging \
207 test_container_bloomfilter \
208 test_container_meta_data \
209 test_container_multihashmap \
210 test_container_multihashmap32 \
211 test_container_multipeermap \
212 test_container_heap \
213 test_container_slist \
214 test_crypto_symmetric \
225 test_connection_addressing \
226 test_connection_receive_cancel \
227 test_connection_timeout \
228 test_connection_timeout_no_connect \
229 test_connection_transmit_cancel \
238 test_scheduler_delay \
239 test_server_mst_interrupt \
241 test_server_disconnect \
242 test_server_with_client \
243 $(SERVER_CLIENT_UNIX) \
246 test_strings_to_data \
250 test_os_start_process \
251 test_common_logging_runtime_loglevels
254 TESTS = $(check_PROGRAMS)
260 $(top_builddir)/src/util/libgnunetutil.la
263 test_os_start_process_SOURCES = \
264 test_os_start_process.c
265 test_os_start_process_LDADD = \
266 $(top_builddir)/src/util/libgnunetutil.la
267 test_os_start_process_DEPENDENCIES = \
270 test_client_SOURCES = \
272 test_client_LDADD = \
273 $(top_builddir)/src/util/libgnunetutil.la
275 test_common_allocation_SOURCES = \
276 test_common_allocation.c
277 test_common_allocation_LDADD = \
278 $(top_builddir)/src/util/libgnunetutil.la
280 test_common_endian_SOURCES = \
282 test_common_endian_LDADD = \
283 $(top_builddir)/src/util/libgnunetutil.la
285 test_common_logging_SOURCES = \
286 test_common_logging.c
287 test_common_logging_LDADD = \
288 $(top_builddir)/src/util/libgnunetutil.la
290 test_common_logging_runtime_loglevels_SOURCES = \
291 test_common_logging_runtime_loglevels.c
292 test_common_logging_runtime_loglevels_LDADD = \
293 $(top_builddir)/src/util/libgnunetutil.la
295 test_configuration_SOURCES = \
297 test_configuration_LDADD = \
298 $(top_builddir)/src/util/libgnunetutil.la
300 test_container_bloomfilter_SOURCES = \
301 test_container_bloomfilter.c
302 test_container_bloomfilter_LDADD = \
303 $(top_builddir)/src/util/libgnunetutil.la
305 test_container_meta_data_SOURCES = \
306 test_container_meta_data.c
307 test_container_meta_data_LDADD = \
308 $(top_builddir)/src/util/libgnunetutil.la -lextractor
310 test_container_multihashmap_SOURCES = \
311 test_container_multihashmap.c
312 test_container_multihashmap_LDADD = \
313 $(top_builddir)/src/util/libgnunetutil.la
315 test_container_multihashmap32_SOURCES = \
316 test_container_multihashmap32.c
317 test_container_multihashmap32_LDADD = \
318 $(top_builddir)/src/util/libgnunetutil.la
320 test_container_multipeermap_SOURCES = \
321 test_container_multipeermap.c
322 test_container_multipeermap_LDADD = \
323 $(top_builddir)/src/util/libgnunetutil.la
325 test_container_heap_SOURCES = \
326 test_container_heap.c
327 test_container_heap_LDADD = \
328 $(top_builddir)/src/util/libgnunetutil.la
330 test_container_slist_SOURCES = \
331 test_container_slist.c
332 test_container_slist_LDADD = \
333 $(top_builddir)/src/util/libgnunetutil.la
335 test_crypto_symmetric_SOURCES = \
336 test_crypto_symmetric.c
337 test_crypto_symmetric_LDADD = \
338 $(top_builddir)/src/util/libgnunetutil.la
340 test_crypto_crc_SOURCES = \
342 test_crypto_crc_LDADD = \
343 $(top_builddir)/src/util/libgnunetutil.la
345 test_crypto_ecdsa_SOURCES = \
347 test_crypto_ecdsa_LDADD = \
348 $(top_builddir)/src/util/libgnunetutil.la \
351 test_crypto_eddsa_SOURCES = \
353 test_crypto_eddsa_LDADD = \
354 $(top_builddir)/src/util/libgnunetutil.la \
357 test_crypto_ecdhe_SOURCES = \
359 test_crypto_ecdhe_LDADD = \
360 $(top_builddir)/src/util/libgnunetutil.la \
363 test_crypto_hash_SOURCES = \
365 test_crypto_hash_LDADD = \
366 $(top_builddir)/src/util/libgnunetutil.la
368 test_crypto_hkdf_SOURCES = \
370 test_crypto_hkdf_LDADD = \
371 $(top_builddir)/src/util/libgnunetutil.la
373 test_crypto_random_SOURCES = \
375 test_crypto_random_LDADD = \
376 $(top_builddir)/src/util/libgnunetutil.la
378 test_disk_SOURCES = \
381 $(top_builddir)/src/util/libgnunetutil.la
383 test_getopt_SOURCES = \
385 test_getopt_LDADD = \
386 $(top_builddir)/src/util/libgnunetutil.la
388 test_connection_SOURCES = \
390 test_connection_LDADD = \
391 $(top_builddir)/src/util/libgnunetutil.la
393 test_connection_addressing_SOURCES = \
394 test_connection_addressing.c
395 test_connection_addressing_LDADD = \
396 $(top_builddir)/src/util/libgnunetutil.la
398 test_connection_receive_cancel_SOURCES = \
399 test_connection_receive_cancel.c
400 test_connection_receive_cancel_LDADD = \
401 $(top_builddir)/src/util/libgnunetutil.la
403 test_connection_timeout_SOURCES = \
404 test_connection_timeout.c
405 test_connection_timeout_LDADD = \
406 $(top_builddir)/src/util/libgnunetutil.la
408 test_connection_timeout_no_connect_SOURCES = \
409 test_connection_timeout_no_connect.c
410 test_connection_timeout_no_connect_LDADD = \
411 $(top_builddir)/src/util/libgnunetutil.la
413 test_connection_transmit_cancel_SOURCES = \
414 test_connection_transmit_cancel.c
415 test_connection_transmit_cancel_LDADD = \
416 $(top_builddir)/src/util/libgnunetutil.la
421 $(top_builddir)/src/util/libgnunetutil.la
423 test_mq_client_SOURCES = \
425 test_mq_client_LDADD = \
426 $(top_builddir)/src/util/libgnunetutil.la
428 test_os_network_SOURCES = \
430 test_os_network_LDADD = \
431 $(top_builddir)/src/util/libgnunetutil.la
433 test_peer_SOURCES = \
436 $(top_builddir)/src/util/libgnunetutil.la -lgcrypt
438 test_plugin_SOURCES = \
440 test_plugin_LDADD = \
441 $(top_builddir)/src/util/libgnunetutil.la
443 test_program_SOURCES = \
445 test_program_LDADD = \
446 $(top_builddir)/src/util/libgnunetutil.la
448 test_resolver_api_SOURCES = \
450 test_resolver_api_LDADD = \
451 $(top_builddir)/src/util/libgnunetutil.la
453 test_scheduler_SOURCES = \
455 test_scheduler_LDADD = \
456 $(top_builddir)/src/util/libgnunetutil.la
458 test_scheduler_delay_SOURCES = \
459 test_scheduler_delay.c
460 test_scheduler_delay_LDADD = \
461 $(top_builddir)/src/util/libgnunetutil.la
463 test_server_mst_interrupt_SOURCES = \
464 test_server_mst_interrupt.c
465 test_server_mst_interrupt_LDADD = \
466 $(top_builddir)/src/util/libgnunetutil.la
468 test_server_SOURCES = \
470 test_server_LDADD = \
471 $(top_builddir)/src/util/libgnunetutil.la
473 test_server_disconnect_SOURCES = \
474 test_server_disconnect.c
475 test_server_disconnect_LDADD = \
476 $(top_builddir)/src/util/libgnunetutil.la
478 test_server_with_client_SOURCES = \
479 test_server_with_client.c
480 test_server_with_client_LDADD = \
481 $(top_builddir)/src/util/libgnunetutil.la
483 test_server_with_client_unix_SOURCES = \
484 test_server_with_client_unix.c
485 test_server_with_client_unix_LDADD = \
486 $(top_builddir)/src/util/libgnunetutil.la
489 test_service_SOURCES = \
491 test_service_LDADD = \
492 $(top_builddir)/src/util/libgnunetutil.la
494 test_strings_SOURCES = \
496 test_strings_LDADD = \
497 $(top_builddir)/src/util/libgnunetutil.la
500 test_strings_to_data_SOURCES = \
501 test_strings_to_data.c
502 test_strings_to_data_LDADD = \
503 $(top_builddir)/src/util/libgnunetutil.la
506 test_time_SOURCES = \
509 $(top_builddir)/src/util/libgnunetutil.la
511 test_speedup_SOURCES = \
513 test_speedup_LDADD = \
514 $(top_builddir)/src/util/libgnunetutil.la
516 perf_crypto_hash_SOURCES = \
518 perf_crypto_hash_LDADD = \
519 $(top_builddir)/src/util/libgnunetutil.la
521 perf_crypto_symmetric_SOURCES = \
522 perf_crypto_symmetric.c
523 perf_crypto_symmetric_LDADD = \
524 $(top_builddir)/src/util/libgnunetutil.la
526 perf_malloc_SOURCES = \
528 perf_malloc_LDADD = \
529 $(top_builddir)/src/util/libgnunetutil.la
533 test_configuration_data.conf \
534 test_program_data.conf \
535 test_resolver_api_data.conf \
536 test_service_data.conf \
537 test_speedup_data.conf