############################################################################
#
#   Copyright (C) 1999, Microsoft Corporation.
#
#   All rights reserved.
#
############################################################################

!include $(PROJECT_ROOT)\wmi\wbem\common\makefile.cmn
SOURCES_USED=$(PROJECT_ROOT)\wmi\wbem\common\makefile.cmn

TARGETNAME=userid

TARGETPATH=obj
TARGETTYPE=DYNLINK

MIDL_TLBDIR=$(O)
PASS0_CLIENTDIR=$(O)
PASS0_SERVERDIR=$(O)
PASS0_SOURCEDIR=$(O)
PASS0_HEADERDIR=$(O)


# Tone down the warning level to avoid errors from
# symbols names being too long (because of STL)
MSC_WARNING_LEVEL= /W3

# 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= \
	$(WMIIDL_LIB) \
	$(STDLIBRARY_LIB) \
	$(ADMIN_LIB_PATH)\umiuuid.lib \
    $(SDK_LIB_PATH)\kernel32.lib \
    $(SDK_LIB_PATH)\advapi32.lib \
    $(SDK_LIB_PATH)\user32.lib \
    $(SDK_LIB_PATH)\oleaut32.lib \
    $(SDK_LIB_PATH)\ole32.lib \
    $(SDK_LIB_PATH)\uuid.lib \
    $(SDK_LIB_PATH)\msvcprt.lib \
	$(SDK_LIB_PATH)\rpcrt4.lib \
	$(SDK_LIB_PATH)\adsiid.lib

# 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); \
	$(ADMIN_INC_PATH); \
	$(WMIIDL_INC); \
	$(STDLIBRARY_INC); \
	$(SDK_INC_PATH)\atl30

# 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= \
    methprov.cpp \
    maindll.cpp \
    classfac.cpp


# Next, specify options for the compiler using C_DEFINES.
C_DEFINES=$(C_DEFINES) /D_WIN32_WINNT=0x0400 /DBUILDING_DLL
#USER_C_FLAGS=/EHa
DLLENTRY=_DllMainCRTStartup
USE_MSVCRT=1
USE_NATIVE_EH=1
DLLDEF=$(O)\methprov.def
MIDL_FLAGS=/client stub /server none

# MSC_OPTIMIZATION=/Od