# Copyright (C) Microsoft Corporation. All Rights Reserved. !IF "$(TARGETOS)" != "WINNT" !ERROR Sorry, tracedmp is not supported on non XP platforms !ENDIF !IF "$(APPVER)" != "5.01" !ERROR Sorry, tracedmp is not supported on non XP platforms !ENDIF !include PROJ = TraceDmp TRCWMI = TraceWmi !IF EXIST ("..\..\..\..\Include\wbemidl.h") all: $(PROJ).exe !ELSE all: WARN_MSG !ENDIF PROJ_OBJS = $(PROJ).obj $(TRCWMI).obj $(PROJ).obj: $(PROJ).cpp $(cc) $(cflags) $(cdebug) $(cvars) $(PROJ).cpp $(TRCWMI).obj: $(TRCWMI).cpp $(cc) $(cflags) $(cdebug) $(cvars) $(TRCWMI).cpp $(PROJ).exe: $(PROJ_OBJS) $(link) $(conlflags) $(ldebug) $(PROJ_OBJS)\ -out:$(PROJ).exe \ $(conlibs) shell32.lib user32.lib oleaut32.lib ole32.lib wbemuuid.lib WARN_MSG: @echo WMI SDK is also needed to compile tracedmp. clean: del *.obj del *.pdb cleaner: clean del *.exe