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.

84 lines
2.0 KiB

  1. !IF 0
  2. Copyright (C) Microsoft Corporation, 1996 - 1999
  3. Module Name:
  4. sources.
  5. !ENDIF
  6. TARGETNAME=classpnp
  7. TARGETPATH=obj
  8. TARGETTYPE=EXPORT_DRIVER
  9. !IFNDEF MSC_WARNING_LEVEL
  10. MSC_WARNING_LEVEL=/W3
  11. !ENDIF
  12. MSC_WARNING_LEVEL=$(MSC_WARNING_LEVEL) /WX
  13. PASS1_PUBLISH={$(O)\classpnp.lib=$(DDK_LIB_PATH)\classpnp.lib}
  14. INCLUDES=..\inc;..\..\inc
  15. #
  16. # Specify whether to break into the debugger if synchronous irps
  17. # sent via ClassSendSrbSynchronous() do not complete within the
  18. # given timeout period
  19. #
  20. C_DEFINES=$(C_DEFINES) -DCLASS_GLOBAL_BREAK_ON_LOST_IRPS=0
  21. #
  22. # Specifies the number of seconds for breaking for above
  23. # Implementation details are within the source.
  24. #
  25. C_DEFINES=$(C_DEFINES) -DCLASS_GLOBAL_SECONDS_TO_WAIT_FOR_SYNCHRONOUS_SRB=100
  26. #
  27. # Specifies that retried requests shall be delayed as
  28. # specified by ClassInterpretSenseInfo().
  29. # Implementation details are within the source.
  30. #
  31. C_DEFINES=$(C_DEFINES) -DCLASS_GLOBAL_USE_DELAYED_RETRY=1
  32. #
  33. # You can enable buffering of debug prints to a global buffer by setting
  34. # this to 1. This allows debug prints while tracking timing issues.
  35. # Implementation details are within the source.
  36. #
  37. C_DEFINES=$(C_DEFINES) -DCLASS_GLOBAL_BUFFERED_DEBUG_PRINT=0
  38. #
  39. # This is the maximum size for each debug print string sent to DebugPrint(()),
  40. # including the trailing NUL character.
  41. # Implementation details are within the source.
  42. #
  43. C_DEFINES=$(C_DEFINES) -DCLASS_GLOBAL_BUFFERED_DEBUG_PRINT_BUFFER_SIZE=512
  44. #
  45. # This is the number of unique buffers allocated for buffered printing.
  46. # Implementation details are within the source.
  47. #
  48. C_DEFINES=$(C_DEFINES) -DCLASS_GLOBAL_BUFFERED_DEBUG_PRINT_BUFFERS=512
  49. SOURCES=autorun.c \
  50. class.c \
  51. classwmi.c \
  52. create.c \
  53. data.c \
  54. dictlib.c \
  55. lock.c \
  56. power.c \
  57. xferpkt.c \
  58. clntirp.c \
  59. retry.c \
  60. utils.c \
  61. obsolete.c \
  62. debug.c \
  63. class.rc
  64. DLLDEF=$(O)\class.def