Leaked source code of windows server 2003
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

  1. # Copyright (C) Microsoft Corporation. All Rights Reserved.
  2. !IF "$(TARGETOS)" != "WINNT"
  3. !ERROR Sorry, tracedmp is not supported on non XP platforms
  4. !ENDIF
  5. !IF "$(APPVER)" != "5.01"
  6. !ERROR Sorry, tracedmp is not supported on non XP platforms
  7. !ENDIF
  8. !include <win32.mak>
  9. PROJ = TraceDmp
  10. TRCWMI = TraceWmi
  11. !IF EXIST ("..\..\..\..\Include\wbemidl.h")
  12. all: $(PROJ).exe
  13. !ELSE
  14. all: WARN_MSG
  15. !ENDIF
  16. PROJ_OBJS = $(PROJ).obj $(TRCWMI).obj
  17. $(PROJ).obj: $(PROJ).cpp
  18. $(cc) $(cflags) $(cdebug) $(cvars) $(PROJ).cpp
  19. $(TRCWMI).obj: $(TRCWMI).cpp
  20. $(cc) $(cflags) $(cdebug) $(cvars) $(TRCWMI).cpp
  21. $(PROJ).exe: $(PROJ_OBJS)
  22. $(link) $(conlflags) $(ldebug) $(PROJ_OBJS)\
  23. -out:$(PROJ).exe \
  24. $(conlibs) shell32.lib user32.lib oleaut32.lib ole32.lib wbemuuid.lib
  25. WARN_MSG:
  26. @echo WMI SDK is also needed to compile tracedmp.
  27. clean:
  28. del *.obj
  29. del *.pdb
  30. cleaner: clean
  31. del *.exe