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 libgnunetconsensus.la \
38 $(top_builddir)/src/testbed/libgnunettestbed.la \
41 gnunet_service_consensus_SOURCES = \
42 gnunet-service-consensus.c
43 gnunet_service_consensus_LDADD = \
44 $(top_builddir)/src/util/libgnunetutil.la \
45 $(top_builddir)/src/core/libgnunetcore.la \
46 $(top_builddir)/src/set/libgnunetset.la \
49 gnunet_service_evil_consensus_SOURCES = \
50 gnunet-service-consensus.c \
52 gnunet_service_evil_consensus_LDADD = \
53 $(top_builddir)/src/util/libgnunetutil.la \
54 $(top_builddir)/src/core/libgnunetcore.la \
55 $(top_builddir)/src/set/libgnunetset.la \
57 gnunet_service_evil_consensus_CFLAGS = -DEVIL
59 libgnunetconsensus_la_SOURCES = \
62 libgnunetconsensus_la_LIBADD = \
63 $(top_builddir)/src/util/libgnunetutil.la \
65 libgnunetconsensus_la_LDFLAGS = \
72 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
73 TESTS = $(check_PROGRAMS)
76 test_consensus_api_SOURCES = \
78 test_consensus_api_LDADD = \
79 $(top_builddir)/src/util/libgnunetutil.la \
80 $(top_builddir)/src/testing/libgnunettesting.la \