提交 73bfb9ad 编写于 作者: U Ulf Möller

Do make rehash automatically at make test.

上级 8b1a3a92
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
To install OpenSSL, you will need: To install OpenSSL, you will need:
* Perl 5 * Perl 5
* ANSI C compiler * an ANSI C compiler
* a supported Unix operating system * a supported Unix operating system
Quick Start Quick Start
...@@ -17,7 +17,6 @@ ...@@ -17,7 +17,6 @@
$ ./config [if this fails, go to step 1b below] $ ./config [if this fails, go to step 1b below]
$ make $ make
$ make rehash
$ make test $ make test
$ make install $ make install
...@@ -75,7 +74,8 @@ ...@@ -75,7 +74,8 @@
$ ./Configure linux-elf [--prefix=DIR] [--openssldir=OPENSSLDIR] $ ./Configure linux-elf [--prefix=DIR] [--openssldir=OPENSSLDIR]
If your system is not available, you will have to edit the Configure If your system is not available, you will have to edit the Configure
program and add the correct configuration for your system. program and add the correct configuration for your system. The
generic configurations "cc" or "gcc" should usually work.
Configure creates the Makefile.ssl from Makefile.org and defines Configure creates the Makefile.ssl from Makefile.org and defines
various macros in crypto/opensslconf.h (generated from various macros in crypto/opensslconf.h (generated from
...@@ -91,12 +91,8 @@ ...@@ -91,12 +91,8 @@
3. After a successful build, the libraries should be tested. Run: 3. After a successful build, the libraries should be tested. Run:
$ make rehash
$ make test $ make test
(The first line makes the test certificates in the "certs" directory
accessable via an hash name, which is required for some of the tests).
4. If everything tests ok, install OpenSSL with 4. If everything tests ok, install OpenSSL with
$ make install $ make install
......
...@@ -238,7 +238,7 @@ rehash: ...@@ -238,7 +238,7 @@ rehash:
test: tests test: tests
tests: tests: rehash
@(cd test && echo "testing..." && \ @(cd test && echo "testing..." && \
$(MAKE) CC='${CC}' CFLAG='${CFLAG}' INSTALLTOP='${INSTALLTOP}' PEX_LIBS='${PEX_LIBS}' EX_LIBS='${EX_LIBS}' BN_ASM='${BN_ASM}' DES_ENC='${DES_ENC}' BF_ENC='${BF_ENC}' CAST_ENC='${CAST_ENC}' RC4_ENC='${RC4_ENC}' RC5_ENC='${RC5_ENC}' SDIRS='${SDIRS}' SHA1_ASM_OBJ='${SHA1_ASM_OBJ}' MD5_ASM_OBJ='${MD5_ASM_OBJ}' RMD160_ASM_OBJ='${RMD160_ASM_OBJ}' AR='${AR}' tests ); $(MAKE) CC='${CC}' CFLAG='${CFLAG}' INSTALLTOP='${INSTALLTOP}' PEX_LIBS='${PEX_LIBS}' EX_LIBS='${EX_LIBS}' BN_ASM='${BN_ASM}' DES_ENC='${DES_ENC}' BF_ENC='${BF_ENC}' CAST_ENC='${CAST_ENC}' RC4_ENC='${RC4_ENC}' RC5_ENC='${RC5_ENC}' SDIRS='${SDIRS}' SHA1_ASM_OBJ='${SHA1_ASM_OBJ}' MD5_ASM_OBJ='${MD5_ASM_OBJ}' RMD160_ASM_OBJ='${RMD160_ASM_OBJ}' AR='${AR}' tests );
@apps/openssl version -a @apps/openssl version -a
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册