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 \
99 resolver_api.c resolver.h \
112 libgnunetutil_la_LIBADD = \
113 $(GCLIBADD) $(WINLIB) \
117 -lltdl -lz -lunistring $(XLIB)
119 libgnunetutil_la_LDFLAGS = \
125 gnunet-service-resolver
135 gnunet_service_resolver_SOURCES = \
136 gnunet-service-resolver.c
137 gnunet_service_resolver_LDADD = \
138 $(top_builddir)/src/util/libgnunetutil.la \
140 gnunet_service_resolver_DEPENDENCIES = \
144 gnunet_resolver_SOURCES = \
146 gnunet_resolver_LDADD = \
147 $(top_builddir)/src/util/libgnunetutil.la \
149 gnunet_resolver_DEPENDENCIES = \
153 gnunet_rsa_SOURCES = \
156 $(top_builddir)/src/util/libgnunetutil.la \
157 $(GN_LIBINTL) -lgcrypt
158 gnunet_rsa_DEPENDENCIES = \
162 gnunet_ecc_SOURCES = \
165 $(top_builddir)/src/util/libgnunetutil.la \
166 $(GN_LIBINTL) -lgcrypt
167 gnunet_ecc_DEPENDENCIES = \
171 gnunet_config_SOURCES = \
173 gnunet_config_LDADD = \
174 $(top_builddir)/src/util/libgnunetutil.la \
176 gnunet_config_DEPENDENCIES = \
180 gnunet_uri_SOURCES = \
183 $(top_builddir)/src/util/libgnunetutil.la \
185 gnunet_uri_DEPENDENCIES = \
188 plugin_LTLIBRARIES = \
189 libgnunet_plugin_test.la
191 libgnunet_plugin_test_la_SOURCES = \
193 libgnunet_plugin_test_la_LDFLAGS = \
205 test_common_allocation \
207 test_common_logging \
209 test_container_bloomfilter \
210 test_container_meta_data \
211 test_container_multihashmap \
212 test_container_heap \
213 test_container_slist \
215 test_crypto_aes_weak \
226 test_connection_addressing \
227 test_connection_receive_cancel \
228 test_connection_timeout \
229 test_connection_timeout_no_connect \
230 test_connection_transmit_cancel \
238 test_scheduler_delay \
239 test_server_mst_interrupt \
241 test_server_disconnect \
242 test_server_with_client \
243 $(SERVER_CLIENT_UNIX) \
246 test_strings_to_data \
250 test_os_start_process \
251 test_common_logging_runtime_loglevels
254 TESTS = $(check_PROGRAMS)
260 $(top_builddir)/src/util/libgnunetutil.la
263 test_os_start_process_SOURCES = \
264 test_os_start_process.c
265 test_os_start_process_LDADD = \
266 $(top_builddir)/src/util/libgnunetutil.la
267 test_os_start_process_DEPENDENCIES = \
270 test_client_SOURCES = \
272 test_client_LDADD = \
273 $(top_builddir)/src/util/libgnunetutil.la
275 test_common_allocation_SOURCES = \
276 test_common_allocation.c
277 test_common_allocation_LDADD = \
278 $(top_builddir)/src/util/libgnunetutil.la
280 test_common_endian_SOURCES = \
282 test_common_endian_LDADD = \
283 $(top_builddir)/src/util/libgnunetutil.la
285 test_common_logging_SOURCES = \
286 test_common_logging.c
287 test_common_logging_LDADD = \
288 $(top_builddir)/src/util/libgnunetutil.la
290 test_common_logging_runtime_loglevels_SOURCES = \
291 test_common_logging_runtime_loglevels.c
292 test_common_logging_runtime_loglevels_LDADD = \
293 $(top_builddir)/src/util/libgnunetutil.la
295 test_configuration_SOURCES = \
297 test_configuration_LDADD = \
298 $(top_builddir)/src/util/libgnunetutil.la
300 test_container_bloomfilter_SOURCES = \
301 test_container_bloomfilter.c
302 test_container_bloomfilter_LDADD = \
303 $(top_builddir)/src/util/libgnunetutil.la
305 test_container_meta_data_SOURCES = \
306 test_container_meta_data.c
307 test_container_meta_data_LDADD = \
308 $(top_builddir)/src/util/libgnunetutil.la -lextractor
310 test_container_multihashmap_SOURCES = \
311 test_container_multihashmap.c
312 test_container_multihashmap_LDADD = \
313 $(top_builddir)/src/util/libgnunetutil.la
315 test_container_heap_SOURCES = \
316 test_container_heap.c
317 test_container_heap_LDADD = \
318 $(top_builddir)/src/util/libgnunetutil.la
320 test_container_slist_SOURCES = \
321 test_container_slist.c
322 test_container_slist_LDADD = \
323 $(top_builddir)/src/util/libgnunetutil.la
325 test_crypto_aes_SOURCES = \
327 test_crypto_aes_LDADD = \
328 $(top_builddir)/src/util/libgnunetutil.la
330 test_crypto_aes_weak_SOURCES = \
331 test_crypto_aes_weak.c
332 test_crypto_aes_weak_LDADD = \
333 $(top_builddir)/src/util/libgnunetutil.la \
336 test_crypto_crc_SOURCES = \
338 test_crypto_crc_LDADD = \
339 $(top_builddir)/src/util/libgnunetutil.la
341 test_crypto_ecc_SOURCES = \
343 test_crypto_ecc_LDADD = \
344 $(top_builddir)/src/util/libgnunetutil.la \
347 test_crypto_hash_SOURCES = \
349 test_crypto_hash_LDADD = \
350 $(top_builddir)/src/util/libgnunetutil.la
352 test_crypto_hkdf_SOURCES = \
354 test_crypto_hkdf_LDADD = \
355 $(top_builddir)/src/util/libgnunetutil.la
357 test_crypto_ksk_SOURCES = \
359 test_crypto_ksk_LDADD = \
360 $(top_builddir)/src/util/libgnunetutil.la
362 test_crypto_random_SOURCES = \
364 test_crypto_random_LDADD = \
365 $(top_builddir)/src/util/libgnunetutil.la
367 test_crypto_rsa_SOURCES = \
369 test_crypto_rsa_LDADD = \
370 $(top_builddir)/src/util/libgnunetutil.la
372 test_disk_SOURCES = \
375 $(top_builddir)/src/util/libgnunetutil.la
377 test_getopt_SOURCES = \
379 test_getopt_LDADD = \
380 $(top_builddir)/src/util/libgnunetutil.la
382 test_connection_SOURCES = \
384 test_connection_LDADD = \
385 $(top_builddir)/src/util/libgnunetutil.la
387 test_connection_addressing_SOURCES = \
388 test_connection_addressing.c
389 test_connection_addressing_LDADD = \
390 $(top_builddir)/src/util/libgnunetutil.la
392 test_connection_receive_cancel_SOURCES = \
393 test_connection_receive_cancel.c
394 test_connection_receive_cancel_LDADD = \
395 $(top_builddir)/src/util/libgnunetutil.la
397 test_connection_timeout_SOURCES = \
398 test_connection_timeout.c
399 test_connection_timeout_LDADD = \
400 $(top_builddir)/src/util/libgnunetutil.la
402 test_connection_timeout_no_connect_SOURCES = \
403 test_connection_timeout_no_connect.c
404 test_connection_timeout_no_connect_LDADD = \
405 $(top_builddir)/src/util/libgnunetutil.la
407 test_connection_transmit_cancel_SOURCES = \
408 test_connection_transmit_cancel.c
409 test_connection_transmit_cancel_LDADD = \
410 $(top_builddir)/src/util/libgnunetutil.la
412 test_os_network_SOURCES = \
414 test_os_network_LDADD = \
415 $(top_builddir)/src/util/libgnunetutil.la
417 test_os_priority_SOURCES = \
419 test_os_priority_LDADD = \
420 $(top_builddir)/src/util/libgnunetutil.la
422 test_peer_SOURCES = \
425 $(top_builddir)/src/util/libgnunetutil.la
427 test_plugin_SOURCES = \
429 test_plugin_LDADD = \
430 $(top_builddir)/src/util/libgnunetutil.la
432 test_program_SOURCES = \
434 test_program_LDADD = \
435 $(top_builddir)/src/util/libgnunetutil.la
437 test_resolver_api_SOURCES = \
439 test_resolver_api_LDADD = \
440 $(top_builddir)/src/util/libgnunetutil.la
442 test_scheduler_SOURCES = \
444 test_scheduler_LDADD = \
445 $(top_builddir)/src/util/libgnunetutil.la
447 test_scheduler_delay_SOURCES = \
448 test_scheduler_delay.c
449 test_scheduler_delay_LDADD = \
450 $(top_builddir)/src/util/libgnunetutil.la
452 test_server_mst_interrupt_SOURCES = \
453 test_server_mst_interrupt.c
454 test_server_mst_interrupt_LDADD = \
455 $(top_builddir)/src/util/libgnunetutil.la
457 test_server_SOURCES = \
459 test_server_LDADD = \
460 $(top_builddir)/src/util/libgnunetutil.la
462 test_server_disconnect_SOURCES = \
463 test_server_disconnect.c
464 test_server_disconnect_LDADD = \
465 $(top_builddir)/src/util/libgnunetutil.la
467 test_server_with_client_SOURCES = \
468 test_server_with_client.c
469 test_server_with_client_LDADD = \
470 $(top_builddir)/src/util/libgnunetutil.la
472 test_server_with_client_unix_SOURCES = \
473 test_server_with_client_unix.c
474 test_server_with_client_unix_LDADD = \
475 $(top_builddir)/src/util/libgnunetutil.la
478 test_service_SOURCES = \
480 test_service_LDADD = \
481 $(top_builddir)/src/util/libgnunetutil.la
483 test_strings_SOURCES = \
485 test_strings_LDADD = \
486 $(top_builddir)/src/util/libgnunetutil.la
489 test_strings_to_data_SOURCES = \
490 test_strings_to_data.c
491 test_strings_to_data_LDADD = \
492 $(top_builddir)/src/util/libgnunetutil.la
495 test_time_SOURCES = \
498 $(top_builddir)/src/util/libgnunetutil.la
500 test_speedup_SOURCES = \
502 test_speedup_LDADD = \
503 $(top_builddir)/src/util/libgnunetutil.la
505 perf_crypto_hash_SOURCES = \
507 perf_crypto_hash_LDADD = \
508 $(top_builddir)/src/util/libgnunetutil.la
510 perf_malloc_SOURCES = \
512 perf_malloc_LDADD = \
513 $(top_builddir)/src/util/libgnunetutil.la
517 test_configuration_data.conf \
518 test_program_data.conf \
519 test_pseudonym_data.conf \
520 test_resolver_api_data.conf \
521 test_service_data.conf \
522 test_speedup_data.conf