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.

91 lines
4.4 KiB

  1. REM MAKEDROPCOMMON Add here all the files that are common for all types of builds (I386, IA64, etc)
  2. REM CATALOG BINARIES:
  3. copy ..\..\bin\%HOST_TARGET_DIRECTORY%\%1\catalog.dll %DropDIR%\.
  4. copy ..\..\bin\%HOST_TARGET_DIRECTORY%\%1\catalog.pdb %DropDIR%\.
  5. copy ..\..\common\catutil.exe %DropDIR%\.
  6. copy ..\..\bin\%HOST_TARGET_DIRECTORY%\%1\cat.lib %DropDIR%\.
  7. copy ..\..\bin\%HOST_TARGET_DIRECTORY%\%1\cat.pdb %DropDIR%\.
  8. REM MSVCRTD BINARY:
  9. if %1==checked copy ..\..\bin\%HOST_TARGET_DIRECTORY%\%1\msvcrtd.dll %DropDIR%\.
  10. REM CATALOG HEADERS AND XMLS:
  11. copy ..\..\src\inc\catalog.h %DropDIR%\.
  12. copy ..\..\src\inc\catmeta.h %DropDIR%\.
  13. copy ..\..\src\inc\catmeta.xms %DropDIR%\.
  14. copy ..\..\src\core\catinproc\catalog.xms %DropDIR%\.
  15. copy ..\..\src\core\catinproc\catwire.xml %DropDIR%\.
  16. copy ..\..\src\inc\catmeta_core.xml %DropDIR%\catmeta.xml
  17. copy ..\..\src\inc\catmeta_core.xml %DropDIR%\.
  18. copy ..\..\src\inc\netcfgschema.xml %DropDIR%\.
  19. copy ..\..\src\inc\iismeta.xml %DropDIR%\.
  20. copy ..\..\src\inc\machine.cfg %DropDIR%\.
  21. REM Product specific binaries
  22. REM URT DLL
  23. copy ..\..\bin\%HOST_TARGET_DIRECTORY%\%1\netfxcfg.dll %DropDIR%\URT\netfxcfg.dll
  24. copy ..\..\bin\%HOST_TARGET_DIRECTORY%\%1\netfxcfg.pdb %DropDIR%\URT\netfxcfg.pdb
  25. catutil.exe /compile /dll=%DropDIR%\URT\netfxcfg.dll /header=%DropDIR%\URT\catmeta.h /schema=%DropDIR%\URT\netconfig.xms /meta=..\..\src\inc\catmeta_core.xml,..\..\src\inc\netcfgschema.xml /wire=..\..\src\core\catinproc_urtcfg\urtwire.xml
  26. if %ERRORLEVEL% NEQ 0 goto CatutilError:
  27. if %2==FRE splitsym.exe %DropDIR%\URT\netfxcfg.dll
  28. copy ..\..\src\inc\netcfgschema.xml %DropDIR%\URT\.
  29. copy ..\..\src\core\catinproc_urtcfg\urtwire.xml %DropDIR%\URT\.
  30. copy ..\..\src\core\catinproc_urtcfg\netfxcfg.rgm %DropDIR%\URT\.
  31. copy ..\..\src\core\catinproc_urtcfg\netfxcfg.rgs %DropDIR%\URT\.
  32. REM IIS DLL
  33. copy ..\..\bin\%HOST_TARGET_DIRECTORY%\%1\iiscfg.dll %DropDIR%\IIS\iiscfg.dll
  34. copy ..\..\bin\%HOST_TARGET_DIRECTORY%\%1\iiscfg.pdb %DropDIR%\IIS\iiscfg.pdb
  35. catutil.exe /compile /dll=%DropDIR%\IIS\iiscfg.dll /header=%DropDIR%\IIS\catmeta.h /schema=%DropDIR%\IIS\IIsCfg.xms /meta=..\..\src\inc\catmeta_core.xml,..\..\src\inc\iismeta.xml /wire=..\..\src\core\catinproc_iiscfg\iiswire.xml
  36. if %ERRORLEVEL% NEQ 0 goto CatutilError:
  37. del %DropDIR%\IIS\IIsCfg.xms
  38. REM IIS is doing this already.
  39. REM if %2==FRE splitsym.exe %DropDIR%\IIS\iiscfg.dll
  40. copy ..\..\src\inc\iismeta.xml %DropDIR%\IIS\.
  41. copy ..\..\src\core\catinproc_iiscfg\iiswire.xml %DropDIR%\IIS\.
  42. del %DropDIR%\IIS\iiscfg.dll.old
  43. REM TEST DLL
  44. copy ..\..\bin\%HOST_TARGET_DIRECTORY%\%1\cfgtest.dll %TestDIR%\cfgtest.dll
  45. copy ..\..\bin\%HOST_TARGET_DIRECTORY%\%1\cfgtest.pdb %TestDIR%\cfgtest.pdb
  46. catutil.exe /compile /dll=%TestDIR%\cfgtest.dll /header=%TestDIR%\TestDBMeta.h /schema=cfgtest.xms /meta=..\..\src\inc\catmeta_core.xml,..\..\src\inc\testdbmeta.xml /wire=testdbwire.xml
  47. if %ERRORLEVEL% NEQ 0 goto CatutilError:
  48. copy cfgtest.xms %TestDIR%\.
  49. copy ..\..\src\inc\testdbmeta.xml %TestDIR%\.
  50. del %TestDIR%\cfgtest.dll.old
  51. REM .NET WMI PROVIDER:
  52. copy ..\..\bin\%HOST_TARGET_DIRECTORY%\%SOURCE%\netfxcfgprov.dll %DropDIR%\URT\.
  53. copy ..\..\bin\%HOST_TARGET_DIRECTORY%\%SOURCE%\netfxcfgprov.pdb %DropDIR%\URT\.
  54. copy ..\..\src\urt\wmi\netprovider\netfxcfgprov.rgm %DropDIR%\URT\.
  55. copy ..\..\src\urt\wmi\netprovider\netfxcfgprov.rgs %DropDIR%\URT\.
  56. copy ..\..\src\urt\wmi\netprovider\netfxcfgmof.rgs %DropDIR%\URT\.
  57. copy ..\..\bin\%HOST_TARGET_DIRECTORY%\%SOURCE%\cat2mof.exe %DropDIR%\.
  58. copy ..\..\bin\%HOST_TARGET_DIRECTORY%\%SOURCE%\cat2mof.pdb %DropDIR%\.
  59. copy ..\..\src\urt\wmi\cat2mof\mof\netfxcfgprov.mof %DropDIR%\URT\.
  60. copy ..\..\src\urt\wmi\cat2mof\mof\netfxcfgprovm.mof %DropDIR%\URT\.
  61. copy ..\..\src\urt\wmi\cat2mof\mof\netfxcfgprov.mfl %DropDIR%\URT\.
  62. copy ..\..\src\urt\wmi\cat2mof\header.mof %DropDIR%\.
  63. if %2==FRE splitsym.exe %DropDIR%\URT\netfxcfgprov.dll
  64. REM TEST BINARIES:
  65. copy ..\..\bin\%HOST_TARGET_DIRECTORY%\%1\TestCookDown.exe %TestDIR%\.
  66. copy ..\..\bin\%HOST_TARGET_DIRECTORY%\%1\TestCookDown.pdb %TestDIR%\.
  67. copy ..\..\bin\%HOST_TARGET_DIRECTORY%\%1\stest.exe %TestDIR%\.
  68. copy ..\..\bin\%HOST_TARGET_DIRECTORY%\%1\stest.pdb %TestDIR%\.
  69. copy ..\..\src\Test\TestCookDown\MACHINE.CFG %TestDIR%\.
  70. copy ..\..\src\Test\TestCookDown\CONFIG.CFG %TestDIR%\.
  71. copy ..\..\src\Test\TestCookDown\expected.log %TestDIR%\.
  72. goto End:
  73. :CatutilError
  74. echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
  75. echo "ERROR while running Catutil.exe!!!"
  76. echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1"
  77. :End