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 \
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_ksk_SOURCES = \
360 test_crypto_ksk_LDADD = \
361 $(top_builddir)/src/util/libgnunetutil.la
363 test_crypto_random_SOURCES = \
365 test_crypto_random_LDADD = \
366 $(top_builddir)/src/util/libgnunetutil.la
368 test_crypto_rsa_SOURCES = \
370 test_crypto_rsa_LDADD = \
371 $(top_builddir)/src/util/libgnunetutil.la
373 test_disk_SOURCES = \
376 $(top_builddir)/src/util/libgnunetutil.la
378 test_getopt_SOURCES = \
380 test_getopt_LDADD = \
381 $(top_builddir)/src/util/libgnunetutil.la
383 test_connection_SOURCES = \
385 test_connection_LDADD = \
386 $(top_builddir)/src/util/libgnunetutil.la
388 test_connection_addressing_SOURCES = \
389 test_connection_addressing.c
390 test_connection_addressing_LDADD = \
391 $(top_builddir)/src/util/libgnunetutil.la
393 test_connection_receive_cancel_SOURCES = \
394 test_connection_receive_cancel.c
395 test_connection_receive_cancel_LDADD = \
396 $(top_builddir)/src/util/libgnunetutil.la
398 test_connection_timeout_SOURCES = \
399 test_connection_timeout.c
400 test_connection_timeout_LDADD = \
401 $(top_builddir)/src/util/libgnunetutil.la
403 test_connection_timeout_no_connect_SOURCES = \
404 test_connection_timeout_no_connect.c
405 test_connection_timeout_no_connect_LDADD = \
406 $(top_builddir)/src/util/libgnunetutil.la
408 test_connection_transmit_cancel_SOURCES = \
409 test_connection_transmit_cancel.c
410 test_connection_transmit_cancel_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_os_priority_SOURCES = \
420 test_os_priority_LDADD = \
421 $(top_builddir)/src/util/libgnunetutil.la
423 test_peer_SOURCES = \
426 $(top_builddir)/src/util/libgnunetutil.la
428 test_plugin_SOURCES = \
430 test_plugin_LDADD = \
431 $(top_builddir)/src/util/libgnunetutil.la
433 test_program_SOURCES = \
435 test_program_LDADD = \
436 $(top_builddir)/src/util/libgnunetutil.la
438 test_pseudonym_SOURCES = \
440 test_pseudonym_LDADD = \
441 $(top_builddir)/src/util/libgnunetutil.la
443 test_resolver_api_SOURCES = \
445 test_resolver_api_LDADD = \
446 $(top_builddir)/src/util/libgnunetutil.la
448 test_scheduler_SOURCES = \
450 test_scheduler_LDADD = \
451 $(top_builddir)/src/util/libgnunetutil.la
453 test_scheduler_delay_SOURCES = \
454 test_scheduler_delay.c
455 test_scheduler_delay_LDADD = \
456 $(top_builddir)/src/util/libgnunetutil.la
458 test_server_mst_interrupt_SOURCES = \
459 test_server_mst_interrupt.c
460 test_server_mst_interrupt_LDADD = \
461 $(top_builddir)/src/util/libgnunetutil.la
463 test_server_SOURCES = \
465 test_server_LDADD = \
466 $(top_builddir)/src/util/libgnunetutil.la
468 test_server_disconnect_SOURCES = \
469 test_server_disconnect.c
470 test_server_disconnect_LDADD = \
471 $(top_builddir)/src/util/libgnunetutil.la
473 test_server_with_client_SOURCES = \
474 test_server_with_client.c
475 test_server_with_client_LDADD = \
476 $(top_builddir)/src/util/libgnunetutil.la
478 test_server_with_client_unix_SOURCES = \
479 test_server_with_client_unix.c
480 test_server_with_client_unix_LDADD = \
481 $(top_builddir)/src/util/libgnunetutil.la
484 test_service_SOURCES = \
486 test_service_LDADD = \
487 $(top_builddir)/src/util/libgnunetutil.la
489 test_strings_SOURCES = \
491 test_strings_LDADD = \
492 $(top_builddir)/src/util/libgnunetutil.la
494 test_time_SOURCES = \
497 $(top_builddir)/src/util/libgnunetutil.la
499 test_speedup_SOURCES = \
501 test_speedup_LDADD = \
502 $(top_builddir)/src/util/libgnunetutil.la
504 perf_crypto_hash_SOURCES = \
506 perf_crypto_hash_LDADD = \
507 $(top_builddir)/src/util/libgnunetutil.la
509 perf_malloc_SOURCES = \
511 perf_malloc_LDADD = \
512 $(top_builddir)/src/util/libgnunetutil.la
516 test_configuration_data.conf \
517 test_program_data.conf \
518 test_pseudonym_data.conf \
519 test_resolver_api_data.conf \
520 test_service_data.conf \
521 test_speedup_data.conf