From eead69f5ed15510b65df545a083a0b63abc6b29d Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Mon, 21 Feb 2011 14:07:15 +0000 Subject: Make fipscanisteronly build only required files. --- crypto/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'crypto/Makefile') 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 */'; \ -- cgit v1.2.3