Source code of Windows XP (NT5)
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.

110 lines
2.7 KiB

  1. ############################################################################
  2. #
  3. # Copyright (C) 1999, Microsoft Corporation.
  4. #
  5. # All rights reserved.
  6. #
  7. ############################################################################
  8. WMIPRECOMP=1
  9. !include $(PROJECT_ROOT)\wmi\wbem\common\makefile.cmn
  10. SOURCES_USED=$(PROJECT_ROOT)\wmi\wbem\common\makefile.cmn
  11. TARGETNAME=wbemdisp
  12. TARGETPATH=obj
  13. TARGETTYPE=DYNLINK
  14. MIDL_TLBDIR=$(O)
  15. PASS0_CLIENTDIR=$(O)
  16. PASS0_SERVERDIR=$(O)
  17. PASS0_SOURCEDIR=$(O)
  18. PASS0_HEADERDIR=$(O)
  19. # Tone down the warning level to avoid errors from
  20. # symbols names being too long (because of STL)
  21. MSC_WARNING_LEVEL= /W3
  22. # The TARGETLIBS macro specifies additional libraries to link against your target
  23. # image. Each library path specification should contain an asterisk (*)
  24. # where the machine-specific subdirectory name should go.
  25. TARGETLIBS= \
  26. $(WMIIDL_LIB) \
  27. $(STDLIBRARY_LIB) \
  28. $(SDK_LIB_PATH)\kernel32.lib \
  29. $(SDK_LIB_PATH)\advapi32.lib \
  30. $(SDK_LIB_PATH)\user32.lib \
  31. $(SDK_LIB_PATH)\oleaut32.lib \
  32. $(SDK_LIB_PATH)\ole32.lib \
  33. $(SDK_LIB_PATH)\uuid.lib \
  34. $(SDK_LIB_PATH)\msvcprt.lib \
  35. $(SDK_LIB_PATH)\rpcrt4.lib
  36. # The INCLUDES variable specifies any include paths that are specific to
  37. # this source directory. Separate multiple paths with single
  38. # semicolons. Relative path specifications are okay.
  39. INCLUDES=$(INCLUDES); \
  40. $(ADMIN_INC_PATH); \
  41. $(WMIIDL_INC); \
  42. $(STDLIBRARY_INC); \
  43. $(SDK_INC_PATH)\atl30
  44. # The developer defines the SOURCES macro. It contains a list of all the
  45. # source files for this component. Specify each source file on a separate
  46. # line using the line-continuation character. This minimizes merge
  47. # conflicts if two developers are adding source files to the same component.
  48. SOURCES= \
  49. wbemdisp.rc \
  50. dispi.idl \
  51. privilege.cpp \
  52. enumpriv.cpp \
  53. pxycache.cpp \
  54. site.cpp \
  55. services.cpp \
  56. error.cpp \
  57. security.cpp \
  58. events.cpp \
  59. method.cpp \
  60. methset.cpp \
  61. methvar.cpp \
  62. objobjp.cpp \
  63. qualifier.cpp \
  64. qualset.cpp \
  65. qualvar.cpp \
  66. property.cpp \
  67. propset.cpp \
  68. propvar.cpp \
  69. nvalue.cpp \
  70. context.cpp \
  71. contvar.cpp \
  72. cwbemdsp.cpp \
  73. parsedn.cpp \
  74. util.cpp \
  75. disphlp.cpp \
  76. locator.cpp \
  77. sink.cpp \
  78. objsink.cpp \
  79. asynserv.cpp \
  80. asyncobj.cpp \
  81. object.cpp \
  82. enumobj.cpp \
  83. enumvar.cpp \
  84. maindll.cpp \
  85. classfac.cpp \
  86. sobjpath.cpp\
  87. dispi_i.c\
  88. datetime.cpp\
  89. refresher.cpp\
  90. pathcrak.cpp
  91. # Next, specify options for the compiler using C_DEFINES.
  92. C_DEFINES=$(C_DEFINES) /D_WIN32_WINNT=0x0400 /DBUILDING_DLL /DUNICODE /D_UNICODE
  93. #USER_C_FLAGS=/EHa
  94. DLLENTRY=_DllMainCRTStartup
  95. USE_MSVCRT=1
  96. USE_NATIVE_EH=1
  97. DLLDEF=$(O)\wbemdisp.def
  98. MIDL_FLAGS=/client stub /server none
  99. # MSC_OPTIMIZATION=/Od