!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=wlbsprov
TARGETPATH=obj
TARGETTYPE=DYNLINK

TARGETLIBS= \
    $(SDK_LIB_PATH)\kernel32.lib \
    $(SDK_LIB_PATH)\user32.lib \
    $(SDK_LIB_PATH)\advapi32.lib \
    $(SDK_LIB_PATH)\uuid.lib     \
    $(SDK_LIB_PATH)\wbemuuid.lib \
    $(SDK_LIB_PATH)\oleaut32.lib \
    $(SDK_LIB_PATH)\ole32.lib    \
    $(SDK_LIB_PATH)\ws2_32.lib \
    ..\api\$(O)\wlbsctrl.lib     \
    ..\util\$(O)\wlbsutil.lib

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

C_DEFINES=$(C_DEFINES) -DUNICODE
#-DWLBSAPI_INTERNAL_ONLY

#
# Define this to get preprocessor output (creates files with ".i" extension)
#
# USER_C_FLAGS=$(USER_C_FLAGS) -P
#

UNICODE=1
UMENTRY=wmain

DLLENTRY=_DllMainCRTStartup
DLLDEF=WLBS_Prov.def

MSC_WARNING_LEVEL=/W3 /WX
386_STDCALL=1
USE_MSVCRT=1
USE_STL=1
USE_NATIVE_EH=1
USE_VCCOM=1
USE_ATL=1

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

SOURCES=ntrkcomm.cpp                    \
        WLBS_ClusClusSetting.cpp        \
        WLBS_Cluster.cpp                \
        WLBS_ClusterSetting.cpp         \
        WLBS_DllMain.cpp                \
        WLBS_MOFData.cpp                \
        WLBS_Node.cpp                   \
        WLBS_NodeNodeSetting.cpp        \
        WLBS_NodeSetPortRule.cpp        \
        WLBS_NodeSetting.cpp            \
        WLBS_ParticipatingNode.cpp      \
        WLBS_PortRule.cpp               \
        WLBS_ProvClassFac.cpp           \
        WLBS_Provider.cpp               \
        WLBS_Root.cpp                   \
	utils.cpp			\
	ClusterWrapper.cpp		\
	ControlWrapper.cpp		\
        version.rc			\
	opathlex.cpp			\
	objpath.cpp			\
	genlex.cpp			\

NTTARGETFILE0=$(O)\wlbsprov.mof $(O)\wlbsprov.mfl

MISCFILES=$(O)\wlbsprov.mof $(O)\wlbsprov.mfl


#
# 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.
#
RUN_WPP= $(SOURCES) -dll  -ini:tracewpp.ini