1 INCLUDES = -I$(top_srcdir)/src/include -I$(top_builddir)/src/include
3 plugindir = $(libdir)/gnunet
5 pkgcfgdir= $(pkgdatadir)/config.d/
14 noinst_LTLIBRARIES = \
16 libgnunetutilwin_la_SOURCES = \
19 libgnunetutilwin_la_LDFLAGS = \
20 -no-undefined -Wl,--export-all-symbols
21 libgnunetutilwin_la_LIBADD = \
22 -lshell32 -liconv -lstdc++ \
23 -lcomdlg32 -lgdi32 -liphlpapi
24 WINLIB = libgnunetutilwin.la
29 SERVER_CLIENT_UNIX = test_server_with_client_unix
33 AM_CFLAGS = --coverage -O0
37 w32cat_SOURCES = w32cat.c
42 test_common_logging_dummy
45 gnunet_config_diff_SOURCES = \
47 gnunet_config_diff_LDADD = \
48 $(top_builddir)/src/util/libgnunetutil.la
49 gnunet_config_diff_DEPENDENCIES = \
52 test_common_logging_dummy_SOURCES = \
53 test_common_logging_dummy.c
54 test_common_logging_dummy_LDADD = \
55 $(top_builddir)/src/util/libgnunetutil.la
56 test_common_logging_dummy_DEPENDENCIES = \
59 lib_LTLIBRARIES = libgnunetutil.la
61 libgnunetutil_la_SOURCES = \
70 container_bloomfilter.c \
72 container_meta_data.c \
73 container_multihashmap.c \
98 resolver_api.c resolver.h \
111 libgnunetutil_la_LIBADD = \
112 $(GCLIBADD) $(WINLIB) \
116 -lltdl -lz -lunistring $(XLIB)
118 libgnunetutil_la_LDFLAGS = \
124 gnunet-service-resolver \
132 gnunet_service_resolver_SOURCES = \
133 gnunet-service-resolver.c
134 gnunet_service_resolver_LDADD = \
135 $(top_builddir)/src/util/libgnunetutil.la \
137 gnunet_service_resolver_DEPENDENCIES = \
141 gnunet_resolver_SOURCES = \
143 gnunet_resolver_LDADD = \
144 $(top_builddir)/src/util/libgnunetutil.la \
146 gnunet_resolver_DEPENDENCIES = \
150 gnunet_rsa_SOURCES = \
153 $(top_builddir)/src/util/libgnunetutil.la \
154 $(GN_LIBINTL) -lgcrypt
155 gnunet_rsa_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 = \
202 test_common_allocation \
204 test_common_logging \
206 test_container_bloomfilter \
207 test_container_meta_data \
208 test_container_multihashmap \
209 test_container_heap \
210 test_container_slist \
212 test_crypto_aes_weak \
223 test_connection_addressing \
224 test_connection_receive_cancel \
225 test_connection_timeout \
226 test_connection_timeout_no_connect \
227 test_connection_transmit_cancel \
236 test_scheduler_delay \
237 test_server_mst_interrupt \
239 test_server_disconnect \
240 test_server_with_client \
241 $(SERVER_CLIENT_UNIX) \
247 test_os_start_process \
248 test_common_logging_runtime_loglevels
251 TESTS = $(check_PROGRAMS)
257 $(top_builddir)/src/util/libgnunetutil.la
260 test_os_start_process_SOURCES = \
261 test_os_start_process.c
262 test_os_start_process_LDADD = \
263 $(top_builddir)/src/util/libgnunetutil.la
264 test_os_start_process_DEPENDENCIES = \
267 test_client_SOURCES = \
269 test_client_LDADD = \
270 $(top_builddir)/src/util/libgnunetutil.la
272 test_common_allocation_SOURCES = \
273 test_common_allocation.c
274 test_common_allocation_LDADD = \
275 $(top_builddir)/src/util/libgnunetutil.la
277 test_common_endian_SOURCES = \
279 test_common_endian_LDADD = \
280 $(top_builddir)/src/util/libgnunetutil.la
282 test_common_logging_SOURCES = \
283 test_common_logging.c
284 test_common_logging_LDADD = \
285 $(top_builddir)/src/util/libgnunetutil.la
287 test_common_logging_runtime_loglevels_SOURCES = \
288 test_common_logging_runtime_loglevels.c
289 test_common_logging_runtime_loglevels_LDADD = \
290 $(top_builddir)/src/util/libgnunetutil.la
292 test_configuration_SOURCES = \
294 test_configuration_LDADD = \
295 $(top_builddir)/src/util/libgnunetutil.la
297 test_container_bloomfilter_SOURCES = \
298 test_container_bloomfilter.c
299 test_container_bloomfilter_LDADD = \
300 $(top_builddir)/src/util/libgnunetutil.la
302 test_container_meta_data_SOURCES = \
303 test_container_meta_data.c
304 test_container_meta_data_LDADD = \
305 $(top_builddir)/src/util/libgnunetutil.la -lextractor
307 test_container_multihashmap_SOURCES = \
308 test_container_multihashmap.c
309 test_container_multihashmap_LDADD = \
310 $(top_builddir)/src/util/libgnunetutil.la
312 test_container_heap_SOURCES = \
313 test_container_heap.c
314 test_container_heap_LDADD = \
315 $(top_builddir)/src/util/libgnunetutil.la
317 test_container_slist_SOURCES = \
318 test_container_slist.c
319 test_container_slist_LDADD = \
320 $(top_builddir)/src/util/libgnunetutil.la
322 test_crypto_aes_SOURCES = \
324 test_crypto_aes_LDADD = \
325 $(top_builddir)/src/util/libgnunetutil.la
327 test_crypto_aes_weak_SOURCES = \
328 test_crypto_aes_weak.c
329 test_crypto_aes_weak_LDADD = \
330 $(top_builddir)/src/util/libgnunetutil.la \
333 test_crypto_crc_SOURCES = \
335 test_crypto_crc_LDADD = \
336 $(top_builddir)/src/util/libgnunetutil.la
338 test_crypto_ecc_SOURCES = \
340 test_crypto_ecc_LDADD = \
341 $(top_builddir)/src/util/libgnunetutil.la
343 test_crypto_hash_SOURCES = \
345 test_crypto_hash_LDADD = \
346 $(top_builddir)/src/util/libgnunetutil.la
348 test_crypto_hkdf_SOURCES = \
350 test_crypto_hkdf_LDADD = \
351 $(top_builddir)/src/util/libgnunetutil.la
353 test_crypto_ksk_SOURCES = \
355 test_crypto_ksk_LDADD = \
356 $(top_builddir)/src/util/libgnunetutil.la
358 test_crypto_random_SOURCES = \
360 test_crypto_random_LDADD = \
361 $(top_builddir)/src/util/libgnunetutil.la
363 test_crypto_rsa_SOURCES = \
365 test_crypto_rsa_LDADD = \
366 $(top_builddir)/src/util/libgnunetutil.la
368 test_disk_SOURCES = \
371 $(top_builddir)/src/util/libgnunetutil.la
373 test_getopt_SOURCES = \
375 test_getopt_LDADD = \
376 $(top_builddir)/src/util/libgnunetutil.la
378 test_connection_SOURCES = \
380 test_connection_LDADD = \
381 $(top_builddir)/src/util/libgnunetutil.la
383 test_connection_addressing_SOURCES = \
384 test_connection_addressing.c
385 test_connection_addressing_LDADD = \
386 $(top_builddir)/src/util/libgnunetutil.la
388 test_connection_receive_cancel_SOURCES = \
389 test_connection_receive_cancel.c
390 test_connection_receive_cancel_LDADD = \
391 $(top_builddir)/src/util/libgnunetutil.la
393 test_connection_timeout_SOURCES = \
394 test_connection_timeout.c
395 test_connection_timeout_LDADD = \
396 $(top_builddir)/src/util/libgnunetutil.la
398 test_connection_timeout_no_connect_SOURCES = \
399 test_connection_timeout_no_connect.c
400 test_connection_timeout_no_connect_LDADD = \
401 $(top_builddir)/src/util/libgnunetutil.la
403 test_connection_transmit_cancel_SOURCES = \
404 test_connection_transmit_cancel.c
405 test_connection_transmit_cancel_LDADD = \
406 $(top_builddir)/src/util/libgnunetutil.la
408 test_os_network_SOURCES = \
410 test_os_network_LDADD = \
411 $(top_builddir)/src/util/libgnunetutil.la
413 test_os_priority_SOURCES = \
415 test_os_priority_LDADD = \
416 $(top_builddir)/src/util/libgnunetutil.la
418 test_peer_SOURCES = \
421 $(top_builddir)/src/util/libgnunetutil.la
423 test_plugin_SOURCES = \
425 test_plugin_LDADD = \
426 $(top_builddir)/src/util/libgnunetutil.la
428 test_program_SOURCES = \
430 test_program_LDADD = \
431 $(top_builddir)/src/util/libgnunetutil.la
433 test_pseudonym_SOURCES = \
435 test_pseudonym_LDADD = \
436 $(top_builddir)/src/util/libgnunetutil.la
438 test_resolver_api_SOURCES = \
440 test_resolver_api_LDADD = \
441 $(top_builddir)/src/util/libgnunetutil.la
443 test_scheduler_SOURCES = \
445 test_scheduler_LDADD = \
446 $(top_builddir)/src/util/libgnunetutil.la
448 test_scheduler_delay_SOURCES = \
449 test_scheduler_delay.c
450 test_scheduler_delay_LDADD = \
451 $(top_builddir)/src/util/libgnunetutil.la
453 test_server_mst_interrupt_SOURCES = \
454 test_server_mst_interrupt.c
455 test_server_mst_interrupt_LDADD = \
456 $(top_builddir)/src/util/libgnunetutil.la
458 test_server_SOURCES = \
460 test_server_LDADD = \
461 $(top_builddir)/src/util/libgnunetutil.la
463 test_server_disconnect_SOURCES = \
464 test_server_disconnect.c
465 test_server_disconnect_LDADD = \
466 $(top_builddir)/src/util/libgnunetutil.la
468 test_server_with_client_SOURCES = \
469 test_server_with_client.c
470 test_server_with_client_LDADD = \
471 $(top_builddir)/src/util/libgnunetutil.la
473 test_server_with_client_unix_SOURCES = \
474 test_server_with_client_unix.c
475 test_server_with_client_unix_LDADD = \
476 $(top_builddir)/src/util/libgnunetutil.la
479 test_service_SOURCES = \
481 test_service_LDADD = \
482 $(top_builddir)/src/util/libgnunetutil.la
484 test_strings_SOURCES = \
486 test_strings_LDADD = \
487 $(top_builddir)/src/util/libgnunetutil.la
489 test_time_SOURCES = \
492 $(top_builddir)/src/util/libgnunetutil.la
494 test_speedup_SOURCES = \
496 test_speedup_LDADD = \
497 $(top_builddir)/src/util/libgnunetutil.la
499 perf_crypto_hash_SOURCES = \
501 perf_crypto_hash_LDADD = \
502 $(top_builddir)/src/util/libgnunetutil.la
504 perf_malloc_SOURCES = \
506 perf_malloc_LDADD = \
507 $(top_builddir)/src/util/libgnunetutil.la
511 test_configuration_data.conf \
512 test_program_data.conf \
513 test_pseudonym_data.conf \
514 test_resolver_api_data.conf \
515 test_service_data.conf \
516 test_speedup_data.conf