1 # This Makefile.am is in the public domain
2 AM_CPPFLAGS = -I$(top_srcdir)/src/include
4 pkgcfgdir= $(pkgdatadir)/config.d/
6 libexecdir= $(pkglibdir)/libexec/
8 plugindir = $(libdir)/gnunet
14 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
18 AM_CFLAGS = -fprofile-arcs -ftest-coverage
26 gnunet-set-ibf-profiler
35 gnunet_set_profiler_SOURCES = \
37 gnunet_set_profiler_LDADD = \
38 $(top_builddir)/src/util/libgnunetutil.la \
39 $(top_builddir)/src/statistics/libgnunetstatistics.la \
41 $(top_builddir)/src/testing/libgnunettesting.la \
45 gnunet_set_ibf_profiler_SOURCES = \
46 gnunet-set-ibf-profiler.c \
48 gnunet_set_ibf_profiler_LDADD = \
49 $(top_builddir)/src/util/libgnunetutil.la \
52 gnunet_service_set_SOURCES = \
53 gnunet-service-set.c gnunet-service-set.h \
54 gnunet-service-set_union.c \
55 gnunet-service-set_intersection.c \
57 gnunet-service-set_union_strata_estimator.c gnunet-service-set_union_strata_estimator.h \
58 gnunet-service-set_protocol.h
59 gnunet_service_set_LDADD = \
60 $(top_builddir)/src/util/libgnunetutil.la \
61 $(top_builddir)/src/statistics/libgnunetstatistics.la \
62 $(top_builddir)/src/core/libgnunetcore.la \
63 $(top_builddir)/src/cadet/libgnunetcadetnew.la \
64 $(top_builddir)/src/block/libgnunetblock.la \
68 libgnunetset_la_SOURCES = \
70 libgnunetset_la_LIBADD = \
71 $(top_builddir)/src/util/libgnunetutil.la \
73 libgnunetset_la_LDFLAGS = \
79 test_set_union_result_symmetric \
80 test_set_intersection_result_full \
85 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME;
86 TESTS = $(check_PROGRAMS)
89 test_set_api_SOURCES = \
91 test_set_api_LDADD = \
92 $(top_builddir)/src/util/libgnunetutil.la \
93 $(top_builddir)/src/testing/libgnunettesting.la \
96 test_set_union_result_symmetric_SOURCES = \
97 test_set_union_result_symmetric.c
98 test_set_union_result_symmetric_LDADD = \
99 $(top_builddir)/src/util/libgnunetutil.la \
100 $(top_builddir)/src/testing/libgnunettesting.la \
103 test_set_intersection_result_full_SOURCES = \
104 test_set_intersection_result_full.c
105 test_set_intersection_result_full_LDADD = \
106 $(top_builddir)/src/util/libgnunetutil.la \
107 $(top_builddir)/src/testing/libgnunettesting.la \
110 test_set_union_copy_SOURCES = \
111 test_set_union_copy.c
112 test_set_union_copy_LDADD = \
113 $(top_builddir)/src/util/libgnunetutil.la \
114 $(top_builddir)/src/testing/libgnunettesting.la \
117 plugin_LTLIBRARIES = \
118 libgnunet_plugin_block_set_test.la
120 libgnunet_plugin_block_set_test_la_SOURCES = \
121 plugin_block_set_test.c
122 libgnunet_plugin_block_set_test_la_LIBADD = \
123 $(top_builddir)/src/block/libgnunetblock.la \
124 $(top_builddir)/src/block/libgnunetblockgroup.la \
125 $(top_builddir)/src/util/libgnunetutil.la \
127 libgnunet_plugin_block_set_test_la_LDFLAGS = \