1 INCLUDES = -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
20 gnunet-consensus-start-peers
23 gnunet-service-consensus
25 # FIXME: add option "configure --with-evil"?
28 gnunet-service-evil-consensus
34 gnunet_consensus_SOURCES = \
36 gnunet_consensus_LDADD = \
37 $(top_builddir)/src/util/libgnunetutil.la \
38 $(top_builddir)/src/consensus/libgnunetconsensus.la \
39 $(top_builddir)/src/testbed/libgnunettestbed.la \
41 gnunet_consensus_DEPENDENCIES = \
44 gnunet_consensus_start_peers_SOURCES = \
45 gnunet-consensus-start-peers.c
46 gnunet_consensus_start_peers_LDADD = \
47 $(top_builddir)/src/util/libgnunetutil.la \
48 $(top_builddir)/src/testbed/libgnunettestbed.la \
49 $(top_builddir)/src/consensus/libgnunetconsensus.la \
51 gnunet_consensus_start_peers_DEPENDENCIES = \
55 gnunet_service_consensus_SOURCES = \
56 gnunet-service-consensus.c
57 gnunet_service_consensus_LDADD = \
58 $(top_builddir)/src/util/libgnunetutil.la \
59 $(top_builddir)/src/core/libgnunetcore.la \
60 $(top_builddir)/src/stream/libgnunetstream.la \
61 $(top_builddir)/src/mesh/libgnunetmesh.la \
62 $(top_builddir)/src/set/libgnunetset.la \
65 gnunet_service_evil_consensus_SOURCES = \
66 gnunet-service-consensus.c
67 gnunet_service_evil_consensus_LDADD = \
68 $(top_builddir)/src/util/libgnunetutil.la \
69 $(top_builddir)/src/core/libgnunetcore.la \
70 $(top_builddir)/src/stream/libgnunetstream.la \
71 $(top_builddir)/src/mesh/libgnunetmesh.la \
72 $(top_builddir)/src/set/libgnunetset.la \
74 gnunet_service_evil_consensus_CFLAGS = -DEVIL
76 libgnunetconsensus_la_SOURCES = \
78 libgnunetconsensus_la_LIBADD = \
79 $(top_builddir)/src/util/libgnunetutil.la \
81 libgnunetconsensus_la_LDFLAGS = \
88 TESTS = $(check_PROGRAMS)
91 test_consensus_api_SOURCES = \
93 test_consensus_api_LDADD = \
94 $(top_builddir)/src/util/libgnunetutil.la \
95 $(top_builddir)/src/testing/libgnunettesting.la \
96 $(top_builddir)/src/consensus/libgnunetconsensus.la