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.

69 lines
1.7 KiB

  1. @ECHO OFF
  2. REM The purpose of the file is to build the CCSHELL tree
  3. REM
  4. REM What needs to be done :
  5. REM Point to server
  6. REM Set environment
  7. REM Run build script (nmake)
  8. REM Copy out binaries
  9. REM Additionally :
  10. REM Report errors
  11. REM
  12. @ECHO ON
  13. REM Set the name of this component
  14. SET COMPONENTNAME=CCSHELL
  15. REM Set the location where we're building from (drive and path)
  16. SET SOURCEDIR=%BLDROOT%\WIN\SHELL\CCSHELL
  17. REM Set location of the build tools
  18. SET BUILDLOC=\DEV\TOOLS\COMMON
  19. REM Move to the source drive
  20. %SOURCEDRIVE%
  21. CD %SOURCEDIR%
  22. REM This builds the W95 specific SHDOCVW.DLL.
  23. REM The built binary is then copied to the binaries dir
  24. cd shdocvw
  25. delwalk
  26. SET NT_THUNKS=
  27. tee %BLDROOT%%BUILDLOC%\NMAKE debug >>build.log
  28. cd nashvile\debug
  29. copy shdocvw.dll %BLDROOT%\binaries\ohare\debug
  30. copy shdocvw.sym %BLDROOT%\binaries\ohare\debug
  31. cd..\..
  32. tee %BLDROOT%%BUILDLOC%\NMAKE retail >>build.log
  33. cd nashvile\retail
  34. copy shdocvw.dll %BLDROOT%\binaries\ohare\retail
  35. copy shdocvw.sym %BLDROOT%\binaries\ohare\retail
  36. cd..\..
  37. REM Only build NT version of SHDOCVW for self-extracting exe
  38. if %BLDPROJ%!=="OPK2" GOTO SKIPNT
  39. REM This builds the NT specific SHDOCVW.DLL.
  40. REM The built binary is then copied to the binaries dir
  41. SET NT_THUNKS=1
  42. delwalk
  43. tee %BLDROOT%%BUILDLOC%\NMAKE debug >>build.log
  44. cd nashvile\debug
  45. copy shdocvw.dll %BLDROOT%\binaries\ohare\ntdbg
  46. copy shdocvw.sym %BLDROOT%\binaries\ohare\ntdbg
  47. cd..\..
  48. tee %BLDROOT%%BUILDLOC%\NMAKE retail >>build.log
  49. cd nashvile\retail
  50. copy shdocvw.dll %BLDROOT%\binaries\ohare\ntret
  51. copy shdocvw.sym %BLDROOT%\binaries\ohare\ntret
  52. cd..\..
  53. SET NT_THUNKS=
  54. :SKIPNT
  55. %LOCAL%