# Makefile - makefile for target/src/arch/arm/math/fdlibm
#
# Copyright (c) 2002, 2005, 2006, 2009-2010, 2012 Wind River Systems, Inc.
#
# The right to copy, distribute or otherwise make use of this software
# may be licensed only pursuant to the terms of an applicable Wind River
# license agreement. No license to Wind River intellectual property rights
# is granted herein. All rights not licensed by Wind River are reserved
# by Wind River.
#
#
# modification history
# --------------------
# 01h,24sep12,jdw  Update ARMARCH7 to use generic C math libs
# 01g,29jun12,ggm  suppressed division by zero warning (WIND00358232)
# 01f,24may10,m_h  Thumb-2 Support
# 01e,03mar09,m_h  Adding ARMARCH7 support
# 01d,05oct06,h_k  disabled dependency check. (CQ:65988)
# 01c,31aug05,h_k  changed OBJS to OBJS_PRECOMP. (SPR #111764)
# 01b,06apr05,jb   Adding ARCH6
# 01a,26mar02,to   written
#
# DESCRIPTION
# This file contains the makefile rules for building the vxWorks
# architecture dependent library.
#

TGT_DIR		= $(WIND_BASE)/target

LIB_BASE_NAME	= arch

OBJS_FDLIBM	= \
		acos.o asin.o atan.o atan2.o cos.o sin.o tan.o \
		acosh.o asinh.o atanh.o cosh.o sinh.o tanh.o \
		exp.o expm1.o frexp.o ilogb.o \
		log.o log10.o log1p.o logb.o modf.o scalbn.o \
		fabs.o pow.o sqrt.o \
		ceil.o floor.o \
		fmod.o \
		copysign.o \
		finite.o rem_pio2.o \
		k_cos.o k_sin.o k_tan.o k_rem_pio2.o k_poly.o

OBJS_ARMARCH7_vector = \
		acos.o asin.o atan.o atan2.o cos.o sin.o tan.o \
		acosh.o asinh.o atanh.o cosh.o sinh.o tanh.o \
		exp.o expm1.o frexp.o ilogb.o \
		log.o log10.o log1p.o logb.o modf.o scalbn.o \
		fabs.o pow.o sqrt.o \
		ceil.o floor.o \
		fmod.o \
		copysign.o \
		finite.o rem_pio2.o \
		k_cos.o k_sin.o k_tan.o k_rem_pio2.o vsqrt.o


OBJS_ARMARCH7_soft = $(OBJS_FDLIBM)

OBJS_ARMARCH4	= $(OBJS_FDLIBM)
OBJS_ARMARCH5	= $(OBJS_FDLIBM)
OBJS_ARMARCH6	= $(OBJS_FDLIBM)
OBJS_ARMARCH7 	 = $(OBJS_ARMARCH7_$(_WRS_CONFIG_FP))
OBJS_ARMARCH7_T2 = $(OBJS_ARMARCH7_vector) 
OBJS_STRONGARM	= $(OBJS_FDLIBM)
OBJS_XSCALE	= $(OBJS_FDLIBM)

OBJS_PRECOMP	= $(OBJS_$(CPU))

NODEPENDOBJS = $(OBJS_PRECOMP)

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

# For this directory we can ignore divide by zero warnings. The code uses
# a divide by zero operation to return NaN by design.
CC_WARNINGS_INFO_IGNORE += -ei1025

