Mercurial > hg > nginx
comparison auto/lib/pcre/makefile.owc @ 2840:22c4c012c8c9
switch Win32 building to modern PCRE versions (starting from 7.1)
instead of single old 4.4 version
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 13 May 2009 19:48:21 +0000 |
parents | ecdc41bf2047 |
children | d620f497c50f |
comparison
equal
deleted
inserted
replaced
2839:cb7739c822c6 | 2840:22c4c012c8c9 |
---|---|
1 | 1 |
2 # Copyright (C) Igor Sysoev | 2 # Copyright (C) Igor Sysoev |
3 | 3 |
4 | 4 |
5 CFLAGS = -c -zq -bt=nt -ot -op -oi -oe -s -bm $(CPU_OPT) | 5 CFLAGS = -c -zq -bt=nt -ot -op -oi -oe -s -bm $(CPU_OPT) |
6 PCREFLAGS = -DPCRE_STATIC -DPOSIX_MALLOC_THRESHOLD=10 | 6 PCREFLAGS = -DHAVE_CONFIG_H -DPCRE_STATIC -DPOSIX_MALLOC_THRESHOLD=10 |
7 | 7 |
8 | 8 |
9 pcre.lib: | 9 pcre.lib: |
10 cd $(PCRE) | 10 cd $(PCRE) |
11 | 11 |
12 wcl386 -zq -bt=nt -l=nt -fe=dftables dftables.c | 12 wcl386 $(CFLAGS) -i=. $(PCREFLAGS) pcre_*.c |
13 dftables > chartables.c | |
14 | 13 |
15 wcl386 $(CFLAGS) $(PCREFLAGS) maketables.c get.c study.c pcre.c | 14 dir /b *.obj > pcre.lst |
16 wlib -n pcre.lib maketables.obj get.obj study.obj pcre.obj | |
17 | 15 |
16 wlib -n pcre.lib @pcre.lst | |
18 | 17 |
19 pcre.h: | 18 pcre.h: |
20 cd $(PCRE) | 19 cd $(PCRE) |
21 patch -o pcre.h pcre.in patch.pcre.in.owc | 20 |
22 patch -o config.h config.in patch.config.in | 21 copy /y pcre.h.generic pcre.h |
22 copy /y config.h.generic config.h | |
23 copy /y pcre_chartables.c.dist pcre_chartables.c |