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 \
99 resolver_api.c resolver.h \
111 libgnunetutil_la_CPPFLAGS = \
114 libgnunetutil_la_LIBADD = \
115 $(GCLIBADD) $(WINLIB) \
119 $(LIBLTDL) $(Z_LIBS) -lunistring $(XLIB)
121 libgnunetutil_la_LDFLAGS = \
126 GNUNET_ECC = gnunet-ecc
131 gnunet-service-resolver
140 gnunet_service_resolver_SOURCES = \
141 gnunet-service-resolver.c
142 gnunet_service_resolver_LDADD = \
143 $(top_builddir)/src/util/libgnunetutil.la \
145 gnunet_service_resolver_DEPENDENCIES = \
149 gnunet_resolver_SOURCES = \
151 gnunet_resolver_LDADD = \
152 $(top_builddir)/src/util/libgnunetutil.la \
154 gnunet_resolver_DEPENDENCIES = \
158 gnunet_ecc_SOURCES = \
161 $(top_builddir)/src/util/libgnunetutil.la \
162 $(GN_LIBINTL) -lgcrypt
163 gnunet_ecc_DEPENDENCIES = \
167 gnunet_config_SOURCES = \
169 gnunet_config_LDADD = \
170 $(top_builddir)/src/util/libgnunetutil.la \
172 gnunet_config_DEPENDENCIES = \
176 gnunet_uri_SOURCES = \
179 $(top_builddir)/src/util/libgnunetutil.la \
181 gnunet_uri_DEPENDENCIES = \
184 plugin_LTLIBRARIES = \
185 libgnunet_plugin_test.la
187 libgnunet_plugin_test_la_SOURCES = \
189 libgnunet_plugin_test_la_LDFLAGS = \
201 test_common_allocation \
203 test_common_logging \
205 test_container_bloomfilter \
206 test_container_meta_data \
207 test_container_multihashmap \
208 test_container_multihashmap32 \
209 test_container_heap \
210 test_container_slist \
212 test_crypto_aes_weak \
221 test_connection_addressing \
222 test_connection_receive_cancel \
223 test_connection_timeout \
224 test_connection_timeout_no_connect \
225 test_connection_transmit_cancel \
234 test_scheduler_delay \
235 test_server_mst_interrupt \
237 test_server_disconnect \
238 test_server_with_client \
239 $(SERVER_CLIENT_UNIX) \
242 test_strings_to_data \
246 test_os_start_process \
247 test_common_logging_runtime_loglevels
250 TESTS = $(check_PROGRAMS)
256 $(top_builddir)/src/util/libgnunetutil.la
259 test_os_start_process_SOURCES = \
260 test_os_start_process.c
261 test_os_start_process_LDADD = \
262 $(top_builddir)/src/util/libgnunetutil.la
263 test_os_start_process_DEPENDENCIES = \
266 test_client_SOURCES = \
268 test_client_LDADD = \
269 $(top_builddir)/src/util/libgnunetutil.la
271 test_common_allocation_SOURCES = \
272 test_common_allocation.c
273 test_common_allocation_LDADD = \
274 $(top_builddir)/src/util/libgnunetutil.la
276 test_common_endian_SOURCES = \
278 test_common_endian_LDADD = \
279 $(top_builddir)/src/util/libgnunetutil.la
281 test_common_logging_SOURCES = \
282 test_common_logging.c
283 test_common_logging_LDADD = \
284 $(top_builddir)/src/util/libgnunetutil.la
286 test_common_logging_runtime_loglevels_SOURCES = \
287 test_common_logging_runtime_loglevels.c
288 test_common_logging_runtime_loglevels_LDADD = \
289 $(top_builddir)/src/util/libgnunetutil.la
291 test_configuration_SOURCES = \
293 test_configuration_LDADD = \
294 $(top_builddir)/src/util/libgnunetutil.la
296 test_container_bloomfilter_SOURCES = \
297 test_container_bloomfilter.c
298 test_container_bloomfilter_LDADD = \
299 $(top_builddir)/src/util/libgnunetutil.la
301 test_container_meta_data_SOURCES = \
302 test_container_meta_data.c
303 test_container_meta_data_LDADD = \
304 $(top_builddir)/src/util/libgnunetutil.la -lextractor
306 test_container_multihashmap_SOURCES = \
307 test_container_multihashmap.c
308 test_container_multihashmap_LDADD = \
309 $(top_builddir)/src/util/libgnunetutil.la
311 test_container_multihashmap32_SOURCES = \
312 test_container_multihashmap32.c
313 test_container_multihashmap32_LDADD = \
314 $(top_builddir)/src/util/libgnunetutil.la
316 test_container_heap_SOURCES = \
317 test_container_heap.c
318 test_container_heap_LDADD = \
319 $(top_builddir)/src/util/libgnunetutil.la
321 test_container_slist_SOURCES = \
322 test_container_slist.c
323 test_container_slist_LDADD = \
324 $(top_builddir)/src/util/libgnunetutil.la
326 test_crypto_aes_SOURCES = \
328 test_crypto_aes_LDADD = \
329 $(top_builddir)/src/util/libgnunetutil.la
331 test_crypto_aes_weak_SOURCES = \
332 test_crypto_aes_weak.c
333 test_crypto_aes_weak_LDADD = \
334 $(top_builddir)/src/util/libgnunetutil.la \
337 test_crypto_crc_SOURCES = \
339 test_crypto_crc_LDADD = \
340 $(top_builddir)/src/util/libgnunetutil.la
342 test_crypto_ecc_SOURCES = \
344 test_crypto_ecc_LDADD = \
345 $(top_builddir)/src/util/libgnunetutil.la \
348 test_crypto_hash_SOURCES = \
350 test_crypto_hash_LDADD = \
351 $(top_builddir)/src/util/libgnunetutil.la
353 test_crypto_hkdf_SOURCES = \
355 test_crypto_hkdf_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_disk_SOURCES = \
366 $(top_builddir)/src/util/libgnunetutil.la
368 test_getopt_SOURCES = \
370 test_getopt_LDADD = \
371 $(top_builddir)/src/util/libgnunetutil.la
373 test_connection_SOURCES = \
375 test_connection_LDADD = \
376 $(top_builddir)/src/util/libgnunetutil.la
378 test_connection_addressing_SOURCES = \
379 test_connection_addressing.c
380 test_connection_addressing_LDADD = \
381 $(top_builddir)/src/util/libgnunetutil.la
383 test_connection_receive_cancel_SOURCES = \
384 test_connection_receive_cancel.c
385 test_connection_receive_cancel_LDADD = \
386 $(top_builddir)/src/util/libgnunetutil.la
388 test_connection_timeout_SOURCES = \
389 test_connection_timeout.c
390 test_connection_timeout_LDADD = \
391 $(top_builddir)/src/util/libgnunetutil.la
393 test_connection_timeout_no_connect_SOURCES = \
394 test_connection_timeout_no_connect.c
395 test_connection_timeout_no_connect_LDADD = \
396 $(top_builddir)/src/util/libgnunetutil.la
398 test_connection_transmit_cancel_SOURCES = \
399 test_connection_transmit_cancel.c
400 test_connection_transmit_cancel_LDADD = \
401 $(top_builddir)/src/util/libgnunetutil.la
406 $(top_builddir)/src/util/libgnunetutil.la
408 test_mq_client_SOURCES = \
410 test_mq_client_LDADD = \
411 $(top_builddir)/src/util/libgnunetutil.la
413 test_os_network_SOURCES = \
415 test_os_network_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_resolver_api_SOURCES = \
435 test_resolver_api_LDADD = \
436 $(top_builddir)/src/util/libgnunetutil.la
438 test_scheduler_SOURCES = \
440 test_scheduler_LDADD = \
441 $(top_builddir)/src/util/libgnunetutil.la
443 test_scheduler_delay_SOURCES = \
444 test_scheduler_delay.c
445 test_scheduler_delay_LDADD = \
446 $(top_builddir)/src/util/libgnunetutil.la
448 test_server_mst_interrupt_SOURCES = \
449 test_server_mst_interrupt.c
450 test_server_mst_interrupt_LDADD = \
451 $(top_builddir)/src/util/libgnunetutil.la
453 test_server_SOURCES = \
455 test_server_LDADD = \
456 $(top_builddir)/src/util/libgnunetutil.la
458 test_server_disconnect_SOURCES = \
459 test_server_disconnect.c
460 test_server_disconnect_LDADD = \
461 $(top_builddir)/src/util/libgnunetutil.la
463 test_server_with_client_SOURCES = \
464 test_server_with_client.c
465 test_server_with_client_LDADD = \
466 $(top_builddir)/src/util/libgnunetutil.la
468 test_server_with_client_unix_SOURCES = \
469 test_server_with_client_unix.c
470 test_server_with_client_unix_LDADD = \
471 $(top_builddir)/src/util/libgnunetutil.la
474 test_service_SOURCES = \
476 test_service_LDADD = \
477 $(top_builddir)/src/util/libgnunetutil.la
479 test_strings_SOURCES = \
481 test_strings_LDADD = \
482 $(top_builddir)/src/util/libgnunetutil.la
485 test_strings_to_data_SOURCES = \
486 test_strings_to_data.c
487 test_strings_to_data_LDADD = \
488 $(top_builddir)/src/util/libgnunetutil.la
491 test_time_SOURCES = \
494 $(top_builddir)/src/util/libgnunetutil.la
496 test_speedup_SOURCES = \
498 test_speedup_LDADD = \
499 $(top_builddir)/src/util/libgnunetutil.la
501 perf_crypto_hash_SOURCES = \
503 perf_crypto_hash_LDADD = \
504 $(top_builddir)/src/util/libgnunetutil.la
506 perf_malloc_SOURCES = \
508 perf_malloc_LDADD = \
509 $(top_builddir)/src/util/libgnunetutil.la
513 test_configuration_data.conf \
514 test_program_data.conf \
515 test_resolver_api_data.conf \
516 test_service_data.conf \
517 test_speedup_data.conf