windows-nt/Source/XPSP1/NT/admin/controls/smonctrl/sources
2020-09-26 16:20:57 +08:00

171 lines
3.2 KiB
Plaintext

!IF 0
**************************************************************
Sources file for building sysmon.ocx.
Module Name : sysmon.ocx
Author: rswaney
Revision:
Comments:
**************************************************************
!ENDIF
!ifndef NORMAL_BUILD
!ifndef TIMING_BUILD
TIMING_BUILD=0
!endif
!ifndef CAP_BUILD
CAP_BUILD=0
!endif
!if ($(TIMING_BUILD) || $(CAP_BUILD))
NORMAL_BUILD=0
!else
NORMAL_BUILD=1
!endif
!else
!if $(NORMAL_BUILD)
CAP_BUILD=0
TIMING_BUILD=0
!endif
!endif
MAJORCOMP=windows
TARGETNAME=sysmon
TARGETPATH=obj
TARGETTYPE=DYNLINK
TARGETEXT=ocx
MISCFILES=sysmon.sld
DLLENTRY = _DllMainCRTStartup
PASS0_HEADERDIR=$(O)
PASS0_SOURCEDIR=$(O)
USE_MIDL_FOR_MKTYPLIB=1
MKTYPLIB_FLAGS=/h $(O)\isysmon.h
PASS0_HEADERDIR=$(O)
PASS0_SOURCEDIR=$(O)
PASS0_PUBLISH=\
{$(O)\isysmon.h=$(SDK_INC_PATH)\isysmon.h}
USE_MFCUNICODE=1
USE_ATL=1
UMTYPE=windows
INCLUDES=$(O);$(SDKTOOLS_INC_PATH);
C_DEFINES=-DWIN32 -DSTRICT -DPRINTDBG -DUNICODE -D_UNICODE
#
# Enable Fusion Build Magic (preprocess the manifest, stick in resources)
#
SXS_ASSEMBLY_NAME=Microsoft.Windows.Perfmon.Sysmon
SXS_ASSEMBLY_LANGUAGE_INDEPENDENT=1
SXS_MANIFEST=sysmon.manifest
SXS_MANIFEST_IN_RESOURCES=1
SXS_NO_BINPLACE=1
# the resource ID here must be 2
SXS_MANIFEST_RESOURCE_ID=2
# ISOLATION_AWARE_ENABLED ==> use ui themes
C_DEFINES=$(C_DEFINES) -DISOLATION_AWARE_ENABLED
TARGETLIBS= $(SDK_LIB_PATH)\user32.lib \
$(SDK_LIB_PATH)\gdi32.lib \
$(SDK_LIB_PATH)\kernel32.lib \
$(SDK_LIB_PATH)\advapi32.lib \
$(SDK_LIB_PATH)\comdlg32.lib \
$(SDK_LIB_PATH)\comctl32.lib \
$(SDK_LIB_PATH)\ole32.lib \
$(SDK_LIB_PATH)\oleaut32.lib \
$(SDK_LIB_PATH)\uuid.lib \
$(SDK_LIB_PATH)\pdh.lib \
$(SDK_LIB_PATH)\htmlhelp.lib \
$(SDK_LIB_PATH)\shell32.lib \
$(SDK_LIB_PATH)\odbc32.lib \
$(SDK_LIB_PATH)\odbccp32.lib \
$(SDK_LIB_PATH)\uxtheme.lib \
$(SDKTOOLS_LIB_PATH)\pdhp.lib
!if $(TIMING_BUILD)
C_DEFINES=$(C_DEFINES) -DDO_TIMING_BUILD
INCLUDES=$(INCLUDES);.\perf\appdll
TARGETLIBS= $(TARGETLIBS)
.\perfdll\perfdll\$(O)\sharemem.obj
!endif
!if $(CAP_BUILD)
USE_ICECAP=1
!endif
SOURCES= \
smonmsg.mc \
sysmon.odl \
appearprop.cpp \
logsrc.cpp \
logfiles.cpp \
appmema.cpp \
ctrldll.cpp \
polyline.cpp \
hatchwnd.cpp \
ipolylin.cpp \
ctrlwin.cpp \
iconnpt.cpp \
iperstor.cpp \
iperpbag.cpp \
ipropbag.cpp \
iprpbrws.cpp \
iperstmi.cpp \
idataobj.cpp \
ioleobj.cpp \
iviewobj.cpp \
irunobj.cpp \
iextconn.cpp \
iipobj.cpp \
iipaobj.cpp \
control.cpp \
scale.cpp \
legend.cpp \
statbar.cpp \
smonctrl.cpp \
counters.cpp \
stepper.cpp \
utils.cpp \
grphdsp.cpp \
grphitem.cpp \
fostrwnd.cpp \
dispatch.cpp \
smonprop.cpp \
grphprop.cpp \
genprop.cpp \
ctrprop.cpp \
visuals.cpp \
register.cpp \
snapbar.cpp \
colefont.cpp \
cathelp.cpp \
report.cpp \
cntrtree.cpp \
namenode.cpp \
srcprop.cpp \
timerng.cpp \
intrvbar.cpp \
browse.cpp \
toolbar.cpp \
strnoloc.cpp \
smonctrl.rc