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 = \
129 gnunet-service-resolver
139 gnunet_service_resolver_SOURCES = \
140 gnunet-service-resolver.c
141 gnunet_service_resolver_LDADD = \
142 $(top_builddir)/src/util/libgnunetutil.la \
144 gnunet_service_resolver_DEPENDENCIES = \
148 gnunet_resolver_SOURCES = \
150 gnunet_resolver_LDADD = \
151 $(top_builddir)/src/util/libgnunetutil.la \
153 gnunet_resolver_DEPENDENCIES = \
157 gnunet_rsa_SOURCES = \
160 $(top_builddir)/src/util/libgnunetutil.la \
161 $(GN_LIBINTL) -lgcrypt
162 gnunet_rsa_DEPENDENCIES = \
166 gnunet_ecc_SOURCES = \
169 $(top_builddir)/src/util/libgnunetutil.la \
170 $(GN_LIBINTL) -lgcrypt
171 gnunet_ecc_DEPENDENCIES = \
175 gnunet_config_SOURCES = \
177 gnunet_config_LDADD = \
178 $(top_builddir)/src/util/libgnunetutil.la \
180 gnunet_config_DEPENDENCIES = \
184 gnunet_uri_SOURCES = \
187 $(top_builddir)/src/util/libgnunetutil.la \
189 gnunet_uri_DEPENDENCIES = \
192 plugin_LTLIBRARIES = \
193 libgnunet_plugin_test.la
195 libgnunet_plugin_test_la_SOURCES = \
197 libgnunet_plugin_test_la_LDFLAGS = \
209 test_common_allocation \
211 test_common_logging \
213 test_container_bloomfilter \
214 test_container_meta_data \
215 test_container_multihashmap \
216 test_container_multihashmap32 \
217 test_container_heap \
218 test_container_slist \
220 test_crypto_aes_weak \
231 test_connection_addressing \
232 test_connection_receive_cancel \
233 test_connection_timeout \
234 test_connection_timeout_no_connect \
235 test_connection_transmit_cancel \
245 test_scheduler_delay \
246 test_server_mst_interrupt \
248 test_server_disconnect \
249 test_server_with_client \
250 $(SERVER_CLIENT_UNIX) \
253 test_strings_to_data \
257 test_os_start_process \
258 test_common_logging_runtime_loglevels
261 TESTS = $(check_PROGRAMS)
267 $(top_builddir)/src/util/libgnunetutil.la
270 test_os_start_process_SOURCES = \
271 test_os_start_process.c
272 test_os_start_process_LDADD = \
273 $(top_builddir)/src/util/libgnunetutil.la
274 test_os_start_process_DEPENDENCIES = \
277 test_client_SOURCES = \
279 test_client_LDADD = \
280 $(top_builddir)/src/util/libgnunetutil.la
282 test_common_allocation_SOURCES = \
283 test_common_allocation.c
284 test_common_allocation_LDADD = \
285 $(top_builddir)/src/util/libgnunetutil.la
287 test_common_endian_SOURCES = \
289 test_common_endian_LDADD = \
290 $(top_builddir)/src/util/libgnunetutil.la
292 test_common_logging_SOURCES = \
293 test_common_logging.c
294 test_common_logging_LDADD = \
295 $(top_builddir)/src/util/libgnunetutil.la
297 test_common_logging_runtime_loglevels_SOURCES = \
298 test_common_logging_runtime_loglevels.c
299 test_common_logging_runtime_loglevels_LDADD = \
300 $(top_builddir)/src/util/libgnunetutil.la
302 test_configuration_SOURCES = \
304 test_configuration_LDADD = \
305 $(top_builddir)/src/util/libgnunetutil.la
307 test_container_bloomfilter_SOURCES = \
308 test_container_bloomfilter.c
309 test_container_bloomfilter_LDADD = \
310 $(top_builddir)/src/util/libgnunetutil.la
312 test_container_meta_data_SOURCES = \
313 test_container_meta_data.c
314 test_container_meta_data_LDADD = \
315 $(top_builddir)/src/util/libgnunetutil.la -lextractor
317 test_container_multihashmap_SOURCES = \
318 test_container_multihashmap.c
319 test_container_multihashmap_LDADD = \
320 $(top_builddir)/src/util/libgnunetutil.la
322 test_container_multihashmap32_SOURCES = \
323 test_container_multihashmap32.c
324 test_container_multihashmap32_LDADD = \
325 $(top_builddir)/src/util/libgnunetutil.la
327 test_container_heap_SOURCES = \
328 test_container_heap.c
329 test_container_heap_LDADD = \
330 $(top_builddir)/src/util/libgnunetutil.la
332 test_container_slist_SOURCES = \
333 test_container_slist.c
334 test_container_slist_LDADD = \
335 $(top_builddir)/src/util/libgnunetutil.la
337 test_crypto_aes_SOURCES = \
339 test_crypto_aes_LDADD = \
340 $(top_builddir)/src/util/libgnunetutil.la
342 test_crypto_aes_weak_SOURCES = \
343 test_crypto_aes_weak.c
344 test_crypto_aes_weak_LDADD = \
345 $(top_builddir)/src/util/libgnunetutil.la \
348 test_crypto_crc_SOURCES = \
350 test_crypto_crc_LDADD = \
351 $(top_builddir)/src/util/libgnunetutil.la
353 test_crypto_ecc_SOURCES = \
355 test_crypto_ecc_LDADD = \
356 $(top_builddir)/src/util/libgnunetutil.la \
359 test_crypto_hash_SOURCES = \
361 test_crypto_hash_LDADD = \
362 $(top_builddir)/src/util/libgnunetutil.la
364 test_crypto_hkdf_SOURCES = \
366 test_crypto_hkdf_LDADD = \
367 $(top_builddir)/src/util/libgnunetutil.la
369 test_crypto_ksk_SOURCES = \
371 test_crypto_ksk_LDADD = \
372 $(top_builddir)/src/util/libgnunetutil.la
374 test_crypto_random_SOURCES = \
376 test_crypto_random_LDADD = \
377 $(top_builddir)/src/util/libgnunetutil.la
379 test_crypto_rsa_SOURCES = \
381 test_crypto_rsa_LDADD = \
382 $(top_builddir)/src/util/libgnunetutil.la
384 test_disk_SOURCES = \
387 $(top_builddir)/src/util/libgnunetutil.la
389 test_getopt_SOURCES = \
391 test_getopt_LDADD = \
392 $(top_builddir)/src/util/libgnunetutil.la
394 test_connection_SOURCES = \
396 test_connection_LDADD = \
397 $(top_builddir)/src/util/libgnunetutil.la
399 test_connection_addressing_SOURCES = \
400 test_connection_addressing.c
401 test_connection_addressing_LDADD = \
402 $(top_builddir)/src/util/libgnunetutil.la
404 test_connection_receive_cancel_SOURCES = \
405 test_connection_receive_cancel.c
406 test_connection_receive_cancel_LDADD = \
407 $(top_builddir)/src/util/libgnunetutil.la
409 test_connection_timeout_SOURCES = \
410 test_connection_timeout.c
411 test_connection_timeout_LDADD = \
412 $(top_builddir)/src/util/libgnunetutil.la
414 test_connection_timeout_no_connect_SOURCES = \
415 test_connection_timeout_no_connect.c
416 test_connection_timeout_no_connect_LDADD = \
417 $(top_builddir)/src/util/libgnunetutil.la
419 test_connection_transmit_cancel_SOURCES = \
420 test_connection_transmit_cancel.c
421 test_connection_transmit_cancel_LDADD = \
422 $(top_builddir)/src/util/libgnunetutil.la
427 $(top_builddir)/src/util/libgnunetutil.la
429 test_mq_client_SOURCES = \
431 test_mq_client_LDADD = \
432 $(top_builddir)/src/util/libgnunetutil.la
434 test_os_network_SOURCES = \
436 test_os_network_LDADD = \
437 $(top_builddir)/src/util/libgnunetutil.la
439 test_os_priority_SOURCES = \
441 test_os_priority_LDADD = \
442 $(top_builddir)/src/util/libgnunetutil.la
444 test_peer_SOURCES = \
447 $(top_builddir)/src/util/libgnunetutil.la
449 test_plugin_SOURCES = \
451 test_plugin_LDADD = \
452 $(top_builddir)/src/util/libgnunetutil.la
454 test_program_SOURCES = \
456 test_program_LDADD = \
457 $(top_builddir)/src/util/libgnunetutil.la
459 test_resolver_api_SOURCES = \
461 test_resolver_api_LDADD = \
462 $(top_builddir)/src/util/libgnunetutil.la
464 test_scheduler_SOURCES = \
466 test_scheduler_LDADD = \
467 $(top_builddir)/src/util/libgnunetutil.la
469 test_scheduler_delay_SOURCES = \
470 test_scheduler_delay.c
471 test_scheduler_delay_LDADD = \
472 $(top_builddir)/src/util/libgnunetutil.la
474 test_server_mst_interrupt_SOURCES = \
475 test_server_mst_interrupt.c
476 test_server_mst_interrupt_LDADD = \
477 $(top_builddir)/src/util/libgnunetutil.la
479 test_server_SOURCES = \
481 test_server_LDADD = \
482 $(top_builddir)/src/util/libgnunetutil.la
484 test_server_disconnect_SOURCES = \
485 test_server_disconnect.c
486 test_server_disconnect_LDADD = \
487 $(top_builddir)/src/util/libgnunetutil.la
489 test_server_with_client_SOURCES = \
490 test_server_with_client.c
491 test_server_with_client_LDADD = \
492 $(top_builddir)/src/util/libgnunetutil.la
494 test_server_with_client_unix_SOURCES = \
495 test_server_with_client_unix.c
496 test_server_with_client_unix_LDADD = \
497 $(top_builddir)/src/util/libgnunetutil.la
500 test_service_SOURCES = \
502 test_service_LDADD = \
503 $(top_builddir)/src/util/libgnunetutil.la
505 test_strings_SOURCES = \
507 test_strings_LDADD = \
508 $(top_builddir)/src/util/libgnunetutil.la
511 test_strings_to_data_SOURCES = \
512 test_strings_to_data.c
513 test_strings_to_data_LDADD = \
514 $(top_builddir)/src/util/libgnunetutil.la
517 test_time_SOURCES = \
520 $(top_builddir)/src/util/libgnunetutil.la
522 test_speedup_SOURCES = \
524 test_speedup_LDADD = \
525 $(top_builddir)/src/util/libgnunetutil.la
527 perf_crypto_hash_SOURCES = \
529 perf_crypto_hash_LDADD = \
530 $(top_builddir)/src/util/libgnunetutil.la
532 perf_malloc_SOURCES = \
534 perf_malloc_LDADD = \
535 $(top_builddir)/src/util/libgnunetutil.la
539 test_configuration_data.conf \
540 test_program_data.conf \
541 test_resolver_api_data.conf \
542 test_service_data.conf \
543 test_speedup_data.conf