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.

101 lines
3.1 KiB

  1. echo off
  2. set HOST_TARGET_DIRECTORY=i386
  3. if %1x==x goto err
  4. if %1==checked goto setup
  5. if %1==free goto setup
  6. if %1==icecap goto setup
  7. if %1==retail goto setup
  8. goto err
  9. :setup
  10. if %1==checked set SUFFIX=CHK
  11. if %1==free set SUFFIX=FRE
  12. if %1==icecap set SUFFIX=ICE
  13. if %1==retail set SUFFIX=RET
  14. REM The source for all but checked drops will be the free build.
  15. set SOURCE=free
  16. if %1==checked set SOURCE=%1
  17. set DropDIR=..\..\drop\x86%SUFFIX%\Config
  18. set TestDIR=..\..\Test\x86%SUFFIX%\Config
  19. md %DropDIR%
  20. md %DropDIR%\URT
  21. md %DropDIR%\IIS
  22. md %TestDIR%
  23. REM Make subdirs for localized bits
  24. md %DropDIR%\1028
  25. md %DropDIR%\1031
  26. md %DropDIR%\1033
  27. md %DropDIR%\1034
  28. md %DropDIR%\1036
  29. md %DropDIR%\1040
  30. md %DropDIR%\1041
  31. md %DropDIR%\1042
  32. md %DropDIR%\2052
  33. call makedropcommon.cmd %SOURCE% %SUFFIX%
  34. REM System.management I386 builds only:
  35. copy ..\..\bin\%HOST_TARGET_DIRECTORY%\%SOURCE%\system.management.dll %DropDIR%\.
  36. copy ..\..\bin\%HOST_TARGET_DIRECTORY%\%SOURCE%\system.management.pdb %DropDIR%\.
  37. copy ..\..\bin\%HOST_TARGET_DIRECTORY%\%SOURCE%\WMINet_Utils.dll %DropDIR%\.
  38. copy ..\..\bin\%HOST_TARGET_DIRECTORY%\%SOURCE%\wmisec.dll %DropDIR%\.
  39. copy ..\..\bin\%HOST_TARGET_DIRECTORY%\%SOURCE%\MgmtClassGen.exe %DropDIR%\.
  40. copy ..\..\bin\%HOST_TARGET_DIRECTORY%\%SOURCE%\MgmtClassGen.pdb %DropDIR%\.
  41. copy ..\..\src\wmi\wmiclient\bin\wmiutils.dll %DropDIR%\.
  42. copy ..\..\src\wmi\wmiclient\bin\wmiutils.rgs %DropDIR%\.
  43. copy ..\..\src\wmi\wmiclient\bin\wmiutils.rgm %DropDIR%\.
  44. copy ..\..\src\wmi\wmiclient\bin\wmidcad.dll %DropDIR%\.
  45. copy ..\..\src\wmi\wmiclient\bin\wmidcad.rgs %DropDIR%\.
  46. copy ..\..\src\wmi\wmiclient\bin\wmidcad.rgm %DropDIR%\.
  47. copy ..\..\src\wmi\wmiclient\bin\wbemdc.dll %DropDIR%\.
  48. copy ..\..\src\wmi\wmiclient\bin\wbemdc.rgs %DropDIR%\.
  49. copy ..\..\src\wmi\wmiclient\bin\wbemdc.rgm %DropDIR%\.
  50. copy ..\..\src\WMI\Utils\WMINet_Utils\WMINet_Utils.rgs %DropDIR%\.
  51. copy ..\..\src\WMI\Utils\WMINet_Utils\WMINet_Utils.rgm %DropDIR%\.
  52. REM Localized bits
  53. copy ..\..\src\wmi\wmiclient\bin\1028\wmiutils.dll %DropDIR%\1028\.
  54. copy ..\..\src\wmi\wmiclient\bin\1031\wmiutils.dll %DropDIR%\1031\.
  55. copy ..\..\src\wmi\wmiclient\bin\1033\wmiutils.dll %DropDIR%\1033\.
  56. copy ..\..\src\wmi\wmiclient\bin\1034\wmiutils.dll %DropDIR%\1034\.
  57. copy ..\..\src\wmi\wmiclient\bin\1036\wmiutils.dll %DropDIR%\1036\.
  58. copy ..\..\src\wmi\wmiclient\bin\1040\wmiutils.dll %DropDIR%\1040\.
  59. copy ..\..\src\wmi\wmiclient\bin\1041\wmiutils.dll %DropDIR%\1041\.
  60. copy ..\..\src\wmi\wmiclient\bin\1042\wmiutils.dll %DropDIR%\1042\.
  61. copy ..\..\src\wmi\wmiclient\bin\2052\wmiutils.dll %DropDIR%\2052\.
  62. REM DOCUMENTATION FILE:
  63. if exist ..\..\bin\%HOST_TARGET_DIRECTORY%\%SOURCE%\System.Management.csx (
  64. copy ..\..\bin\%HOST_TARGET_DIRECTORY%\%SOURCE%\System.Management.csx %DropDIR%\.
  65. )
  66. if %1==icecap goto icepick
  67. if %1==retail goto bbt
  68. goto end
  69. :icepick
  70. call pick ..\%1 %DropDIR% catalog
  71. call pick ..\%1 %DropDIR%\urt catalog
  72. call pick ..\%1 %DropDIR%\iis iiscfg
  73. goto end
  74. :bbt
  75. call bbt %DropDIR% ..\bbt catalog
  76. call bbt %DropDIR% ..\bbt netfxcfg urt\
  77. goto end
  78. :err
  79. echo You must specify checked, free, or icecap
  80. :end
  81. set HOST_TARGET_DIRECTORY=