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
|
|
|
|
|
|
|
|
|
|
|
|
pcre.lib: pcre.h
|
|
|
|
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:
|
|
|
|
patch -o pcre.h pcre.in patch.pcre.in
|
|
|
|
patch -o config.h config.in patch.config.in
|
2005-03-23 00:02:46 +08:00
|
|
|
patch -o pcre.c pcre.c patch.pcre.c
|