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.

132 lines
3.1 KiB

  1. !IFDEF NTMAKEENV
  2. !INCLUDE $(NTMAKEENV)\makefile.def
  3. !ELSE
  4. # -----------------------------------------------------------------------------
  5. # $(STAXPT)\src\news\adminsso\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 = nntpadm
  16. MEMBASE = $(STAXPT)\src\inc\coffbase.txt
  17. !IF $(NTX)
  18. ENTRYPOINT = _DllMainCRTStartup@12
  19. !ELSE
  20. ENTRYPOINT = _DllMainCRTStartup
  21. !ENDIF #$(NTX)
  22. # ENTRYPOINT = DllMain
  23. USESDLLCRT = 1
  24. DEFPLUSOBJS = 1
  25. SIGNEDCHAR = 1
  26. USESBINPLACE = 1
  27. !INCLUDE $(EXDEV)\xmake1.mak
  28. !INCLUDE $(STAXPT)\src\inc\stackcpp.mak
  29. USERDEFS = -DUNICODE -D_UNICODE $(USERDEFS)
  30. # -----------------------------------------------------------------------------
  31. #
  32. EXPORT_LIBS=0
  33. H = $(STAXPT)\src\news\adminsso
  34. OTHERINCS = \
  35. -I $(COMPONENT)\src\core\admin\admcmn \
  36. -I $(K2INCS) \
  37. -I $(COMPONENT)\src\inc \
  38. -I $(COMPONENT)\src\news\core\include \
  39. -I $(COMPONENT)\src\core\iis\svcs\infocomm\common \
  40. -I $(EXOBJDIR) \
  41. CPPPCH = stdafx
  42. CPPPCHSRCEXT = .cpp
  43. RESOURCES = nntpadm
  44. RESOURCEDIR = $(COMPRESRC)\news\adminsso
  45. DEFFILE = $H\nntpadm.def
  46. SOURCES = \
  47. admin.cpp \
  48. binding.cpp \
  49. expire.cpp \
  50. expinfo.cpp \
  51. feeds.cpp \
  52. feedinfo.cpp \
  53. groups.cpp \
  54. guids.cpp \
  55. ipaccess.cpp \
  56. metafact.cpp \
  57. metautil.cpp \
  58. nntpadm.cpp \
  59. oleutil.cpp \
  60. rebuild.cpp \
  61. server.cpp \
  62. sessions.cpp \
  63. vroots.cpp \
  64. feedpach.cpp \
  65. # virsrv.cpp \
  66. # service.cpp \
  67. OTHERLIBS = \
  68. $(LOCALIMPLIB)\nntpapi.lib \
  69. $(LOCALIMPLIB)\exstrace.lib \
  70. $(LOCALLIB)\admcmn.lib \
  71. $(LOCALLIB)\rdns.lib \
  72. $(LOCALLIB)\isdebug.lib \
  73. $(LOCALLIB)\tsstr.lib \
  74. $(EXLIB)\adsiid.lib \
  75. $(EXLIB)\netapi32.lib \
  76. $(EXLIB)\wsock32.lib \
  77. $(EXLIB)\uuid.lib \
  78. $(EXLIB)\ole32.lib \
  79. $(EXLIB)\oleaut32.lib \
  80. OTHERSUBS = $H\makefile
  81. DEPFILE = $(BASENAME).dep
  82. LINTFILE = $(BASENAME).lnt
  83. IDLNAME = nntpadm
  84. IDLSRC = $(STAXPT)\src\core\admin\adsiisex\src\$(IDLNAME).idl
  85. IDLINC = $(USERINCS) $(OTHERINCS)
  86. IDLDEFINES =
  87. #-D$(CPU) -D$(CCPU) -D$(NET_C_DEFINES) -D_WCHAR_T_DEFINED
  88. IDLFLAGS =
  89. IDLTARGETS = nntpadm
  90. $(IDLTARGETS): $(IDLSRC)
  91. echo ++++++++++++++++++++++++++++++++++++++++
  92. echo BUILDING IDL compiled $(@F)
  93. -md $(EXOBJDIR)
  94. copy $(COMPONENT)\src\core\admin\adsi\include\$(PLATFORM)\activeds.tlb $(EXOBJDIR)
  95. midl $(IDLFLAGS) \
  96. $(IDLDEFINES) \
  97. $(IDLSRC) \
  98. $(IDLINC) \
  99. OTHERDEPS = $(OTHERDEPS) $(IDLTARGETS)
  100. OTHERDEPSRC = $(OTHERDEPSRC) $(IDLTARGETS)
  101. RCDEPS = \
  102. $(IDLNAME).tlb \
  103. $(RCDEPS) \
  104. mkdeps: targdir $(IDLTARGETS)
  105. !INCLUDE $(EXDEV)\xmake2.mak
  106. !ENDIF #NTMAKEENV