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.7 KiB

  1. !IFDEF NTMAKEENV
  2. !INCLUDE $(NTMAKEENV)\makefile.def
  3. !ELSE
  4. # -----------------------------------------------------------------------------
  5. # STAXPT\src\news\server\post\src\makefile
  6. #
  7. # Copyright (C) 1997 Microsoft Corporation
  8. # -----------------------------------------------------------------------------
  9. # -----------------------------------------------------------------------------
  10. #
  11. !INCLUDE $(EXDEV)\globenv.mak
  12. PRODTYPE = LIB
  13. COMPONENT = $(STAXPT)
  14. COMPNAME = STAXPT
  15. BASENAME = nntppost
  16. !INCLUDE $(EXDEV)\xmake1.mak
  17. !INCLUDE $(STAXPT)\src\inc\stackcpp.mak
  18. # -----------------------------------------------------------------------------
  19. #
  20. EXPORT_LIBS=0
  21. NOMEMBASE = 1
  22. H = $(STAXPT)\src\news\server\post\src
  23. OTHERINCS = \
  24. -I $(K2INCS) \
  25. -I $(COMPONENT)\src\inc \
  26. -I $(COMPONENT)\src\news\core\include \
  27. -I $(EXOBJDIR) \
  28. -I $(EXOBJCOMP)\post\$(EXOBJSUFFIX) \
  29. -I $(EXOBJCOMP)\nntpdrv\$(EXOBJSUFFIX) \
  30. -I $(EXOBJCOMP)\nntpex\$(EXOBJSUFFIX)
  31. OTHERINCS = $(OTHERINCS) -I $(EXOBJCOMP)\$(BASENAME)\$(EXOBJSUFFIX)
  32. IDLTARG = seo.h seo_i.c \
  33. mailmsg.h mailmsg_i.c \
  34. mailmsgi.h mailmsgi_i.c \
  35. nntpfilt.h nntpfilt_i.c \
  36. cdo.h cdo_i.h \
  37. wstgado.h wstgado_i.c \
  38. IDLSOURCE = $(EXC)\inc\seo.idl \
  39. $(EXC)\inc\mailmsg.idl \
  40. $(EXC)\inc\mailmsgi.idl \
  41. $(STAXPT)\src\news\core\include\nntpfilt.idl \
  42. $(H)\cdo.idl \
  43. $(H)\wstgado.idl
  44. USERDEFS = -D_USE_RWNH_ -D_USE_FCACHE_ $(USERDEFS)
  45. CPPPCHHDREXT = .h
  46. CPPPCH = stdinc
  47. SOURCES = \
  48. article.cpp \
  49. fromclnt.cpp \
  50. frommstr.cpp \
  51. frompeer.cpp \
  52. sfromcl.cpp \
  53. infeed.cpp \
  54. nntpsupp.cpp \
  55. seodisp.cpp \
  56. # seomsg.cpp
  57. OTHERSUBS = $H\makefile
  58. DEPFILE = $(BASENAME).dep
  59. TLBBASE = nntpdisp
  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 $(TLBFLAGS) \
  76. $(TLBINC) \
  77. /h $(TLBHDR) \
  78. /tlb $(TLB) \
  79. /dlldata $(TLBDLLDATA) \
  80. /iid $(TLBIID) \
  81. /proxy $(TLBPROXY) \
  82. $(TLBSRC)
  83. mkdeps: targdir $(EVENTLOG_TARGETS) $(IDLSRV_TARGETS) $(TLBHDR)
  84. !INCLUDE $(EXDEV)\xmake2.mak
  85. !ENDIF #NTMAKEENV