view auto/lib/pcre/makefile.msvc @ 232:d8f5c91a5c07 NGINX_0_4_1

nginx 0.4.1 *) Bugfix: the DragonFlyBSD compatibility. Thanks to Pavel Nazarov. *) Workaround: of bug in 64-bit Linux sendfile(), when file is more than 2G. *) Feature: now on Linux nginx uses O_NOATIME flag for static requests. Thanks to Yusuf Goolamabbas.
author Igor Sysoev <http://sysoev.ru>
date Thu, 14 Sep 2006 00:00:00 +0400
parents 0d75d65c642f
children e66f886a8305
line wrap: on
line source


# Copyright (C) Igor Sysoev


CFLAGS =	-O2 -Ob1 -Oi -Gs $(LIBC) $(CPU_OPT)
PCREFLAGS =	-DPCRE_STATIC -DPOSIX_MALLOC_THRESHOLD=10


pcre.lib:	pcre.h
	cl -Fedftables dftables.c

	dftables > chartables.c

	cl -nologo -c $(CFLAGS) $(PCREFLAGS)				\
		maketables.c get.c study.c pcre.c

	link -lib -out:pcre.lib -verbose:lib				\
		maketables.obj get.obj study.obj pcre.obj

pcre.h:
	patch -o pcre.h pcre.in patch.pcre.in
	patch -o config.h config.in patch.config.in
	patch -o pcre.c pcre.c patch.pcre.c