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 = \
192 perf_crypto_symmetric \
199 test_common_allocation \
201 test_common_logging \
203 test_container_bloomfilter \
204 test_container_meta_data \
205 test_container_multihashmap \
206 test_container_multihashmap32 \
207 test_container_heap \
208 test_container_slist \
209 test_crypto_symmetric \
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_symmetric_SOURCES = \
324 test_crypto_symmetric.c
325 test_crypto_symmetric_LDADD = \
326 $(top_builddir)/src/util/libgnunetutil.la
328 test_crypto_crc_SOURCES = \
330 test_crypto_crc_LDADD = \
331 $(top_builddir)/src/util/libgnunetutil.la
333 test_crypto_ecc_SOURCES = \
335 test_crypto_ecc_LDADD = \
336 $(top_builddir)/src/util/libgnunetutil.la \
339 test_crypto_hash_SOURCES = \
341 test_crypto_hash_LDADD = \
342 $(top_builddir)/src/util/libgnunetutil.la
344 test_crypto_hkdf_SOURCES = \
346 test_crypto_hkdf_LDADD = \
347 $(top_builddir)/src/util/libgnunetutil.la
349 test_crypto_random_SOURCES = \
351 test_crypto_random_LDADD = \
352 $(top_builddir)/src/util/libgnunetutil.la
354 test_disk_SOURCES = \
357 $(top_builddir)/src/util/libgnunetutil.la
359 test_getopt_SOURCES = \
361 test_getopt_LDADD = \
362 $(top_builddir)/src/util/libgnunetutil.la
364 test_connection_SOURCES = \
366 test_connection_LDADD = \
367 $(top_builddir)/src/util/libgnunetutil.la
369 test_connection_addressing_SOURCES = \
370 test_connection_addressing.c
371 test_connection_addressing_LDADD = \
372 $(top_builddir)/src/util/libgnunetutil.la
374 test_connection_receive_cancel_SOURCES = \
375 test_connection_receive_cancel.c
376 test_connection_receive_cancel_LDADD = \
377 $(top_builddir)/src/util/libgnunetutil.la
379 test_connection_timeout_SOURCES = \
380 test_connection_timeout.c
381 test_connection_timeout_LDADD = \
382 $(top_builddir)/src/util/libgnunetutil.la
384 test_connection_timeout_no_connect_SOURCES = \
385 test_connection_timeout_no_connect.c
386 test_connection_timeout_no_connect_LDADD = \
387 $(top_builddir)/src/util/libgnunetutil.la
389 test_connection_transmit_cancel_SOURCES = \
390 test_connection_transmit_cancel.c
391 test_connection_transmit_cancel_LDADD = \
392 $(top_builddir)/src/util/libgnunetutil.la
397 $(top_builddir)/src/util/libgnunetutil.la
399 test_mq_client_SOURCES = \
401 test_mq_client_LDADD = \
402 $(top_builddir)/src/util/libgnunetutil.la
404 test_os_network_SOURCES = \
406 test_os_network_LDADD = \
407 $(top_builddir)/src/util/libgnunetutil.la
409 test_peer_SOURCES = \
412 $(top_builddir)/src/util/libgnunetutil.la
414 test_plugin_SOURCES = \
416 test_plugin_LDADD = \
417 $(top_builddir)/src/util/libgnunetutil.la
419 test_program_SOURCES = \
421 test_program_LDADD = \
422 $(top_builddir)/src/util/libgnunetutil.la
424 test_resolver_api_SOURCES = \
426 test_resolver_api_LDADD = \
427 $(top_builddir)/src/util/libgnunetutil.la
429 test_scheduler_SOURCES = \
431 test_scheduler_LDADD = \
432 $(top_builddir)/src/util/libgnunetutil.la
434 test_scheduler_delay_SOURCES = \
435 test_scheduler_delay.c
436 test_scheduler_delay_LDADD = \
437 $(top_builddir)/src/util/libgnunetutil.la
439 test_server_mst_interrupt_SOURCES = \
440 test_server_mst_interrupt.c
441 test_server_mst_interrupt_LDADD = \
442 $(top_builddir)/src/util/libgnunetutil.la
444 test_server_SOURCES = \
446 test_server_LDADD = \
447 $(top_builddir)/src/util/libgnunetutil.la
449 test_server_disconnect_SOURCES = \
450 test_server_disconnect.c
451 test_server_disconnect_LDADD = \
452 $(top_builddir)/src/util/libgnunetutil.la
454 test_server_with_client_SOURCES = \
455 test_server_with_client.c
456 test_server_with_client_LDADD = \
457 $(top_builddir)/src/util/libgnunetutil.la
459 test_server_with_client_unix_SOURCES = \
460 test_server_with_client_unix.c
461 test_server_with_client_unix_LDADD = \
462 $(top_builddir)/src/util/libgnunetutil.la
465 test_service_SOURCES = \
467 test_service_LDADD = \
468 $(top_builddir)/src/util/libgnunetutil.la
470 test_strings_SOURCES = \
472 test_strings_LDADD = \
473 $(top_builddir)/src/util/libgnunetutil.la
476 test_strings_to_data_SOURCES = \
477 test_strings_to_data.c
478 test_strings_to_data_LDADD = \
479 $(top_builddir)/src/util/libgnunetutil.la
482 test_time_SOURCES = \
485 $(top_builddir)/src/util/libgnunetutil.la
487 test_speedup_SOURCES = \
489 test_speedup_LDADD = \
490 $(top_builddir)/src/util/libgnunetutil.la
492 perf_crypto_hash_SOURCES = \
494 perf_crypto_hash_LDADD = \
495 $(top_builddir)/src/util/libgnunetutil.la
497 perf_crypto_symmetric_SOURCES = \
498 perf_crypto_symmetric.c
499 perf_crypto_symmetric_LDADD = \
500 $(top_builddir)/src/util/libgnunetutil.la
502 perf_malloc_SOURCES = \
504 perf_malloc_LDADD = \
505 $(top_builddir)/src/util/libgnunetutil.la
509 test_configuration_data.conf \
510 test_program_data.conf \
511 test_resolver_api_data.conf \
512 test_service_data.conf \
513 test_speedup_data.conf