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

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

MINORCOMP       =cor

TARGETNAME      =$(DDKBUILDENV)\metainfo
TARGETPATH      =$(TARGETCORBIN)
TARGETTYPE      =PROGRAM
UMTYPE          =console
UMENTRY         =wmain

COR_C_FLAGS     = -DUNICODE -D_UNICODE

TARGETLIBS        =                     \
!if "$(PLATFORM_UNIX)" != "1"
    $(CORLIBS)\mdcompiler.lib           \
    $(CORLIBS)\mdruntime.lib            \
    $(CORLIBS)\mdruntimerw.lib          \
    $(CORLIBS)\utilcode.lib             \
    $(CORLIBS)\corguids.lib             \
    $(CORLIBS)\mscoree.lib              \
!endif

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

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

SOURCES=          \
    mdinfo.cpp    \
    mdobj.cpp     \
    metainfo.cpp  \
    mscorver.rc

