!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