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.

72 lines
1.9 KiB

  1. @echo OFF
  2. rem
  3. rem Our only parameter is the Millennium build number
  4. rem
  5. if "%1" == "" goto usage
  6. set destpath=\\cpitgcfs19\cwdmedia\dmodrop\%1
  7. set incdest=%destpath%\inc
  8. set libdest=%destpath%\lib
  9. set bindest=%destpath%\bin
  10. set docdest=%destpath%\doc
  11. mkdir %destpath%
  12. mkdir %incdest%
  13. mkdir %libdest%
  14. mkdir %bindest%
  15. mkdir %docdest%
  16. set buildtree=\\nix1\e\ntc
  17. set incsrc=%buildtree%\public\sdk\inc
  18. set libsrc=%buildtree%\public\sdk\lib\i386
  19. set releaseshare=\\cwindist\bvt\millen\us\bld%1\retail.bin
  20. set copycmd=copy /Y
  21. %copycmd% %incsrc%\mediaobj.h %incdest%
  22. %copycmd% %incsrc%\dmodshow.h %incdest%
  23. %copycmd% %incsrc%\dmoreg.h %incdest%
  24. %copycmd% %incsrc%\mediabuf.h %incdest%
  25. %copycmd% %incsrc%\dmo.h %incdest%
  26. %copycmd% %incsrc%\mediaerr.h %incdest%
  27. %copycmd% %incsrc%\dmort.h %incdest%
  28. %copycmd% %incsrc%\dmobase.h %incdest%
  29. %copycmd% %incsrc%\dmoutils.h %incdest%
  30. %copycmd% %libsrc%\msdmo.lib %libdest%
  31. %copycmd% %libsrc%\dmoguids.lib %libdest%
  32. %copycmd% %libsrc%\amstrmid.lib %libdest%
  33. REM extract /a /y /l %bindest% %releaseshare%\base2.cab msdmo.dll
  34. %copycmd% %releaseshare%\msdmo.dll %bindest%
  35. splitsym -a %bindest%\msdmo.dll
  36. REM
  37. REM Having dropped the official bits, take a snapshot of the sources they were based on
  38. REM BUGBUG: this will snap the state of the build machine as it is when this batch file
  39. REM is run, which does not necessarily match the build number.
  40. REM
  41. set srcdest=%destpath%\src
  42. set idldest=%srcdest%\idl
  43. set msdmosrcdest=%srcdest%\msdmo
  44. mkdir %srcdest%
  45. mkdir %idldest%
  46. mkdir %msdmosrcdest%
  47. %copycmd% %buildtree%\private\genx\dxmdev\dshowdev\dmodev\idl\* %idldest%
  48. %copycmd% %buildtree%\private\amovie\dmo\msdmo\*.cpp %msdmosrcdest%
  49. %copycmd% %buildtree%\private\amovie\dmo\msdmo\*.h %msdmosrcdest%
  50. %copycmd% \\cpitgcfs19\cwdmedia\slm\src\mediaobj\doc\mediaobj.doc %docdest%
  51. goto end
  52. :usage
  53. echo Usage: makesdk XXXX (where XXXX is a Millennium build number)
  54. echo E.g., makesdk 2426
  55. :end