mirror of
https://github.com/nginx/nginx.git
synced 2025-07-24 14:16:20 +08:00

*) Fixed build with Visual Studio 2005 Express. It is available via winetricks which makes it still usable, and has an old crtdefs.h which uses _CRT_SECURE_NO_DEPRECATE instead of _CRT_SECURE_NO_WARNINGS to suppress warnings. Reported by HAYASHI Kentaro, http://mailman.nginx.org/pipermail/nginx-devel/2012-August/002542.html *) Configure: provide inflate() when building zlib on win32. *) Helper target "win32" to run configure for win32 builds. *) Updated zlib used for win32 builds.
18 lines
385 B
Plaintext
18 lines
385 B
Plaintext
|
|
# Copyright (C) Igor Sysoev
|
|
# Copyright (C) Nginx, Inc.
|
|
|
|
|
|
CFLAGS = -nologo -O2 -Ob1 -Oi -Gs $(LIBC) $(CPU_OPT)
|
|
|
|
zlib.lib:
|
|
cd $(ZLIB)
|
|
|
|
cl -c $(CFLAGS) adler32.c crc32.c deflate.c \
|
|
trees.c zutil.c compress.c \
|
|
inflate.c inffast.c inftrees.c
|
|
|
|
link -lib -out:zlib.lib adler32.obj crc32.obj deflate.obj \
|
|
trees.obj zutil.obj compress.obj \
|
|
inflate.obj inffast.obj inftrees.obj
|