Source code of Windows XP (NT5)
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.
 
 
 
 
 
 

61 lines
1.1 KiB

!ifndef CAP_BUILD
CAP_BUILD=0
!endif
TARGETNAME=pdhtest
TARGETPATH=obj
TARGETPATHLIB=$(BASEDIR)\public\sdk\lib
TARGETTYPE=LIBRARY
!if $(CAP_BUILD)
386_OPTIMIZATION=$(386_OPTIMIZATION) /Gh
TARGETLIBS=\
$(SDK_LIB_PATH)\kernel32.lib \
$(SDK_LIB_PATH)\advapi32.lib \
$(SDK_LIB_PATH)\pdh.lib \
$(SDK_LIB_PATH)\user32.lib \
$(SDK_LIB_PATH)\cap.lib
UMLIBS=\
$(SDK_LIB_PATH)\kernel32.lib \
$(SDK_LIB_PATH)\advapi32.lib \
$(SDK_LIB_PATH)\pdh.lib \
$(SDK_LIB_PATH)\cap.lib \
obj\*\pdhtest.lib
!else
TARGETLIBS=\
$(SDK_LIB_PATH)\kernel32.lib \
$(SDK_LIB_PATH)\advapi32.lib \
$(SDK_LIB_PATH)\pdh.lib \
$(SDK_LIB_PATH)\user32.lib
UMLIBS=\
$(SDK_LIB_PATH)\kernel32.lib \
$(SDK_LIB_PATH)\advapi32.lib \
$(SDK_LIB_PATH)\pdh.lib \
obj\*\pdhtest.lib
!endif
INCLUDES=$(WINDOWS_INC_PATH)
SOURCES=pdhtest.c \
browse.c \
query.c \
counters.c \
log.c \
log_ctrl.c \
reg.c \
perfname.c
USE_MSVCRT=1
UMTYPE=console
UMENTRY=main
UMAPPL=pdhTest