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.

64 lines
1.4 KiB

  1. !ifdef PASS0ONLY
  2. .SUFFIXES: .c
  3. !endif
  4. theap.c: ..\heap.c ..\heapdbg.c ..\heapdll.c
  5. t.c: ..\handle.c ..\atom.c
  6. !if defined(LINK_TIME_CODE_GENERATION)
  7. $(O)\generr.obj: ..\generr.c
  8. $(C_COMPILER_NAME) ..\generr.c @<<
  9. -Fo$(O)\generr.obj
  10. $(EX_C_COMPILER_FLAGS:/GL=)
  11. <<NOKEEP
  12. !else
  13. $(O)\generr.obj: ..\generr.c
  14. !endif
  15. $(O)\error.h: $(O)\generr.obj
  16. generr $? $@
  17. ..\error.c: $(O)\error.h
  18. $(O)\ldrreloc_rebase.w : ..\ldrreloc.c makefile.inc
  19. type << > $@
  20. /**
  21. $(COPYRIGHT_STRING)
  22. Module Name:
  23. ldrreloc_rebase.c
  24. Abstract:
  25. Extract the LdrProcessRelocationBlock code from ldrreloc.c so rebase can use it
  26. w/o duplication of effort. This file is generated - don't edit by hand.
  27. Revision History:
  28. --*/
  29. #ifndef IMAGE_REL_BASED_SECTION
  30. #define IMAGE_REL_BASED_SECTION 6
  31. #endif
  32. #ifndef IMAGE_REL_BASED_REL32
  33. #define IMAGE_REL_BASED_REL32 7
  34. #endif
  35. #define RTL_PAGED_CODE() NOP_FUNCTION()
  36. #define LdrProcessRelocationBlockLongLong xxLdrProcessRelocationBlock64
  37. <<
  38. hextract -o $@ -bt begin_rebase end_rebase $**
  39. $(PUBLISH_CMD) {$@=$(PROJECT_INC_PATH)\ldrreloc_rebase.c}
  40. !if $(386)
  41. $(O)\$(TARGETNAME).lib : $(O)\xcptmisc.org
  42. $(O)\xcptmisc.org : $(O)\xcptmisc.obj
  43. copy $** $@
  44. sxgen /verbose /in:$@ /out:$** ExceptionHandler@16 UnwindHandler@16
  45. touch $@
  46. !endif