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
938 B

  1. REM
  2. REM This file is meant only to assist in ensuring offsets in peb and teb
  3. REM are maintained while editing base\published\pebteb.w.
  4. REM
  5. setlocal
  6. del *.obj *.pdb *.exe
  7. del *.txt
  8. call \lab1\developer\jaykrell\unrazzle
  9. call %sdxroot%\tools\razzle win64
  10. call :F1 lab1 ia64 _IA64_ 64 win64
  11. call :F1 fusi ia64 _IA64_ 64 win64
  12. call :F1 lab1 i386 _X86_ 32 win32
  13. call :F1 fusi i386 _X86_ 32 win32
  14. lab1_32 > lab1_32.txt
  15. fusi_32 > fusi_32.txt
  16. lab1_64 > lab1_64.txt
  17. fusi_64 > fusi_64.txt
  18. endlocal
  19. goto :eof
  20. :F1
  21. call \%1\tools\razzle %5
  22. echo on
  23. set root=%_NTDRIVE%%_NTROOT%
  24. set include=%root%\public\sdk\inc;%root%\public\internal\base\inc;%root%\public\sdk\inc\crt
  25. set lib=%root%\public\sdk\lib\%2
  26. set _CL_=%_CL_% -D%3 -D%4 -nologo -MD
  27. set _LINK_=%_LINK_% -nologo
  28. pushd %root%\base\published
  29. build -Z
  30. popd
  31. del *.obj *.pdb
  32. cl teb.c -link -out:%1_%4.exe
  33. call \lab1\developer\jaykrell\unrazzle
  34. goto :eof