#
# This is Makefile of the math lib for Linux
#

MATH=true

override DEBUG=false
override PROFILE=false

TOPDIR=../../../..

include $(TOPDIR)/Makeconfig
include $(TOPDIR)/Makerules

INC_CFLAGS = -I.
MATHFLAGS=-ffast-math -mieee-fp

BASE_CFLAGS := $(BASE_CFLAGS) $(MATHFLAGS)

SRC1S= __copysign.c __infnan.c __isinf.c __isnan.c __rint.c \
	acos.c acosh.c asin.c atanh.c ceil.c erf.c floor.c frexp.c \
	j0.c j1.c jn.c lgamma.c log.c log10.c log1p.c pow.c sqrt.c \
	cbrt.c
SRC2S= __drem.S asinh.S atan.S atan2.S cos.S cosh.S exp.S \
	expm1.S fabs.S fmod.S hypot.S sin.S sinh.S tan.S tanh.S

DIRS:=
SRCS=$(SRC1S) $(SRC2S)
ASMS= $(SRC1S:.c=.s) $(SRC2S:.S=.s)
OBJS= $(SRC1S:.c=.o) $(SRC2S:.S=.o)
ALIASES:=

include $(TOPDIR)/Maketargets
