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-consensus-profiler
23 gnunet-service-consensus
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 \
47 $(top_builddir)/src/statistics/libgnunetstatistics.la \
50 gnunet_service_evil_consensus_SOURCES = \
51 gnunet-service-consensus.c \
53 gnunet_service_evil_consensus_LDADD = \
54 $(top_builddir)/src/util/libgnunetutil.la \
55 $(top_builddir)/src/core/libgnunetcore.la \
56 $(top_builddir)/src/set/libgnunetset.la \
57 $(top_builddir)/src/statistics/libgnunetstatistics.la \
59 gnunet_service_evil_consensus_CFLAGS = -DEVIL
61 libgnunetconsensus_la_SOURCES = \
64 libgnunetconsensus_la_LIBADD = \
65 $(top_builddir)/src/util/libgnunetutil.la \
67 libgnunetconsensus_la_LDFLAGS = \
74 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME;
75 TESTS = $(check_PROGRAMS)
78 test_consensus_api_SOURCES = \
80 test_consensus_api_LDADD = \
81 $(top_builddir)/src/util/libgnunetutil.la \
82 $(top_builddir)/src/testing/libgnunettesting.la \