MAJORCOMP=wdmlib
MINORCOMP=wdmsec

TARGETNAME=wl
TARGETTYPE=LIBRARY
TARGETPATH=obj
BUILD_CONSUMES=wdmsec_inc \
               wdmsec_cm \
               wdmsec_io \
               wdmsec_pp \
               wdmsec_se
BUILD_PRODUCES=wdmsec_wl

INCLUDES=..;..\inc;$(IFSKIT_INC_PATH);$(DDK_INC_PATH)

#MSC_WARNING_LEVEL=/W4 /WX

USE_NOLIBS=1

SOURCES=wlwrap.c

#
# We must disable buffer overflow checks here. The reason is that we are
# producing a static library that is published in the Windows DDK and this LIB
# must not only be available to VC6 users, it must be available to users of
# non-Microsoft compilers.
#
# (In SP1, the *presence* of this flag enables /GS stuff)
# (In .NET, the flag must be present and set to zero to turn it off!)
#
# This is SP1, so turn off /GS by not defining the flag
#BUFFER_OVERFLOW_CHECKS=0

OBJLIBFILES=$(DDK_LIB_PATH)\ntoskrnl.lib                   \
            ..\cm\$(O)\cm.lib                              \
            ..\io\$(O)\io.lib                              \
            ..\pp\$(O)\pp.lib                              \
            ..\se\$(O)\se.lib

PASS1_PUBLISH={$(O)\wl.lib=$(DDK_LIB_PATH)\wdmsec.lib} \
              {$(O)\wl.lib=$(DDK_LIB_PATH)\legacy\wdmsec.lib}

SYNCHRONIZE_DRAIN=1
SYNCHRONIZE_BLOCK=1