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.

60 lines
1.1 KiB

  1. !ifndef CAP_BUILD
  2. CAP_BUILD=0
  3. !endif
  4. TARGETNAME=pdhtest
  5. TARGETPATH=obj
  6. TARGETPATHLIB=$(BASEDIR)\public\sdk\lib
  7. TARGETTYPE=LIBRARY
  8. !if $(CAP_BUILD)
  9. 386_OPTIMIZATION=$(386_OPTIMIZATION) /Gh
  10. TARGETLIBS=\
  11. $(SDK_LIB_PATH)\kernel32.lib \
  12. $(SDK_LIB_PATH)\advapi32.lib \
  13. $(SDK_LIB_PATH)\pdh.lib \
  14. $(SDK_LIB_PATH)\user32.lib \
  15. $(SDK_LIB_PATH)\cap.lib
  16. UMLIBS=\
  17. $(SDK_LIB_PATH)\kernel32.lib \
  18. $(SDK_LIB_PATH)\advapi32.lib \
  19. $(SDK_LIB_PATH)\pdh.lib \
  20. $(SDK_LIB_PATH)\cap.lib \
  21. obj\*\pdhtest.lib
  22. !else
  23. TARGETLIBS=\
  24. $(SDK_LIB_PATH)\kernel32.lib \
  25. $(SDK_LIB_PATH)\advapi32.lib \
  26. $(SDK_LIB_PATH)\pdh.lib \
  27. $(SDK_LIB_PATH)\user32.lib
  28. UMLIBS=\
  29. $(SDK_LIB_PATH)\kernel32.lib \
  30. $(SDK_LIB_PATH)\advapi32.lib \
  31. $(SDK_LIB_PATH)\pdh.lib \
  32. obj\*\pdhtest.lib
  33. !endif
  34. INCLUDES=$(WINDOWS_INC_PATH)
  35. SOURCES=pdhtest.c \
  36. browse.c \
  37. query.c \
  38. counters.c \
  39. log.c \
  40. log_ctrl.c \
  41. reg.c \
  42. perfname.c
  43. USE_MSVCRT=1
  44. UMTYPE=console
  45. UMENTRY=main
  46. UMAPPL=pdhTest
  47.