2003-11-25 14:44:56 -06:00
|
|
|
|
2004-09-29 11:00:49 -05:00
|
|
|
# Copyright (C) Igor Sysoev
|
|
|
|
|
|
|
|
|
2004-03-11 15:34:52 -06:00
|
|
|
CFLAGS = -O2 -Ob1 -Oi -Gs $(LIBC) $(CPU_OPT)
|
2003-11-25 14:44:56 -06:00
|
|
|
PCREFLAGS = -DPCRE_STATIC -DPOSIX_MALLOC_THRESHOLD=10
|
|
|
|
|
|
|
|
|
2004-03-14 14:46:25 -06:00
|
|
|
pcre.lib: pcre.h
|
2004-03-09 13:47:07 -06:00
|
|
|
cl -Fedftables dftables.c
|
2003-11-25 14:44:56 -06:00
|
|
|
|
|
|
|
dftables > chartables.c
|
|
|
|
|
2004-03-09 13:47:07 -06:00
|
|
|
cl -nologo -c $(CFLAGS) $(PCREFLAGS) \
|
2003-11-25 14:44:56 -06:00
|
|
|
maketables.c get.c study.c pcre.c
|
|
|
|
|
2004-03-09 13:47:07 -06:00
|
|
|
link -lib -out:pcre.lib -verbose:lib \
|
2003-11-25 14:44:56 -06:00
|
|
|
maketables.obj get.obj study.obj pcre.obj
|
2004-03-14 14:46:25 -06:00
|
|
|
|
|
|
|
pcre.h:
|
|
|
|
patch -o pcre.h pcre.in patch.pcre.in
|
|
|
|
patch -o config.h config.in patch.config.in
|
2005-03-22 10:02:46 -06:00
|
|
|
patch -o pcre.c pcre.c patch.pcre.c
|