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 \
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_heap \
214 test_container_slist \
216 test_crypto_aes_weak \
227 test_connection_addressing \
228 test_connection_receive_cancel \
229 test_connection_timeout \
230 test_connection_timeout_no_connect \
231 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) \
251 test_os_start_process \
252 test_common_logging_runtime_loglevels
255 TESTS = $(check_PROGRAMS)
261 $(top_builddir)/src/util/libgnunetutil.la
264 test_os_start_process_SOURCES = \
265 test_os_start_process.c
266 test_os_start_process_LDADD = \
267 $(top_builddir)/src/util/libgnunetutil.la
268 test_os_start_process_DEPENDENCIES = \
271 test_client_SOURCES = \
273 test_client_LDADD = \
274 $(top_builddir)/src/util/libgnunetutil.la
276 test_common_allocation_SOURCES = \
277 test_common_allocation.c
278 test_common_allocation_LDADD = \
279 $(top_builddir)/src/util/libgnunetutil.la
281 test_common_endian_SOURCES = \
283 test_common_endian_LDADD = \
284 $(top_builddir)/src/util/libgnunetutil.la
286 test_common_logging_SOURCES = \
287 test_common_logging.c
288 test_common_logging_LDADD = \
289 $(top_builddir)/src/util/libgnunetutil.la
291 test_common_logging_runtime_loglevels_SOURCES = \
292 test_common_logging_runtime_loglevels.c
293 test_common_logging_runtime_loglevels_LDADD = \
294 $(top_builddir)/src/util/libgnunetutil.la
296 test_configuration_SOURCES = \
298 test_configuration_LDADD = \
299 $(top_builddir)/src/util/libgnunetutil.la
301 test_container_bloomfilter_SOURCES = \
302 test_container_bloomfilter.c
303 test_container_bloomfilter_LDADD = \
304 $(top_builddir)/src/util/libgnunetutil.la
306 test_container_meta_data_SOURCES = \
307 test_container_meta_data.c
308 test_container_meta_data_LDADD = \
309 $(top_builddir)/src/util/libgnunetutil.la -lextractor
311 test_container_multihashmap_SOURCES = \
312 test_container_multihashmap.c
313 test_container_multihashmap_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
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_pseudonym_SOURCES = \
439 test_pseudonym_LDADD = \
440 $(top_builddir)/src/util/libgnunetutil.la
442 test_resolver_api_SOURCES = \
444 test_resolver_api_LDADD = \
445 $(top_builddir)/src/util/libgnunetutil.la
447 test_scheduler_SOURCES = \
449 test_scheduler_LDADD = \
450 $(top_builddir)/src/util/libgnunetutil.la
452 test_scheduler_delay_SOURCES = \
453 test_scheduler_delay.c
454 test_scheduler_delay_LDADD = \
455 $(top_builddir)/src/util/libgnunetutil.la
457 test_server_mst_interrupt_SOURCES = \
458 test_server_mst_interrupt.c
459 test_server_mst_interrupt_LDADD = \
460 $(top_builddir)/src/util/libgnunetutil.la
462 test_server_SOURCES = \
464 test_server_LDADD = \
465 $(top_builddir)/src/util/libgnunetutil.la
467 test_server_disconnect_SOURCES = \
468 test_server_disconnect.c
469 test_server_disconnect_LDADD = \
470 $(top_builddir)/src/util/libgnunetutil.la
472 test_server_with_client_SOURCES = \
473 test_server_with_client.c
474 test_server_with_client_LDADD = \
475 $(top_builddir)/src/util/libgnunetutil.la
477 test_server_with_client_unix_SOURCES = \
478 test_server_with_client_unix.c
479 test_server_with_client_unix_LDADD = \
480 $(top_builddir)/src/util/libgnunetutil.la
483 test_service_SOURCES = \
485 test_service_LDADD = \
486 $(top_builddir)/src/util/libgnunetutil.la
488 test_strings_SOURCES = \
490 test_strings_LDADD = \
491 $(top_builddir)/src/util/libgnunetutil.la
493 test_time_SOURCES = \
496 $(top_builddir)/src/util/libgnunetutil.la
498 test_speedup_SOURCES = \
500 test_speedup_LDADD = \
501 $(top_builddir)/src/util/libgnunetutil.la
503 perf_crypto_hash_SOURCES = \
505 perf_crypto_hash_LDADD = \
506 $(top_builddir)/src/util/libgnunetutil.la
508 perf_malloc_SOURCES = \
510 perf_malloc_LDADD = \
511 $(top_builddir)/src/util/libgnunetutil.la
515 test_configuration_data.conf \
516 test_program_data.conf \
517 test_pseudonym_data.conf \
518 test_resolver_api_data.conf \
519 test_service_data.conf \
520 test_speedup_data.conf