2003-11-26 04:44:56 +08:00
|
|
|
|
2004-09-30 00:00:49 +08:00
|
|
|
# Copyright (C) Igor Sysoev
|
|
|
|
|
|
|
|
|
2004-03-12 05:34:52 +08:00
|
|
|
CFLAGS = -O2 -Ob1 -Oi -Gs $(LIBC) $(CPU_OPT)
|
2003-11-26 04:44:56 +08:00
|
|
|
PCREFLAGS = -DPCRE_STATIC -DPOSIX_MALLOC_THRESHOLD=10
|
|
|
|
|
|
|
|
|
2004-03-15 04:46:25 +08:00
|
|
|
pcre.lib: pcre.h
|
2004-03-10 03:47:07 +08:00
|
|
|
cl -Fedftables dftables.c
|
2003-11-26 04:44:56 +08:00
|
|
|
|
|
|
|
dftables > chartables.c
|
|
|
|
|
2004-03-10 03:47:07 +08:00
|
|
|
cl -nologo -c $(CFLAGS) $(PCREFLAGS) \
|
2003-11-26 04:44:56 +08:00
|
|
|
maketables.c get.c study.c pcre.c
|
|
|
|
|
2004-03-10 03:47:07 +08:00
|
|
|
link -lib -out:pcre.lib -verbose:lib \
|
2003-11-26 04:44:56 +08:00
|
|
|
maketables.obj get.obj study.obj pcre.obj
|
2004-03-15 04:46:25 +08:00
|
|
|
|
|
|
|
pcre.h:
|
|
|
|
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
|