1 AM_CPPFLAGS = -I$(top_srcdir)/src/include
3 pkgcfgdir= $(pkgdatadir)/config.d/
5 libexecdir= $(pkglibdir)/libexec/
11 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
15 AM_CFLAGS = -fprofile-arcs -ftest-coverage
19 gnunet-consensus-profiler
22 gnunet-service-consensus
24 # FIXME: add option "configure --with-evil"?
27 gnunet-service-evil-consensus
33 gnunet_consensus_profiler_SOURCES = \
34 gnunet-consensus-profiler.c
35 gnunet_consensus_profiler_LDADD = \
36 $(top_builddir)/src/util/libgnunetutil.la \
37 $(top_builddir)/src/consensus/libgnunetconsensus.la \
38 $(top_builddir)/src/testbed/libgnunettestbed.la \
40 gnunet_consensus_profiler_DEPENDENCIES = \
43 gnunet_service_consensus_SOURCES = \
44 gnunet-service-consensus.c
45 gnunet_service_consensus_LDADD = \
46 $(top_builddir)/src/util/libgnunetutil.la \
47 $(top_builddir)/src/core/libgnunetcore.la \
48 $(top_builddir)/src/set/libgnunetset.la \
50 gnunet_service_consensus_DEPENDENCIES = \
51 $(top_builddir)/src/set/libgnunetset.la
53 gnunet_service_evil_consensus_SOURCES = \
54 gnunet-service-consensus.c \
56 gnunet_service_evil_consensus_LDADD = \
57 $(top_builddir)/src/util/libgnunetutil.la \
58 $(top_builddir)/src/core/libgnunetcore.la \
59 $(top_builddir)/src/set/libgnunetset.la \
61 gnunet_service_evil_consensus_DEPENDENCIES = \
62 $(top_builddir)/src/set/libgnunetset.la
63 gnunet_service_evil_consensus_CFLAGS = -DEVIL
65 libgnunetconsensus_la_SOURCES = \
68 libgnunetconsensus_la_LIBADD = \
69 $(top_builddir)/src/util/libgnunetutil.la \
71 libgnunetconsensus_la_LDFLAGS = \
78 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
79 TESTS = $(check_PROGRAMS)
82 test_consensus_api_SOURCES = \
84 test_consensus_api_LDADD = \
85 $(top_builddir)/src/util/libgnunetutil.la \
86 $(top_builddir)/src/testing/libgnunettesting.la \
87 $(top_builddir)/src/consensus/libgnunetconsensus.la