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.

94 lines
2.2 KiB

  1. !IFDEF NTMAKEENV
  2. !INCLUDE $(NTMAKEENV)\makefile.def
  3. !ELSE
  4. # -----------------------------------------------------------------------------
  5. # STAXPT\src\news\driver\nntpdrv\makefile
  6. #
  7. # Copyright (C) 1997 Microsoft Corporation
  8. # -----------------------------------------------------------------------------
  9. # -----------------------------------------------------------------------------
  10. #
  11. !INCLUDE $(EXDEV)\globenv.mak
  12. PRODTYPE = DLL
  13. COMPONENT = $(STAXPT)
  14. COMPNAME = STAXPT
  15. BASENAME = nntpdrv
  16. EXPORT_LIBS = 0
  17. MEMBASE = $(STAXPT)\src\inc\coffbase.txt
  18. !INCLUDE $(EXDEV)\xmake1.mak
  19. !INCLUDE $(STAXPT)\src\inc\stackcpp.mak
  20. # -----------------------------------------------------------------------------
  21. #
  22. H = $(STAXPT)\src\news\idl\nntpdrv
  23. ENTRYPOINT = DllMain
  24. OTHERINCS = -I $(COMPONENT)\src\inc -I $(K2INCS) -I $(EXOBJDIR)
  25. OTHERRESINCS = $(MFCINC)
  26. USERDEFS = -DREGISTER_PROXY_DLL -DENTRY_PREFIX=RPCProxy
  27. CMODEL = $(CMODEL:-D_NTSDK=)
  28. CFLAGS = $(CFLAGS:-J=)
  29. CFLAGS = $(CFLAGS) -GX -Yd
  30. DEFPLUSOBJS = 1
  31. OTHERLIBS= \
  32. $(EXLIB)\rpcrt4.lib \
  33. $(EXLIB)\oleaut32.lib \
  34. $(EXLIB)\uuid.lib \
  35. DEFFILE = $(H)\nntpdrv.def
  36. IMPLIB_DEF = $(DEFFILE)
  37. SOURCES = \
  38. dlldata.c \
  39. nntpdrv_p.c \
  40. nntpdrv_i.c \
  41. nntpdrv.cpp \
  42. RESOURCES = nntpdrv
  43. RESOURCEDIR = $(H)
  44. OTHERSUBS = $(H)\makefile
  45. DEPFILE = $(BASENAME).dep
  46. TLBBASE = nntpdrv
  47. TLBSRC = $(H)\$(TLBBASE).idl
  48. TLB = $(EXOBJDIR)\$(TLBBASE).tlb
  49. TLBHDR = $(EXOBJDIR)\$(TLBBASE).h
  50. TLBIID = $(EXOBJDIR)\$(TLBBASE)_i.c
  51. TLBPROXY = $(EXOBJDIR)\$(TLBBASE)_p.c
  52. TLBDLLDATA = $(EXOBJDIR)\dlldata.c
  53. TLBTARGETS = $(TLBHDR) $(TLB) $(TLBIID)
  54. TLBINC = $(USERINCS) $(OTHERINCS)
  55. TLBFLAGS = -Zp8 -char unsigned -ms_ext -c_ext -cpp_cmd $(CC) -Oicf
  56. OTHERDEPS = $(OTHERDEPS) $(TLB) $(TLBHDR)
  57. OTHERDEPSRC = $(OTHERDEPSRC) $(TLB) $(TLBHDR)
  58. $(TLBTARGETS): $(TLBSRC)
  59. echo ++++++++++++++++++++++++++++++++++++++++
  60. echo BUILDING Type Library $(TLB)
  61. -md $(EXOBJDIR)
  62. midl $(TLBFLAGS) \
  63. $(TLBINC) \
  64. /h $(TLBHDR) \
  65. /tlb $(TLB) \
  66. /dlldata $(TLBDLLDATA) \
  67. /iid $(TLBIID) \
  68. /proxy $(TLBPROXY) \
  69. $(TLBSRC)
  70. mkdeps: targdir $(TLBHDR)
  71. !INCLUDE $(EXDEV)\xmake2.mak
  72. !ENDIF #NTMAKEENV