summaryrefslogtreecommitdiffstats
path: root/crypto/Makefile
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2011-02-21 14:07:15 +0000
committerDr. Stephen Henson <steve@openssl.org>2011-02-21 14:07:15 +0000
commiteead69f5ed15510b65df545a083a0b63abc6b29d (patch)
tree58a62659e43048b0c7457f4757818bbccd6e1e45 /crypto/Makefile
parentab8a4e54dbada9bdc7f4786fb54e1f6e7ae52bc7 (diff)
Make fipscanisteronly build only required files.
Diffstat (limited to 'crypto/Makefile')
-rw-r--r--crypto/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/crypto/Makefile b/crypto/Makefile
index 4147d2d638..eb066f03a5 100644
--- a/crypto/Makefile
+++ b/crypto/Makefile
@@ -50,6 +50,13 @@ top:
all: shared
+fips: cryptlib.o thr_id.o uid.o $(CPUID_OBJ)
+ [ -n "$(SDIRS)" ] && for i in $(SDIRS) ; do \
+ ( obj=`$(PERL) $(TOP)/util/fipsobj.pl $$i` && \
+ cd $$i && echo "making fips in $(DIR)/$$i..." && \
+ $(MAKE) -e TOP=../.. DIR=$$i INCLUDES='$(INCLUDES)' $$obj ) || exit 1; \
+ done;
+
buildinf.h: ../Makefile
( echo "#ifndef MK1MF_BUILD"; \
echo ' /* auto-generated by crypto/Makefile for crypto/cversion.c */'; \