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 \
33 $(top_builddir)/src/testing/libgnunettesting.la \
37 gnunet_set_ibf_profiler_SOURCES = \
38 gnunet-set-ibf-profiler.c \
40 gnunet_set_ibf_profiler_LDADD = \
41 $(top_builddir)/src/util/libgnunetutil.la \
44 gnunet_service_set_SOURCES = \
45 gnunet-service-set.c gnunet-service-set.h \
46 gnunet-service-set_union.c \
47 gnunet-service-set_intersection.c \
49 gnunet-service-set_union_strata_estimator.c gnunet-service-set_union_strata_estimator.h \
50 gnunet-service-set_protocol.h
51 gnunet_service_set_LDADD = \
52 $(top_builddir)/src/util/libgnunetutil.la \
53 $(top_builddir)/src/core/libgnunetcore.la \
54 $(top_builddir)/src/cadet/libgnunetcadet.la \
55 $(top_builddir)/src/block/libgnunetblock.la \
58 libgnunetset_la_SOURCES = \
60 libgnunetset_la_LIBADD = \
61 $(top_builddir)/src/util/libgnunetutil.la \
63 libgnunetset_la_LDFLAGS = \
69 test_set_union_result_full \
70 test_set_intersection_result_full
74 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
75 TESTS = $(check_PROGRAMS)
78 test_set_api_SOURCES = \
80 test_set_api_LDADD = \
81 $(top_builddir)/src/util/libgnunetutil.la \
82 $(top_builddir)/src/testing/libgnunettesting.la \
85 test_set_union_result_full_SOURCES = \
86 test_set_union_result_full.c
87 test_set_union_result_full_LDADD = \
88 $(top_builddir)/src/util/libgnunetutil.la \
89 $(top_builddir)/src/testing/libgnunettesting.la \
92 test_set_intersection_result_full_SOURCES = \
93 test_set_intersection_result_full.c
94 test_set_intersection_result_full_LDADD = \
95 $(top_builddir)/src/util/libgnunetutil.la \
96 $(top_builddir)/src/testing/libgnunettesting.la \