diff options
Diffstat (limited to 'src/consensus/Makefile.am')
-rw-r--r-- | src/consensus/Makefile.am | 118 |
1 files changed, 0 insertions, 118 deletions
diff --git a/src/consensus/Makefile.am b/src/consensus/Makefile.am deleted file mode 100644 index 4a04883c0..000000000 --- a/src/consensus/Makefile.am +++ /dev/null | |||
@@ -1,118 +0,0 @@ | |||
1 | # This Makefile.am is in the public domain | ||
2 | AM_CPPFLAGS = -I$(top_srcdir)/src/include | ||
3 | |||
4 | pkgcfgdir= $(pkgdatadir)/config.d/ | ||
5 | |||
6 | libexecdir= $(pkglibdir)/libexec/ | ||
7 | |||
8 | plugindir = $(libdir)/gnunet | ||
9 | |||
10 | pkgcfg_DATA = \ | ||
11 | consensus.conf | ||
12 | |||
13 | if USE_COVERAGE | ||
14 | AM_CFLAGS = -fprofile-arcs -ftest-coverage | ||
15 | endif | ||
16 | |||
17 | |||
18 | libexec_PROGRAMS = \ | ||
19 | gnunet-service-consensus | ||
20 | |||
21 | noinst_PROGRAMS = \ | ||
22 | gnunet-consensus-profiler | ||
23 | |||
24 | if ENABLE_MALICIOUS | ||
25 | libexec_PROGRAMS += \ | ||
26 | gnunet-service-evil-consensus | ||
27 | endif | ||
28 | |||
29 | SUFFIXES = .py.in .py | ||
30 | |||
31 | .py.in.py: | ||
32 | $(AWK) -v bdir="$(bindir)" -v py="$(PYTHON)" -v awkay="$(AWK_BINARY)" -v pfx="$(prefix)" -v prl="$(PERL)" -v sysconfdirectory="$(sysconfdir)" -v pkgdatadirectory="$(pkgdatadir)" -f $(top_srcdir)/bin/dosubst.awk < $< > $@ | ||
33 | chmod +x $@ | ||
34 | |||
35 | check-python-style: | ||
36 | flake8 consensus-simulation.py.in | ||
37 | |||
38 | lib_LTLIBRARIES = \ | ||
39 | libgnunetconsensus.la | ||
40 | |||
41 | gnunet_consensus_profiler_SOURCES = \ | ||
42 | gnunet-consensus-profiler.c | ||
43 | gnunet_consensus_profiler_LDADD = \ | ||
44 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
45 | libgnunetconsensus.la \ | ||
46 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
47 | $(top_builddir)/src/testbed/libgnunettestbed.la \ | ||
48 | $(GN_LIBINTL) | ||
49 | |||
50 | gnunet_service_consensus_SOURCES = \ | ||
51 | gnunet-service-consensus.c | ||
52 | gnunet_service_consensus_LDADD = \ | ||
53 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
54 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
55 | $(top_builddir)/src/set/libgnunetset.la \ | ||
56 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | ||
57 | $(GN_LIBINTL) | ||
58 | |||
59 | gnunet_service_evil_consensus_SOURCES = \ | ||
60 | gnunet-service-consensus.c \ | ||
61 | consensus_protocol.h | ||
62 | gnunet_service_evil_consensus_LDADD = \ | ||
63 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
64 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
65 | $(top_builddir)/src/set/libgnunetset.la \ | ||
66 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | ||
67 | $(GN_LIBINTL) | ||
68 | gnunet_service_evil_consensus_CFLAGS = -DEVIL | ||
69 | |||
70 | libgnunetconsensus_la_SOURCES = \ | ||
71 | consensus_api.c \ | ||
72 | consensus.h | ||
73 | libgnunetconsensus_la_LIBADD = \ | ||
74 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
75 | $(LTLIBINTL) | ||
76 | libgnunetconsensus_la_LDFLAGS = \ | ||
77 | $(GN_LIB_LDFLAGS) | ||
78 | |||
79 | |||
80 | plugin_LTLIBRARIES = \ | ||
81 | libgnunet_plugin_block_consensus.la | ||
82 | |||
83 | libgnunet_plugin_block_consensus_la_SOURCES = \ | ||
84 | plugin_block_consensus.c | ||
85 | libgnunet_plugin_block_consensus_la_LIBADD = \ | ||
86 | $(top_builddir)/src/block/libgnunetblock.la \ | ||
87 | $(top_builddir)/src/block/libgnunetblockgroup.la \ | ||
88 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
89 | $(LTLIBINTL) | ||
90 | libgnunet_plugin_block_consensus_la_LDFLAGS = \ | ||
91 | $(GN_PLUGIN_LDFLAGS) | ||
92 | |||
93 | |||
94 | |||
95 | check_PROGRAMS = \ | ||
96 | test_consensus_api | ||
97 | |||
98 | if ENABLE_TEST_RUN | ||
99 | AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME; | ||
100 | TESTS = $(check_PROGRAMS) | ||
101 | endif | ||
102 | |||
103 | test_consensus_api_SOURCES = \ | ||
104 | test_consensus_api.c | ||
105 | test_consensus_api_LDADD = \ | ||
106 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
107 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
108 | libgnunetconsensus.la | ||
109 | |||
110 | noinst_SCRIPTS = \ | ||
111 | consensus-simulation.py | ||
112 | |||
113 | CLEANFILES = \ | ||
114 | $(noinst_SCRIPTS) | ||
115 | |||
116 | EXTRA_DIST = \ | ||
117 | test_consensus.conf \ | ||
118 | consensus-simulation.py.in | ||