diff options
Diffstat (limited to 'src/peerinfo/Makefile.am')
-rw-r--r-- | src/peerinfo/Makefile.am | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/peerinfo/Makefile.am b/src/peerinfo/Makefile.am index 116095f2a..d58425730 100644 --- a/src/peerinfo/Makefile.am +++ b/src/peerinfo/Makefile.am | |||
@@ -33,12 +33,16 @@ gnunet_service_peerinfo_LDADD = \ | |||
33 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | 33 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ |
34 | $(top_builddir)/src/util/libgnunetutil.la | 34 | $(top_builddir)/src/util/libgnunetutil.la |
35 | 35 | ||
36 | if HAVE_BENCHMARKS | ||
37 | PEERINFO_BENCHMARKS = \ | ||
38 | perf_peerinfo_api | ||
39 | endif | ||
36 | 40 | ||
37 | check_PROGRAMS = \ | 41 | check_PROGRAMS = \ |
38 | test_peerinfo_api \ | 42 | test_peerinfo_api \ |
39 | perf_peerinfo_api | 43 | $(PEERINFO_BENCHMARKS) |
40 | 44 | ||
41 | if !DISABLE_TEST_RUN | 45 | if ENABLE_TEST_RUN |
42 | TESTS = $(check_PROGRAMS) | 46 | TESTS = $(check_PROGRAMS) |
43 | endif | 47 | endif |
44 | 48 | ||