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.

39 lines
1.0 KiB

  1. @echo off
  2. rem ******** Go to sources directory **********
  3. cd ..
  4. rem ******** Start with minimal path **********
  5. set path=%windir%\system32;%windir%;%windir%\idw;%windir%\mstools
  6. rem ******** Enter razzle environment **********
  7. call %_ntdrive%%_ntroot%\public\tools\ntenv.cmd
  8. set build_default=ntoskrnl ntkrnlmp daytona -e -nmake -i -D -w
  9. rem ******** Ask for browser info file **********
  10. set browser_info=1
  11. rem ******** Build release binaries **********
  12. if "%1" == "release" goto rel
  13. echo **************** Doing a DEBUG build ****************
  14. set NTDEBUG=ntsd
  15. goto next1
  16. :rel
  17. echo **************** Doing a RELEASE build ****************
  18. set NTDEBUG=ntsdnodbg
  19. :next1
  20. rem ******** Cancel Microsoft Visual C++ stuff **********
  21. set _MSDEV_BLD_ENV_=
  22. set NMCL=
  23. set INTDIR=
  24. set NTTESTENV=
  25. set OUTDIR=
  26. set _ACP_LIB=
  27. set _ACP_PATH=
  28. set BUILD_PRODUCT_VER=
  29. rem ******** Do the actual build **********
  30. build -b -e -F -w %1 %2 %3 %4 %5
  31. rem ******** Return to vc directory **********
  32. cd vc