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.

95 lines
1.9 KiB

  1. @rem %1 is build type (ie, build, prebuild, etc.)
  2. @rem %2 is build number (ie, 1.059)
  3. @rem %3 is language (ie, usa)
  4. @rem %4 is platform (ie, i386, ia64)
  5. @rem %5 is used internally for local v. beta v. rtm
  6. @setlocal
  7. @set bldtools=%~dp0
  8. @path %bldtools%;%path%
  9. @set restart=
  10. @if /i "%1"=="restart" shift & set restart=%2 & shift
  11. @if "%1"=="" goto USAGE
  12. @if "%2"=="" goto USAGE
  13. @if "%3"=="" goto USAGE
  14. @if "%4"=="" goto USAGE
  15. @if not "%restart%"=="" goto %restart%
  16. :makeflat
  17. @echo on
  18. call makeflat.bat %1 %2 %3 %4 %5
  19. :makever
  20. @echo on
  21. call makeurl.bat %1 %2 %3 %4 %5
  22. @echo on
  23. call makever.bat %1 %2 %3 %4 %5
  24. :makepat
  25. @echo on
  26. call makeurl.bat %1 %2 %3 %4 rtm
  27. @echo on
  28. call makepat.bat %1 %2 %3 %4 rtm
  29. @echo on
  30. call makeurl.bat %1 %2 %3 %4 beta
  31. @echo on
  32. call makepat.bat %1 %2 %3 %4 beta
  33. @echo on
  34. call makeurl.bat %1 %2 %3 %4 %5
  35. @echo on
  36. call makepat.bat %1 %2 %3 %4 %5
  37. :makepsf
  38. @echo on
  39. call makepsf.bat %1 %2 %3 %4 %5
  40. :makeprop
  41. @echo on
  42. call makeprop.bat %1 %2 %3 %4 %5
  43. :makeroom
  44. @echo on
  45. call makeroom.bat %1 %2 %3 %4 %5
  46. goto Done
  47. :usage
  48. @echo off
  49. echo.
  50. echo makeall [restart {phase}] {buildtype} {build#} {lang} {platform}
  51. echo.
  52. echo Ex: makeall build 1037 usa i386
  53. echo Ex: makeall restart makepsf build 1037 usa i386
  54. echo.
  55. echo {buildtype}
  56. echo build typical daily build
  57. echo prebuild prebuild patches using BVT share (no prop)
  58. echo noprop Same as "build", but don't prop
  59. echo bvtbuild build using BVT share (prop for patch BVT)
  60. echo srpbuild typical SRP build
  61. echo.
  62. echo restart {phase}
  63. echo makeflat same as full build
  64. echo makever assume stage is all ready
  65. echo makepat start at building patch EXEs
  66. echo makepsf restart patch generation
  67. echo makeprop re-attempt propping finished build
  68. echo makeroom only scrub to free up disk space
  69. echo.
  70. :Done