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
20 gnunet-set-profiler gnunet-set-ibf-profiler
28 gnunet_set_profiler_SOURCES = \
30 gnunet_set_profiler_LDADD = \
31 $(top_builddir)/src/util/libgnunetutil.la \
32 $(top_builddir)/src/statistics/libgnunetstatistics.la \
34 $(top_builddir)/src/testing/libgnunettesting.la \
38 gnunet_set_ibf_profiler_SOURCES = \
39 gnunet-set-ibf-profiler.c \
41 gnunet_set_ibf_profiler_LDADD = \
42 $(top_builddir)/src/util/libgnunetutil.la \
45 gnunet_service_set_SOURCES = \
46 gnunet-service-set.c gnunet-service-set.h \
47 gnunet-service-set_union.c \
48 gnunet-service-set_intersection.c \
50 gnunet-service-set_union_strata_estimator.c gnunet-service-set_union_strata_estimator.h \
51 gnunet-service-set_protocol.h
52 gnunet_service_set_LDADD = \
53 $(top_builddir)/src/util/libgnunetutil.la \
54 $(top_builddir)/src/statistics/libgnunetstatistics.la \
55 $(top_builddir)/src/core/libgnunetcore.la \
56 $(top_builddir)/src/cadet/libgnunetcadet.la \
57 $(top_builddir)/src/block/libgnunetblock.la \
61 libgnunetset_la_SOURCES = \
63 libgnunetset_la_LIBADD = \
64 $(top_builddir)/src/util/libgnunetutil.la \
66 libgnunetset_la_LDFLAGS = \
72 test_set_union_result_symmetric \
73 test_set_intersection_result_full \
78 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
79 TESTS = $(check_PROGRAMS)
82 test_set_api_SOURCES = \
84 test_set_api_LDADD = \
85 $(top_builddir)/src/util/libgnunetutil.la \
86 $(top_builddir)/src/testing/libgnunettesting.la \
89 test_set_union_result_symmetric_SOURCES = \
90 test_set_union_result_symmetric.c
91 test_set_union_result_symmetric_LDADD = \
92 $(top_builddir)/src/util/libgnunetutil.la \
93 $(top_builddir)/src/testing/libgnunettesting.la \
96 test_set_intersection_result_full_SOURCES = \
97 test_set_intersection_result_full.c
98 test_set_intersection_result_full_LDADD = \
99 $(top_builddir)/src/util/libgnunetutil.la \
100 $(top_builddir)/src/testing/libgnunettesting.la \
103 test_set_union_copy_SOURCES = \
104 test_set_union_copy.c
105 test_set_union_copy_LDADD = \
106 $(top_builddir)/src/util/libgnunetutil.la \
107 $(top_builddir)/src/testing/libgnunettesting.la \