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.

76 lines
2.9 KiB

  1. !include $(WINCORE_PATH)\core.inc
  2. MAJORCOMP=ntos
  3. MINORCOMP=w32
  4. SYNCHRONIZE_BLOCK=1
  5. TARGETNAME=win32k
  6. TARGETPATH=$(_OBJ_DIR)
  7. TARGETTYPE=EXPORT_DRIVER
  8. PASS1_PUBLISH=\
  9. {$(DYNLINK_LIB)=$(DDK_LIB_DEST)\$(DYNLINK_LIBDIR)}
  10. INCLUDES=$(WINCORE_PATH)\w32inc; \
  11. $(WINCORE_PATH)\w32inc\$(O); \
  12. $(NTUSER_PATH)\kernel\$(ALT_PROJECT)\$(O); \
  13. $(NTUSER_PATH)\kernel\$(ALT_PROJECT); \
  14. $(BASE_INC_PATH)
  15. SYNCHRONIZE_DRAIN=1
  16. NT_UP=0
  17. TARGETLIBS= \
  18. $(NTUSER_PATH)\kernel\$(ALT_PROJECT)\$(O)\userk.lib \
  19. $(NTGDI_PATH)\gre\$(ALT_PROJECT)\$(O)\gre.lib \
  20. $(NTGDI_PATH)\fondrv\tt\scaler\$(O)\fscaler.lib \
  21. $(NTGDI_PATH)\fondrv\tt\ttfd\$(ALT_PROJECT)\$(O)\ttfd.lib \
  22. $(NTGDI_PATH)\fondrv\bmfd\$(O)\bmfd.lib \
  23. $(NTGDI_PATH)\fondrv\vtfd\$(O)\vtfd.lib \
  24. $(NTGDI_PATH)\math\$(ALT_PROJECT)\$(O)\efloat.lib \
  25. $(NTGDI_PATH)\halftone\ht\$(O)\halftone.lib \
  26. $(SDK_LIB_PATH)\advapi32.lib \
  27. $(NTUSER_PATH)\rtl\kernel\$(ALT_PROJECT)\$(O)\userkrtl.lib \
  28. $(DDK_LIB_PATH)\videoprt.lib \
  29. $(DRIVERS_LIB_PATH)\watchdog.lib
  30. #
  31. # WARNING: Do not remove the dxapi.lib below which makes win32k.sys statically
  32. # link to dxapi.sys. This is because dxapi.sys has got VPE/WDM code which
  33. # video miniports can also link to whoes lifetimes we cant control in win3k.sys
  34. # Hence we link with it statically and get refcount for us so its lifetime is
  35. # bounded by win32k.sys's lifetime.
  36. #
  37. LINKLIBS=$(LINKLIBS) \
  38. $(DDK_LIB_PATH)\dxapi.lib \
  39. $(DDK_LIB_PATH)\ntoskrnl.lib \
  40. $(DDK_LIB_PATH)\hal.lib \
  41. $(NTGDI_PATH)\halftone\ht\$(O)\halftone.lib \
  42. $(NTGDI_PATH)\gre\$(ALT_PROJECT)\$(O)\gre.lib \
  43. $(WINCORE_PATH)\rtl\kernel\$(O)\w32krtl.lib
  44. SOURCES=..\w32init.c \
  45. ..\guids.c \
  46. w32rc.rc
  47. DLLDEF=$(O)\win32k.def
  48. DLLORDER=..\$(TARGETNAME).prf
  49. NTTARGETFILE0=$(O)\services.tab
  50. SOURCES_USED=..\sources.inc $(WINCORE_PATH)\core.inc
  51. DLLLIBOBJECTS=$(DLLLIBOBJECTS) \
  52. !if $(386)
  53. $(BASE_LIB_PATH)\sehprolg.obj \
  54. $(BASE_LIB_PATH)\loadcfg.obj \
  55. $(BASE_LIB_PATH)\seccook.obj \
  56. !elseif $(IA64)
  57. $(BASE_LIB_PATH)\_memcpy.obj \
  58. $(BASE_LIB_PATH)\_memmove.obj \
  59. $(BASE_LIB_PATH)\_memset.obj \
  60. !endif
  61. $(NTGDI_PATH)\gre\$(ALT_PROJECT)\$(O)\guids.obj