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

!include $(NTMAKEENV)\sources.cor


# undefine USE_MSVCRT defined in sources.cor
!undef USE_MSVCRT


USE_NOLIBS                          = 1
NO_NTDLL                            = 1

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

TARGETPRIORPATH=..\..\$(_OBJ_DIR)\\
TARGETLIBNAME=nativedll
TARGETNAME=$(TARGETPRIORPATH)$(TARGETLIBNAME)
TARGETTYPE=DYNLINK
UMTYPE=windows
DLLENTRY=DllMain
TARGETPATH=.
COR_C_FLAGS=-DUNICODE -D_UNICODE

!if "$(PLATFORM_UNIX)" != "1"
LINKLIBS= $(CORLIBS)\sscoree.lib       \
    $(CORLIBS)\corguids.lib            \
    $(LINKLIBS)

WIN32DLL_LIBS=                         \
        $(CORLIBS)\rotor_pal.lib       \
        $(CORLIBS)\rotor_palrt.lib
!endif

UNIX_DLL_LIBS = -lrotor_pal -lrotor_palrt -lsscoree
USE_CC_LIB = 1

EXCEPTION_HANDLING      = $(SEHONLY)

SOURCES=nativedll.cpp \
    smallstructs.cpp
