1 INCLUDES = -I$(top_srcdir)/src/include -I$(top_builddir)/src/include
3 plugindir = $(libdir)/gnunet
5 pkgcfgdir= $(pkgdatadir)/config.d/
14 noinst_LTLIBRARIES = \
16 libgnunetutilwin_la_SOURCES = \
19 libgnunetutilwin_la_LDFLAGS = \
20 -no-undefined -Wl,--export-all-symbols
21 libgnunetutilwin_la_LIBADD = \
22 -lshell32 -liconv -lstdc++ \
23 -lcomdlg32 -lgdi32 -liphlpapi
24 WINLIB = libgnunetutilwin.la
29 SERVER_CLIENT_UNIX = test_server_with_client_unix
33 AM_CFLAGS = --coverage -O0
37 w32cat_SOURCES = w32cat.c
42 test_common_logging_dummy
45 gnunet_config_diff_SOURCES = \
47 gnunet_config_diff_LDADD = \
48 $(top_builddir)/src/util/libgnunetutil.la
49 gnunet_config_diff_DEPENDENCIES = \
52 test_common_logging_dummy_SOURCES = \
53 test_common_logging_dummy.c
54 test_common_logging_dummy_LDADD = \
55 $(top_builddir)/src/util/libgnunetutil.la
56 test_common_logging_dummy_DEPENDENCIES = \
59 lib_LTLIBRARIES = libgnunetutil.la
61 libgnunetutil_la_SOURCES = \
70 container_bloomfilter.c \
72 container_meta_data.c \
73 container_multihashmap.c \
98 resolver_api.c resolver.h \
111 libgnunetutil_la_LIBADD = \
112 $(GCLIBADD) $(WINLIB) \
116 -lltdl -lz -lunistring $(XLIB)
118 libgnunetutil_la_LDFLAGS = \
124 gnunet-service-resolver \
132 gnunet_service_resolver_SOURCES = \
133 gnunet-service-resolver.c
134 gnunet_service_resolver_LDADD = \
135 $(top_builddir)/src/util/libgnunetutil.la \
137 gnunet_service_resolver_DEPENDENCIES = \
141 gnunet_resolver_SOURCES = \
143 gnunet_resolver_LDADD = \
144 $(top_builddir)/src/util/libgnunetutil.la \
146 gnunet_resolver_DEPENDENCIES = \
150 gnunet_rsa_SOURCES = \
153 $(top_builddir)/src/util/libgnunetutil.la \
154 $(GN_LIBINTL) -lgcrypt
155 gnunet_rsa_DEPENDENCIES = \
159 gnunet_ecc_SOURCES = \
162 $(top_builddir)/src/util/libgnunetutil.la \
163 $(GN_LIBINTL) -lgcrypt
164 gnunet_ecc_DEPENDENCIES = \
168 gnunet_config_SOURCES = \
170 gnunet_config_LDADD = \
171 $(top_builddir)/src/util/libgnunetutil.la \
173 gnunet_config_DEPENDENCIES = \
177 gnunet_uri_SOURCES = \
180 $(top_builddir)/src/util/libgnunetutil.la \
182 gnunet_uri_DEPENDENCIES = \
185 plugin_LTLIBRARIES = \
186 libgnunet_plugin_test.la
188 libgnunet_plugin_test_la_SOURCES = \
190 libgnunet_plugin_test_la_LDFLAGS = \
201 test_common_allocation \
203 test_common_logging \
205 test_container_bloomfilter \
206 test_container_meta_data \
207 test_container_multihashmap \
208 test_container_heap \
209 test_container_slist \
211 test_crypto_aes_weak \
221 test_connection_addressing \
222 test_connection_receive_cancel \
223 test_connection_timeout \
224 test_connection_timeout_no_connect \
225 test_connection_transmit_cancel \
234 test_scheduler_delay \
235 test_server_mst_interrupt \
237 test_server_disconnect \
238 test_server_with_client \
239 $(SERVER_CLIENT_UNIX) \
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_heap_SOURCES = \
311 test_container_heap.c
312 test_container_heap_LDADD = \
313 $(top_builddir)/src/util/libgnunetutil.la
315 test_container_slist_SOURCES = \
316 test_container_slist.c
317 test_container_slist_LDADD = \
318 $(top_builddir)/src/util/libgnunetutil.la
320 test_crypto_aes_SOURCES = \
322 test_crypto_aes_LDADD = \
323 $(top_builddir)/src/util/libgnunetutil.la
325 test_crypto_aes_weak_SOURCES = \
326 test_crypto_aes_weak.c
327 test_crypto_aes_weak_LDADD = \
328 $(top_builddir)/src/util/libgnunetutil.la \
331 test_crypto_crc_SOURCES = \
333 test_crypto_crc_LDADD = \
334 $(top_builddir)/src/util/libgnunetutil.la
336 test_crypto_ecc_SOURCES = \
338 test_crypto_ecc_LDADD = \
339 $(top_builddir)/src/util/libgnunetutil.la
341 test_crypto_hash_SOURCES = \
343 test_crypto_hash_LDADD = \
344 $(top_builddir)/src/util/libgnunetutil.la
346 test_crypto_hkdf_SOURCES = \
348 test_crypto_hkdf_LDADD = \
349 $(top_builddir)/src/util/libgnunetutil.la
351 test_crypto_ksk_SOURCES = \
353 test_crypto_ksk_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_crypto_rsa_SOURCES = \
363 test_crypto_rsa_LDADD = \
364 $(top_builddir)/src/util/libgnunetutil.la
366 test_disk_SOURCES = \
369 $(top_builddir)/src/util/libgnunetutil.la
371 test_getopt_SOURCES = \
373 test_getopt_LDADD = \
374 $(top_builddir)/src/util/libgnunetutil.la
376 test_connection_SOURCES = \
378 test_connection_LDADD = \
379 $(top_builddir)/src/util/libgnunetutil.la
381 test_connection_addressing_SOURCES = \
382 test_connection_addressing.c
383 test_connection_addressing_LDADD = \
384 $(top_builddir)/src/util/libgnunetutil.la
386 test_connection_receive_cancel_SOURCES = \
387 test_connection_receive_cancel.c
388 test_connection_receive_cancel_LDADD = \
389 $(top_builddir)/src/util/libgnunetutil.la
391 test_connection_timeout_SOURCES = \
392 test_connection_timeout.c
393 test_connection_timeout_LDADD = \
394 $(top_builddir)/src/util/libgnunetutil.la
396 test_connection_timeout_no_connect_SOURCES = \
397 test_connection_timeout_no_connect.c
398 test_connection_timeout_no_connect_LDADD = \
399 $(top_builddir)/src/util/libgnunetutil.la
401 test_connection_transmit_cancel_SOURCES = \
402 test_connection_transmit_cancel.c
403 test_connection_transmit_cancel_LDADD = \
404 $(top_builddir)/src/util/libgnunetutil.la
406 test_os_network_SOURCES = \
408 test_os_network_LDADD = \
409 $(top_builddir)/src/util/libgnunetutil.la
411 test_os_priority_SOURCES = \
413 test_os_priority_LDADD = \
414 $(top_builddir)/src/util/libgnunetutil.la
416 test_peer_SOURCES = \
419 $(top_builddir)/src/util/libgnunetutil.la
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_pseudonym_SOURCES = \
433 test_pseudonym_LDADD = \
434 $(top_builddir)/src/util/libgnunetutil.la
436 test_resolver_api_SOURCES = \
438 test_resolver_api_LDADD = \
439 $(top_builddir)/src/util/libgnunetutil.la
441 test_scheduler_SOURCES = \
443 test_scheduler_LDADD = \
444 $(top_builddir)/src/util/libgnunetutil.la
446 test_scheduler_delay_SOURCES = \
447 test_scheduler_delay.c
448 test_scheduler_delay_LDADD = \
449 $(top_builddir)/src/util/libgnunetutil.la
451 test_server_mst_interrupt_SOURCES = \
452 test_server_mst_interrupt.c
453 test_server_mst_interrupt_LDADD = \
454 $(top_builddir)/src/util/libgnunetutil.la
456 test_server_SOURCES = \
458 test_server_LDADD = \
459 $(top_builddir)/src/util/libgnunetutil.la
461 test_server_disconnect_SOURCES = \
462 test_server_disconnect.c
463 test_server_disconnect_LDADD = \
464 $(top_builddir)/src/util/libgnunetutil.la
466 test_server_with_client_SOURCES = \
467 test_server_with_client.c
468 test_server_with_client_LDADD = \
469 $(top_builddir)/src/util/libgnunetutil.la
471 test_server_with_client_unix_SOURCES = \
472 test_server_with_client_unix.c
473 test_server_with_client_unix_LDADD = \
474 $(top_builddir)/src/util/libgnunetutil.la
477 test_service_SOURCES = \
479 test_service_LDADD = \
480 $(top_builddir)/src/util/libgnunetutil.la
482 test_strings_SOURCES = \
484 test_strings_LDADD = \
485 $(top_builddir)/src/util/libgnunetutil.la
487 test_time_SOURCES = \
490 $(top_builddir)/src/util/libgnunetutil.la
492 test_speedup_SOURCES = \
494 test_speedup_LDADD = \
495 $(top_builddir)/src/util/libgnunetutil.la
497 perf_crypto_hash_SOURCES = \
499 perf_crypto_hash_LDADD = \
500 $(top_builddir)/src/util/libgnunetutil.la
504 test_configuration_data.conf \
505 test_program_data.conf \
506 test_pseudonym_data.conf \
507 test_resolver_api_data.conf \
508 test_service_data.conf \
509 test_speedup_data.conf