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.

81 lines
1.7 KiB

  1. !ifndef CAP_BUILD
  2. CAP_BUILD=0
  3. !endif
  4. SYNCHRONIZE_DRAIN=1
  5. TARGETNAME=pdh
  6. TARGETPATH=obj
  7. TARGETTYPE=DYNLINK
  8. INCLUDES=..\inc; \
  9. ..\pdhlog; \
  10. $(SDKTOOLS_INC_PATH)
  11. DLLDEF=$(O)\pdh.def
  12. PASS0_HEADERDIR=$(O)
  13. PASS0_SOURCEDIR=$(O)
  14. PASS0_PUBLISH=\
  15. {$(O)\pdhmsg.h=$(SDK_INC_PATH)\pdhmsg.h}
  16. TARGETLIBS=\
  17. $(SHELL_LIB_PATH)\shlwapip.lib \
  18. $(SDK_LIB_PATH)\kernel32.lib \
  19. $(SDK_LIB_PATH)\rpcrt4.lib \
  20. $(SDK_LIB_PATH)\advapi32.lib \
  21. $(SDK_LIB_PATH)\comdlg32.lib \
  22. $(SDK_LIB_PATH)\user32.lib \
  23. $(SDK_LIB_PATH)\ole32.lib \
  24. $(SDK_LIB_PATH)\gdi32.lib \
  25. $(SDK_LIB_PATH)\oleaut32.lib \
  26. $(SDK_LIB_PATH)\uuid.lib \
  27. $(SDK_LIB_PATH)\wbemuuid.lib \
  28. $(SDK_LIB_PATH)\odbc32.lib \
  29. $(SDK_LIB_PATH)\odbccp32.lib \
  30. $(SDK_LIB_PATH)\odbcbcp.lib \
  31. $(SDK_LIB_PATH)\Crypt32.lib
  32. !if $(CAP_BUILD)
  33. 386_OPTIMIZATION=$(386_OPTIMIZATION) -Gh -Zi
  34. TARGETLIBS=$(TARGETLIBS) \
  35. \IceCap\Lib\icap.lib
  36. !endif
  37. LINKLIBS= \
  38. ..\pdhcalc\$(O)\pdhcalc.lib \
  39. ..\pdhlog\$(O)\pdhlog.lib \
  40. ..\pdhui\$(O)\pdhui.lib \
  41. ..\pdhwmi\$(O)\pdhwmi.lib \
  42. ..\pdhpla\$(O)\pdhpla.lib
  43. SOURCES=counter.c \
  44. cutils.c \
  45. dllinit.c \
  46. perfdata.c \
  47. perfname.c \
  48. perfutil.c \
  49. query.c \
  50. qutils.c \
  51. vbfuncs.c \
  52. pdhdll.rc \
  53. pdhmsg.mc \
  54. strings.c \
  55. USE_MSVCRT=1
  56. DLLENTRY=PdhDllInitRoutine
  57. DLLBASE=0x7A00000
  58. NTTARGETFILES=$(O)\pdhp.lib
  59. #
  60. # We need to build a private advapi32 library
  61. PASS1_PUBLISH=\
  62. {$(O)\pdh.lib=$(SDK_LIB_PATH)\pdh.lib} \
  63. {$(O)\pdhp.lib=$(SDKTOOLS_LIB_PATH)\pdhp.lib}
  64. MISCFILES= ..\inc\pdhdefs.txt pdh.sld