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.

75 lines
1.8 KiB

  1. !IF 0
  2. Copyright (C) Microsoft Corporation, 1998 - 1999
  3. Module Name:
  4. sources.
  5. !ENDIF
  6. TARGETNAME=redbook
  7. TARGETPATH=obj
  8. TARGETTYPE=DRIVER
  9. TARGETLIBS=$(DDK_LIB_PATH)\ks.lib \
  10. $(DDK_LIB_PATH)\ksguid.lib
  11. INCLUDES=\
  12. ..\inc
  13. #
  14. # errlog.mc must be first, as it defines error codes and the resulting
  15. # header file (errlog.h) is included for all the other files.
  16. #
  17. SOURCES=\
  18. redbook.rc \
  19. errlog.mc \
  20. errlog.c \
  21. guids.c \
  22. sysaudio.c \
  23. pnp.c \
  24. wmi.c \
  25. thread.c \
  26. redbook.c \
  27. ioctl.c
  28. #
  29. # these defines are for default values that may be changed
  30. # what they each mean:
  31. # REDBOOK_WMI_SECTORS_DEFAULT
  32. # REDBOOK_WMI_BUFFERS_DEFAULT
  33. # REDBOOK_WMI_MAX_SECTORS_DEFAULT
  34. # Buffers - number of buffers to use
  35. # Sectors - number of sectors per buffer (1-55)
  36. # MaxSectors - maximum sectors ever allowed per read (about 64k)
  37. # Enabled - enabled by default (boolean)
  38. # Supported - the drive supports raw reads (boolean) 0
  39. # Known Good - the drive is known to be good (boolean)
  40. #
  41. # REDBOOK_DEFAULT_DEBUG_LEVEL
  42. # the default debug level for printouts on chk builds (0,3,6,9)
  43. #
  44. #
  45. C_DEFINES=\
  46. -DREDBOOK_WMI_SECTORS_DEFAULT=16 \
  47. -DREDBOOK_WMI_BUFFERS_DEFAULT=8 \
  48. -DREDBOOK_WMI_MAX_SECTORS_DEFAULT=32 \
  49. -DREDBOOK_DEFAULT_DEBUG_LEVEL=0
  50. MSC_WARNING_LEVEL=/W3 /WX
  51. MSC_OPTIMIZATION =/Oi /Od
  52. #
  53. # line-by-line description of options:
  54. # $(SOURCES) -- run software preprocessor on $(SOURCES) files
  55. # -km -- use kernel mode
  56. # -func -- define function we'll use for tracing
  57. #
  58. RUN_WPP=$(SOURCES)\
  59. -km\
  60. -func:KdPrintEx((NULL,LEVEL,MSG,...))