summaryrefslogtreecommitdiffstats
path: root/fips/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'fips/Makefile')
-rw-r--r--fips/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/fips/Makefile b/fips/Makefile
index 122e06d928..63e4cf82be 100644
--- a/fips/Makefile
+++ b/fips/Makefile
@@ -45,7 +45,10 @@ ALL= $(GENERAL) $(SRC) $(HEADER)
top:
@(cd ..; $(MAKE) DIRS=$(DIR) all)
-all: subdirs lib check shared
+all:
+ @if egrep 'define OPENSSL_FIPS' $(TOP)/include/openssl/opensslconf.h > /dev/null; then \
+ $(MAKE) -e subdirs check lib shared; \
+ fi
check:
TOP=`pwd`/$(TOP) ./fips_check_sha1 fingerprint.sha1 $(SRC) $(HEADER)