mirror of
https://github.com/nginx/nginx.git
synced 2024-12-21 01:27:48 +08:00
dad6ec3aa6
To ensure proper target selection the NGX_MACHINE variable is now set based on the MSVC compiler output, and the OpenSSL target is set based on it. This is not important as long as "no-asm" is used (as in misc/GNUmakefile and win32 build instructions), but might be beneficial if someone is trying to build OpenSSL with assembler code.
22 lines
417 B
Plaintext
22 lines
417 B
Plaintext
|
|
# Copyright (C) Igor Sysoev
|
|
# Copyright (C) Nginx, Inc.
|
|
|
|
|
|
all:
|
|
cd $(OPENSSL)
|
|
|
|
perl Configure $(OPENSSL_TARGET) no-shared no-threads \
|
|
--prefix="%cd%/openssl" \
|
|
--openssldir="%cd%/openssl/ssl" \
|
|
$(OPENSSL_OPT)
|
|
|
|
if exist ms\do_ms.bat ( \
|
|
ms\do_ms \
|
|
&& $(MAKE) -f ms\nt.mak \
|
|
&& $(MAKE) -f ms\nt.mak install \
|
|
) else ( \
|
|
$(MAKE) \
|
|
&& $(MAKE) install_sw \
|
|
)
|