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.

170 lines
3.4 KiB

  1. !IF 0
  2. **************************************************************
  3. Sources file for building sysmon.ocx.
  4. Module Name : sysmon.ocx
  5. Author: rswaney
  6. Revision:
  7. Comments:
  8. **************************************************************
  9. !ENDIF
  10. !ifndef NORMAL_BUILD
  11. !ifndef TIMING_BUILD
  12. TIMING_BUILD=0
  13. !endif
  14. !ifndef CAP_BUILD
  15. CAP_BUILD=0
  16. !endif
  17. !if ($(TIMING_BUILD) || $(CAP_BUILD))
  18. NORMAL_BUILD=0
  19. !else
  20. NORMAL_BUILD=1
  21. !endif
  22. !else
  23. !if $(NORMAL_BUILD)
  24. CAP_BUILD=0
  25. TIMING_BUILD=0
  26. !endif
  27. !endif
  28. MAJORCOMP=windows
  29. TARGETNAME=sysmon
  30. TARGETPATH=obj
  31. TARGETTYPE=DYNLINK
  32. TARGETEXT=ocx
  33. MISCFILES=sysmon.sld
  34. DLLENTRY = _DllMainCRTStartup
  35. PASS0_HEADERDIR=$(O)
  36. PASS0_SOURCEDIR=$(O)
  37. USE_MIDL_FOR_MKTYPLIB=1
  38. MKTYPLIB_FLAGS=/h $(O)\isysmon.h
  39. PASS0_HEADERDIR=$(O)
  40. PASS0_SOURCEDIR=$(O)
  41. PASS0_PUBLISH=\
  42. {$(O)\isysmon.h=$(SDK_INC_PATH)\isysmon.h}
  43. USE_MFCUNICODE = 1
  44. USE_ATL = 1
  45. UMTYPE=windows
  46. INCLUDES=$(O);$(SDKTOOLS_INC_PATH);
  47. C_DEFINES=-DWIN32 -DSTRICT -DPRINTDBG -DUNICODE -D_UNICODE
  48. #
  49. # Enable Fusion Build Magic (preprocess the manifest, stick in resources)
  50. #
  51. SXS_ASSEMBLY_NAME=Microsoft.Windows.Perfmon.Sysmon
  52. SXS_ASSEMBLY_LANGUAGE_INDEPENDENT=1
  53. SXS_MANIFEST=sysmon.manifest
  54. SXS_MANIFEST_IN_RESOURCES=1
  55. SXS_NO_BINPLACE=1
  56. # the resource ID here must be 2
  57. SXS_MANIFEST_RESOURCE_ID=2
  58. # ISOLATION_AWARE_ENABLED ==> use ui themes
  59. C_DEFINES=$(C_DEFINES) -DISOLATION_AWARE_ENABLED
  60. USER_C_FLAGS=/EHa
  61. TARGETLIBS= $(SDK_LIB_PATH)\user32.lib \
  62. $(SDK_LIB_PATH)\gdi32.lib \
  63. $(SDK_LIB_PATH)\kernel32.lib \
  64. $(SDK_LIB_PATH)\advapi32.lib \
  65. $(SDK_LIB_PATH)\comdlg32.lib \
  66. $(SDK_LIB_PATH)\comctl32.lib \
  67. $(SDK_LIB_PATH)\ole32.lib \
  68. $(SDK_LIB_PATH)\oleaut32.lib \
  69. $(SDK_LIB_PATH)\uuid.lib \
  70. $(SDK_LIB_PATH)\pdh.lib \
  71. $(SDK_LIB_PATH)\htmlhelp.lib \
  72. $(SDK_LIB_PATH)\shell32.lib \
  73. $(SDK_LIB_PATH)\odbc32.lib \
  74. $(SDK_LIB_PATH)\odbccp32.lib \
  75. $(SDK_LIB_PATH)\uxtheme.lib \
  76. $(SDKTOOLS_LIB_PATH)\pdhp.lib
  77. !if $(TIMING_BUILD)
  78. C_DEFINES=$(C_DEFINES) -DDO_TIMING_BUILD
  79. INCLUDES=$(INCLUDES);.\perf\appdll
  80. TARGETLIBS= $(TARGETLIBS)
  81. .\perfdll\perfdll\$(O)\sharemem.obj
  82. !endif
  83. !if $(CAP_BUILD)
  84. USE_ICECAP=1
  85. !endif
  86. SOURCES= \
  87. smonmsg.mc \
  88. sysmon.odl \
  89. appearprop.cpp \
  90. logsrc.cpp \
  91. logfiles.cpp \
  92. appmema.cpp \
  93. ctrldll.cpp \
  94. polyline.cpp \
  95. hatchwnd.cpp \
  96. ipolylin.cpp \
  97. iconnpt.cpp \
  98. iperstor.cpp \
  99. iperpbag.cpp \
  100. ipropbag.cpp \
  101. iprpbrws.cpp \
  102. iperstmi.cpp \
  103. idataobj.cpp \
  104. ioleobj.cpp \
  105. iviewobj.cpp \
  106. irunobj.cpp \
  107. iextconn.cpp \
  108. iipobj.cpp \
  109. iipaobj.cpp \
  110. control.cpp \
  111. scale.cpp \
  112. legend.cpp \
  113. statbar.cpp \
  114. smonctrl.cpp \
  115. counters.cpp \
  116. stepper.cpp \
  117. utils.cpp \
  118. grphdsp.cpp \
  119. grphitem.cpp \
  120. fostrwnd.cpp \
  121. dispatch.cpp \
  122. smonprop.cpp \
  123. grphprop.cpp \
  124. genprop.cpp \
  125. ctrprop.cpp \
  126. visuals.cpp \
  127. register.cpp \
  128. snapbar.cpp \
  129. colefont.cpp \
  130. cathelp.cpp \
  131. report.cpp \
  132. cntrtree.cpp \
  133. namenode.cpp \
  134. srcprop.cpp \
  135. timerng.cpp \
  136. intrvbar.cpp \
  137. browse.cpp \
  138. toolbar.cpp \
  139. strnoloc.cpp \
  140. smonctrl.rc