Mercurial > hg > nginx
annotate auto/lib/sha1/makefile.bcc @ 6231:5def760fe95e
Updated OpenSSL used for win32 builds.
Note that as of OpenSSL 1.0.0, the "ms\do_ms" script (previously documented
to be used if one doesn't want to use the assembly language files) tries to
use MASM. Additionally, OpenSSL 1.0.2 finally broke MASM support. To fix
this, we now explicitly use "no-asm" in OpenSSL options.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 17 Aug 2015 18:09:20 +0300 |
parents | d620f497c50f |
children |
rev | line source |
---|---|
653 | 1 |
2 # Copyright (C) Igor Sysoev | |
4412 | 3 # Copyright (C) Nginx, Inc. |
653 | 4 |
5 | |
6 CFLAGS = -q -O2 -tWM $(CPU_OPT) -DL_ENDIAN | |
7 | |
8 !if "$(SHA1_ASM)" == "YES" | |
9 | |
10 sha1.lib: | |
2838
ecdc41bf2047
backout r2833: CURDIR was set to Unix style path
Igor Sysoev <igor@sysoev.ru>
parents:
653
diff
changeset
|
11 cd $(SHA1) |
653 | 12 bcc32 -c $(CFLAGS) -DSHA1_ASM sha1dgst.c |
13 tlib sha1.lib +sha1dgst.obj +"asm\s-win32.obj" | |
14 | |
15 !else | |
16 | |
17 sha1.lib: | |
2838
ecdc41bf2047
backout r2833: CURDIR was set to Unix style path
Igor Sysoev <igor@sysoev.ru>
parents:
653
diff
changeset
|
18 cd $(SHA1) |
653 | 19 bcc32 -c $(CFLAGS) sha1dgst.c |
20 tlib sha1.lib +sha1dgst.obj | |
21 | |
22 !endif |