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

  1. @echo off
  2. if not "%CRT_BUILDDIR%"=="" goto crtbld_set
  3. echo.
  4. echo ###############################################################
  5. echo # The environment variable CRT_BUILDDIR is not set #
  6. echo ###############################################################
  7. echo.
  8. goto finish
  9. :crtbld_set
  10. if not "%CPUDIR%"=="" goto cpudir_set
  11. if "%PROCESSOR_ARCHITECTURE%"=="x86" if "%LLP64%"=="1" set CPUDIR=ia64
  12. if "%PROCESSOR_ARCHITECTURE%"=="x86" if not "%LLP64%"=="1" set CPUDIR=intel
  13. if "%PROCESSOR_ARCHITECTURE%"=="IA64" set CPUDIR=ia64
  14. if not "%CPUDIR%"=="" goto cpudir_set
  15. echo.
  16. echo ###############################################################
  17. echo # The environment variable PROCESSOR_ARCHITECTURE is unknown #
  18. echo ###############################################################
  19. echo.
  20. goto finish
  21. :cpudir_set
  22. echo **** Removing files from %CRT_BUILDDIR%\srcrel\%CPUDIR%
  23. del /f /q /s %CRT_BUILDDIR%\srcrel\%CPUDIR%\*
  24. :finish
  25. set CPUDIR=