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
138 gnunet_service_resolver_SOURCES = \
139 gnunet-service-resolver.c
140 gnunet_service_resolver_LDADD = \
141 $(top_builddir)/src/util/libgnunetutil.la \
143 gnunet_service_resolver_DEPENDENCIES = \
147 gnunet_resolver_SOURCES = \
149 gnunet_resolver_LDADD = \
150 $(top_builddir)/src/util/libgnunetutil.la \
152 gnunet_resolver_DEPENDENCIES = \
156 gnunet_ecc_SOURCES = \
159 $(top_builddir)/src/util/libgnunetutil.la \
160 $(GN_LIBINTL) -lgcrypt
161 gnunet_ecc_DEPENDENCIES = \
165 gnunet_config_SOURCES = \
167 gnunet_config_LDADD = \
168 $(top_builddir)/src/util/libgnunetutil.la \
170 gnunet_config_DEPENDENCIES = \
174 gnunet_uri_SOURCES = \
177 $(top_builddir)/src/util/libgnunetutil.la \
179 gnunet_uri_DEPENDENCIES = \
182 plugin_LTLIBRARIES = \
183 libgnunet_plugin_test.la
185 libgnunet_plugin_test_la_SOURCES = \
187 libgnunet_plugin_test_la_LDFLAGS = \
193 perf_crypto_symmetric \
200 test_common_allocation \
202 test_common_logging \
204 test_container_bloomfilter \
205 test_container_meta_data \
206 test_container_multihashmap \
207 test_container_multihashmap32 \
208 test_container_multipeermap \
209 test_container_heap \
210 test_container_slist \
211 test_crypto_symmetric \
220 test_connection_addressing \
221 test_connection_receive_cancel \
222 test_connection_timeout \
223 test_connection_timeout_no_connect \
224 test_connection_transmit_cancel \
233 test_scheduler_delay \
234 test_server_mst_interrupt \
236 test_server_disconnect \
237 test_server_with_client \
238 $(SERVER_CLIENT_UNIX) \
241 test_strings_to_data \
245 test_os_start_process \
246 test_common_logging_runtime_loglevels
249 TESTS = $(check_PROGRAMS)
255 $(top_builddir)/src/util/libgnunetutil.la
258 test_os_start_process_SOURCES = \
259 test_os_start_process.c
260 test_os_start_process_LDADD = \
261 $(top_builddir)/src/util/libgnunetutil.la
262 test_os_start_process_DEPENDENCIES = \
265 test_client_SOURCES = \
267 test_client_LDADD = \
268 $(top_builddir)/src/util/libgnunetutil.la
270 test_common_allocation_SOURCES = \
271 test_common_allocation.c
272 test_common_allocation_LDADD = \
273 $(top_builddir)/src/util/libgnunetutil.la
275 test_common_endian_SOURCES = \
277 test_common_endian_LDADD = \
278 $(top_builddir)/src/util/libgnunetutil.la
280 test_common_logging_SOURCES = \
281 test_common_logging.c
282 test_common_logging_LDADD = \
283 $(top_builddir)/src/util/libgnunetutil.la
285 test_common_logging_runtime_loglevels_SOURCES = \
286 test_common_logging_runtime_loglevels.c
287 test_common_logging_runtime_loglevels_LDADD = \
288 $(top_builddir)/src/util/libgnunetutil.la
290 test_configuration_SOURCES = \
292 test_configuration_LDADD = \
293 $(top_builddir)/src/util/libgnunetutil.la
295 test_container_bloomfilter_SOURCES = \
296 test_container_bloomfilter.c
297 test_container_bloomfilter_LDADD = \
298 $(top_builddir)/src/util/libgnunetutil.la
300 test_container_meta_data_SOURCES = \
301 test_container_meta_data.c
302 test_container_meta_data_LDADD = \
303 $(top_builddir)/src/util/libgnunetutil.la -lextractor
305 test_container_multihashmap_SOURCES = \
306 test_container_multihashmap.c
307 test_container_multihashmap_LDADD = \
308 $(top_builddir)/src/util/libgnunetutil.la
310 test_container_multihashmap32_SOURCES = \
311 test_container_multihashmap32.c
312 test_container_multihashmap32_LDADD = \
313 $(top_builddir)/src/util/libgnunetutil.la
315 test_container_multipeermap_SOURCES = \
316 test_container_multipeermap.c
317 test_container_multipeermap_LDADD = \
318 $(top_builddir)/src/util/libgnunetutil.la
320 test_container_heap_SOURCES = \
321 test_container_heap.c
322 test_container_heap_LDADD = \
323 $(top_builddir)/src/util/libgnunetutil.la
325 test_container_slist_SOURCES = \
326 test_container_slist.c
327 test_container_slist_LDADD = \
328 $(top_builddir)/src/util/libgnunetutil.la
330 test_crypto_symmetric_SOURCES = \
331 test_crypto_symmetric.c
332 test_crypto_symmetric_LDADD = \
333 $(top_builddir)/src/util/libgnunetutil.la
335 test_crypto_crc_SOURCES = \
337 test_crypto_crc_LDADD = \
338 $(top_builddir)/src/util/libgnunetutil.la
340 test_crypto_ecc_SOURCES = \
342 test_crypto_ecc_LDADD = \
343 $(top_builddir)/src/util/libgnunetutil.la \
346 test_crypto_hash_SOURCES = \
348 test_crypto_hash_LDADD = \
349 $(top_builddir)/src/util/libgnunetutil.la
351 test_crypto_hkdf_SOURCES = \
353 test_crypto_hkdf_LDADD = \
354 $(top_builddir)/src/util/libgnunetutil.la
356 test_crypto_random_SOURCES = \
358 test_crypto_random_LDADD = \
359 $(top_builddir)/src/util/libgnunetutil.la
361 test_disk_SOURCES = \
364 $(top_builddir)/src/util/libgnunetutil.la
366 test_getopt_SOURCES = \
368 test_getopt_LDADD = \
369 $(top_builddir)/src/util/libgnunetutil.la
371 test_connection_SOURCES = \
373 test_connection_LDADD = \
374 $(top_builddir)/src/util/libgnunetutil.la
376 test_connection_addressing_SOURCES = \
377 test_connection_addressing.c
378 test_connection_addressing_LDADD = \
379 $(top_builddir)/src/util/libgnunetutil.la
381 test_connection_receive_cancel_SOURCES = \
382 test_connection_receive_cancel.c
383 test_connection_receive_cancel_LDADD = \
384 $(top_builddir)/src/util/libgnunetutil.la
386 test_connection_timeout_SOURCES = \
387 test_connection_timeout.c
388 test_connection_timeout_LDADD = \
389 $(top_builddir)/src/util/libgnunetutil.la
391 test_connection_timeout_no_connect_SOURCES = \
392 test_connection_timeout_no_connect.c
393 test_connection_timeout_no_connect_LDADD = \
394 $(top_builddir)/src/util/libgnunetutil.la
396 test_connection_transmit_cancel_SOURCES = \
397 test_connection_transmit_cancel.c
398 test_connection_transmit_cancel_LDADD = \
399 $(top_builddir)/src/util/libgnunetutil.la
404 $(top_builddir)/src/util/libgnunetutil.la
406 test_mq_client_SOURCES = \
408 test_mq_client_LDADD = \
409 $(top_builddir)/src/util/libgnunetutil.la
411 test_os_network_SOURCES = \
413 test_os_network_LDADD = \
414 $(top_builddir)/src/util/libgnunetutil.la
416 test_peer_SOURCES = \
419 $(top_builddir)/src/util/libgnunetutil.la -lgcrypt
421 test_plugin_SOURCES = \
423 test_plugin_LDADD = \
424 $(top_builddir)/src/util/libgnunetutil.la
426 test_program_SOURCES = \
428 test_program_LDADD = \
429 $(top_builddir)/src/util/libgnunetutil.la
431 test_resolver_api_SOURCES = \
433 test_resolver_api_LDADD = \
434 $(top_builddir)/src/util/libgnunetutil.la
436 test_scheduler_SOURCES = \
438 test_scheduler_LDADD = \
439 $(top_builddir)/src/util/libgnunetutil.la
441 test_scheduler_delay_SOURCES = \
442 test_scheduler_delay.c
443 test_scheduler_delay_LDADD = \
444 $(top_builddir)/src/util/libgnunetutil.la
446 test_server_mst_interrupt_SOURCES = \
447 test_server_mst_interrupt.c
448 test_server_mst_interrupt_LDADD = \
449 $(top_builddir)/src/util/libgnunetutil.la
451 test_server_SOURCES = \
453 test_server_LDADD = \
454 $(top_builddir)/src/util/libgnunetutil.la
456 test_server_disconnect_SOURCES = \
457 test_server_disconnect.c
458 test_server_disconnect_LDADD = \
459 $(top_builddir)/src/util/libgnunetutil.la
461 test_server_with_client_SOURCES = \
462 test_server_with_client.c
463 test_server_with_client_LDADD = \
464 $(top_builddir)/src/util/libgnunetutil.la
466 test_server_with_client_unix_SOURCES = \
467 test_server_with_client_unix.c
468 test_server_with_client_unix_LDADD = \
469 $(top_builddir)/src/util/libgnunetutil.la
472 test_service_SOURCES = \
474 test_service_LDADD = \
475 $(top_builddir)/src/util/libgnunetutil.la
477 test_strings_SOURCES = \
479 test_strings_LDADD = \
480 $(top_builddir)/src/util/libgnunetutil.la
483 test_strings_to_data_SOURCES = \
484 test_strings_to_data.c
485 test_strings_to_data_LDADD = \
486 $(top_builddir)/src/util/libgnunetutil.la
489 test_time_SOURCES = \
492 $(top_builddir)/src/util/libgnunetutil.la
494 test_speedup_SOURCES = \
496 test_speedup_LDADD = \
497 $(top_builddir)/src/util/libgnunetutil.la
499 perf_crypto_hash_SOURCES = \
501 perf_crypto_hash_LDADD = \
502 $(top_builddir)/src/util/libgnunetutil.la
504 perf_crypto_symmetric_SOURCES = \
505 perf_crypto_symmetric.c
506 perf_crypto_symmetric_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_resolver_api_data.conf \
519 test_service_data.conf \
520 test_speedup_data.conf