summaryrefslogtreecommitdiff
path: root/usr/src/Makefile
diff options
context:
space:
mode:
authorAndy Fiddaman <omnios@citrus-it.co.uk>2018-01-16 21:39:56 +0000
committerDan McDonald <danmcd@joyent.com>2018-05-02 22:06:02 -0400
commit300fdee27f8b59b381c1a0316bdee52fdfdb9213 (patch)
treeb1968149c7837343badd37f984681a0d007b598e /usr/src/Makefile
parentbb1f424574ac8e08069d0ba993c2a41ffe796794 (diff)
downloadillumos-joyent-300fdee27f8b59b381c1a0316bdee52fdfdb9213.tar.gz
8982 Support building with OpenSSL 1.1
Reviewed by: Dominik Hassler <hadfl@omniosce.org> Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: Ken Mays <maybird1776@yahoo.com> Reviewed by: Jason King <jason.king@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/Makefile')
-rw-r--r--usr/src/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/usr/src/Makefile b/usr/src/Makefile
index 26e0988215..ab1aedfc46 100644
--- a/usr/src/Makefile
+++ b/usr/src/Makefile
@@ -26,6 +26,7 @@
# Copyright 2015 OmniTI Computer Consulting, Inc. All rights reserved.
# Copyright 2016 Toomas Soome <tsoome@me.com>
# Copyright 2017 Joyent, Inc.
+# Copyright 2018 OmniOS Community Edition (OmniOSce) Association.
#
#
@@ -286,3 +287,13 @@ java-version:
$(ECHO) No Java compiler found; \
exit 1; \
fi
+
+openssl-version:
+ @if [ -x "$(OPENSSL)" ]; then \
+ $(ECHO) $(OPENSSL); \
+ $(OPENSSL) version; \
+ $(OPENSSL) version -f | \
+ $(SED) -n '/_API/{s/.*_API/ API/;s/ -.*//;p;}'; \
+ else \
+ $(ECHO) No OpenSSL utility found; \
+ fi