##############################################################################

#  sources

#

# Copyright (c) 2000-2001 Microsoft Corporation, All Rights Reserved 
##############################################################################
WMIUNICODE=1
WMIPRECOMP=1
!include ..\..\..\..\common\makefile.cmn
SOURCES_USED=..\..\..\..\common\makefile.cmn

TARGETNAME=WMIPSESS
TARGETPATH=obj
TARGETTYPE=DYNLINK

PRECOMPILED_PCH=precomp.pch
PRECOMPILED_OBJ=precomp.obj
USE_NATIVE_EH=ASYNC
USE_MSVCRT=1
USE_STL=1
DLLENTRY=_DllMainCRTStartup

# The INCLUDES variable specifies any include paths that are specific to
# this source directory. Separate multiple paths with single
# semicolons. Relative path specifications are okay.
INCLUDES=$(INCLUDES);		\
	$(COMMON_NEWTHROW_INC);	\
	$(UTILLIB_INC);		\
	$(STDLIBRARY_INC);	\
	$(WMIIDL_INC);		\
	$(CRT_INC_PATH);	\
	$(FRAMEDYN_PRIVATE);	\
	..\inc;			\
	$(CIMWIN32_LIB_INC);	\

# The TARGETLIBS macro specifies additional libraries to link against your target
# image. Each library path specification should contain an asterisk (*)
# where the machine-specific subdirectory name should go.
TARGETLIBS=\
	$(COMMON_NEWTHROW_LIB) 		\
	$(SDK_LIB_PATH)\advapi32.lib	\
	$(SDK_LIB_PATH)\kernel32.lib	\
	$(SDK_LIB_PATH)\netapi32.lib	\
	$(SDK_LIB_PATH)\oleaut32.lib	\
	$(SDK_LIB_PATH)\user32.lib	\
	$(SDK_LIB_PATH)\ole32.lib	\
	$(SDK_LIB_PATH)\uuid.lib	\
	$(SDK_LIB_PATH)\vccomsup.lib	\
!ifdef USE_FRAMEDYD
	$(SDK_LIB_PATH)\framedyd.lib \
!else
	$(SDK_LIB_PATH)\framedyn.lib \
!endif
	$(CIMWIN32_LIB) 		\


# The developer defines the SOURCES macro. It contains a list of all the
# source files for this component. Specify each source file on a separate
# line using the line-continuation character. This minimizes merge
# conflicts if two developers are adding source files to the same component.
SOURCES=\
	sessionandconnection.rc	\
	MainDll.cpp		\
	ConnShare.cpp		\
	Session.cpp		\
	Connection.cpp		\
	usebinding.cpp	\
	ConnectionToSession.cpp	\

!ifdef USE_FRAMEDYD
DEBUG_CRTS=1
!endif