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. #
  2. # Build wdm.lib. This consists of wdmguid.lib, wdmnt.lib and wdmhal.lib, all
  3. # built below.
  4. #
  5. WDMLIBDEP=$(O)\wdmnt.lib \
  6. $(O)\wdmhal.lib \
  7. $(O)\wdmguid.obj
  8. !if $(386)
  9. WDMLIBDEP=$(WDMLIBDEP) \
  10. $(SDK_LIB_PATH)\exsup.lib \
  11. $(SDK_LIB_PATH)\int64.lib \
  12. $(PROJECT_ROOT)\ntos\init\$(TARGET_DIRECTORY)\excptlst.obj \
  13. $(PROJECT_LIB_PATH)\loadcfg.obj \
  14. $(PROJECT_LIB_PATH)\seccook.obj
  15. !endif
  16. !if $(IA64)
  17. WDMLIBDEP=$(WDMLIBDEP) \
  18. $(PROJECT_ROOT)\crts\crtw32\string\nt\$(O)\_memmove.obj \
  19. $(PROJECT_ROOT)\crts\crtw32\string\nt\$(O)\_memset.obj \
  20. $(PROJECT_ROOT)\crts\crtw32\string\nt\$(O)\_memcpy.obj
  21. !endif
  22. #
  23. # __NULL_IMPORT_DESCRIPTOR is found in both wdmhal.lib and wdmnt.lib, which
  24. # generates warning 4006.
  25. #
  26. $(O)\wdm.lib: $(WDMLIBDEP)
  27. -$(LIB_NAME) -out:$(@R).lib @<<
  28. $(LINK_LIB_IGNORE_FLAG)
  29. -ignore:4006
  30. $(WDMLIBDEP)
  31. <<NOKEEP
  32. #
  33. # Build wdmnt.lib
  34. #
  35. $(O)\wdmnt.def: i386nt.src alphant.src ia64nt.src amd64nt.src
  36. $(O)\wdmnt.lib : $(O)\wdmnt.def $(DDK_LIB_PATH)\ntoskrnl.lib
  37. -$(LIB_NAME) -out:$@ @<<
  38. $(LIBRARIAN_FLAGS: =
  39. )
  40. -def:$(O)\wdmnt.def
  41. $(DDK_LIB_PATH)\ntoskrnl.lib
  42. <<NOKEEP
  43. #
  44. # Build wdmhal.lib
  45. #
  46. $(O)\wdmhal.def: i386hal.src alphahal.src ia64hal.src amd64hal.src
  47. $(O)\wdmhal.lib : $(O)\wdmhal.def $(DDK_LIB_PATH)\hal.lib
  48. -$(LIB_NAME) -out:$@ @<<
  49. $(LIBRARIAN_FLAGS: =
  50. )
  51. -def:$(O)\wdmhal.def
  52. $(DDK_LIB_PATH)\hal.lib
  53. <<NOKEEP