# Copyright (c) 1998-2002 Microsoft Corporation
#
# Module Name:
#     sources
#
# Abstract:
#     build.exe input needed to build http.sys
#

TARGETTYPE=DRIVER
TARGETNAME=http
TARGETPATH=obj

KERNELBASE=$(BASEDIR)
NTOS_INC_PATH=$(BASEDIR)\private\ntos\inc


TARGETLIBS=                                 \
        $(DDK_LIB_PATH)\tdi.lib             \
        $(DS_LIB_PATH)\rsa32.lib            \
        $(DDK_LIB_PATH)\ksecdd.lib          \
        $(NET_LIB_PATH)\httpctrs.lib        \
        ..\$(O)\CmnSys.lib                  \

INCLUDES=$(INCLUDES);                       \
         ..\inc;                            \
         ..\inc\$(O);                       \
         $(DS_INC_PATH);                    \
         $(BASE_INC_PATH);                  \
         $(NTOS_INC_PATH);                  \
         $(NET_INC_PATH); 

C_DEFINES=$(C_DEFINES) -DNT -D_NTDRIVER_ -DSECURITY_KERNEL \
                       -DHTTPAPI_PROTOTYPES_IGNORE -DKERNEL_PRIV=1

MSC_WARNING_LEVEL=/W4

!if !$(FREEBUILD)
MSC_OPTIMIZATION=/Od
!endif

NT_UP=0

SOURCES=                    \
        apool.c             \
        bugcheck.c          \
        cache.c             \
        cgroup.c            \
        clientconn.c        \
        close.c             \
        control.c           \
        counters.c          \
        create.c            \
        data.c              \
        debug.c             \
        devctrl.c           \
        errlog.c            \
        fastio.c            \
        filecache.c         \
        filter.c            \
        httprcv.c           \
        httpconn.c          \
        httptdi.c           \
        hash.c              \
        init.c              \
        ioctl.c             \
        irptrace.c          \
        largemem.c          \
        logutil.c           \
        mdlutil.c           \
        misc.c              \
        notify.c            \
        opaqueid.c          \
        parse.c             \
        ulparse.c           \
        ucparse.c           \
        pplasl.c            \
        rawlog.c            \
        reftrace.c          \
        rwlock.c            \
        scavenger.c         \
        sendrequest.c       \
        sendresponse.c      \
        servinfo.c          \
        seutil.c            \
        strlog.c            \
        thrdpool.c          \
        timeouts.c          \
        timetrace.c         \
        tracelog.c          \
        uctdi.c             \
        ucrcv.c             \
        ullog.c             \
        ulnamesp.c          \
        ultci.c             \
        ultdi.c             \
        uletw.c             \
        http.mof            \
        ucauth.c            \
        uctrace.c           \
        http.rc             \
 
UMRES=$(O)\http.res


!IF "$(NTNOPCH)" == ""
PRECOMPILED_INCLUDE=precomp.h
PRECOMPILED_PCH=precomp.pch
PRECOMPILED_OBJ=precomp.obj
!ENDIF

NTPROFILEINPUT=yes