Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

29 lines
977 B

@echo off
if not "%CRT_BUILDDIR%"=="" goto crtbld_set
echo.
echo ###############################################################
echo # The environment variable CRT_BUILDDIR is not set #
echo ###############################################################
echo.
goto finish
:crtbld_set
if not "%CPUDIR%"=="" goto cpudir_set
if "%PROCESSOR_ARCHITECTURE%"=="x86" if "%LLP64%"=="1" set CPUDIR=ia64
if "%PROCESSOR_ARCHITECTURE%"=="x86" if not "%LLP64%"=="1" set CPUDIR=intel
if "%PROCESSOR_ARCHITECTURE%"=="IA64" set CPUDIR=ia64
if not "%CPUDIR%"=="" goto cpudir_set
echo.
echo ###############################################################
echo # The environment variable PROCESSOR_ARCHITECTURE is unknown #
echo ###############################################################
echo.
goto finish
:cpudir_set
echo **** Removing files from %CRT_BUILDDIR%\srcrel\%CPUDIR%
del /f /q /s %CRT_BUILDDIR%\srcrel\%CPUDIR%\*
:finish
set CPUDIR=