Make mv's use signed chars explicitly.
[xiph/unicode.git] / win32sdk / build_all.bat
blobdba049ef8a15601f9da41cf13409555c24c1ad91
1 @echo off
2 rem $Id: build_all.bat,v 1.8 2001/10/20 21:12:34 cwolf Exp $
3 rem
4 rem Use NMAKE to build/clean 
5 rem
6 rem Invoke as "build_all.bat CLEAN" to clean all targets
7 rem
8 if ."%SRCROOT%"==."" goto notset
10 if not exist %SRCROOT%\ogg\include\ogg\ogg.h goto noogg
11 if not exist %SRCROOT%\vorbis\include\vorbis\codec.h goto novorbis
13 rem compile execwait utility
14 if not exist execwait.exe (
15   cl /nologo execwait.c
18 if ."%USENMAKE%"==."" (
19   msdev all.dsw /make "all - ALL" 
20   goto done
23 rem If one of the makefiles doesn't exist,
24 rem assume they all need to be generated
25 rem
26 if not exist %SRCROOT%\vorbis\win32\vorbis_dynamic.mak (
27   call mkmak.bat
30 cd "..\ogg\win32"
31 nmake /nologo /F .\ogg_dynamic.mak CFG="ogg_dynamic - Win32 Debug" %1
32 nmake /nologo /F .\ogg_dynamic.mak CFG="ogg_dynamic - Win32 Release" %1
33 nmake /nologo /F .\ogg_static.mak CFG="ogg_static - Win32 Debug" %1
34 nmake /nologo /F .\ogg_static.mak CFG="ogg_static - Win32 Release" %1
35 cd "..\..\win32sdk"
37 cd "..\vorbis\win32"
38 nmake /nologo /F .\vorbis_dynamic.mak CFG="vorbis_dynamic - Win32 Debug" %1
39 nmake /nologo /F .\vorbis_dynamic.mak CFG="vorbis_dynamic - Win32 Release" %1
40 nmake /nologo /F .\vorbis_static.mak CFG="vorbis_static - Win32 Debug" %1
41 nmake /nologo /F .\vorbis_static.mak CFG="vorbis_static - Win32 Release" %1
42 nmake /nologo /F .\vorbisenc_dynamic.mak CFG="vorbisenc_dynamic - Win32 Debug" %1
43 nmake /nologo /F .\vorbisenc_dynamic.mak CFG="vorbisenc_dynamic - Win32 Release" %1
44 nmake /nologo /F .\vorbisenc_static.mak CFG="vorbisenc_static - Win32 Debug" %1
45 nmake /nologo /F .\vorbisenc_static.mak CFG="vorbisenc_static - Win32 Release" %1
46 nmake /nologo /F .\vorbisfile_dynamic.mak CFG="vorbisfile_dynamic - Win32 Debug" %1
47 nmake /nologo /F .\vorbisfile_dynamic.mak CFG="vorbisfile_dynamic - Win32 Release" %1
48 nmake /nologo /F .\vorbisfile_static.mak CFG="vorbisfile_static - Win32 Debug" %1
49 nmake /nologo /F .\vorbisfile_static.mak CFG="vorbisfile_static - Win32 Release" %1
50 cd "..\..\win32sdk"
51 goto done
53 :noogg
54 echo ***** Need module OGG -- not present
55 goto done
57 :novorbis
58 echo ***** Need module VORBIS -- not present
59 goto done
61 :notset
62 echo ***** Error: must set SRCROOT
63 goto done
65 :done