build.bat
上传用户:lswyart
上传日期:2008-06-12
资源大小:3441k
文件大小:1k
- rem @echo off
- set CYGWINDIR=d:cygwin
- set THISDIR=l:ProjectsClamWinclamwin
- set ISTOOLDIR=D:Program FilesISTool
- set VC7DIR=D:Program FilesMicrosoft Visual C++ Toolkit 2003
- set VC8BUILD=D:Program FilesMicrosoft Visual Studio 8VCVCPackagesvcbuild.exe
- set MSSDKDIR=D:Program FilesMicrosoft Platform SDK.2003
- set PYTHONDIR=c:python23
- set MSRC=%MSSDKDIR%BinRC.exe
- set MSCL=%VC7DIR%bincl.exe
- set MSLINK=%VC7DIR%binlink.exe
- set INCLUDE=%VC7DIR%include;%MSSDKDIR%Include;%PYTHONDIR%include
- set LIB=%VC7DIR%lib;%MSSDKDIR%lib;%PYTHONDIR%libs
- rem set CFLAGS=-march=i386
- if not "%1"=="ALL" goto _short
- rem build clamav native port
- call "%VC8BUILD%" .clamav-develcontribmsvcclamav.sln "Release|Win32"
- if not "%ERRORLEVEL%"=="0" goto ERROR
- :_short
- call "%VC7DIR%vcvars32.bat"
- rem build ExplorerShell
- cd cpp
- call build.bat
- if not "%ERRORLEVEL%"=="0" goto ERROR
- cd ..
- rem build BalloonTip.pyd
- cd pyBalloonTip
- call build.bat
- if not "%ERRORLEVEL%"=="0" goto ERROR
- cd ....
- rem build py2exe binaries
- cd setuppy2exe
- call python setup_all.py
- if not "%ERRORLEVEL%"=="0" goto ERROR
- rem build setup
- call "%ISTOOLDIR%ISTool.exe" -compile "%THISDIR%SetupSetup.iss"
- if not "%ERRORLEVEL%"=="0" goto ERROR
- goto END
- :ERROR
- @echo an error occured
- pause
- :end