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.

74 lines
2.1 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=WMICOOKR
  12. TARGETPATH=obj
  13. TARGETTYPE=DYNLINK
  14. # The TARGETLIBS macro specifies additional libraries to link against your target
  15. # image. Each library path specification should contain an asterisk (*)
  16. # where the machine-specific subdirectory name should go.
  17. LINKLIBS= \
  18. $(CORELIB_LIB)
  19. TARGETLIBS= \
  20. $(WMIIDL_LIB) \
  21. $(WBEMCOMN_DLL_LIB) \
  22. $(WBEMINT_LIB) \
  23. $(STDLIBRARY_LIB) \
  24. $(SDK_LIB_PATH)\ole32.lib \
  25. $(SDK_LIB_PATH)\oleaut32.lib \
  26. $(SDK_LIB_PATH)\uuid.lib \
  27. $(SDK_LIB_PATH)\kernel32.lib \
  28. $(SDK_LIB_PATH)\user32.lib \
  29. $(SDK_LIB_PATH)\advapi32.lib \
  30. $(SDK_LIB_PATH)\vccomsup.lib \
  31. $(SDKTOOLS_LIB_PATH)\pdhcalc.lib
  32. # The INCLUDES variable specifies any include paths that are specific to
  33. # this source directory. Separate multiple paths with single
  34. # semicolons. Relative path specifications are okay.
  35. INCLUDES=$(INCLUDES); \
  36. $(WBEMINT_INC); \
  37. $(WMIIDL_INC); \
  38. $(MINIMFC_INC); \
  39. $(WBEMCOMN_INC); \
  40. $(STDLIBRARY_INC); \
  41. $(CORELIB_INC); \
  42. $(SDKTOOLS_INC_PATH)
  43. # The developer defines the SOURCES macro. It contains a list of all the
  44. # source files for this component. Specify each source file on a separate
  45. # line using the line-continuation character. This minimizes merge
  46. # conflicts if two developers are adding source files to the same component.
  47. SOURCES= \
  48. wmicooker.rc \
  49. localloc.cpp \
  50. cache.cpp \
  51. factory.cpp \
  52. provider.cpp \
  53. rawcooker.cpp \
  54. refresher.cpp \
  55. server.cpp \
  56. WMIObjCooker.cpp \
  57. CookerUtils.cpp
  58. # Next, specify options for the compiler using C_DEFINES.
  59. C_DEFINES=$(C_DEFINES) /DUSE_POLARITY /DBUILDING_DLL /D_UNICODE /DUNICODE
  60. WIN32_WINNT_VERSION=0x0400
  61. USER_C_FLAGS=/EHa
  62. USE_NATIVE_EH=ASYNC
  63. USE_STL=1
  64. USE_MSVCRT=1
  65. DLLENTRY=_DllMainCRTStartup
  66. DLLDEF=$(O)\wmicooker.def