aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2017-03-05 16:19:37 +0100
committerDaniel Golle <daniel@makrotopia.org>2017-03-05 21:04:00 +0100
commit65f138e9a6156983ac74f8f1a5b8051d8f9be86a (patch)
treefe4e48a5d3abf7ba6a9fa18a673bdc94b6215b3c
parent8a32cac23d7289cfb7d1d356603a523cf6effd13 (diff)
downloadgnunet-65f138e9a6156983ac74f8f1a5b8051d8f9be86a.tar.gz
gnunet-65f138e9a6156983ac74f8f1a5b8051d8f9be86a.zip
build profilers only if testing is enabled
build fails of consensus and secretsharing fails otherwise make[7]: *** No rule to make target '../../src/testbed/libgnunettestbed.la', needed by 'gnunet-consensus-profiler'. Stop
-rw-r--r--src/consensus/Makefile.am5
-rw-r--r--src/secretsharing/Makefile.am6
2 files changed, 6 insertions, 5 deletions
diff --git a/src/consensus/Makefile.am b/src/consensus/Makefile.am
index 2b1987fbc..c0205ee5d 100644
--- a/src/consensus/Makefile.am
+++ b/src/consensus/Makefile.am
@@ -18,8 +18,6 @@ if USE_COVERAGE
18 AM_CFLAGS = -fprofile-arcs -ftest-coverage 18 AM_CFLAGS = -fprofile-arcs -ftest-coverage
19endif 19endif
20 20
21bin_PROGRAMS = \
22 gnunet-consensus-profiler
23 21
24libexec_PROGRAMS = \ 22libexec_PROGRAMS = \
25 gnunet-service-consensus 23 gnunet-service-consensus
@@ -86,6 +84,9 @@ libgnunet_plugin_block_consensus_la_LDFLAGS = \
86 84
87 85
88if HAVE_TESTING 86if HAVE_TESTING
87bin_PROGRAMS = \
88 gnunet-consensus-profiler
89
89check_PROGRAMS = \ 90check_PROGRAMS = \
90 test_consensus_api 91 test_consensus_api
91 92
diff --git a/src/secretsharing/Makefile.am b/src/secretsharing/Makefile.am
index 485183e36..4b9a06c40 100644
--- a/src/secretsharing/Makefile.am
+++ b/src/secretsharing/Makefile.am
@@ -17,9 +17,6 @@ if USE_COVERAGE
17endif 17endif
18 18
19 19
20bin_PROGRAMS = \
21 gnunet-secretsharing-profiler
22
23libexec_PROGRAMS = \ 20libexec_PROGRAMS = \
24 gnunet-service-secretsharing 21 gnunet-service-secretsharing
25 22
@@ -57,6 +54,9 @@ libgnunetsecretsharing_la_LDFLAGS = \
57 $(GN_LIB_LDFLAGS) 54 $(GN_LIB_LDFLAGS)
58 55
59if HAVE_TESTING 56if HAVE_TESTING
57bin_PROGRAMS = \
58 gnunet-secretsharing-profiler
59
60check_PROGRAMS = \ 60check_PROGRAMS = \
61 test_secretsharing_api 61 test_secretsharing_api
62 62