From 88ca736543e826bc85f55c072fe9965b858c2c8f Mon Sep 17 00:00:00 2001 From: Felipe Zimmerle Date: Fri, 18 Mar 2016 14:26:41 -0300 Subject: [PATCH] Avoids the installation of test utilities during `make install' Those utilities are not interesting for the general usage, most likekly it will be used by very retrict number of people whom are likely to compile ModSecurity by their selfs. This issue was reported on #1083 --- examples/simple_example_using_c/Makefile.am | 2 +- test/Makefile.am | 7 ++++++- test/benchmark/Makefile.am | 2 +- test/fuzzer/Makefile.am | 2 +- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/examples/simple_example_using_c/Makefile.am b/examples/simple_example_using_c/Makefile.am index 4f166817..11c9a82c 100644 --- a/examples/simple_example_using_c/Makefile.am +++ b/examples/simple_example_using_c/Makefile.am @@ -1,6 +1,6 @@ -bin_PROGRAMS = test +noinst_PROGRAMS = test test_SOURCES = \ test.c diff --git a/test/Makefile.am b/test/Makefile.am index 8d5be76a..23d1e664 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -17,11 +17,13 @@ MAINTAINERCLEANFILES = \ Makefile.in -bin_PROGRAMS = unit-tests regression-tests rules-optimization +bin_PROGRAMS = +noinst_PROGRAMS = # unit_tests +noinst_PROGRAMS += unit_tests unit_tests_SOURCES = \ unit/unit.cc \ unit/unit_test.cc @@ -51,6 +53,7 @@ unit_tests_CPPFLAGS = \ # regression +noinst_PROGRAMS += regression_tests regression_tests_SOURCES = \ regression/regression.cc \ regression/regression_test.cc \ @@ -81,6 +84,8 @@ regression_tests_CPPFLAGS = \ # optimization + +noinst_PROGRAMS += rules_optimization rules_optimization_SOURCES = \ optimization/optimization.cc diff --git a/test/benchmark/Makefile.am b/test/benchmark/Makefile.am index a7bfe304..eb2d6f15 100644 --- a/test/benchmark/Makefile.am +++ b/test/benchmark/Makefile.am @@ -1,6 +1,6 @@ -bin_PROGRAMS = benchmark +noinst_PROGRAMS = benchmark benchmark_SOURCES = \ benchmark.cc diff --git a/test/fuzzer/Makefile.am b/test/fuzzer/Makefile.am index 1350caea..0ff5f057 100644 --- a/test/fuzzer/Makefile.am +++ b/test/fuzzer/Makefile.am @@ -8,7 +8,7 @@ MAINTAINERCLEANFILES = \ Makefile.in -bin_PROGRAMS = afl_fuzzer +noinst_PROGRAMS = afl_fuzzer afl_fuzzer_SOURCES = \ afl_fuzzer.cc