76 lines
1.8 KiB
Plaintext
76 lines
1.8 KiB
Plaintext
!IF 0
|
|
|
|
Copyright (C) Microsoft Corporation, 1998 - 1999
|
|
|
|
Module Name:
|
|
|
|
sources.
|
|
|
|
!ENDIF
|
|
|
|
TARGETNAME=redbook
|
|
TARGETPATH=obj
|
|
TARGETTYPE=DRIVER
|
|
|
|
TARGETLIBS=$(DDK_LIB_PATH)\ks.lib \
|
|
$(DDK_LIB_PATH)\ksguid.lib
|
|
|
|
INCLUDES=\
|
|
..\inc
|
|
|
|
#
|
|
# errlog.mc must be first, as it defines error codes and the resulting
|
|
# header file (errlog.h) is included for all the other files.
|
|
#
|
|
|
|
SOURCES=\
|
|
redbook.rc \
|
|
errlog.mc \
|
|
errlog.c \
|
|
guids.c \
|
|
sysaudio.c \
|
|
pnp.c \
|
|
wmi.c \
|
|
thread.c \
|
|
redbook.c \
|
|
ioctl.c
|
|
|
|
#
|
|
# these defines are for default values that may be changed
|
|
# what they each mean:
|
|
# REDBOOK_WMI_SECTORS_DEFAULT
|
|
# REDBOOK_WMI_BUFFERS_DEFAULT
|
|
# REDBOOK_WMI_MAX_SECTORS_DEFAULT
|
|
# Buffers - number of buffers to use
|
|
# Sectors - number of sectors per buffer (1-55)
|
|
# MaxSectors - maximum sectors ever allowed per read (about 64k)
|
|
# Enabled - enabled by default (boolean)
|
|
# Supported - the drive supports raw reads (boolean) 0
|
|
# Known Good - the drive is known to be good (boolean)
|
|
#
|
|
# REDBOOK_DEFAULT_DEBUG_LEVEL
|
|
# the default debug level for printouts on chk builds (0,3,6,9)
|
|
#
|
|
#
|
|
|
|
C_DEFINES=\
|
|
-DREDBOOK_WMI_SECTORS_DEFAULT=16 \
|
|
-DREDBOOK_WMI_BUFFERS_DEFAULT=8 \
|
|
-DREDBOOK_WMI_MAX_SECTORS_DEFAULT=32 \
|
|
-DREDBOOK_DEFAULT_DEBUG_LEVEL=0
|
|
|
|
MSC_WARNING_LEVEL=/W3 /WX
|
|
MSC_OPTIMIZATION =/Oi /Od
|
|
|
|
|
|
#
|
|
# line-by-line description of options:
|
|
# $(SOURCES) -- run software preprocessor on $(SOURCES) files
|
|
# -km -- use kernel mode
|
|
# -func -- define function we'll use for tracing
|
|
#
|
|
RUN_WPP=$(SOURCES)\
|
|
-km\
|
|
-func:KdPrintEx((NULL,LEVEL,MSG,...))
|
|
|