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.

115 lines
2.6 KiB

  1. #---------------------------------------------------------------------
  2. #
  3. # This makefile is for use with the SMSBUILD utility. It builds the
  4. # WBEM ESS dll.
  5. #
  6. # created 11-26-96 a-levn
  7. #
  8. #---------------------------------------------------------------------
  9. TARGET=wbemess.dll
  10. NO_RTTI=1
  11. #ICECAP=1
  12. CINC+= \
  13. -I$(WBEMCOMN) \
  14. -I$(WBEMESS) \
  15. -I$(QL) \
  16. -I$(IDL) \
  17. -I$(IDL)\$(OBJDIR) \
  18. -I$(MCDIR) \
  19. -I$(STDLIBRARY)
  20. !if "$(PROCESSOR_ARCHITECTURE)"=="x86"
  21. DEFFILE=..\ess.def
  22. !else
  23. DEFFILE=..\essrisc.def
  24. !endif
  25. !if "$(OPSYS)"=="NT64"
  26. DEFFILE=..\64.def
  27. !endif
  28. DLLSTARTUP= -ENTRY:_DllMainCRTStartup$(DLLENTRY)
  29. CFLAGS+= /H1024 /D_WIN32_WINNT=0x0400 /EHa
  30. #/fastcap
  31. !if "$(BUILDTYPE)"=="DEBUG"
  32. GCFLAGS = $(GCFLAGS) /GR- /Oy-
  33. !else
  34. GCFLAGS = $(GCFLAGS) /GR- /Ox /Oy-
  35. !endif
  36. # Pre-compiled header file configuration
  37. PXXFILES=..\pch.cpp
  38. PCHFILE=$(OBJDIR)\pch.pch
  39. HDRSTOPFILE=windows.h
  40. CPPFILES=\
  41. ..\evsink.cpp \
  42. $(WBEMCOMN)\newnew.cpp \
  43. ..\newobj.cpp \
  44. ..\clscache.cpp \
  45. ..\binding.cpp \
  46. ..\evtools.cpp \
  47. ..\filtprox.cpp \
  48. ..\filter.cpp \
  49. ..\aggreg.cpp \
  50. ..\poller.cpp \
  51. ..\provreg.cpp \
  52. ..\tempfilt.cpp \
  53. ..\tempcons.cpp \
  54. ..\eventrep.cpp \
  55. ..\permbind.cpp \
  56. ..\corefind.cpp \
  57. ..\equeue.cpp \
  58. ..\permcons.cpp \
  59. ..\permfilt.cpp \
  60. ..\consprov.cpp \
  61. ..\wbemtss.cpp \
  62. ..\essutils.cpp \
  63. ..\postpone.cpp
  64. ..\analyser.cpp \
  65. ..\nsrep.cpp \
  66. ..\ess.cpp \
  67. ..\esssink.cpp \
  68. ..\essmain.cpp \
  69. $(WBEMCOMN)\fastval.cpp \
  70. $(WBEMCOMN)\callsec.cpp \
  71. $(WBEMCOMN)\winntsec.cpp \
  72. $(WBEMCOMN)\dllmain.cpp \
  73. $(WBEMCOMN)\tss.cpp \
  74. $(WBEMCOMN)\unk.cpp \
  75. $(WBEMCOMN)\wbemtime.cpp \
  76. $(WBEMCOMN)\sync.cpp \
  77. $(WBEMCOMN)\unload.cpp \
  78. $(WBEMCOMN)\provinit.cpp \
  79. $(WBEMCOMN)\evtlog.cpp \
  80. $(WBEMCOMN)\localloc.cpp \
  81. $(IDL)\OBJ$(PLAT)$(OPST)$(BLDT)D\wbemint_i.c \
  82. $(stdlibrary)\cominit.cpp
  83. LIBS+= \
  84. !if "$(WBEMCOMN_TARGET)"=="__WIN9x_BUILD__"
  85. $(WBEMCOMN)\Win9x\$(objdir)\wbemcomn.lib \
  86. !endif
  87. !if "$(WBEMCOMN_TARGET)"=="__WINNT_BUILD__"
  88. $(WBEMCOMN)\NT\$(objdir)\wbemcomn.lib \
  89. !endif
  90. $(IDL)\OBJ$(PLAT)$(OPST)$(BLDT)D\wbemuuid.lib \
  91. $(CLIB)\shell32.lib \
  92. # $(CLIB)\icecap.lib \
  93. $(CLIB)\user32.lib \
  94. $(CLIB)\msvcrt.lib \
  95. !ifdef KERNEL33
  96. $(DEFDRIVE)$(DEFDIR)\Winmgmt\kernel33\kernel33.lib \
  97. !else
  98. $(CLIB)\kernel32.lib \
  99. !endif
  100. $(CLIB)\advapi32.lib \
  101. $(CLIB)\oleaut32.lib \
  102. $(CLIB)\ole32.lib \
  103. $(CLIB)\uuid.lib \
  104. $(CLIB)\version.lib \
  105. $(CLIB)\netapi32.lib