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.

82 lines
2.2 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. classfac.cpp \
  62. wmiprov.cpp \
  63. wmievent.cpp \
  64. maindll.cpp \
  65. wdmperf.cpp
  66. # Next, specify options for the compiler using C_DEFINES.
  67. C_DEFINES=$(C_DEFINES) $(C_DEFINES) /DBUILDING_MOFD
  68. USER_C_FLAGS=/EHa
  69. DLLENTRY=_DllMainCRTStartup
  70. DLLDEF=$(O)\wmiprov.def
  71. USE_MSVCRT=1
  72. USE_NATIVE_EH=1