#
# 
#  Copyright (c) 2002 Microsoft Corporation.  All rights reserved.
# 
#  The use and distribution terms for this software are contained in the file
#  named license.txt, which can be found in the root of this distribution.
#  By using this software in any fashion, you are agreeing to be bound by the
#  terms of this license.
# 
#  You must not remove this notice, or any other, from this software.
# 
#

BUILD_USING_VC7PDBS=1

!include $(NTMAKEENV)\sources.cor

TARGETTYPE=LIBRARY
TARGETTEXT=lib
TARGETNAME=$(CORBUILDENV)cscutil
TARGETPATH=$(TARGETCORBIN)

UMTYPE=windows
EXCEPTION_HANDLING = $(SEHONLY)

!if "$(PLATFORM_UNIX)" != "1"
PATH=$(PATH);$(VSBUILT)\$(BUILT_FLAVOR)\tlb;$(EXTERNAL_ROOT)\tlb
!endif
MIDL_FLAGS=$(MIDL_FLAGS) -no_warn

#we do NOT use exception handling
USER_C_DEFINES=$(USER_C_DEFINES) -D_ATL_NO_ATTRIBUTES
!if "$(PLATFORM_UNIX)" != "1"
USER_C_FLAGS=$(USER_C_FLAGS) /GX- /Wp64 $(USER_C_DEFINES)
!endif
USER_INCLUDES=\
	..\inc;

USER_INCLUDES=$(USER_INCLUDES);$(CORBASE)\src\inc;..\..\inc

SOURCES=\
        locks.cpp \
        node.cpp \
        strbuild.cpp \
        table.cpp

ROTOR_X86_SOURCES= \
	mempool.cpp \
	guid.cpp

PPC_SOURCES= \
	mempool.cpp \
	guid.cpp

SPARC_SOURCES= \
	mempool.cpp \
	guid.cpp

PRECOMPILED_INCLUDE=pch.h
PRECOMPILED_PCH=pch.pch
PRECOMPILED_OBJ=pch.obj
PRECOMPILED_CXX=1

!IF "$(BUILD_BROWSE)"!="no"
!IF "$(NO_BROWSE_INFO)"==""
BROWSER_INFO=1
NO_BROWSER_FILE=1
!ENDIF
!ENDIF
