2004-03-30 01:43:58 +08:00
|
|
|
|
2004-09-30 00:00:49 +08:00
|
|
|
# Copyright (C) Igor Sysoev
|
|
|
|
|
|
|
|
|
2005-12-27 01:07:48 +08:00
|
|
|
CFLAGS = -q -O2 -tWM -w-8004 $(CPU_OPT)
|
2004-03-30 01:43:58 +08:00
|
|
|
PCREFLAGS = -DPCRE_STATIC -DPOSIX_MALLOC_THRESHOLD=10
|
|
|
|
|
|
|
|
|
2009-05-12 21:15:43 +08:00
|
|
|
pcre.lib:
|
|
|
|
cd $(PCRE)
|
|
|
|
|
2004-03-30 01:43:58 +08:00
|
|
|
bcc32 -q -edftables dftables.c
|
|
|
|
|
|
|
|
dftables > chartables.c
|
|
|
|
|
|
|
|
bcc32 -c $(CFLAGS) $(PCREFLAGS) maketables.c get.c study.c pcre.c
|
|
|
|
|
|
|
|
tlib pcre.lib +maketables.obj +get.obj +study.obj +pcre.obj
|
|
|
|
|
|
|
|
pcre.h:
|
2009-05-12 21:15:43 +08:00
|
|
|
cd $(PCRE)
|
2004-03-30 01:43:58 +08:00
|
|
|
patch -o pcre.h pcre.in patch.pcre.in
|
|
|
|
patch -o config.h config.in patch.config.in
|
2009-05-12 17:35:14 +08:00
|
|
|
patch < patch.pcre.c
|