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.
44 lines
966 B
44 lines
966 B
# 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 <win32.mak>
|
|
|
|
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
|
|
|