1 |
@echo off |
@echo off |
2 |
|
|
3 |
:: AH 20-12-06 modified for new PCRE-7.0 and VP/BCC |
:: AH 20-12-06 modified for new PCRE-7.0 and VP/BCC |
4 |
:: PH 19-03-07 renamed !compile.txt and !linklib.txt as makevp-compile and |
:: PH 19-03-07 renamed !compile.txt and !linklib.txt as makevp-compile.txt and |
5 |
:: makevp-linklib |
:: makevp-linklib.txt |
6 |
|
:: PH 26-03-07 re-renamed !compile.txt and !linklib.txt as makevp-c.txt and |
7 |
|
:: makevp-l.txt |
8 |
|
|
9 |
REM This file was contributed by Alexander Tokarev for building PCRE for use |
REM This file was contributed by Alexander Tokarev for building PCRE for use |
10 |
REM with Virtual Pascal. It has not been tested with the latest PCRE release. |
REM with Virtual Pascal. It has not been tested with the latest PCRE release. |
25 |
dftables pcre_chartables.c |
dftables pcre_chartables.c |
26 |
|
|
27 |
REM compile and link the PCRE library into lib: option -B for ASM compile works too |
REM compile and link the PCRE library into lib: option -B for ASM compile works too |
28 |
bcc32 -a4 -c -RT- -y- -v- -u- -R- -Q- -X -d -fp -ff -P- -O2 -Oc -Ov -3 -w-8004 -w-8064 -w-8065 -w-8012 -DSTATIC -DVPCOMPAT -UDFTABLES -I%BORLAND%\include @makevp-compile.txt |
bcc32 -a4 -c -RT- -y- -v- -u- -R- -Q- -X -d -fp -ff -P- -O2 -Oc -Ov -3 -w-8004 -w-8064 -w-8065 -w-8012 -DSTATIC -DVPCOMPAT -UDFTABLES -I%BORLAND%\include @makevp-c.txt |
29 |
:: bcc32 -c -RT- -y- -v- -u- -P- -O2 -5 -DSTATIC -DVPCOMPAT -UDFTABLES -I%BORLAND%\include get.c maketables.c pcre.c study.c |
:: bcc32 -c -RT- -y- -v- -u- -P- -O2 -5 -DSTATIC -DVPCOMPAT -UDFTABLES -I%BORLAND%\include get.c maketables.c pcre.c study.c |
30 |
IF ERRORLEVEL 1 EXIT |
IF ERRORLEVEL 1 EXIT |
31 |
|
|
32 |
tlib %BORLAND%\lib\cw32.lib *calloc *del *strncmp *memcpy *memmove *memset *memcmp *strlen |
tlib %BORLAND%\lib\cw32.lib *calloc *del *strncmp *memcpy *memmove *memset *memcmp *strlen |
33 |
:: tlib %BORLAND%\lib\cw32.lib *calloc *del *strncmp *memcpy *memmove *memset |
:: tlib %BORLAND%\lib\cw32.lib *calloc *del *strncmp *memcpy *memmove *memset |
34 |
IF ERRORLEVEL 1 EXIT |
IF ERRORLEVEL 1 EXIT |
35 |
tlib pcre%PCRE_VER%.lib @makevp-linklib.txt +calloc.obj +del.obj +strncmp.obj +memcpy.obj +memmove.obj +memset.obj +memcmp.obj +strlen.obj |
tlib pcre%PCRE_VER%.lib @makevp-l.txt +calloc.obj +del.obj +strncmp.obj +memcpy.obj +memmove.obj +memset.obj +memcmp.obj +strlen.obj |
36 |
:: tlib pcre.lib +get.obj +maketables.obj +pcre.obj +study.obj +calloc.obj +del.obj +strncmp.obj +memcpy.obj +memmove.obj +memset.obj |
:: tlib pcre.lib +get.obj +maketables.obj +pcre.obj +study.obj +calloc.obj +del.obj +strncmp.obj +memcpy.obj +memmove.obj +memset.obj |
37 |
IF ERRORLEVEL 1 EXIT |
IF ERRORLEVEL 1 EXIT |
38 |
|
|