# Makefile - makefile for target/src/arch/arm/arm-m
#
# Copyright (c) 2012, 2013 Wind River Systems, Inc.
#
# The right to copy, distribute, modify or otherwise make use
# of this software may be licensed only pursuant to the terms
# of an applicable Wind River license agreement.
#
# modification history
# --------------------
# 01i,10jul13,c_t  add vfpALib.o and vfpArmLib.o
# 01h,10jul12,rec  add cacheArchVars for ARMARCH7M
# 01g,30may12,jdw  Add mathSoftLib, fix typos
# 01f,29may12,j_b  add excArchShow
# 01e,29may12,j_b  add excArchLib
# 01d,24may12,jdw  Add signal library code
# 01c,23may12,jdw  Update arch files
# 01b,09may12,j_b  add excALib
# 01a,04apr12,jdw  created
#
# DESCRIPTION
# This file contains the makefile rules for building the VxWorks
# architecture-dependent library.
#

TGT_DIR=$(WIND_BASE)/target

LIB_BASE_NAME   = arch

# Including defs.library to pick up the _WRS_CONFIG_SMP define.
# defs.library must be included after LIB_BASE_NAME.

include $(TGT_DIR)/h/make/defs.library

DOC_FILES =

ifneq ($(_WRS_CONFIG_FP), soft)
OBJS_VFP = vfpALib.o vfpArmLib.o 
else
OBJS_VFP =
endif

OBJS_ARMARCH7M = \
		cacheArchVars.o excALib.o excArchLib.o excArchShow.o intALib.o \
                intArchLib.o taskArchLib.o sigCtxLib.o sigCtxALib.o windALib.o \
		mathSoftLib.o vxbAccessArchALib.o wdbDbgArchLib.o $(OBJS_VFP)

OBJS=$(OBJS_$(CPU))

include $(TGT_DIR)/h/make/rules.library
