[xiph-cvs] cvs commit: win32sdk makesdk.bat

Jack Moffitt jack at xiph.org
Mon Jun 18 08:04:47 PDT 2001



jack        01/06/18 08:04:47

  Modified:    .        makesdk.bat
  Log:
  win32 build updates, including ingo's suggestions

Revision  Changes    Path
1.3       +67 -27    win32sdk/makesdk.bat

Index: makesdk.bat
===================================================================
RCS file: /usr/local/cvsroot/win32sdk/makesdk.bat,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- makesdk.bat	2001/02/19 06:34:07	1.2
+++ makesdk.bat	2001/06/18 15:04:47	1.3
@@ -1,7 +1,7 @@
 @echo off
 echo ---+++--- Making Win32 SDK ---+++---
 
-if .%SRCROOT%==. set SRCROOT=c:\src
+if .%SRCROOT%==. set SRCROOT=i:\xiph
 
 rem --- prepare directory
 
@@ -10,10 +10,16 @@
 md sdk\include
 md sdk\include\ogg
 md sdk\include\vorbis
-md sdk\release
-md sdk\debug
+md sdk\lib
+md sdk\bin
 md sdk\doc
+md sdk\doc\ogg
+md sdk\doc\ogg\ogg
+md sdk\doc\vorbis
+md sdk\doc\vorbis\vorbisenc
+md sdk\doc\vorbis\vorbisfile
 md sdk\examples
+md sdk\examples\vorbis
 
 rem --- is ogg here?
 
@@ -52,32 +58,60 @@
 
 echo ... copied.
 
+rem --- copy docs into sdk
+
+echo Copying docs...
+
+xcopy %SRCROOT%\ogg\doc\*.html %SRCROOT%\win32sdk\sdk\doc\ogg > nul
+xcopy %SRCROOT%\ogg\doc\*.png %SRCROOT%\win32sdk\sdk\doc\ogg > nul
+xcopy %SRCROOT%\ogg\doc\ogg\*.html %SRCROOT%\win32sdk\sdk\doc\ogg\ogg > nul
+xcopy %SRCROOT%\ogg\doc\ogg\*.css %SRCROOT%\win32sdk\sdk\doc\ogg\ogg > nul
+xcopy %SRCROOT%\vorbis\doc\*.html %SRCROOT%\win32sdk\sdk\doc\vorbis > nul
+xcopy %SRCROOT%\vorbis\doc\*.txt %SRCROOT%\win32sdk\sdk\doc\vorbis > nul
+xcopy %SRCROOT%\vorbis\doc\*.png %SRCROOT%\win32sdk\sdk\doc\vorbis > nul
+xcopy %SRCROOT%\vorbis\doc\vorbisenc\*.html %SRCROOT%\win32sdk\sdk\doc\vorbis\vorbisenc > nul
+xcopy %SRCROOT%\vorbis\doc\vorbisenc\*.css %SRCROOT%\win32sdk\sdk\doc\vorbis\vorbisenc > nul
+xcopy %SRCROOT%\vorbis\doc\vorbisfile\*.html %SRCROOT%\win32sdk\sdk\doc\vorbis\vorbisfile > nul
+xcopy %SRCROOT%\vorbis\doc\vorbisfile\*.css %SRCROOT%\win32sdk\sdk\doc\vorbis\vorbisfile > nul
+
+echo ... copied.
+
+rem --- copy examples into sdk
+
+echo Copying examples...
+
+xcopy %SRCROOT%\vorbis\examples\*.c %SRCROOT%\win32sdk\sdk\examples\vorbis
+
+echo ... copied.
+
 rem --- build and copy ogg
 
 echo Building ogg...
 cd %SRCROOT%\ogg\win32
 call build_ogg_static.bat > nul
 echo ... static release built ...
-xcopy %SRCROOT%\ogg\win32\Static_Release\ogg_static.lib %SRCROOT%\win32sdk\sdk\release > nul
+xcopy %SRCROOT%\ogg\win32\Static_Release\ogg_static.lib %SRCROOT%\win32sdk\sdk\lib > nul
 if errorlevel 1 goto ERROR
 echo ... static release copied ...
 call build_ogg_static_debug.bat > nul
 echo ... static debug built ...
-xcopy %SRCROOT%\ogg\win32\Static_Debug\ogg_static.lib %SRCROOT%\win32sdk\sdk\debug > nul
+xcopy %SRCROOT%\ogg\win32\Static_Debug\ogg_static_d.lib %SRCROOT%\win32sdk\sdk\lib > nul
 if errorlevel 1 goto ERROR
 echo ... static debug copied ...
 call build_ogg_dynamic.bat > nul
 echo ... dynamic release built ...
-xcopy %SRCROOT%\ogg\win32\Dynamic_Release\ogg.lib %SRCROOT%\win32sdk\sdk\release > nul
+xcopy %SRCROOT%\ogg\win32\Dynamic_Release\ogg.lib %SRCROOT%\win32sdk\sdk\lib > nul
 if errorlevel 1 goto ERROR
-xcopy %SRCROOT%\ogg\win32\Dynamic_Release\ogg.dll %SRCROOT%\win32sdk\sdk\release > nul
+xcopy %SRCROOT%\ogg\win32\Dynamic_Release\ogg.dll %SRCROOT%\win32sdk\sdk\bin > nul
 if errorlevel 1 goto ERROR
 echo ... dynamic release copied ...
 call build_ogg_dynamic_debug.bat > nul
 echo ... dynamic debug built ...
-xcopy %SRCROOT%\ogg\win32\Dynamic_Debug\ogg.lib %SRCROOT%\win32sdk\sdk\debug > nul
+xcopy %SRCROOT%\ogg\win32\Dynamic_Debug\ogg_d.lib %SRCROOT%\win32sdk\sdk\lib > nul
+if errorlevel 1 goto ERROR
+xcopy %SRCROOT%\ogg\win32\Dynamic_Debug\ogg_d.pdb %SRCROOT%\win32sdk\sdk\lib > nul
 if errorlevel 1 goto ERROR
-xcopy %SRCROOT%\ogg\win32\Dynamic_Debug\ogg.dll %SRCROOT%\win32sdk\sdk\debug > nul
+xcopy %SRCROOT%\ogg\win32\Dynamic_Debug\ogg_d.dll %SRCROOT%\win32sdk\sdk\bin > nul
 if errorlevel 1 goto ERROR
 echo ... dynamic debug copied ...
 echo ... ogg building done.
@@ -88,27 +122,29 @@
 cd %SRCROOT%\vorbis\win32
 call build_vorbis_static.bat > nul
 echo ... static release built ...
-xcopy %SRCROOT%\vorbis\win32\Static_Release\vorbis_static.lib %SRCROOT%\win32sdk\sdk\release > nul
+xcopy %SRCROOT%\vorbis\win32\Vorbis_Static_Release\vorbis_static.lib %SRCROOT%\win32sdk\sdk\lib > nul
 if errorlevel 1 goto ERROR
 echo ... static release copied ...
 call build_vorbis_static_debug.bat > nul
 echo ... static debug built ...
-xcopy %SRCROOT%\vorbis\win32\Static_Debug\vorbis_static.lib %SRCROOT%\win32sdk\sdk\debug > nul
+xcopy %SRCROOT%\vorbis\win32\Vorbis_Static_Debug\vorbis_static_d.lib %SRCROOT%\win32sdk\sdk\lib > nul
 if errorlevel 1 goto ERROR
 echo ... static debug copied ...
 call build_vorbis_dynamic.bat > nul
 echo ... dynamic release built ...
-xcopy %SRCROOT%\vorbis\win32\Dynamic_Release\vorbis.lib %SRCROOT%\win32sdk\sdk\release > nul
+xcopy %SRCROOT%\vorbis\win32\Vorbis_Dynamic_Release\vorbis.lib %SRCROOT%\win32sdk\sdk\lib > nul
 if errorlevel 1 goto ERROR
-xcopy %SRCROOT%\vorbis\win32\Dynamic_Release\vorbis.dll %SRCROOT%\win32sdk\sdk\release > nul
+xcopy %SRCROOT%\vorbis\win32\Vorbis_Dynamic_Release\vorbis.dll %SRCROOT%\win32sdk\sdk\bin > nul
 if errorlevel 1 goto ERROR
 echo ... dynamic release copied ...
 call build_vorbis_dynamic_debug.bat > nul
 echo ... dynamic debug built ...
-xcopy %SRCROOT%\vorbis\win32\Dynamic_Debug\vorbis.lib %SRCROOT%\win32sdk\sdk\debug > nul
+xcopy %SRCROOT%\vorbis\win32\Vorbis_Dynamic_Debug\vorbis_d.lib %SRCROOT%\win32sdk\sdk\lib > nul
 if errorlevel 1 goto ERROR
-xcopy %SRCROOT%\vorbis\win32\Dynamic_Debug\vorbis.dll %SRCROOT%\win32sdk\sdk\debug > nul
+xcopy %SRCROOT%\vorbis\win32\Vorbis_Dynamic_Debug\vorbis_d.pdb %SRCROOT%\win32sdk\sdk\lib > nul
 if errorlevel 1 goto ERROR
+xcopy %SRCROOT%\vorbis\win32\Vorbis_Dynamic_Debug\vorbis_d.dll %SRCROOT%\win32sdk\sdk\bin > nul
+if errorlevel 1 goto ERROR
 echo ... dynamic debug copied ...
 echo ... vorbis building done.
 
@@ -118,26 +154,28 @@
 cd %SRCROOT%\vorbis\win32
 call build_vorbisfile_static.bat > nul
 echo ... static release built ...
-xcopy %SRCROOT%\vorbis\win32\Static_Release\vorbisfile_static.lib %SRCROOT%\win32sdk\sdk\release > nul
+xcopy %SRCROOT%\vorbis\win32\VorbisFile_Static_Release\vorbisfile_static.lib %SRCROOT%\win32sdk\sdk\lib > nul
 if errorlevel 1 goto ERROR
 echo ... static release copied ...
 call build_vorbisfile_static_debug.bat > nul
 echo ... static debug built ...
-xcopy %SRCROOT%\vorbis\win32\Static_Debug\vorbisfile_static.lib %SRCROOT%\win32sdk\sdk\debug > nul
+xcopy %SRCROOT%\vorbis\win32\VorbisFile_Static_Debug\vorbisfile_static_d.lib %SRCROOT%\win32sdk\sdk\lib > nul
 if errorlevel 1 goto ERROR
 echo ... static debug copied ...
 call build_vorbisfile_dynamic.bat > nul
 echo ... dynamic release built ...
-xcopy %SRCROOT%\vorbis\win32\Dynamic_Release\vorbisfile.lib %SRCROOT%\win32sdk\sdk\release > nul
+xcopy %SRCROOT%\vorbis\win32\VorbisFile_Dynamic_Release\vorbisfile.lib %SRCROOT%\win32sdk\sdk\lib > nul
 if errorlevel 1 goto ERROR
-xcopy %SRCROOT%\vorbis\win32\Dynamic_Release\vorbisfile.dll %SRCROOT%\win32sdk\sdk\release > nul
+xcopy %SRCROOT%\vorbis\win32\VorbisFile_Dynamic_Release\vorbisfile.dll %SRCROOT%\win32sdk\sdk\bin > nul
 if errorlevel 1 goto ERROR
 echo ... dynamic release copied ...
 call build_vorbisfile_dynamic_debug.bat > nul
 echo ... dynamic debug built ...
-xcopy %SRCROOT%\vorbis\win32\Dynamic_Debug\vorbisfile.lib %SRCROOT%\win32sdk\sdk\debug > nul
+xcopy %SRCROOT%\vorbis\win32\VorbisFile_Dynamic_Debug\vorbisfile_d.lib %SRCROOT%\win32sdk\sdk\lib > nul
+if errorlevel 1 goto ERROR
+xcopy %SRCROOT%\vorbis\win32\VorbisFile_Dynamic_Debug\vorbisfile_d.pdb %SRCROOT%\win32sdk\sdk\lib > nul
 if errorlevel 1 goto ERROR
-xcopy %SRCROOT%\vorbis\win32\Dynamic_Debug\vorbisfile.dll %SRCROOT%\win32sdk\sdk\debug > nul
+xcopy %SRCROOT%\vorbis\win32\VorbisFile_Dynamic_Debug\vorbisfile_d.dll %SRCROOT%\win32sdk\sdk\bin > nul
 if errorlevel 1 goto ERROR
 echo ... dynamic debug copied ...
 echo ... vorbisfile building done.
@@ -148,26 +186,28 @@
 cd %SRCROOT%\vorbis\win32
 call build_vorbisenc_static.bat > nul
 echo ... static release built ...
-xcopy %SRCROOT%\vorbis\win32\Static_Release\vorbisenc_static.lib %SRCROOT%\win32sdk\sdk\release > nul
+xcopy %SRCROOT%\vorbis\win32\VorbisEnc_Static_Release\vorbisenc_static.lib %SRCROOT%\win32sdk\sdk\lib > nul
 if errorlevel 1 goto ERROR
 echo ... static release copied ...
 call build_vorbisenc_static_debug.bat > nul
 echo ... static debug built ...
-xcopy %SRCROOT%\vorbis\win32\Static_Debug\vorbisenc_static.lib %SRCROOT%\win32sdk\sdk\debug > nul
+xcopy %SRCROOT%\vorbis\win32\VorbisEnc_Static_Debug\vorbisenc_static_d.lib %SRCROOT%\win32sdk\sdk\lib > nul
 if errorlevel 1 goto ERROR
 echo ... static debug copied ...
 call build_vorbisenc_dynamic.bat > nul
 echo ... dynamic release built ...
-xcopy %SRCROOT%\vorbis\win32\Dynamic_Release\vorbisenc.lib %SRCROOT%\win32sdk\sdk\release > nul
+xcopy %SRCROOT%\vorbis\win32\VorbisEnc_Dynamic_Release\vorbisenc.lib %SRCROOT%\win32sdk\sdk\lib > nul
 if errorlevel 1 goto ERROR
-xcopy %SRCROOT%\vorbis\win32\Dynamic_Release\vorbisenc.dll %SRCROOT%\win32sdk\sdk\release > nul
+xcopy %SRCROOT%\vorbis\win32\VorbisEnc_Dynamic_Release\vorbisenc.dll %SRCROOT%\win32sdk\sdk\bin > nul
 if errorlevel 1 goto ERROR
 echo ... dynamic release copied ...
 call build_vorbisenc_dynamic_debug.bat > nul
 echo ... dynamic debug built ...
-xcopy %SRCROOT%\vorbis\win32\Dynamic_Debug\vorbisenc.lib %SRCROOT%\win32sdk\sdk\debug > nul
+xcopy %SRCROOT%\vorbis\win32\VorbisEnc_Dynamic_Debug\vorbisenc_d.lib %SRCROOT%\win32sdk\sdk\lib > nul
+if errorlevel 1 goto ERROR
+xcopy %SRCROOT%\vorbis\win32\VorbisEnc_Dynamic_Debug\vorbisenc_d.pdb %SRCROOT%\win32sdk\sdk\lib > nul
 if errorlevel 1 goto ERROR
-xcopy %SRCROOT%\vorbis\win32\Dynamic_Debug\vorbisenc.dll %SRCROOT%\win32sdk\sdk\debug > nul
+xcopy %SRCROOT%\vorbis\win32\VorbisEnc_Dynamic_Debug\vorbisenc_d.dll %SRCROOT%\win32sdk\sdk\bin > nul
 if errorlevel 1 goto ERROR
 echo ... dynamic debug copied ...
 echo ... vorbisenc building done.

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list