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
23 gnunet-set-ibf-profiler
31 gnunet_set_profiler_SOURCES = \
33 gnunet_set_profiler_LDADD = \
34 $(top_builddir)/src/util/libgnunetutil.la \
35 $(top_builddir)/src/statistics/libgnunetstatistics.la \
37 $(top_builddir)/src/testing/libgnunettesting.la \
41 gnunet_set_ibf_profiler_SOURCES = \
42 gnunet-set-ibf-profiler.c \
44 gnunet_set_ibf_profiler_LDADD = \
45 $(top_builddir)/src/util/libgnunetutil.la \
48 gnunet_service_set_SOURCES = \
49 gnunet-service-set.c gnunet-service-set.h \
50 gnunet-service-set_union.c \
51 gnunet-service-set_intersection.c \
53 gnunet-service-set_union_strata_estimator.c gnunet-service-set_union_strata_estimator.h \
54 gnunet-service-set_protocol.h
55 gnunet_service_set_LDADD = \
56 $(top_builddir)/src/util/libgnunetutil.la \
57 $(top_builddir)/src/statistics/libgnunetstatistics.la \
58 $(top_builddir)/src/core/libgnunetcore.la \
59 $(top_builddir)/src/cadet/libgnunetcadet.la \
60 $(top_builddir)/src/block/libgnunetblock.la \
64 libgnunetset_la_SOURCES = \
66 libgnunetset_la_LIBADD = \
67 $(top_builddir)/src/util/libgnunetutil.la \
69 libgnunetset_la_LDFLAGS = \
75 test_set_union_result_symmetric \
76 test_set_intersection_result_full \
81 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
82 TESTS = $(check_PROGRAMS)
85 test_set_api_SOURCES = \
87 test_set_api_LDADD = \
88 $(top_builddir)/src/util/libgnunetutil.la \
89 $(top_builddir)/src/testing/libgnunettesting.la \
92 test_set_union_result_symmetric_SOURCES = \
93 test_set_union_result_symmetric.c
94 test_set_union_result_symmetric_LDADD = \
95 $(top_builddir)/src/util/libgnunetutil.la \
96 $(top_builddir)/src/testing/libgnunettesting.la \
99 test_set_intersection_result_full_SOURCES = \
100 test_set_intersection_result_full.c
101 test_set_intersection_result_full_LDADD = \
102 $(top_builddir)/src/util/libgnunetutil.la \
103 $(top_builddir)/src/testing/libgnunettesting.la \
106 test_set_union_copy_SOURCES = \
107 test_set_union_copy.c
108 test_set_union_copy_LDADD = \
109 $(top_builddir)/src/util/libgnunetutil.la \
110 $(top_builddir)/src/testing/libgnunettesting.la \