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

USE_NOLIBS                              = 1


TARGETNAME=$(CORBUILDENV)alink_shared
TARGETPATH=$(TARGETCORBIN)

TARGETTYPE=LIBRARY
UMTYPE=windows
NO_NTDLL=1
USE_STATIC_ATL=1

EXCEPTION_HANDLING = $(SEHONLY)

USER_INCLUDES=$(ATL_INCLUDES);..\inc
USER_INCLUDES=$(USER_INCLUDES);$(CORBASE)\src\inc;..\..\unilib;..\..\inc
USER_C_DEFINES=-DX86 -D_MBCS -D_WINDOWS -DSTRICT -DNT -D_WIN32_WINNT=0x0400 -DWIN32 -D_ATL_STATIC_REGISTRY -D_USRDLL
USER_C_DEFINES=$(USER_C_DEFINES) -DFEATURE_PAL
!if "$(PLATFORM_UNIX)"!="1"
USER_C_FLAGS=-MD$(D) $(USER_C_DEFINES)

!if $(FREEBUILD)
# The compiler is very performance intensive. Optimize for PURE SPEED!
MSC_OPTIMIZATION=/O2
!else
# add runtime checks in debug build
# USER_C_FLAGS=$(USER_C_FLAGS) -RTCs -RTCc
!endif

# Enable 64-bit warnings
USER_C_FLAGS=$(USER_C_FLAGS) -Wp64

!if "$(BUILD_BROWSE)"!="no"
BROWSER_INFO=1
NO_BROWSER_FILE=1
!endif

LIBRARIAN_FLAGS=$(LIBRARIAN_FLAGS) /NAME:$(TARGETNAME)

!endif

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

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