#
# 
#  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.
# 
#


# Wait for sccomp to finish building before building csc
SYNCHRONIZE_DRAIN=1

BUILD_USING_VC7PDBS=1

!include $(NTMAKEENV)\sources.cor

TARGETTYPE=PROGRAM
TARGETNAME=$(CORBUILDENV)csc
TARGETPATH=$(TARGETCORBIN)
EXCEPTION_HANDLING=$(SEHONLY)

CREATE_BIN_CONFIG=1
CREATE_URT_CONFIG=1


UMTYPE=console
NO_NTDLL=1
USE_MSVCRT=1
USE_STATIC_ATL=1
NO_UM_ENTRY=1


USER_INCLUDES=..\inc
USER_C_DEFINES=-DX86 -D_MBCS -DTESTCMD -D_WINDOWS -DSTRICT -DNT -D_ATL_STATIC_REGISTRY -D_USRDLL
USER_INCLUDES=$(USER_INCLUDES);$(CORBASE)\src\inc;..\..\inc;..\..\alink\inc
!if "$(PLATFORM_UNIX)" != "1"
USER_C_FLAGS=$(USER_C_FLAGS) -Wp64 $(USER_C_DEFINES)
!endif

# These files are listed in alphabetical order.  Keep them that way!
SOURCES= \
	scc.cpp



LINKLIBS= \
    $(CORLIBS)\cscutil.lib \
    $(CORLIBS)\unilib.lib \
!if "$(PLATFORM_UNIX)" != "1"
    $(CORLIBS)\cscomp.lib \
    $(CORLIBS)\mscoree.lib \
!endif

!if "$(PLATFORM_UNIX)"!="1"
TARGETLIBS = $(TARGETLIBS) \
        $(CORLIBS)\rotor_pal.lib \
        $(CORLIBS)\rotor_palrt.lib
!endif

UNIX_DLL_LIBS=-lrotor_pal -lrotor_palrt -lcscomp -lsscoree
USE_CC_LIB = 1

PRECOMPILED_INCLUDE=stdafx.h
PRECOMPILED_SOURCEFILE=stdafx.cpp
PRECOMPILED_PCH=stdafx.pch
PRECOMPILED_OBJ=stdafx.obj
PRECOMPILED_CXX=1
