From 79176d605300bcc9027af0a08248fd35995d3104 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Fri, 5 Sep 2003 13:37:28 +0000 Subject: [PATCH] ALWAYS check the standalone source. make update. --- fips/sha1/Makefile.ssl | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/fips/sha1/Makefile.ssl b/fips/sha1/Makefile.ssl index fcb4d165bd..a4f3ce436b 100644 --- a/fips/sha1/Makefile.ssl +++ b/fips/sha1/Makefile.ssl @@ -37,11 +37,14 @@ ALL= $(GENERAL) $(SRC) $(HEADER) top: (cd ../..; $(MAKE) DIRS=fips SDIRS=$(DIR) sub_all) -all: fips_standalone_sha1 check lib +all: check_standalone check lib check: TOP=`pwd`/$(TOP) ../fips_check_sha1 fingerprint.sha1 $(LIBSRC) $(HEADER) +check_standalone: fips_standalone_sha1 + TOP=`pwd`/$(TOP) ../fips_check_sha1 standalone.sha1 $(SRC) $(HEADER) + lib: $(LIBOBJ) $(AR) $(LIB) $(LIBOBJ) $(RANLIB) $(LIB) || echo Never mind. @@ -50,7 +53,6 @@ lib: $(LIBOBJ) fips_standalone_sha1: fips_standalone_sha1.o fips_sha1dgst.o $(CC) -o fips_standalone_sha1 $(CFLAGS) fips_standalone_sha1.o \ fips_sha1dgst.o - TOP=`pwd`/$(TOP) ../fips_check_sha1 standalone.sha1 $(SRC) $(HEADER) files: $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO @@ -99,7 +101,20 @@ clean: # DO NOT DELETE THIS LINE -- make depend depends on it. -fips_sha1dgst.o: ../../include/openssl/opensslv.h fips_sha1dgst.c +fips_sha1_selftest.o: ../../include/openssl/bio.h +fips_sha1_selftest.o: ../../include/openssl/crypto.h +fips_sha1_selftest.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h +fips_sha1_selftest.o: ../../include/openssl/fips.h +fips_sha1_selftest.o: ../../include/openssl/lhash.h +fips_sha1_selftest.o: ../../include/openssl/opensslconf.h +fips_sha1_selftest.o: ../../include/openssl/opensslv.h +fips_sha1_selftest.o: ../../include/openssl/safestack.h +fips_sha1_selftest.o: ../../include/openssl/sha.h ../../include/openssl/stack.h +fips_sha1_selftest.o: ../../include/openssl/symhacks.h fips_sha1_selftest.c +fips_sha1dgst.o: ../../include/openssl/e_os2.h +fips_sha1dgst.o: ../../include/openssl/opensslconf.h +fips_sha1dgst.o: ../../include/openssl/opensslv.h ../../include/openssl/sha.h +fips_sha1dgst.o: fips_md32_common.h fips_sha1dgst.c fips_sha_locl.h fips_standalone_sha1.o: ../../include/openssl/e_os2.h fips_standalone_sha1.o: ../../include/openssl/opensslconf.h fips_standalone_sha1.o: ../../include/openssl/sha.h fips_standalone_sha1.c -- 2.25.1