2004-03-10 03:47:07 +08:00
|
|
|
|
2004-09-30 00:00:49 +08:00
|
|
|
# Copyright (C) Igor Sysoev
|
|
|
|
|
|
|
|
|
2004-03-11 04:56:39 +08:00
|
|
|
CFLAGS = -c -zq -bt=nt -ot -op -oi -oe -s -bm $(CPU_OPT)
|
2004-03-10 03:47:07 +08:00
|
|
|
PCREFLAGS = -DPCRE_STATIC -DPOSIX_MALLOC_THRESHOLD=10
|
|
|
|
|
|
|
|
|
2009-05-12 21:15:43 +08:00
|
|
|
pcre.lib:
|
|
|
|
cd $(PCRE)
|
|
|
|
|
2004-03-10 03:47:07 +08:00
|
|
|
wcl386 -zq -bt=nt -l=nt -fe=dftables dftables.c
|
|
|
|
dftables > chartables.c
|
|
|
|
|
|
|
|
wcl386 $(CFLAGS) $(PCREFLAGS) maketables.c get.c study.c pcre.c
|
|
|
|
wlib -n pcre.lib maketables.obj get.obj study.obj pcre.obj
|
2004-03-15 04:46:25 +08:00
|
|
|
|
|
|
|
|
|
|
|
pcre.h:
|
2009-05-12 21:15:43 +08:00
|
|
|
cd $(PCRE)
|
2005-03-23 00:02:46 +08:00
|
|
|
patch -o pcre.h pcre.in patch.pcre.in.owc
|
2004-03-15 04:46:25 +08:00
|
|
|
patch -o config.h config.in patch.config.in
|