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.

83 lines
1.9 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)\secur32.lib \
  21. $(SDK_LIB_PATH)\advapi32.lib \
  22. $(SDK_LIB_PATH)\advapip.lib \
  23. $(SDK_LIB_PATH)\comdlg32.lib \
  24. $(SDK_LIB_PATH)\user32.lib \
  25. $(SDK_LIB_PATH)\ole32.lib \
  26. $(SDK_LIB_PATH)\gdi32.lib \
  27. $(SDK_LIB_PATH)\oleaut32.lib \
  28. $(SDK_LIB_PATH)\uuid.lib \
  29. $(SDK_LIB_PATH)\wbemuuid.lib \
  30. $(SDK_LIB_PATH)\odbc32.lib \
  31. $(SDK_LIB_PATH)\odbccp32.lib \
  32. $(SDK_LIB_PATH)\odbcbcp.lib \
  33. $(SDK_LIB_PATH)\Crypt32.lib
  34. !if $(CAP_BUILD)
  35. 386_OPTIMIZATION=$(386_OPTIMIZATION) -Gh -Zi
  36. TARGETLIBS=$(TARGETLIBS) \
  37. \IceCap\Lib\icap.lib
  38. !endif
  39. LINKLIBS= \
  40. ..\pdhcalc\$(O)\pdhcalc.lib \
  41. ..\pdhlog\$(O)\pdhlog.lib \
  42. ..\pdhui\$(O)\pdhui.lib \
  43. ..\pdhwmi\$(O)\pdhwmi.lib \
  44. ..\pdhpla\$(O)\pdhpla.lib
  45. SOURCES=counter.c \
  46. cutils.c \
  47. dllinit.c \
  48. perfdata.c \
  49. perfname.c \
  50. perfutil.c \
  51. query.c \
  52. qutils.c \
  53. vbfuncs.c \
  54. pdhdll.rc \
  55. pdhmsg.mc \
  56. strings.c \
  57. USE_MSVCRT=1
  58. DLLENTRY=PdhDllInitRoutine
  59. DLLBASE=0x7A00000
  60. NTTARGETFILES=$(O)\pdhp.lib
  61. #
  62. # We need to build a private advapi32 library
  63. PASS1_PUBLISH=\
  64. {$(O)\pdh.lib=$(SDK_LIB_PATH)\pdh.lib} \
  65. {$(O)\pdhp.lib=$(SDKTOOLS_LIB_PATH)\pdhp.lib}
  66. MISCFILES= ..\inc\pdhdefs.txt pdh.sld