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.

107 lines
2.8 KiB

  1. MAJORCOMP=windows
  2. MINORCOMP=winspool
  3. NTPROFILEINPUT=yes
  4. TARGETNAME=winspool
  5. TARGETPATH=$(PROJECT_ROOT)\lib\$(_OBJ_DIR)
  6. TARGETTYPE=DYNLINK
  7. TARGETEXT=drv
  8. PASS1_PUBLISH= \
  9. {$(DYNLINK_LIB)=$(SDK_LIB_DEST)\$(DYNLINK_LIBDIR)}
  10. # Warning: OLE32 cannot be loaded statically.
  11. # (They must be delayloaded.) Hydra will load winspool.drv
  12. # into CSRSS, and OLE32 cannot be loaded into CSRSS.
  13. TARGETLIBS=$(WINDOWS_LIB_PATH)\gdi32p.lib \
  14. $(SDK_LIB_PATH)\kernel32.lib \
  15. $(SDK_LIB_PATH)\rpcrt4.lib \
  16. $(SDK_LIB_PATH)\ole32.lib \
  17. $(SDK_LIB_PATH)\advapi32.lib \
  18. $(SDK_LIB_PATH)\user32.lib \
  19. $(SDK_LIB_PATH)\oleaut32.lib \
  20. $(SDK_LIB_PATH)\adsiid.lib \
  21. $(SDK_LIB_PATH)\activeds.lib \
  22. $(SDK_LIB_PATH)\netapi32.lib \
  23. $(SDK_LIB_PATH)\ntdsapi.lib \
  24. $(SDK_LIB_PATH)\ws2_32.lib \
  25. $(SDK_LIB_PATH)\dnsapi.lib \
  26. $(SDK_LIB_PATH)\uuid.lib
  27. LINKLIBS=..\..\perf\$(O)\perf.lib\
  28. $(PROJECT_ROOT)\lib\$(O)\spllib.lib
  29. DLLENTRY=_DllMainCRTStartup
  30. DLLDEF=..\$(TARGETNAME).def
  31. DLLORDER=..\$(TARGETNAME).prf
  32. USE_MSVCRT=1
  33. INCLUDES=..\;\
  34. ..\..\idl;\
  35. ..\..\idl\$(O);\
  36. ..\..\splwow64\idl;\
  37. ..\..\splwow64\idl\$(O);\
  38. ..\..\..\inc;\
  39. ..\..\..\..\inc;\
  40. ..\..\..\..\..\inc;\
  41. $(WINDOWS_INC_PATH);\
  42. $(SHELL_INC_PATH);\
  43. $(NET_INC_PATH);\
  44. $(DS_INC_PATH);
  45. SOURCES= ..\prop.c \
  46. ..\dsutil.cxx \
  47. ..\init.c \
  48. ..\winsplc.c \
  49. ..\winspool.c \
  50. ..\splwow64c.c \
  51. ..\bind.c \
  52. ..\midluser.c \
  53. ..\data.c \
  54. ..\winspla.c \
  55. ..\util.c \
  56. ..\pfdlg.c \
  57. ..\change.c \
  58. ..\splinit.c \
  59. ..\clusspl.c \
  60. ..\defprn.c \
  61. ..\cstrings.c \
  62. ..\handle.c \
  63. ..\varconv.cxx \
  64. ..\property.cxx \
  65. ..\pubprn.cxx \
  66. ..\prnprst.cxx \
  67. ..\prnstrm.cxx \
  68. ..\splperst.cxx \
  69. ..\stream.cxx \
  70. ..\wlkprn.cxx \
  71. ..\memory.cxx \
  72. ..\winspool.rc \
  73. ..\drvsetup.c \
  74. UMTYPE=windows
  75. UMLIBS=$(SDK_LIB_PATH)\winspool.lib \
  76. $(SDK_LIB_PATH)\gdi32.lib \
  77. $(SDK_LIB_PATH)\netapi32.lib \
  78. $(O)\winspool.res
  79. C_DEFINES=-DRPC_NO_WINDOWS_H -DUNICODE -D_UNICODE \
  80. -DNO_STRICT -D_SPOOL32_ -DSPOOLKM -D_HYDRA_
  81. DELAYLOAD=\
  82. ole32.dll;\
  83. oleaut32.dll;\
  84. activeds.dll;\
  85. netapi32.dll;\
  86. dnsapi.dll;\
  87. ntdsapi.dll
  88. DLOAD_ERROR_HANDLER=kernel32
  89. PRECOMPILED_INCLUDE=..\precomp.h
  90. PRECOMPILED_PCH=precomp.pch
  91. PRECOMPILED_OBJ=precomp.obj