!IF 0

Module Name:

    sources.

Abstract:

    Windows Load Balancing Provider

    Sources file for building Windows Load Balancing Provider (wlbsprov.dll).

    This file specifies the target component being built and the list of
    sources files needed to build that component.  Also specifies optional
    compiler switches and libraries that are unique for the component being
    built.

Author:

    drbeck    August 1999

Revision History:

!ENDIF

TARGETNAME=nlbmprov
TARGETPATH=obj
TARGETTYPE=DYNLINK

C_DEFINES=$(C_DEFINES) -D_UNICODE -DUNICODE

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


TARGETLIBS= \
    $(NET_LIB_PATH)\icmp.lib        \
    $(SDK_LIB_PATH)\ole32.lib        \
    $(SDK_LIB_PATH)\USER32.lib        \
    $(SDK_LIB_PATH)\kernel32.lib      \
    $(SDK_LIB_PATH)\ws2_32.lib        \
    $(SDK_LIB_PATH)\comctl32.lib    \
    $(SDK_LIB_PATH)\setupapi.lib    \
    $(SDK_LIB_PATH)\uuid.lib    \
    $(SDK_LIB_PATH)\advapi32.lib    \
    $(SDK_LIB_PATH)\wbemuuid.lib        \
    $(SDK_LIB_PATH)\oleaut32.lib       \
    $(SDK_LIB_PATH)\mprapi.lib      \
    $(SDK_LIB_PATH)\framedyn.lib \
    ..\..\util\$(O)\wlbsutil.lib \
    ..\cfgutillib\$(O)\cfgutil.lib

!IF "$(INTERNAL)"=="1"
!MESSAGE *** WARNING - BUILDING INTERNAL VERSION ***
C_DEFINES=$(C_DEFINES) -DINTERNAL
!ENDIF

DLLENTRY=_DllMainCRTStartup
DLLDEF= nlbmprov.DEF

MSC_WARNING_LEVEL=/W3 /WX
386_STDCALL=1

USE_MSVCRT=1
USE_STL=1
USE_NATIVE_EH=ASYNC
USE_VCCOM=1
USE_ATL=1


SOURCES= MAINDLL.CPP      \
         updatecfg.cpp \
         NlbsNic.CPP  \
         nlbmprov.rc \
         log_msgs.mc


NTTARGETFILE0=$(O)\nlbmprov.mof
MISCFILES=$(O)\nlbmprov.mof

#
# The following statement specifies the list of files to be preprocessed
# for tracing macros. See http://coreos/tech/tracing/ for details.
# The ini file tracewpp.ini explains to the preprocessor how to interpret
# various trace macros, like LOG_CRIT.
# The "-gen..." is so that this will work on BOTH w2k and XP.
#
RUN_WPP= $(SOURCES) -dll  -ini:tracewpp.ini -gen:{um-w2k.tpl}*.tmh