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 \
100 resolver_api.c resolver.h \
113 libgnunetutil_la_LIBADD = \
114 $(GCLIBADD) $(WINLIB) \
118 -lltdl -lz -lunistring $(XLIB)
120 libgnunetutil_la_LDFLAGS = \
126 gnunet-service-resolver
136 gnunet_service_resolver_SOURCES = \
137 gnunet-service-resolver.c
138 gnunet_service_resolver_LDADD = \
139 $(top_builddir)/src/util/libgnunetutil.la \
141 gnunet_service_resolver_DEPENDENCIES = \
145 gnunet_resolver_SOURCES = \
147 gnunet_resolver_LDADD = \
148 $(top_builddir)/src/util/libgnunetutil.la \
150 gnunet_resolver_DEPENDENCIES = \
154 gnunet_rsa_SOURCES = \
157 $(top_builddir)/src/util/libgnunetutil.la \
158 $(GN_LIBINTL) -lgcrypt
159 gnunet_rsa_DEPENDENCIES = \
163 gnunet_ecc_SOURCES = \
166 $(top_builddir)/src/util/libgnunetutil.la \
167 $(GN_LIBINTL) -lgcrypt
168 gnunet_ecc_DEPENDENCIES = \
172 gnunet_config_SOURCES = \
174 gnunet_config_LDADD = \
175 $(top_builddir)/src/util/libgnunetutil.la \
177 gnunet_config_DEPENDENCIES = \
181 gnunet_uri_SOURCES = \
184 $(top_builddir)/src/util/libgnunetutil.la \
186 gnunet_uri_DEPENDENCIES = \
189 plugin_LTLIBRARIES = \
190 libgnunet_plugin_test.la
192 libgnunet_plugin_test_la_SOURCES = \
194 libgnunet_plugin_test_la_LDFLAGS = \
206 test_common_allocation \
208 test_common_logging \
210 test_container_bloomfilter \
211 test_container_meta_data \
212 test_container_multihashmap \
213 test_container_multihashmap32 \
214 test_container_heap \
215 test_container_slist \
217 test_crypto_aes_weak \
228 test_connection_addressing \
229 test_connection_receive_cancel \
230 test_connection_timeout \
231 test_connection_timeout_no_connect \
232 test_connection_transmit_cancel \
240 test_scheduler_delay \
241 test_server_mst_interrupt \
243 test_server_disconnect \
244 test_server_with_client \
245 $(SERVER_CLIENT_UNIX) \
248 test_strings_to_data \
252 test_os_start_process \
253 test_common_logging_runtime_loglevels
256 TESTS = $(check_PROGRAMS)
262 $(top_builddir)/src/util/libgnunetutil.la
265 test_os_start_process_SOURCES = \
266 test_os_start_process.c
267 test_os_start_process_LDADD = \
268 $(top_builddir)/src/util/libgnunetutil.la
269 test_os_start_process_DEPENDENCIES = \
272 test_client_SOURCES = \
274 test_client_LDADD = \
275 $(top_builddir)/src/util/libgnunetutil.la
277 test_common_allocation_SOURCES = \
278 test_common_allocation.c
279 test_common_allocation_LDADD = \
280 $(top_builddir)/src/util/libgnunetutil.la
282 test_common_endian_SOURCES = \
284 test_common_endian_LDADD = \
285 $(top_builddir)/src/util/libgnunetutil.la
287 test_common_logging_SOURCES = \
288 test_common_logging.c
289 test_common_logging_LDADD = \
290 $(top_builddir)/src/util/libgnunetutil.la
292 test_common_logging_runtime_loglevels_SOURCES = \
293 test_common_logging_runtime_loglevels.c
294 test_common_logging_runtime_loglevels_LDADD = \
295 $(top_builddir)/src/util/libgnunetutil.la
297 test_configuration_SOURCES = \
299 test_configuration_LDADD = \
300 $(top_builddir)/src/util/libgnunetutil.la
302 test_container_bloomfilter_SOURCES = \
303 test_container_bloomfilter.c
304 test_container_bloomfilter_LDADD = \
305 $(top_builddir)/src/util/libgnunetutil.la
307 test_container_meta_data_SOURCES = \
308 test_container_meta_data.c
309 test_container_meta_data_LDADD = \
310 $(top_builddir)/src/util/libgnunetutil.la -lextractor
312 test_container_multihashmap_SOURCES = \
313 test_container_multihashmap.c
314 test_container_multihashmap_LDADD = \
315 $(top_builddir)/src/util/libgnunetutil.la
317 test_container_multihashmap32_SOURCES = \
318 test_container_multihashmap32.c
319 test_container_multihashmap32_LDADD = \
320 $(top_builddir)/src/util/libgnunetutil.la
322 test_container_heap_SOURCES = \
323 test_container_heap.c
324 test_container_heap_LDADD = \
325 $(top_builddir)/src/util/libgnunetutil.la
327 test_container_slist_SOURCES = \
328 test_container_slist.c
329 test_container_slist_LDADD = \
330 $(top_builddir)/src/util/libgnunetutil.la
332 test_crypto_aes_SOURCES = \
334 test_crypto_aes_LDADD = \
335 $(top_builddir)/src/util/libgnunetutil.la
337 test_crypto_aes_weak_SOURCES = \
338 test_crypto_aes_weak.c
339 test_crypto_aes_weak_LDADD = \
340 $(top_builddir)/src/util/libgnunetutil.la \
343 test_crypto_crc_SOURCES = \
345 test_crypto_crc_LDADD = \
346 $(top_builddir)/src/util/libgnunetutil.la
348 test_crypto_ecc_SOURCES = \
350 test_crypto_ecc_LDADD = \
351 $(top_builddir)/src/util/libgnunetutil.la \
354 test_crypto_hash_SOURCES = \
356 test_crypto_hash_LDADD = \
357 $(top_builddir)/src/util/libgnunetutil.la
359 test_crypto_hkdf_SOURCES = \
361 test_crypto_hkdf_LDADD = \
362 $(top_builddir)/src/util/libgnunetutil.la
364 test_crypto_ksk_SOURCES = \
366 test_crypto_ksk_LDADD = \
367 $(top_builddir)/src/util/libgnunetutil.la
369 test_crypto_random_SOURCES = \
371 test_crypto_random_LDADD = \
372 $(top_builddir)/src/util/libgnunetutil.la
374 test_crypto_rsa_SOURCES = \
376 test_crypto_rsa_LDADD = \
377 $(top_builddir)/src/util/libgnunetutil.la
379 test_disk_SOURCES = \
382 $(top_builddir)/src/util/libgnunetutil.la
384 test_getopt_SOURCES = \
386 test_getopt_LDADD = \
387 $(top_builddir)/src/util/libgnunetutil.la
389 test_connection_SOURCES = \
391 test_connection_LDADD = \
392 $(top_builddir)/src/util/libgnunetutil.la
394 test_connection_addressing_SOURCES = \
395 test_connection_addressing.c
396 test_connection_addressing_LDADD = \
397 $(top_builddir)/src/util/libgnunetutil.la
399 test_connection_receive_cancel_SOURCES = \
400 test_connection_receive_cancel.c
401 test_connection_receive_cancel_LDADD = \
402 $(top_builddir)/src/util/libgnunetutil.la
404 test_connection_timeout_SOURCES = \
405 test_connection_timeout.c
406 test_connection_timeout_LDADD = \
407 $(top_builddir)/src/util/libgnunetutil.la
409 test_connection_timeout_no_connect_SOURCES = \
410 test_connection_timeout_no_connect.c
411 test_connection_timeout_no_connect_LDADD = \
412 $(top_builddir)/src/util/libgnunetutil.la
414 test_connection_transmit_cancel_SOURCES = \
415 test_connection_transmit_cancel.c
416 test_connection_transmit_cancel_LDADD = \
417 $(top_builddir)/src/util/libgnunetutil.la
419 test_os_network_SOURCES = \
421 test_os_network_LDADD = \
422 $(top_builddir)/src/util/libgnunetutil.la
424 test_os_priority_SOURCES = \
426 test_os_priority_LDADD = \
427 $(top_builddir)/src/util/libgnunetutil.la
429 test_peer_SOURCES = \
432 $(top_builddir)/src/util/libgnunetutil.la
434 test_plugin_SOURCES = \
436 test_plugin_LDADD = \
437 $(top_builddir)/src/util/libgnunetutil.la
439 test_program_SOURCES = \
441 test_program_LDADD = \
442 $(top_builddir)/src/util/libgnunetutil.la
444 test_resolver_api_SOURCES = \
446 test_resolver_api_LDADD = \
447 $(top_builddir)/src/util/libgnunetutil.la
449 test_scheduler_SOURCES = \
451 test_scheduler_LDADD = \
452 $(top_builddir)/src/util/libgnunetutil.la
454 test_scheduler_delay_SOURCES = \
455 test_scheduler_delay.c
456 test_scheduler_delay_LDADD = \
457 $(top_builddir)/src/util/libgnunetutil.la
459 test_server_mst_interrupt_SOURCES = \
460 test_server_mst_interrupt.c
461 test_server_mst_interrupt_LDADD = \
462 $(top_builddir)/src/util/libgnunetutil.la
464 test_server_SOURCES = \
466 test_server_LDADD = \
467 $(top_builddir)/src/util/libgnunetutil.la
469 test_server_disconnect_SOURCES = \
470 test_server_disconnect.c
471 test_server_disconnect_LDADD = \
472 $(top_builddir)/src/util/libgnunetutil.la
474 test_server_with_client_SOURCES = \
475 test_server_with_client.c
476 test_server_with_client_LDADD = \
477 $(top_builddir)/src/util/libgnunetutil.la
479 test_server_with_client_unix_SOURCES = \
480 test_server_with_client_unix.c
481 test_server_with_client_unix_LDADD = \
482 $(top_builddir)/src/util/libgnunetutil.la
485 test_service_SOURCES = \
487 test_service_LDADD = \
488 $(top_builddir)/src/util/libgnunetutil.la
490 test_strings_SOURCES = \
492 test_strings_LDADD = \
493 $(top_builddir)/src/util/libgnunetutil.la
496 test_strings_to_data_SOURCES = \
497 test_strings_to_data.c
498 test_strings_to_data_LDADD = \
499 $(top_builddir)/src/util/libgnunetutil.la
502 test_time_SOURCES = \
505 $(top_builddir)/src/util/libgnunetutil.la
507 test_speedup_SOURCES = \
509 test_speedup_LDADD = \
510 $(top_builddir)/src/util/libgnunetutil.la
512 perf_crypto_hash_SOURCES = \
514 perf_crypto_hash_LDADD = \
515 $(top_builddir)/src/util/libgnunetutil.la
517 perf_malloc_SOURCES = \
519 perf_malloc_LDADD = \
520 $(top_builddir)/src/util/libgnunetutil.la
524 test_configuration_data.conf \
525 test_program_data.conf \
526 test_resolver_api_data.conf \
527 test_service_data.conf \
528 test_speedup_data.conf