diff options
Diffstat (limited to 'src/consensus/Makefile.am')
-rw-r--r-- | src/consensus/Makefile.am | 120 |
1 files changed, 0 insertions, 120 deletions
diff --git a/src/consensus/Makefile.am b/src/consensus/Makefile.am deleted file mode 100644 index cf1d32e74..000000000 --- a/src/consensus/Makefile.am +++ /dev/null | |||
@@ -1,120 +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 | if ENABLE_MALICIOUS | ||
22 | libexec_PROGRAMS += \ | ||
23 | gnunet-service-evil-consensus | ||
24 | endif | ||
25 | |||
26 | SUFFIXES = .py.in .py | ||
27 | |||
28 | .py.in.py: | ||
29 | $(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 < $< > $@ | ||
30 | chmod +x $@ | ||
31 | |||
32 | check-python-style: | ||
33 | flake8 consensus-simulation.py.in | ||
34 | |||
35 | lib_LTLIBRARIES = \ | ||
36 | libgnunetconsensus.la | ||
37 | |||
38 | gnunet_consensus_profiler_SOURCES = \ | ||
39 | gnunet-consensus-profiler.c | ||
40 | gnunet_consensus_profiler_LDADD = \ | ||
41 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
42 | libgnunetconsensus.la \ | ||
43 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
44 | $(top_builddir)/src/testbed/libgnunettestbed.la \ | ||
45 | $(GN_LIBINTL) | ||
46 | |||
47 | gnunet_service_consensus_SOURCES = \ | ||
48 | gnunet-service-consensus.c | ||
49 | gnunet_service_consensus_LDADD = \ | ||
50 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
51 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
52 | $(top_builddir)/src/set/libgnunetset.la \ | ||
53 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | ||
54 | $(GN_LIBINTL) | ||
55 | |||
56 | gnunet_service_evil_consensus_SOURCES = \ | ||
57 | gnunet-service-consensus.c \ | ||
58 | consensus_protocol.h | ||
59 | gnunet_service_evil_consensus_LDADD = \ | ||
60 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
61 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
62 | $(top_builddir)/src/set/libgnunetset.la \ | ||
63 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | ||
64 | $(GN_LIBINTL) | ||
65 | gnunet_service_evil_consensus_CFLAGS = -DEVIL | ||
66 | |||
67 | libgnunetconsensus_la_SOURCES = \ | ||
68 | consensus_api.c \ | ||
69 | consensus.h | ||
70 | libgnunetconsensus_la_LIBADD = \ | ||
71 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
72 | $(LTLIBINTL) | ||
73 | libgnunetconsensus_la_LDFLAGS = \ | ||
74 | $(GN_LIB_LDFLAGS) | ||
75 | |||
76 | |||
77 | plugin_LTLIBRARIES = \ | ||
78 | libgnunet_plugin_block_consensus.la | ||
79 | |||
80 | libgnunet_plugin_block_consensus_la_SOURCES = \ | ||
81 | plugin_block_consensus.c | ||
82 | libgnunet_plugin_block_consensus_la_LIBADD = \ | ||
83 | $(top_builddir)/src/block/libgnunetblock.la \ | ||
84 | $(top_builddir)/src/block/libgnunetblockgroup.la \ | ||
85 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
86 | $(LTLIBINTL) | ||
87 | libgnunet_plugin_block_consensus_la_LDFLAGS = \ | ||
88 | $(GN_PLUGIN_LDFLAGS) | ||
89 | |||
90 | |||
91 | |||
92 | if HAVE_TESTING | ||
93 | bin_PROGRAMS = \ | ||
94 | gnunet-consensus-profiler | ||
95 | |||
96 | check_PROGRAMS = \ | ||
97 | test_consensus_api | ||
98 | |||
99 | if ENABLE_TEST_RUN | ||
100 | AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME; | ||
101 | TESTS = $(check_PROGRAMS) | ||
102 | endif | ||
103 | endif | ||
104 | |||
105 | test_consensus_api_SOURCES = \ | ||
106 | test_consensus_api.c | ||
107 | test_consensus_api_LDADD = \ | ||
108 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
109 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
110 | libgnunetconsensus.la | ||
111 | |||
112 | noinst_SCRIPTS = \ | ||
113 | consensus-simulation.py | ||
114 | |||
115 | CLEANFILES = \ | ||
116 | $(noinst_SCRIPTS) | ||
117 | |||
118 | EXTRA_DIST = \ | ||
119 | test_consensus.conf \ | ||
120 | consensus-simulation.py.in | ||