/[pcre]/code/trunk/makevp.bat
ViewVC logotype

Contents of /code/trunk/makevp.bat

Parent Directory Parent Directory | Revision Log Revision Log


Revision 135 - (hide annotations) (download)
Thu Mar 29 09:09:33 2007 UTC (7 years, 6 months ago) by ph10
File MIME type: text/plain
File size: 1922 byte(s)
Hopefully the final rename of makevp-* to makevp_*.

1 nigel 63 @echo off
2    
3 ph10 101 :: AH 20-12-06 modified for new PCRE-7.0 and VP/BCC
4 ph10 131 :: PH 19-03-07 renamed !compile.txt and !linklib.txt as makevp-compile.txt and
5     :: 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 ph10 135 :: PH 29-03-07 hopefully the final rename to makevp_c and makevp_l
9 ph10 101
10 nigel 63 REM This file was contributed by Alexander Tokarev for building PCRE for use
11     REM with Virtual Pascal. It has not been tested with the latest PCRE release.
12    
13     REM CHANGE THIS FOR YOUR BORLAND C++ COMPILER PATH
14    
15 ph10 101 SET BORLAND=F:\bcc
16     SET PATH=%PATH%;%BORLAND%\bin;f:\tasm\bin
17     SET PCRE_VER=70
18 nigel 63
19 ph10 101 :: sh configure
20 nigel 63
21 ph10 101 bcc32 -DDFTABLES -DSTATIC -I%BORLAND%\include -L%BORLAND%\lib dftables.c
22     :: bcc32 -DDFTABLES -DSTATIC -DVPCOMPAT -I%BORLAND%\include -L%BORLAND%\lib dftables.c
23     IF ERRORLEVEL 1 EXIT
24 nigel 63
25 ph10 101 :: dftables > chartables.c
26     dftables pcre_chartables.c
27 nigel 63
28 ph10 101 REM compile and link the PCRE library into lib: option -B for ASM compile works too
29 ph10 135 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
30 ph10 101 :: bcc32 -c -RT- -y- -v- -u- -P- -O2 -5 -DSTATIC -DVPCOMPAT -UDFTABLES -I%BORLAND%\include get.c maketables.c pcre.c study.c
31     IF ERRORLEVEL 1 EXIT
32 nigel 63
33 ph10 101 tlib %BORLAND%\lib\cw32.lib *calloc *del *strncmp *memcpy *memmove *memset *memcmp *strlen
34     :: tlib %BORLAND%\lib\cw32.lib *calloc *del *strncmp *memcpy *memmove *memset
35     IF ERRORLEVEL 1 EXIT
36 ph10 135 tlib pcre%PCRE_VER%.lib @makevp_l.txt +calloc.obj +del.obj +strncmp.obj +memcpy.obj +memmove.obj +memset.obj +memcmp.obj +strlen.obj
37 ph10 101 :: tlib pcre.lib +get.obj +maketables.obj +pcre.obj +study.obj +calloc.obj +del.obj +strncmp.obj +memcpy.obj +memmove.obj +memset.obj
38     IF ERRORLEVEL 1 EXIT
39 nigel 63
40 ph10 101 del *.obj *.tds *.bak >nul 2>nul
41 nigel 63
42     echo ---
43     echo Now the library should be complete. Please check all messages above.
44     echo Don't care for warnings, it's OK.

Properties

Name Value
svn:eol-style native
svn:keywords "Author Date Id Revision Url"

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12