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.

94 lines
2.6 KiB

  1. ############################################################################
  2. #
  3. # Copyright (C) 1999, Microsoft Corporation.
  4. #
  5. # All rights reserved.
  6. #
  7. ############################################################################
  8. WMIUNICODE=1
  9. WMIPRECOMP=1
  10. !include $(PROJECT_ROOT)\wmi\wbem\common\makefile.cmn
  11. SOURCES_USED=$(PROJECT_ROOT)\wmi\wbem\common\makefile.cmn
  12. ##################################################
  13. # Settings
  14. TARGETNAME=NCProv
  15. TARGETPATH=obj
  16. TARGETTYPE=DYNLINK
  17. # The INCLUDES variable specifies any include paths that are specific to
  18. # this source directory. Separate multiple paths with single
  19. # semicolons. Relative path specifications are okay.
  20. INCLUDES= \
  21. $(NC_UTILS); \
  22. $(WBEMCOMN_INC); \
  23. $(COREPROX_INC); \
  24. $(ESSCLI_INC); \
  25. $(WBEMINT_INC); \
  26. $(WMIINT_INC); \
  27. $(STDLIBRARY_INC); \
  28. $(WBEMESS_INC); \
  29. $(NC_COMMON); \
  30. $(INCLUDES)
  31. # The TARGETLIBS macro specifies additional libraries to link against your target
  32. # image. Each library path specification should contain an asterisk (*)
  33. # where the machine-specific subdirectory name should go.
  34. TARGETLIBS= \
  35. $(WMIIDL_LIB) \
  36. $(NC_UTILS_LIB) \
  37. $(NCOBJAPI_LIB) \
  38. $(WBEMINT_LIB) \
  39. $(STDLIBRARY_LIB) \
  40. $(WBEMCOMN_DLL_LIB) \
  41. $(ESSCLI_DLL_LIB) \
  42. $(COREPROX_LIB) \
  43. $(SDK_LIB_PATH)\kernel32.lib \
  44. $(SDK_LIB_PATH)\advapi32.lib \
  45. $(SDK_LIB_PATH)\user32.lib \
  46. $(SDK_LIB_PATH)\oleaut32.lib \
  47. $(SDK_LIB_PATH)\ole32.lib \
  48. $(SDK_LIB_PATH)\uuid.lib \
  49. $(SDK_LIB_PATH)\libcpmt.lib \
  50. $(SDK_LIB_PATH)\vccomsup.lib
  51. # The developer defines the SOURCES macro. It contains a list of all the
  52. # source files for this component. Specify each source file on a separate
  53. # line using the line-continuation character. This minimizes merge
  54. # conflicts if two developers are adding source files to the same component.
  55. SOURCES= \
  56. localloc.cpp \
  57. EventInfo.cpp \
  58. NCProv.idl \
  59. NCProvider.cpp \
  60. NCProv.cpp \
  61. NCProv.rc \
  62. ProvInfo.cpp \
  63. QueryHelp.cpp
  64. MISCFILES= \
  65. $(O)\ncprov.mof \
  66. $(O)\ncprov.mfl
  67. NTTARGETFILE0= \
  68. $(O)\ncprov.mof \
  69. $(O)\ncprov.mfl
  70. C_DEFINES=$(C_DEFINES) /DUSE_POLARITY
  71. # Turn this on to get debugging info put into a log file.
  72. #C_DEFINES=$(C_DEFINES) /DUSE_FTRACE
  73. USE_NATIVE_EH=1
  74. USE_MSVCRT=1
  75. USE_ATL=1
  76. ATL_VER=30
  77. USE_STL=1
  78. DLLENTRY=_DllMainCRTStartup
  79. DLLDEF=$(O)\NCProv.def