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.

50 lines
1.3 KiB

  1. @echo off
  2. REM
  3. REM xcopy /fiverdy /exclude:xcopy_exclude.txt %_BuildArch%%_BuildType% %_Nttree%
  4. REM
  5. setlocal
  6. set LOG_DIR=%_nttree%\build_logs
  7. set LOG_FILE=%LOG_DIR%\fusionlist_%COMPUTERNAME%.txt
  8. set APPEND=appendtool.exe -file %LOG_FILE% -
  9. call :makedirectory %LOG_DIR%
  10. for /f "tokens=1-2" %%i in (vcrtl6_mui_data.txt) do (
  11. call :binplace %%i %%i %%j
  12. )
  13. for /f "tokens=1-2" %%i in (data.txt) do (
  14. call :binplace %%i %%i %%j
  15. )
  16. for /f "tokens=1-2" %%i in (vcrtl6_intl_data.txt) do (
  17. call :binplace %%i %%i %%j
  18. )
  19. type prs_list.txt | %APPEND%
  20. goto :eof
  21. :::::::::::::::::::::::::::::::::::::::::::::::::::::::
  22. :binplace
  23. :::::::::::::::::::::::::::::::::::::::::::::::::::::::
  24. if not exist %_BuildArch%%_BuildType%\%2\%3 goto :eof
  25. call :run_with_echo_on binplace -s %_NTTREE%\symbols -n %_NTTREE%\symbols.pri -:dest %1 -p empty_placefile.txt -xa -ChangeAsmsToRetailForSymbols %_BuildArch%%_BuildType%\%2\%3
  26. goto :eof
  27. :::::::::::::::::::::::::::::::::::::::::::::::::::::::
  28. REM this guides what build.exe outputs
  29. :run_with_echo_on
  30. :::::::::::::::::::::::::::::::::::::::::::::::::::::::
  31. @echo on
  32. %*
  33. @echo off
  34. goto :eof
  35. :::::::::::::::::::::::::::::::::::::::::::::::::::::::
  36. :makedirectory
  37. :::::::::::::::::::::::::::::::::::::::::::::::::::::::
  38. if not exist %1 mkdir %1
  39. goto :eof