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.

84 lines
2.3 KiB

  1. ############################################################################
  2. #
  3. # Copyright (c) 1999-2001 Microsoft Corporation, All Rights Reserved
  4. #
  5. # All rights reserved.
  6. #
  7. ############################################################################
  8. WMIUNICODE=1
  9. WMIPRECOMP=1
  10. !include ..\..\common\makefile.cmn
  11. SOURCES_USED=..\..\common\makefile.cmn
  12. TARGETNAME=wmiprov
  13. TARGETPATH=obj
  14. TARGETTYPE=DYNLINK
  15. # The TARGETLIBS macro specifies additional libraries to link against your target
  16. # image. Each library path specification should contain an asterisk (*)
  17. # where the machine-specific subdirectory name should go.
  18. LINKLIBS= \
  19. $(CORELIB_LIB) \
  20. TARGETLIBS= \
  21. $(WBEMCOMN_STATIC_LIB)\
  22. $(STDLIBRARY_LIB) \
  23. $(MINIMFC_LIB) \
  24. $(WMIIDL_LIB) \
  25. $(WBEMINT_LIB) \
  26. $(UTILLIB_LIB) \
  27. $(ESSCLI_STATIC_LIB) \
  28. $(WDMLIB_LIB) \
  29. $(SDK_LIB_PATH)\ole32.lib \
  30. $(SDK_LIB_PATH)\oleaut32.lib \
  31. $(SDK_LIB_PATH)\uuid.lib \
  32. $(SDK_LIB_PATH)\wmip.lib\
  33. $(SDK_LIB_PATH)\kernel32.lib \
  34. $(SDK_LIB_PATH)\advapi32.lib \
  35. $(SDK_LIB_PATH)\advapip.lib \
  36. $(SDK_LIB_PATH)\vccomsup.lib \
  37. $(SDK_LIB_PATH)\rpcrt4.lib \
  38. $(SDK_LIB_PATH)\user32.lib
  39. # The INCLUDES variable specifies any include paths that are specific to
  40. # this source directory. Separate multiple paths with single
  41. # semicolons. Relative path specifications are okay.
  42. INCLUDES=$(INCLUDES); \
  43. $(WBEMCOMN_INC);\
  44. $(WMIIDL_INC); \
  45. $(MINIMFC_INC); \
  46. $(STDLIBRARY_INC); \
  47. $(MOFCOMP_DLL_INC); \
  48. $(CONTAINER_INC); \
  49. $(CONTAINER_SRC); \
  50. $(UTILLIB_INC); \
  51. $(ESSCLI_INC); \
  52. $(WDMLIB_INC);\
  53. $(FRAMEWORK_EXPT_INC); \
  54. $(CORELIB_INC)
  55. # The developer defines the SOURCES macro. It contains a list of all the
  56. # source files for this component. Specify each source file on a separate
  57. # line using the line-continuation character. This minimizes merge
  58. # conflicts if two developers are adding source files to the same component.
  59. SOURCES= \
  60. wmiprov.rc \
  61. wmiguard.cpp \
  62. classfac.cpp \
  63. wmiprov.cpp \
  64. wmievent.cpp \
  65. maindll.cpp \
  66. wdmperf.cpp
  67. # Next, specify options for the compiler using C_DEFINES.
  68. C_DEFINES=$(C_DEFINES) $(C_DEFINES) /DBUILDING_MOFD
  69. USER_C_FLAGS=/EHa
  70. DLLENTRY=_DllMainCRTStartup
  71. DLLDEF=$(O)\wmiprov.def
  72. USE_MSVCRT=1
  73. USE_STL=1
  74. USE_NATIVE_EH=1