makefile.owc revision e18a033b
1
2# Copyright (C) Igor Sysoev
3# Copyright (C) Nginx, Inc.
4
5
6CFLAGS =	-c -zq -bt=nt -ot -op -oi -oe -s -bm $(CPU_OPT)
7PCREFLAGS =	-DHAVE_CONFIG_H -DPCRE_STATIC -DPOSIX_MALLOC_THRESHOLD=10 &
8		-DSUPPORT_PCRE8 -DHAVE_MEMMOVE
9
10
11pcre.lib:
12	cd $(PCRE)
13
14	wcl386 $(CFLAGS) -i=. $(PCREFLAGS) pcre_*.c
15
16	dir /b *.obj > pcre.lst
17
18	wlib -n pcre.lib @pcre.lst
19
20pcre.h:
21	cd $(PCRE)
22
23	copy /y pcre.h.generic pcre.h
24	copy /y config.h.generic config.h
25	copy /y pcre_chartables.c.dist pcre_chartables.c
26