summaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-02-13 18:15:51 +0100
committerRichard Levitte <levitte@openssl.org>2016-02-13 18:32:01 +0100
commit68a5f1a278e34ae2c59e3c4492e174155fb88b6b (patch)
tree4f4bb257772d4c2e40b0269fdcd69715290cc7e7 /Makefile.in
parentdde10ab4d25fd5f6d1b4342d66459f981495f17b (diff)
Don't build test programs by default, add convenience targets for unified build
Test programs are now only built when running "make test" or "make build_tests". Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in
index ad51e76c0c..cc2c0b520d 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -224,7 +224,7 @@ INSTALLDIRS= \
$(DESTDIR)$(OPENSSLDIR)/certs \
$(DESTDIR)$(OPENSSLDIR)/private
-all: Makefile build_all
+all: Makefile build_all_but_tests
# as we stick to -e, CLEARENV ensures that local variables in lower
# Makefiles remain local and variable. $${VAR+VAR} is tribute to Korn
@@ -311,7 +311,8 @@ reflect:
sub_all: build_all
-build_all: build_libs build_apps build_tests build_tools
+build_all_but_tests: build_libs build_apps build_tools
+build_all: build_all_but_tests build_tests
build_libs: build_libcrypto build_libssl openssl.pc
@@ -477,7 +478,7 @@ rehash.time: certs build_apps build_tools
test: files tests
-tests: rehash
+tests: build_tests rehash
@(cd test && echo "testing..." && \
$(CLEARENV) && $(MAKE) -e $(BUILDENV) TOP=.. TESTS='$(TESTS)' OPENSSL_DEBUG_MEMORY=on OPENSSL_CONF=../apps/openssl.cnf tests );
@if [ -z "$(CROSS_COMPILE)" ]; then \