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.

32 lines
1.1 KiB

  1. setlocal
  2. @if "%_NTDRIVE%" == "" set _NTDRIVE=T:
  3. @if "%_NTROOT%" == "" set _NTROOT=\NT
  4. @if "%NTMAKEENV%" == "" set NTMAKEENV=%_NTDRIVE%%_NTROOT%\TOOLS
  5. @if "%_NTBINDIR%" == "" set _NTBINDIR=%_NTDRIVE%%_NTROOT%
  6. @if "%BUILD_DEFAULT%" == "" set BUILD_DEFAULT=daytona -e -E -w -nmake -i
  7. @if "%BUILD_DEFAULT_TARGETS%" == "" set BUILD_DEFAULT_TARGETS=-ia64
  8. @if "%BUILD_MAKE_PROGRAM%" == "" set BUILD_MAKE_PROGRAM=nmake.exe
  9. @if "%BUILD_MULTIPROCESSOR%" == "" set BUILD_MULTIPROCESSOR=1
  10. @if "%BUILD_PRODUCT%" == "" set BUILD_PRODUCT=NT
  11. @if "%BUILD_PRODUCT_VER=%" == "" set BUILD_PRODUCT_VER=500
  12. @if "%BUILD_PRODUCT_VERSION%" == "" set BUILD_PRODUCT_VERSION=5.0
  13. @if "%IA64%" == "" set IA64=1
  14. @if "%_TARGET%" == "" set _TARGET=ia64
  15. @echo.
  16. @echo NT Drive letter ............ %_NTDRIVE%
  17. @echo NT root directory .......... %_NTROOT%
  18. @echo Make rules directory ....... %NTMAKEENV%
  19. @echo.
  20. set PATH=%NTMAKEENV%;%NTMAKEENV%\WIN64\X86;%NTMAKEENV%\X86;%PATH%
  21. set BUILD_PATH=%CRT_SRC%bin;%PATH%
  22. set LINK=/map /debug /debugtype:both /pdb
  23. set USER_C_FLAGS=
  24. set ASM_DEFINES=
  25. build %*
  26. endlocal