view auto/lib/pcre/makefile.msvc @ 12:7da8ea7c4448 NGINX_0_1_6

nginx 0.1.6 *) Bugfix: some location directive combinations with the regular expressions caused the wrong configuration choose.
author Igor Sysoev <http://sysoev.ru>
date Thu, 11 Nov 2004 00:00:00 +0300
parents f0b350454894
children 0d75d65c642f
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