Produce libcrypto.sha1 directly after building the libraries.
authorRichard Levitte <levitte@openssl.org>
Mon, 8 Sep 2003 09:57:27 +0000 (09:57 +0000)
committerRichard Levitte <levitte@openssl.org>
Mon, 8 Sep 2003 09:57:27 +0000 (09:57 +0000)
Otherwise, the test target will fail because libcrypto.sha1 is missing
or not up to date.

Makefile.org

index 59bbad0d522ae94e8c03ee85dcb254f36d48f388..c8a241f9e224f26beecf70ce9a53eff813dfeaf3 100644 (file)
@@ -173,7 +173,7 @@ LIBKRB5=
 # we might set SHLIB_MARK to '$(SHARED_LIBS)'.
 SHLIB_MARK=
 
-DIRS=   fips crypto ssl $(SHLIB_MARK) apps test tools
+DIRS=   fips crypto ssl $(SHLIB_MARK) sigs apps test tools
 SHLIBDIRS= fips crypto ssl
 
 # dirs in crypto to build
@@ -222,9 +222,10 @@ HEADER=         e_os.h
 # When we're prepared to use shared libraries in the programs we link here
 # we might remove 'clean-shared' from the targets to perform at this stage
 
-all: Makefile.ssl sub_all openssl.pc sigs
+all: Makefile.ssl sub_all openssl.pc
 
-sigs:
+sigs:  $(SIGS)
+libcrypto.sha1: libcrypto.a
        fips/sha1/fips_standalone_sha1 libcrypto.a > libcrypto.sha1
 
 sub_all: