!if 0
Copyright (c) Microsoft Corporation.  All rights reserved.
!endif
!if 0
This source code is licensed under Microsoft Shared Source License
Version 1.0 for Windows CE.
For a copy of the license visit http://go.microsoft.com/fwlink/?LinkId=3223.
!endif
TARGETNAME=ccrteh
TARGETTYPE=LIBRARY

INCLUDES=.;.\inc;..\..\..\inc;..\h;..\..\..\..\nk\inc

CDEFINES=-DCOREDLL -GR -D_WIN32
NOMIPS16CODE=1
NOLTCG=1

!IF "$(_TGTCPU)" == "SH4"
ADEFINES=$(ADEFINES) -DSH_CPU=64
!ENDIF
!IF "$(_TGTCPU)" == "SH3"
ADEFINES=$(ADEFINES) -DSH_CPU=48
!ENDIF
!IF "$(_TGTCPU)" == "SH3e"
ADEFINES=$(ADEFINES) -DSH_CPU=62
!ENDIF

CDEFINES=$(CDEFINES) -DWINCEMACRO

SOURCES=\
    frame.cpp \
    hooks.cpp \
    throw.cpp \
    user.cpp \
    unhandled.cpp \

ARM_SOURCES=\
    ehstate.cpp \
    arm\mdframe.cpp \
    arm\handlers.s \

MIPS_SOURCES=\
    ehstate.cpp \
    mips\handlers.s \

PPC_SOURCES=\
    ehstate.cpp \
    ppc\handlers.s \

SH_SOURCES=\
    ehstate.cpp \
    sh\handlers.src \

x86_SOURCES=\
    x86\ehprolog.asm \
    x86\ehprolg2.c \
    x86\trnsctrl.cpp \
    x86\lowhelpr.asm \

