Source code of Windows XP (NT5)
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.

31 lines
1.1 KiB

  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 "%PROCESSOR_ARCHITECTURE%"=="ALPHA" if "%LLP64%"=="1" set CPUDIR=alpha64
  15. if "%PROCESSOR_ARCHITECTURE%"=="ALPHA" if not "%LLP64%"=="1" set CPUDIR=alpha
  16. if not "%CPUDIR%"=="" goto cpudir_set
  17. echo.
  18. echo ###############################################################
  19. echo # The environment variable PROCESSOR_ARCHITECTURE is unknown #
  20. echo ###############################################################
  21. echo.
  22. goto finish
  23. :cpudir_set
  24. echo **** Removing files from %CRT_BUILDDIR%\srcrel\%CPUDIR%
  25. del /f /q /s %CRT_BUILDDIR%\srcrel\%CPUDIR%\*
  26. :finish
  27. set CPUDIR=