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/
12 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
16 AM_CFLAGS = -fprofile-arcs -ftest-coverage
24 gnunet-set-ibf-profiler
33 gnunet_set_profiler_SOURCES = \
35 gnunet_set_profiler_LDADD = \
36 $(top_builddir)/src/util/libgnunetutil.la \
37 $(top_builddir)/src/statistics/libgnunetstatistics.la \
39 $(top_builddir)/src/testing/libgnunettesting.la \
43 gnunet_set_ibf_profiler_SOURCES = \
44 gnunet-set-ibf-profiler.c \
46 gnunet_set_ibf_profiler_LDADD = \
47 $(top_builddir)/src/util/libgnunetutil.la \
50 gnunet_service_set_SOURCES = \
51 gnunet-service-set.c gnunet-service-set.h \
52 gnunet-service-set_union.c \
53 gnunet-service-set_intersection.c \
55 gnunet-service-set_union_strata_estimator.c gnunet-service-set_union_strata_estimator.h \
56 gnunet-service-set_protocol.h
57 gnunet_service_set_LDADD = \
58 $(top_builddir)/src/util/libgnunetutil.la \
59 $(top_builddir)/src/statistics/libgnunetstatistics.la \
60 $(top_builddir)/src/core/libgnunetcore.la \
61 $(top_builddir)/src/cadet/libgnunetcadet.la \
62 $(top_builddir)/src/block/libgnunetblock.la \
66 libgnunetset_la_SOURCES = \
68 libgnunetset_la_LIBADD = \
69 $(top_builddir)/src/util/libgnunetutil.la \
71 libgnunetset_la_LDFLAGS = \
77 test_set_union_result_symmetric \
78 test_set_intersection_result_full \
83 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
84 TESTS = $(check_PROGRAMS)
87 test_set_api_SOURCES = \
89 test_set_api_LDADD = \
90 $(top_builddir)/src/util/libgnunetutil.la \
91 $(top_builddir)/src/testing/libgnunettesting.la \
94 test_set_union_result_symmetric_SOURCES = \
95 test_set_union_result_symmetric.c
96 test_set_union_result_symmetric_LDADD = \
97 $(top_builddir)/src/util/libgnunetutil.la \
98 $(top_builddir)/src/testing/libgnunettesting.la \
101 test_set_intersection_result_full_SOURCES = \
102 test_set_intersection_result_full.c
103 test_set_intersection_result_full_LDADD = \
104 $(top_builddir)/src/util/libgnunetutil.la \
105 $(top_builddir)/src/testing/libgnunettesting.la \
108 test_set_union_copy_SOURCES = \
109 test_set_union_copy.c
110 test_set_union_copy_LDADD = \
111 $(top_builddir)/src/util/libgnunetutil.la \
112 $(top_builddir)/src/testing/libgnunettesting.la \