!IF 0

Copyright (C) Microsoft Corporation, 1996 - 1999

Module Name:

    sources.

!ENDIF

TARGETNAME=classpnp
TARGETPATH=obj
TARGETTYPE=EXPORT_DRIVER

!IFNDEF MSC_WARNING_LEVEL
MSC_WARNING_LEVEL=/W3
!ENDIF

MSC_WARNING_LEVEL=$(MSC_WARNING_LEVEL) /WX

PASS1_PUBLISH={$(O)\classpnp.lib=$(DDK_LIB_PATH)\classpnp.lib}

INCLUDES=..\inc;..\..\inc

#
# Specify whether to break into the debugger if synchronous irps
# sent via ClassSendSrbSynchronous() do not complete within the
# given timeout period
#
C_DEFINES=$(C_DEFINES) -DCLASS_GLOBAL_BREAK_ON_LOST_IRPS=0

#
# Specifies the number of seconds for breaking for above
# Implementation details are within the source.
#
C_DEFINES=$(C_DEFINES) -DCLASS_GLOBAL_SECONDS_TO_WAIT_FOR_SYNCHRONOUS_SRB=100

#
# Specifies that retried requests shall be delayed as
# specified by ClassInterpretSenseInfo().
# Implementation details are within the source.
#
C_DEFINES=$(C_DEFINES) -DCLASS_GLOBAL_USE_DELAYED_RETRY=1

#
# You can enable buffering of debug prints to a global buffer by setting
# this to 1.  This allows debug prints while tracking timing issues.
# Implementation details are within the source.
#
C_DEFINES=$(C_DEFINES) -DCLASS_GLOBAL_BUFFERED_DEBUG_PRINT=0

#
# This is the maximum size for each debug print string sent to DebugPrint(()),
# including the trailing NUL character.
# Implementation details are within the source.
#
C_DEFINES=$(C_DEFINES) -DCLASS_GLOBAL_BUFFERED_DEBUG_PRINT_BUFFER_SIZE=512

#
# This is the number of unique buffers allocated for buffered printing.
# Implementation details are within the source.
#
C_DEFINES=$(C_DEFINES) -DCLASS_GLOBAL_BUFFERED_DEBUG_PRINT_BUFFERS=512


SOURCES=autorun.c   \
        class.c     \
        classwmi.c  \
        create.c    \
        data.c      \
        dictlib.c   \
        lock.c      \
        power.c     \
        xferpkt.c   \
        clntirp.c   \
        retry.c     \
        utils.c     \
        obsolete.c  \
        debug.c     \
        class.rc

DLLDEF=$(O)\class.def