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_multihashmap32.c \
99 resolver_api.c resolver.h \
111 libgnunetutil_la_LIBADD = \
112 $(GCLIBADD) $(WINLIB) \
116 -lltdl $(Z_LIBS) -lunistring $(XLIB)
118 libgnunetutil_la_LDFLAGS = \
123 GNUNET_ECC = gnunet-ecc
128 gnunet-service-resolver
137 gnunet_service_resolver_SOURCES = \
138 gnunet-service-resolver.c
139 gnunet_service_resolver_LDADD = \
140 $(top_builddir)/src/util/libgnunetutil.la \
142 gnunet_service_resolver_DEPENDENCIES = \
146 gnunet_resolver_SOURCES = \
148 gnunet_resolver_LDADD = \
149 $(top_builddir)/src/util/libgnunetutil.la \
151 gnunet_resolver_DEPENDENCIES = \
155 gnunet_ecc_SOURCES = \
158 $(top_builddir)/src/util/libgnunetutil.la \
159 $(GN_LIBINTL) -lgcrypt
160 gnunet_ecc_DEPENDENCIES = \
164 gnunet_config_SOURCES = \
166 gnunet_config_LDADD = \
167 $(top_builddir)/src/util/libgnunetutil.la \
169 gnunet_config_DEPENDENCIES = \
173 gnunet_uri_SOURCES = \
176 $(top_builddir)/src/util/libgnunetutil.la \
178 gnunet_uri_DEPENDENCIES = \
181 plugin_LTLIBRARIES = \
182 libgnunet_plugin_test.la
184 libgnunet_plugin_test_la_SOURCES = \
186 libgnunet_plugin_test_la_LDFLAGS = \
198 test_common_allocation \
200 test_common_logging \
202 test_container_bloomfilter \
203 test_container_meta_data \
204 test_container_multihashmap \
205 test_container_multihashmap32 \
206 test_container_heap \
207 test_container_slist \
209 test_crypto_aes_weak \
218 test_connection_addressing \
219 test_connection_receive_cancel \
220 test_connection_timeout \
221 test_connection_timeout_no_connect \
222 test_connection_transmit_cancel \
231 test_scheduler_delay \
232 test_server_mst_interrupt \
234 test_server_disconnect \
235 test_server_with_client \
236 $(SERVER_CLIENT_UNIX) \
239 test_strings_to_data \
243 test_os_start_process \
244 test_common_logging_runtime_loglevels
247 TESTS = $(check_PROGRAMS)
253 $(top_builddir)/src/util/libgnunetutil.la
256 test_os_start_process_SOURCES = \
257 test_os_start_process.c
258 test_os_start_process_LDADD = \
259 $(top_builddir)/src/util/libgnunetutil.la
260 test_os_start_process_DEPENDENCIES = \
263 test_client_SOURCES = \
265 test_client_LDADD = \
266 $(top_builddir)/src/util/libgnunetutil.la
268 test_common_allocation_SOURCES = \
269 test_common_allocation.c
270 test_common_allocation_LDADD = \
271 $(top_builddir)/src/util/libgnunetutil.la
273 test_common_endian_SOURCES = \
275 test_common_endian_LDADD = \
276 $(top_builddir)/src/util/libgnunetutil.la
278 test_common_logging_SOURCES = \
279 test_common_logging.c
280 test_common_logging_LDADD = \
281 $(top_builddir)/src/util/libgnunetutil.la
283 test_common_logging_runtime_loglevels_SOURCES = \
284 test_common_logging_runtime_loglevels.c
285 test_common_logging_runtime_loglevels_LDADD = \
286 $(top_builddir)/src/util/libgnunetutil.la
288 test_configuration_SOURCES = \
290 test_configuration_LDADD = \
291 $(top_builddir)/src/util/libgnunetutil.la
293 test_container_bloomfilter_SOURCES = \
294 test_container_bloomfilter.c
295 test_container_bloomfilter_LDADD = \
296 $(top_builddir)/src/util/libgnunetutil.la
298 test_container_meta_data_SOURCES = \
299 test_container_meta_data.c
300 test_container_meta_data_LDADD = \
301 $(top_builddir)/src/util/libgnunetutil.la -lextractor
303 test_container_multihashmap_SOURCES = \
304 test_container_multihashmap.c
305 test_container_multihashmap_LDADD = \
306 $(top_builddir)/src/util/libgnunetutil.la
308 test_container_multihashmap32_SOURCES = \
309 test_container_multihashmap32.c
310 test_container_multihashmap32_LDADD = \
311 $(top_builddir)/src/util/libgnunetutil.la
313 test_container_heap_SOURCES = \
314 test_container_heap.c
315 test_container_heap_LDADD = \
316 $(top_builddir)/src/util/libgnunetutil.la
318 test_container_slist_SOURCES = \
319 test_container_slist.c
320 test_container_slist_LDADD = \
321 $(top_builddir)/src/util/libgnunetutil.la
323 test_crypto_aes_SOURCES = \
325 test_crypto_aes_LDADD = \
326 $(top_builddir)/src/util/libgnunetutil.la
328 test_crypto_aes_weak_SOURCES = \
329 test_crypto_aes_weak.c
330 test_crypto_aes_weak_LDADD = \
331 $(top_builddir)/src/util/libgnunetutil.la \
334 test_crypto_crc_SOURCES = \
336 test_crypto_crc_LDADD = \
337 $(top_builddir)/src/util/libgnunetutil.la
339 test_crypto_ecc_SOURCES = \
341 test_crypto_ecc_LDADD = \
342 $(top_builddir)/src/util/libgnunetutil.la \
345 test_crypto_hash_SOURCES = \
347 test_crypto_hash_LDADD = \
348 $(top_builddir)/src/util/libgnunetutil.la
350 test_crypto_hkdf_SOURCES = \
352 test_crypto_hkdf_LDADD = \
353 $(top_builddir)/src/util/libgnunetutil.la
355 test_crypto_random_SOURCES = \
357 test_crypto_random_LDADD = \
358 $(top_builddir)/src/util/libgnunetutil.la
360 test_disk_SOURCES = \
363 $(top_builddir)/src/util/libgnunetutil.la
365 test_getopt_SOURCES = \
367 test_getopt_LDADD = \
368 $(top_builddir)/src/util/libgnunetutil.la
370 test_connection_SOURCES = \
372 test_connection_LDADD = \
373 $(top_builddir)/src/util/libgnunetutil.la
375 test_connection_addressing_SOURCES = \
376 test_connection_addressing.c
377 test_connection_addressing_LDADD = \
378 $(top_builddir)/src/util/libgnunetutil.la
380 test_connection_receive_cancel_SOURCES = \
381 test_connection_receive_cancel.c
382 test_connection_receive_cancel_LDADD = \
383 $(top_builddir)/src/util/libgnunetutil.la
385 test_connection_timeout_SOURCES = \
386 test_connection_timeout.c
387 test_connection_timeout_LDADD = \
388 $(top_builddir)/src/util/libgnunetutil.la
390 test_connection_timeout_no_connect_SOURCES = \
391 test_connection_timeout_no_connect.c
392 test_connection_timeout_no_connect_LDADD = \
393 $(top_builddir)/src/util/libgnunetutil.la
395 test_connection_transmit_cancel_SOURCES = \
396 test_connection_transmit_cancel.c
397 test_connection_transmit_cancel_LDADD = \
398 $(top_builddir)/src/util/libgnunetutil.la
403 $(top_builddir)/src/util/libgnunetutil.la
405 test_mq_client_SOURCES = \
407 test_mq_client_LDADD = \
408 $(top_builddir)/src/util/libgnunetutil.la
410 test_os_network_SOURCES = \
412 test_os_network_LDADD = \
413 $(top_builddir)/src/util/libgnunetutil.la
415 test_peer_SOURCES = \
418 $(top_builddir)/src/util/libgnunetutil.la
420 test_plugin_SOURCES = \
422 test_plugin_LDADD = \
423 $(top_builddir)/src/util/libgnunetutil.la
425 test_program_SOURCES = \
427 test_program_LDADD = \
428 $(top_builddir)/src/util/libgnunetutil.la
430 test_resolver_api_SOURCES = \
432 test_resolver_api_LDADD = \
433 $(top_builddir)/src/util/libgnunetutil.la
435 test_scheduler_SOURCES = \
437 test_scheduler_LDADD = \
438 $(top_builddir)/src/util/libgnunetutil.la
440 test_scheduler_delay_SOURCES = \
441 test_scheduler_delay.c
442 test_scheduler_delay_LDADD = \
443 $(top_builddir)/src/util/libgnunetutil.la
445 test_server_mst_interrupt_SOURCES = \
446 test_server_mst_interrupt.c
447 test_server_mst_interrupt_LDADD = \
448 $(top_builddir)/src/util/libgnunetutil.la
450 test_server_SOURCES = \
452 test_server_LDADD = \
453 $(top_builddir)/src/util/libgnunetutil.la
455 test_server_disconnect_SOURCES = \
456 test_server_disconnect.c
457 test_server_disconnect_LDADD = \
458 $(top_builddir)/src/util/libgnunetutil.la
460 test_server_with_client_SOURCES = \
461 test_server_with_client.c
462 test_server_with_client_LDADD = \
463 $(top_builddir)/src/util/libgnunetutil.la
465 test_server_with_client_unix_SOURCES = \
466 test_server_with_client_unix.c
467 test_server_with_client_unix_LDADD = \
468 $(top_builddir)/src/util/libgnunetutil.la
471 test_service_SOURCES = \
473 test_service_LDADD = \
474 $(top_builddir)/src/util/libgnunetutil.la
476 test_strings_SOURCES = \
478 test_strings_LDADD = \
479 $(top_builddir)/src/util/libgnunetutil.la
482 test_strings_to_data_SOURCES = \
483 test_strings_to_data.c
484 test_strings_to_data_LDADD = \
485 $(top_builddir)/src/util/libgnunetutil.la
488 test_time_SOURCES = \
491 $(top_builddir)/src/util/libgnunetutil.la
493 test_speedup_SOURCES = \
495 test_speedup_LDADD = \
496 $(top_builddir)/src/util/libgnunetutil.la
498 perf_crypto_hash_SOURCES = \
500 perf_crypto_hash_LDADD = \
501 $(top_builddir)/src/util/libgnunetutil.la
503 perf_malloc_SOURCES = \
505 perf_malloc_LDADD = \
506 $(top_builddir)/src/util/libgnunetutil.la
510 test_configuration_data.conf \
511 test_program_data.conf \
512 test_resolver_api_data.conf \
513 test_service_data.conf \
514 test_speedup_data.conf