2010-04-02 01:29:16 -04:00
@ echo off
2010-10-29 13:40:02 -04:00
set PERL_510 = c:\mozilla-build\perl-5.10-x86
set PERL_512 = c:\mozilla-build\perl-5.12-x86
2010-11-13 01:26:00 -05:00
echo [Setup] > xchat-wdk.iss
echo WizardImageFile=%cd% \bitmaps\wizardimage.bmp >> xchat-wdk.iss
echo WizardSmallImageFile=%cd% \bitmaps\wizardsmallimage.bmp >> xchat-wdk.iss
cd ..
echo SetupIconFile=%cd% \xchat.ico >> build\xchat-wdk.iss
2010-11-13 01:30:09 -05:00
type build\xchat-wdk.skel.iss >> build\xchat-wdk.iss
2010-11-13 01:26:00 -05:00
set DEV_32 = %cd% \dep-x86
cd src
2010-11-15 03:52:14 -05:00
echo DEV = %DEV_32% > makeinc.mak
2010-11-13 01:26:00 -05:00
type makeinc.skel.mak >> makeinc.mak
2010-10-29 13:40:02 -04:00
set INCLUDE = %WDK_ROOT% \inc\api;%WDK_ROOT% \inc\crt;%WDK_ROOT% \inc\api\crt\stl70
set LIB = %WDK_ROOT% \lib\wxp\i386;%WDK_ROOT% \lib\Crt\i386
2010-08-19 19:52:42 -04:00
set OPATH = %PATH%
2010-10-29 13:40:02 -04:00
set PATH = %PROGRAMFILES(X86)% \Microsoft Visual Studio 10.0\VC\bin;%PROGRAMFILES(X86)% \Microsoft Visual Studio 10.0\Common7\IDE;%PROGRAMFILES(X86)% \Microsoft SDKs\Windows\v7.0A\Bin;%DEV_32% \bin
2010-08-24 14:03:18 -04:00
nmake /nologo /f makefile.mak clean
2010-08-24 12:15:16 -04:00
cd pixmaps
2010-08-24 14:03:18 -04:00
nmake /nologo /f makefile.mak
2010-08-24 12:15:16 -04:00
cd ..
2010-08-24 14:03:18 -04:00
nmake /nologo /f makefile.mak
cd ..\plugins
nmake /nologo /f makefile.mak clean
nmake /nologo /f makefile.mak
2010-08-28 22:55:58 -04:00
cd perl
set OOPATH = %PATH%
2010-10-29 13:40:02 -04:00
set PATH = %OOPATH% ;%PERL_510% \bin
2010-08-29 18:51:23 -04:00
nmake /nologo /s /f makefile-510.mak clean
nmake /nologo /s /f makefile-510.mak
2010-10-29 13:40:02 -04:00
set PATH = %OOPATH% ;%PERL_512% \bin
2010-08-29 18:51:23 -04:00
nmake /nologo /s /f makefile-512.mak clean
nmake /nologo /s /f makefile-512.mak
2010-08-28 22:55:58 -04:00
cd ..\..\build
2010-04-02 01:29:16 -04:00
call compile-po-files.bat
set PATH = %OPATH%
call release-x86.bat