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.

108 lines
2.6 KiB

  1. ############################################################################
  2. #
  3. # Copyright (C) 1999-2002, Microsoft Corporation.
  4. #
  5. # All rights reserved.
  6. #
  7. ############################################################################
  8. WMIPLATFORM=WIN2K
  9. WMIUNICODE=1
  10. WMIPRECOMPSHARED=1
  11. !include common.inc
  12. SOURCES_USED=common.inc
  13. TARGETNAME=WmiApSrv
  14. TARGETPATH=..\System\$(_OBJ_DIR)
  15. TARGETTYPE=PROGRAM
  16. # The TARGETLIBS macro specifies additional libraries to link against your target
  17. # image. Each library path specification should contain an asterisk (*)
  18. # where the machine-specific subdirectory name should go.
  19. LINKLIBS= \
  20. $(CORELIB_LIB)
  21. TARGETLIBS= \
  22. $(WMIIDL_LIB) \
  23. $(STDLIBRARY_LIB) \
  24. $(SDK_LIB_PATH)\kernel32.lib \
  25. $(SDK_LIB_PATH)\ntdll.lib \
  26. $(SDK_LIB_PATH)\advapi32.lib \
  27. $(SDK_LIB_PATH)\user32.lib \
  28. $(SDK_LIB_PATH)\oleaut32.lib \
  29. $(SDK_LIB_PATH)\ole32.lib \
  30. $(SDK_LIB_PATH)\uuid.lib \
  31. \
  32. $(SDK_LIB_PATH)\strsafe.lib\
  33. \
  34. $(SDK_LIB_PATH)\loadperf.lib \
  35. $(WBEMCOMN_DLL_LIB) \
  36. $(WMI_PERFORMANCE_REFRESH_LIB) \
  37. \
  38. $(WBEMINT_LIB) \
  39. $(SDK_LIB_PATH)\advapip.lib \
  40. $(SDK_LIB_PATH)\vccomsup.lib \
  41. $(SDK_LIB_PATH)\wmip.lib \
  42. $(COMMON)\utillib\$(WMICHARTYPE)\$(O)\utillib.lib \
  43. $(WDMLIB_LIB)
  44. # The INCLUDES variable specifies any include paths that are specific to
  45. # this source directory. Separate multiple paths with single
  46. # semicolons. Relative path specifications are okay.
  47. INCLUDES=$(INCLUDES); \
  48. $(STDLIBRARY_INC); \
  49. $(BASE_INC_PATH); \
  50. $(WMIIDL_INC); \
  51. $(WBEMINT_INC); \
  52. $(WBEMCOMN_INC); \
  53. $(WMI_PERFORMANCE_INC); \
  54. $(WMI_PERFORMANCE_REFRESH_INC); \
  55. ..\WMIAdapter_Messages\$(O);
  56. # The developer defines the SOURCES macro. It contains a list of all the
  57. # source files for this component. Specify each source file on a separate
  58. # line using the line-continuation character. This minimizes merge
  59. # conflicts if two developers are adding source files to the same component.
  60. SOURCES= \
  61. ..\wmi_common.cpp \
  62. \
  63. ..\WMI_perf.cpp \
  64. ..\WMI_perf_data.cpp \
  65. ..\WMI_perf_data_create.cpp \
  66. ..\WMI_perf_data_ext.cpp \
  67. \
  68. ..\wmi_helper_regtable.cpp \
  69. ..\wmi_reverse_guard.cpp \
  70. ..\wmi_eventlog_base.cpp \
  71. \
  72. ..\WMIADAPTER.cpp \
  73. ..\WMIADAPTER_App.cpp \
  74. ..\WMIADAPTER_Service.cpp \
  75. ..\WMIADAPTER_Service_Work.cpp \
  76. ..\WMIADAPTER_Stuff.cpp \
  77. ..\WMIADAPTER_Stuff_Performance.cpp \
  78. ..\WMIADAPTER_Stuff_Refresh.cpp \
  79. \
  80. ..\WmiAdapter.rc
  81. WIN32_WINNT_VERSION=0x0500
  82. USE_RTTI=1
  83. USE_NATIVE_EH=1
  84. USE_MSVCRT=1
  85. USE_STL=1
  86. USE_ATL=1
  87. USE_STATIC_ATL=1
  88. ATL_VER=30
  89. C_DEFINES=$(C_DEFINES) /D_WIN32_DCOM /DUSE_POLARITY
  90. MSC_OPTIMIZATION=/O1
  91. UMTYPE=windows
  92. UMENTRY=winmain