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

NO_CRT                              = 1
!include $(NTMAKEENV)\sources.cor

USE_NOLIBS                          = 1
NO_NTDLL                            = 1

# Finish the libraries before starting this.
SYNCHRONIZE_DRAIN=1

INCLUDES                            = $(INCLUDES);.;..\..\inc

MINORCOMP                           = mscoree

TARGETPRIORPATH                     =$(CORBUILDENV)
TARGETLIBNAME                       =mscorsn
TARGETNAME                          =$(TARGETPRIORPATH)$(TARGETLIBNAME)
TARGETPATH                          =$(TARGETCORBIN)
TARGETTYPE                          =DYNLINK
UMTYPE                              =windows
COFFBASE                            =mscorsn
CORFLIBS                            =

DLLENTRY                            = DllMain

COR_C_FLAGS                         =
CDEFINES                            = $(CDEFINES) $(COR_C_FLAGS)

EXCEPTION_HANDLING                  = $(SEHONLY)


DLLDEF                              = mscorsn.def

!if "$(PLATFORM_UNIX)" != "1"
WIN32DLL_LIBS                       = $(CORLIBS)\rotor_pal.lib      \
                                      $(CORLIBS)\rotor_palrt.lib
!endif
LINKLIBS                            = $(CORLIBS)\utilcode.lib
UNIX_DLL_LIBS                       = -lrotor_pal -lrotor_palrt
USE_CC_LIB                          = 1


SOURCES                             = mscorsn.rc \
                                      StrongName.cpp
