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.

112 lines
2.6 KiB

  1. !IFDEF NTMAKEENV
  2. !INCLUDE $(NTMAKEENV)\makefile.def
  3. !ELSE
  4. # -----------------------------------------------------------------------------
  5. #
  6. !INCLUDE $(EXDEV)\globenv.mak
  7. PRODTYPE = DLL
  8. COMPONENT = $(STAXPT)
  9. COMPNAME = STAXPT
  10. BASENAME = ddrop
  11. EXPORT_LIBS = 0
  12. !INCLUDE $(EXDEV)\xmake1.mak
  13. !INCLUDE $(STAXPT)\src\inc\stackcpp.mak
  14. # -----------------------------------------------------------------------------
  15. #
  16. NOMEMBASE = 1
  17. H = $(STAXPT)\src\news\server\seo\ddrop
  18. ENTRYPOINT = DllMain
  19. IDLTARG = seo.h seo_i.c
  20. IDLSOURCE = $(EXC)\inc\seo.idl
  21. OTHERINCS = -I $(COMPONENT)\src\inc \
  22. -I $(EXOBJDIR) \
  23. -I $(COMPONENT)\src\news\core\include \
  24. -I $(COMPONENT)\src\core\imsg \
  25. -I $(COMPONENT)\src\core\nntpfilt\
  26. IDLTARG = seo.h seo_i.c \
  27. mailmsg.h mailmsg_i.c \
  28. mailmsgi.h mailmsgi_i.c \
  29. nntpfilt.h nntpfilt_i.c \
  30. IDLSOURCE = $(EXC)\inc\seo.idl \
  31. $(EXC)\inc\mailmsg.idl \
  32. $(EXC)\inc\mailmsgi.idl \
  33. $(STAXPT)\src\news\core\include\nntpfilt.idl \
  34. OTHERRESINCS = $(MFCINC)
  35. CPPPCH = stdafx
  36. CPPPCHSRCEXT = .cpp
  37. USERDEFS = -D_ATL_STATIC_REGISTRY -D_WINDLL -D_ATL_NO_DEBUG_CRT
  38. CMODEL = $(CMODEL:-D_NTSDK=)
  39. CFLAGS = $(CFLAGS:-J=)
  40. CFLAGS = $(CFLAGS) -GX -Yd
  41. DEFPLUSOBJS = 1
  42. OTHERLIBS= \
  43. $(K2LIBS)\isatq.lib \
  44. $(K2LIBS)\infocomm.lib \
  45. $(K2LIBS)\coadmin.lib \
  46. $(EXLIB)\ole32.lib \
  47. $(EXLIB)\uuid.lib \
  48. $(EXLIB)\oleaut32.lib \
  49. $(LOCALIMPLIB)\exstrace.lib \
  50. DEFFILE = $(H)\ddrop.def
  51. IMPLIB_DEF = $(DEFFILE)
  52. SOURCES = \
  53. dllmain.cpp \
  54. ddrop.cpp \
  55. RESOURCES = ddrop
  56. RESOURCEDIR = $H
  57. OTHERSUBS = $H\makefile
  58. DEPFILE = $(BASENAME).dep
  59. TLBBASE = ddrop
  60. TLBSRC = $(H)\$(TLBBASE).idl
  61. TLB = $(EXOBJDIR)\$(TLBBASE).tlb
  62. TLBHDR = $(EXOBJDIR)\$(TLBBASE).h
  63. TLBIID = $(EXOBJDIR)\$(TLBBASE)_i.c
  64. TLBPROXY = $(EXOBJDIR)\$(TLBBASE)_p.c
  65. TLBDLLDATA = $(EXOBJDIR)\dlldata.c
  66. TLBTARGETS = $(TLBHDR) $(TLB) $(TLBIID)
  67. TLBINC = $(USERINCS) $(OTHERINCS)
  68. TLBFLAGS = -Zp8 -char unsigned -ms_ext -c_ext -cpp_cmd $(CC) -Oicf
  69. OTHERDEPS = $(OTHERDEPS) $(TLB) $(TLBHDR)
  70. OTHERDEPSRC = $(OTHERDEPSRC) $(TLB) $(TLBHDR)
  71. $(TLBTARGETS): $(TLBSRC)
  72. echo ++++++++++++++++++++++++++++++++++++++++
  73. echo BUILDING Type Library $(TLB)
  74. -md $(EXOBJDIR)
  75. midl $(DEFS) $(TLBFLAGS) \
  76. $(TLBINC) \
  77. /h $(TLBHDR) \
  78. /tlb $(TLB) \
  79. /dlldata $(TLBDLLDATA) \
  80. /iid $(TLBIID) \
  81. /proxy $(TLBPROXY) \
  82. $(TLBSRC)
  83. mkdeps: targdir $(TLBHDR)
  84. !INCLUDE $(EXDEV)\xmake2.mak
  85. !ENDIF #NTMAKEENV