X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=Makefile.fips;h=8d967b7f2afd74a73dea09e5ce8c53c13a637884;hp=4654383a2d2fc4fa0ab3821d24a6da3631d67851;hb=ded1999702eb684f2057628b261bdd951fa73bc3;hpb=f18c19f5e8b36707ca4aa7cd418f6526d7bfc7c5 diff --git a/Makefile.fips b/Makefile.fips index 4654383a2d..8d967b7f2a 100644 --- a/Makefile.fips +++ b/Makefile.fips @@ -148,15 +148,15 @@ SHLIBDIRS= crypto SDIRS= \ sha hmac des aes modes \ bn ec rsa dsa ecdsa dh \ - buffer rand evp # ecdh cmac + buffer rand evp ecdh cmac # keep in mind that the above list is adjusted by ./Configure # according to no-xxx arguments... LINKDIRS= \ objects sha hmac des aes modes \ - bn ec rsa dsa ecdsa dh ecdh engine \ + bn ec rsa dsa ecdh ecdsa dh engine \ buffer bio stack lhash rand err \ - evp asn1 pem ocsp ui cmac + evp asn1 ui # tests to perform. "alltests" is a special word indicating that all tests # should be performed. @@ -301,6 +301,7 @@ FIPS_EX_OBJ= ../crypto/aes/aes_cfb.o \ ../crypto/bn/bn_word.o \ ../crypto/bn/bn_x931p.o \ ../crypto/buffer/buf_str.o \ + ../crypto/cmac/cmac.o \ ../crypto/cryptlib.o \ ../crypto/des/cfb64ede.o \ ../crypto/des/cfb64enc.o \ @@ -325,6 +326,8 @@ FIPS_EX_OBJ= ../crypto/aes/aes_cfb.o \ ../crypto/ec/ecp_smpl.o \ ../crypto/ec/ec2_mult.o \ ../crypto/ec/ec2_smpl.o \ + ../crypto/ecdh/ech_key.o \ + ../crypto/ecdh/ech_ossl.o \ ../crypto/ecdsa/ecs_ossl.o \ ../crypto/evp/e_aes.o \ ../crypto/evp/e_des3.o \ @@ -522,8 +525,8 @@ files: links: @$(PERL) $(TOP)/util/mkdir-p.pl include/openssl @$(PERL) $(TOP)/util/mklink.pl include/openssl $(EXHEADER) - $(MAKE) -C fips links - SDIRS='$(LINKDIRS)' $(MAKE) -C crypto links + @set -e; dir=fips target=links; $(RECURSIVE_BUILD_CMD) + @set -e; dir=crypto target=links; $(RECURSIVE_BUILD_CMD) gentests: @(cd test && echo "generating dummy tests (if needed)..." && \ @@ -596,7 +599,7 @@ tar: find . -type d -print | xargs chmod 755 find . -type f -print | xargs chmod a+r find . -type f -perm -0100 -print | xargs chmod a+x - find * \! -path CVS/\* \! -path \*/CVS/\* \! -name CVS \! -name .cvsignore \! -name STATUS \! -name TABLE | $(BUILDENV) $(PERL) util/fipsdist.pl | sort > ../$(TARFILE).list; \ + find * \! -path CVS/\* \! -path \*/CVS/\* \! -name CVS \! -name .cvsignore \! -name STATUS \! -name TABLE | $(BUILDENV) LINKDIRS='$(LINKDIRS)' $(PERL) util/fipsdist.pl | sort > ../$(TARFILE).list; \ $(TAR) $(TARFLAGS) --files-from ../$(TARFILE).list -cvf - | \ tardy --user_number=0 --user_name=openssl \ --group_number=0 --group_name=openssl \ @@ -617,7 +620,7 @@ dist: $(PERL) Configure dist fipscanisteronly @$(MAKE) dist_pem_h @$(MAKE) SDIRS='$(SDIRS)' clean - @$(MAKE) TAR='$(TAR)' TARFLAGS='$(TARFLAGS)' tar + @$(MAKE) -f Makefile.fips TAR='$(TAR)' TARFLAGS='$(TARFLAGS)' tar dist_pem_h: (cd crypto/pem; $(MAKE) -e $(BUILDENV) pem.h; $(MAKE) clean)