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/
8 plugindir = $(libdir)/gnunet
14 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
18 AM_CFLAGS = -fprofile-arcs -ftest-coverage
22 gnunet-consensus-profiler
25 gnunet-service-consensus
29 gnunet-service-evil-consensus
35 gnunet_consensus_profiler_SOURCES = \
36 gnunet-consensus-profiler.c
37 gnunet_consensus_profiler_LDADD = \
38 $(top_builddir)/src/util/libgnunetutil.la \
39 libgnunetconsensus.la \
40 $(top_builddir)/src/testbed/libgnunettestbed.la \
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 \
49 $(top_builddir)/src/statistics/libgnunetstatistics.la \
52 gnunet_service_evil_consensus_SOURCES = \
53 gnunet-service-consensus.c \
55 gnunet_service_evil_consensus_LDADD = \
56 $(top_builddir)/src/util/libgnunetutil.la \
57 $(top_builddir)/src/core/libgnunetcore.la \
58 $(top_builddir)/src/set/libgnunetset.la \
59 $(top_builddir)/src/statistics/libgnunetstatistics.la \
61 gnunet_service_evil_consensus_CFLAGS = -DEVIL
63 libgnunetconsensus_la_SOURCES = \
66 libgnunetconsensus_la_LIBADD = \
67 $(top_builddir)/src/util/libgnunetutil.la \
69 libgnunetconsensus_la_LDFLAGS = \
73 plugin_LTLIBRARIES = \
74 libgnunet_plugin_block_consensus.la
76 libgnunet_plugin_block_consensus_la_SOURCES = \
77 plugin_block_consensus.c
78 libgnunet_plugin_block_consensus_la_LIBADD = \
79 $(top_builddir)/src/block/libgnunetblock.la \
80 $(top_builddir)/src/block/libgnunetblockgroup.la \
81 $(top_builddir)/src/util/libgnunetutil.la \
83 libgnunet_plugin_block_consensus_la_LDFLAGS = \
93 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME;
94 TESTS = $(check_PROGRAMS)
98 test_consensus_api_SOURCES = \
100 test_consensus_api_LDADD = \
101 $(top_builddir)/src/util/libgnunetutil.la \
102 $(top_builddir)/src/testing/libgnunettesting.la \
103 libgnunetconsensus.la