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_multipeermap.c \
77 container_multihashmap32.c \
100 resolver_api.c resolver.h \
112 libgnunetutil_la_LIBADD = \
113 $(GCLIBADD) $(WINLIB) \
117 -lltdl $(Z_LIBS) -lunistring $(XLIB)
119 libgnunetutil_la_LDFLAGS = \
124 GNUNET_ECC = gnunet-ecc
129 gnunet-service-resolver
140 do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g'
142 gnunet-qr: gnunet-qr.py.in Makefile
143 $(do_subst) < gnunet-qr.py.in > gnunet-qr
146 gnunet_service_resolver_SOURCES = \
147 gnunet-service-resolver.c
148 gnunet_service_resolver_LDADD = \
149 $(top_builddir)/src/util/libgnunetutil.la \
151 gnunet_service_resolver_DEPENDENCIES = \
155 gnunet_resolver_SOURCES = \
157 gnunet_resolver_LDADD = \
158 $(top_builddir)/src/util/libgnunetutil.la \
160 gnunet_resolver_DEPENDENCIES = \
164 gnunet_ecc_SOURCES = \
167 $(top_builddir)/src/util/libgnunetutil.la \
168 $(GN_LIBINTL) -lgcrypt
169 gnunet_ecc_DEPENDENCIES = \
173 gnunet_config_SOURCES = \
175 gnunet_config_LDADD = \
176 $(top_builddir)/src/util/libgnunetutil.la \
178 gnunet_config_DEPENDENCIES = \
182 gnunet_uri_SOURCES = \
185 $(top_builddir)/src/util/libgnunetutil.la \
187 gnunet_uri_DEPENDENCIES = \
190 plugin_LTLIBRARIES = \
191 libgnunet_plugin_test.la
193 libgnunet_plugin_test_la_SOURCES = \
195 libgnunet_plugin_test_la_LDFLAGS = \
201 perf_crypto_symmetric \
208 test_common_allocation \
210 test_common_logging \
212 test_container_bloomfilter \
213 test_container_meta_data \
214 test_container_multihashmap \
215 test_container_multihashmap32 \
216 test_container_multipeermap \
217 test_container_heap \
218 test_container_slist \
219 test_crypto_symmetric \
230 test_connection_addressing \
231 test_connection_receive_cancel \
232 test_connection_timeout \
233 test_connection_timeout_no_connect \
234 test_connection_transmit_cancel \
243 test_scheduler_delay \
244 test_server_mst_interrupt \
246 test_server_disconnect \
247 test_server_with_client \
248 $(SERVER_CLIENT_UNIX) \
251 test_strings_to_data \
255 test_os_start_process \
256 test_common_logging_runtime_loglevels
259 TESTS = $(check_PROGRAMS)
265 $(top_builddir)/src/util/libgnunetutil.la
268 test_os_start_process_SOURCES = \
269 test_os_start_process.c
270 test_os_start_process_LDADD = \
271 $(top_builddir)/src/util/libgnunetutil.la
272 test_os_start_process_DEPENDENCIES = \
275 test_client_SOURCES = \
277 test_client_LDADD = \
278 $(top_builddir)/src/util/libgnunetutil.la
280 test_common_allocation_SOURCES = \
281 test_common_allocation.c
282 test_common_allocation_LDADD = \
283 $(top_builddir)/src/util/libgnunetutil.la
285 test_common_endian_SOURCES = \
287 test_common_endian_LDADD = \
288 $(top_builddir)/src/util/libgnunetutil.la
290 test_common_logging_SOURCES = \
291 test_common_logging.c
292 test_common_logging_LDADD = \
293 $(top_builddir)/src/util/libgnunetutil.la
295 test_common_logging_runtime_loglevels_SOURCES = \
296 test_common_logging_runtime_loglevels.c
297 test_common_logging_runtime_loglevels_LDADD = \
298 $(top_builddir)/src/util/libgnunetutil.la
300 test_configuration_SOURCES = \
302 test_configuration_LDADD = \
303 $(top_builddir)/src/util/libgnunetutil.la
305 test_container_bloomfilter_SOURCES = \
306 test_container_bloomfilter.c
307 test_container_bloomfilter_LDADD = \
308 $(top_builddir)/src/util/libgnunetutil.la
310 test_container_meta_data_SOURCES = \
311 test_container_meta_data.c
312 test_container_meta_data_LDADD = \
313 $(top_builddir)/src/util/libgnunetutil.la -lextractor
315 test_container_multihashmap_SOURCES = \
316 test_container_multihashmap.c
317 test_container_multihashmap_LDADD = \
318 $(top_builddir)/src/util/libgnunetutil.la
320 test_container_multihashmap32_SOURCES = \
321 test_container_multihashmap32.c
322 test_container_multihashmap32_LDADD = \
323 $(top_builddir)/src/util/libgnunetutil.la
325 test_container_multipeermap_SOURCES = \
326 test_container_multipeermap.c
327 test_container_multipeermap_LDADD = \
328 $(top_builddir)/src/util/libgnunetutil.la
330 test_container_heap_SOURCES = \
331 test_container_heap.c
332 test_container_heap_LDADD = \
333 $(top_builddir)/src/util/libgnunetutil.la
335 test_container_slist_SOURCES = \
336 test_container_slist.c
337 test_container_slist_LDADD = \
338 $(top_builddir)/src/util/libgnunetutil.la
340 test_crypto_symmetric_SOURCES = \
341 test_crypto_symmetric.c
342 test_crypto_symmetric_LDADD = \
343 $(top_builddir)/src/util/libgnunetutil.la
345 test_crypto_crc_SOURCES = \
347 test_crypto_crc_LDADD = \
348 $(top_builddir)/src/util/libgnunetutil.la
350 test_crypto_ecdsa_SOURCES = \
352 test_crypto_ecdsa_LDADD = \
353 $(top_builddir)/src/util/libgnunetutil.la \
356 test_crypto_eddsa_SOURCES = \
358 test_crypto_eddsa_LDADD = \
359 $(top_builddir)/src/util/libgnunetutil.la \
362 test_crypto_ecdhe_SOURCES = \
364 test_crypto_ecdhe_LDADD = \
365 $(top_builddir)/src/util/libgnunetutil.la \
368 test_crypto_hash_SOURCES = \
370 test_crypto_hash_LDADD = \
371 $(top_builddir)/src/util/libgnunetutil.la
373 test_crypto_hkdf_SOURCES = \
375 test_crypto_hkdf_LDADD = \
376 $(top_builddir)/src/util/libgnunetutil.la
378 test_crypto_random_SOURCES = \
380 test_crypto_random_LDADD = \
381 $(top_builddir)/src/util/libgnunetutil.la
383 test_disk_SOURCES = \
386 $(top_builddir)/src/util/libgnunetutil.la
388 test_getopt_SOURCES = \
390 test_getopt_LDADD = \
391 $(top_builddir)/src/util/libgnunetutil.la
393 test_connection_SOURCES = \
395 test_connection_LDADD = \
396 $(top_builddir)/src/util/libgnunetutil.la
398 test_connection_addressing_SOURCES = \
399 test_connection_addressing.c
400 test_connection_addressing_LDADD = \
401 $(top_builddir)/src/util/libgnunetutil.la
403 test_connection_receive_cancel_SOURCES = \
404 test_connection_receive_cancel.c
405 test_connection_receive_cancel_LDADD = \
406 $(top_builddir)/src/util/libgnunetutil.la
408 test_connection_timeout_SOURCES = \
409 test_connection_timeout.c
410 test_connection_timeout_LDADD = \
411 $(top_builddir)/src/util/libgnunetutil.la
413 test_connection_timeout_no_connect_SOURCES = \
414 test_connection_timeout_no_connect.c
415 test_connection_timeout_no_connect_LDADD = \
416 $(top_builddir)/src/util/libgnunetutil.la
418 test_connection_transmit_cancel_SOURCES = \
419 test_connection_transmit_cancel.c
420 test_connection_transmit_cancel_LDADD = \
421 $(top_builddir)/src/util/libgnunetutil.la
426 $(top_builddir)/src/util/libgnunetutil.la
428 test_mq_client_SOURCES = \
430 test_mq_client_LDADD = \
431 $(top_builddir)/src/util/libgnunetutil.la
433 test_os_network_SOURCES = \
435 test_os_network_LDADD = \
436 $(top_builddir)/src/util/libgnunetutil.la
438 test_peer_SOURCES = \
441 $(top_builddir)/src/util/libgnunetutil.la -lgcrypt
443 test_plugin_SOURCES = \
445 test_plugin_LDADD = \
446 $(top_builddir)/src/util/libgnunetutil.la
448 test_program_SOURCES = \
450 test_program_LDADD = \
451 $(top_builddir)/src/util/libgnunetutil.la
453 test_resolver_api_SOURCES = \
455 test_resolver_api_LDADD = \
456 $(top_builddir)/src/util/libgnunetutil.la
458 test_scheduler_SOURCES = \
460 test_scheduler_LDADD = \
461 $(top_builddir)/src/util/libgnunetutil.la
463 test_scheduler_delay_SOURCES = \
464 test_scheduler_delay.c
465 test_scheduler_delay_LDADD = \
466 $(top_builddir)/src/util/libgnunetutil.la
468 test_server_mst_interrupt_SOURCES = \
469 test_server_mst_interrupt.c
470 test_server_mst_interrupt_LDADD = \
471 $(top_builddir)/src/util/libgnunetutil.la
473 test_server_SOURCES = \
475 test_server_LDADD = \
476 $(top_builddir)/src/util/libgnunetutil.la
478 test_server_disconnect_SOURCES = \
479 test_server_disconnect.c
480 test_server_disconnect_LDADD = \
481 $(top_builddir)/src/util/libgnunetutil.la
483 test_server_with_client_SOURCES = \
484 test_server_with_client.c
485 test_server_with_client_LDADD = \
486 $(top_builddir)/src/util/libgnunetutil.la
488 test_server_with_client_unix_SOURCES = \
489 test_server_with_client_unix.c
490 test_server_with_client_unix_LDADD = \
491 $(top_builddir)/src/util/libgnunetutil.la
494 test_service_SOURCES = \
496 test_service_LDADD = \
497 $(top_builddir)/src/util/libgnunetutil.la
499 test_strings_SOURCES = \
501 test_strings_LDADD = \
502 $(top_builddir)/src/util/libgnunetutil.la
505 test_strings_to_data_SOURCES = \
506 test_strings_to_data.c
507 test_strings_to_data_LDADD = \
508 $(top_builddir)/src/util/libgnunetutil.la
511 test_time_SOURCES = \
514 $(top_builddir)/src/util/libgnunetutil.la
516 test_speedup_SOURCES = \
518 test_speedup_LDADD = \
519 $(top_builddir)/src/util/libgnunetutil.la
521 perf_crypto_hash_SOURCES = \
523 perf_crypto_hash_LDADD = \
524 $(top_builddir)/src/util/libgnunetutil.la
526 perf_crypto_symmetric_SOURCES = \
527 perf_crypto_symmetric.c
528 perf_crypto_symmetric_LDADD = \
529 $(top_builddir)/src/util/libgnunetutil.la
531 perf_malloc_SOURCES = \
533 perf_malloc_LDADD = \
534 $(top_builddir)/src/util/libgnunetutil.la
538 test_configuration_data.conf \
539 test_program_data.conf \
540 test_resolver_api_data.conf \
541 test_service_data.conf \
542 test_speedup_data.conf \