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
28 SERVER_CLIENT_UNIX = test_server_with_client_unix
32 AM_CFLAGS = --coverage -O0
38 test_common_logging_dummy
41 gnunet_config_diff_SOURCES = \
43 gnunet_config_diff_LDADD = \
44 $(top_builddir)/src/util/libgnunetutil.la
45 gnunet_config_diff_DEPENDENCIES = \
48 test_common_logging_dummy_SOURCES = \
49 test_common_logging_dummy.c
50 test_common_logging_dummy_LDADD = \
51 $(top_builddir)/src/util/libgnunetutil.la
52 test_common_logging_dummy_DEPENDENCIES = \
55 lib_LTLIBRARIES = libgnunetutil.la
57 libgnunetutil_la_SOURCES = \
66 container_bloomfilter.c \
68 container_meta_data.c \
69 container_multihashmap.c \
93 resolver_api.c resolver.h \
106 libgnunetutil_la_LIBADD = \
107 $(GCLIBADD) $(WINLIB) \
110 -lltdl -lz -lunistring $(XLIB)
112 libgnunetutil_la_LDFLAGS = \
118 gnunet-service-resolver \
123 gnunet_service_resolver_SOURCES = \
124 gnunet-service-resolver.c
125 gnunet_service_resolver_LDADD = \
126 $(top_builddir)/src/util/libgnunetutil.la \
128 gnunet_service_resolver_DEPENDENCIES = \
132 gnunet_resolver_SOURCES = \
134 gnunet_resolver_LDADD = \
135 $(top_builddir)/src/util/libgnunetutil.la \
137 gnunet_resolver_DEPENDENCIES = \
141 gnunet_rsa_SOURCES = \
144 $(top_builddir)/src/util/libgnunetutil.la \
146 gnunet_rsa_DEPENDENCIES = \
149 plugin_LTLIBRARIES = \
150 libgnunet_plugin_test.la
152 libgnunet_plugin_test_la_SOURCES = \
154 libgnunet_plugin_test_la_LDFLAGS = \
165 test_common_allocation \
167 test_common_logging \
169 test_container_bloomfilter \
170 test_container_meta_data \
171 test_container_multihashmap \
172 test_container_heap \
173 test_container_slist \
175 test_crypto_aes_weak \
185 test_connection_addressing \
186 test_connection_receive_cancel \
187 test_connection_timeout \
188 test_connection_timeout_no_connect \
189 test_connection_transmit_cancel \
198 test_scheduler_delay \
199 test_server_mst_interrupt \
201 test_server_disconnect \
202 test_server_with_client \
203 $(SERVER_CLIENT_UNIX) \
209 test_os_start_process \
210 test_common_logging_runtime_loglevels
213 TESTS = $(check_PROGRAMS)
219 $(top_builddir)/src/util/libgnunetutil.la
222 test_os_start_process_SOURCES = \
223 test_os_start_process.c
224 test_os_start_process_LDADD = \
225 $(top_builddir)/src/util/libgnunetutil.la
227 test_client_SOURCES = \
229 test_client_LDADD = \
230 $(top_builddir)/src/util/libgnunetutil.la
232 test_common_allocation_SOURCES = \
233 test_common_allocation.c
234 test_common_allocation_LDADD = \
235 $(top_builddir)/src/util/libgnunetutil.la
237 test_common_endian_SOURCES = \
239 test_common_endian_LDADD = \
240 $(top_builddir)/src/util/libgnunetutil.la
242 test_common_logging_SOURCES = \
243 test_common_logging.c
244 test_common_logging_LDADD = \
245 $(top_builddir)/src/util/libgnunetutil.la
247 test_common_logging_runtime_loglevels_SOURCES = \
248 test_common_logging_runtime_loglevels.c
249 test_common_logging_runtime_loglevels_LDADD = \
250 $(top_builddir)/src/util/libgnunetutil.la
252 test_configuration_SOURCES = \
254 test_configuration_LDADD = \
255 $(top_builddir)/src/util/libgnunetutil.la
257 test_container_bloomfilter_SOURCES = \
258 test_container_bloomfilter.c
259 test_container_bloomfilter_LDADD = \
260 $(top_builddir)/src/util/libgnunetutil.la
262 test_container_meta_data_SOURCES = \
263 test_container_meta_data.c
264 test_container_meta_data_LDADD = \
265 $(top_builddir)/src/util/libgnunetutil.la -lextractor
267 test_container_multihashmap_SOURCES = \
268 test_container_multihashmap.c
269 test_container_multihashmap_LDADD = \
270 $(top_builddir)/src/util/libgnunetutil.la
272 test_container_heap_SOURCES = \
273 test_container_heap.c
274 test_container_heap_LDADD = \
275 $(top_builddir)/src/util/libgnunetutil.la
277 test_container_slist_SOURCES = \
278 test_container_slist.c
279 test_container_slist_LDADD = \
280 $(top_builddir)/src/util/libgnunetutil.la
282 test_crypto_aes_SOURCES = \
284 test_crypto_aes_LDADD = \
285 $(top_builddir)/src/util/libgnunetutil.la
287 test_crypto_aes_weak_SOURCES = \
288 test_crypto_aes_weak.c
289 test_crypto_aes_weak_LDADD = \
290 $(top_builddir)/src/util/libgnunetutil.la \
293 test_crypto_crc_SOURCES = \
295 test_crypto_crc_LDADD = \
296 $(top_builddir)/src/util/libgnunetutil.la
298 test_crypto_hash_SOURCES = \
300 test_crypto_hash_LDADD = \
301 $(top_builddir)/src/util/libgnunetutil.la
303 test_crypto_hkdf_SOURCES = \
305 test_crypto_hkdf_LDADD = \
306 $(top_builddir)/src/util/libgnunetutil.la
308 test_crypto_ksk_SOURCES = \
310 test_crypto_ksk_LDADD = \
311 $(top_builddir)/src/util/libgnunetutil.la
313 test_crypto_random_SOURCES = \
315 test_crypto_random_LDADD = \
316 $(top_builddir)/src/util/libgnunetutil.la
318 test_crypto_rsa_SOURCES = \
320 test_crypto_rsa_LDADD = \
321 $(top_builddir)/src/util/libgnunetutil.la
323 test_disk_SOURCES = \
326 $(top_builddir)/src/util/libgnunetutil.la
328 test_getopt_SOURCES = \
330 test_getopt_LDADD = \
331 $(top_builddir)/src/util/libgnunetutil.la
333 test_connection_SOURCES = \
335 test_connection_LDADD = \
336 $(top_builddir)/src/util/libgnunetutil.la
338 test_connection_addressing_SOURCES = \
339 test_connection_addressing.c
340 test_connection_addressing_LDADD = \
341 $(top_builddir)/src/util/libgnunetutil.la
343 test_connection_receive_cancel_SOURCES = \
344 test_connection_receive_cancel.c
345 test_connection_receive_cancel_LDADD = \
346 $(top_builddir)/src/util/libgnunetutil.la
348 test_connection_timeout_SOURCES = \
349 test_connection_timeout.c
350 test_connection_timeout_LDADD = \
351 $(top_builddir)/src/util/libgnunetutil.la
353 test_connection_timeout_no_connect_SOURCES = \
354 test_connection_timeout_no_connect.c
355 test_connection_timeout_no_connect_LDADD = \
356 $(top_builddir)/src/util/libgnunetutil.la
358 test_connection_transmit_cancel_SOURCES = \
359 test_connection_transmit_cancel.c
360 test_connection_transmit_cancel_LDADD = \
361 $(top_builddir)/src/util/libgnunetutil.la
363 test_os_network_SOURCES = \
365 test_os_network_LDADD = \
366 $(top_builddir)/src/util/libgnunetutil.la
368 test_os_priority_SOURCES = \
370 test_os_priority_LDADD = \
371 $(top_builddir)/src/util/libgnunetutil.la
373 test_peer_SOURCES = \
376 $(top_builddir)/src/util/libgnunetutil.la
378 test_plugin_SOURCES = \
380 test_plugin_LDADD = \
381 $(top_builddir)/src/util/libgnunetutil.la
383 test_program_SOURCES = \
385 test_program_LDADD = \
386 $(top_builddir)/src/util/libgnunetutil.la
388 test_pseudonym_SOURCES = \
390 test_pseudonym_LDADD = \
391 $(top_builddir)/src/util/libgnunetutil.la
393 test_resolver_api_SOURCES = \
395 test_resolver_api_LDADD = \
396 $(top_builddir)/src/util/libgnunetutil.la
398 test_scheduler_SOURCES = \
400 test_scheduler_LDADD = \
401 $(top_builddir)/src/util/libgnunetutil.la
403 test_scheduler_delay_SOURCES = \
404 test_scheduler_delay.c
405 test_scheduler_delay_LDADD = \
406 $(top_builddir)/src/util/libgnunetutil.la
408 test_server_mst_interrupt_SOURCES = \
409 test_server_mst_interrupt.c
410 test_server_mst_interrupt_LDADD = \
411 $(top_builddir)/src/util/libgnunetutil.la
413 test_server_SOURCES = \
415 test_server_LDADD = \
416 $(top_builddir)/src/util/libgnunetutil.la
418 test_server_disconnect_SOURCES = \
419 test_server_disconnect.c
420 test_server_disconnect_LDADD = \
421 $(top_builddir)/src/util/libgnunetutil.la
423 test_server_with_client_SOURCES = \
424 test_server_with_client.c
425 test_server_with_client_LDADD = \
426 $(top_builddir)/src/util/libgnunetutil.la
428 test_server_with_client_unix_SOURCES = \
429 test_server_with_client_unix.c
430 test_server_with_client_unix_LDADD = \
431 $(top_builddir)/src/util/libgnunetutil.la
434 test_service_SOURCES = \
436 test_service_LDADD = \
437 $(top_builddir)/src/util/libgnunetutil.la
439 test_strings_SOURCES = \
441 test_strings_LDADD = \
442 $(top_builddir)/src/util/libgnunetutil.la
444 test_time_SOURCES = \
447 $(top_builddir)/src/util/libgnunetutil.la
449 test_speedup_SOURCES = \
451 test_speedup_LDADD = \
452 $(top_builddir)/src/util/libgnunetutil.la
454 perf_crypto_hash_SOURCES = \
456 perf_crypto_hash_LDADD = \
457 $(top_builddir)/src/util/libgnunetutil.la
461 test_configuration_data.conf \
462 test_program_data.conf \
463 test_pseudonym_data.conf \
464 test_resolver_api_data.conf \
465 test_service_data.conf \
466 test_speedup_data.conf