1 # $NetBSD: Makefile.inc,v 1.28 2015/08/20 16:13:40 pooka Exp $
5 .if ${RUMPRUN} != "yes" && !defined(__MINIX)
6 SRCS+= __aeabi_read_tp.S __sigaction14_sigtramp.c __sigtramp2.S
9 .if empty(LIBC_MACHINE_ARCH:Mearmv7*)
15 .if !empty(LIBC_MACHINE_ARCH:Mearm*)
19 .if ${MKSOFTFLOAT} != "no"
20 CPPFLAGS += -DSOFTFLOAT
22 # for earm, use the 64-bit softfloat
23 .if ${LIBC_MACHINE_ARCH} == "arm" || ${LIBC_MACHINE_ARCH} == "armeb"
25 SRCS+= floatunsidf_ieee754.c floatunsisf_ieee754.c
28 .include <softfloat/Makefile.inc>
30 .PATH : ${ARCHDIR}/hardfloat
31 SRCS.hardfloat+= fpgetround.c fpgetsticky.S fpgetmask.S fabs_ieee754.S
32 SRCS.hardfloat+= fpsetround.c fpsetmask.S fpsetsticky.S
33 .for f in ${SRCS.hardfloat}
34 CPPFLAGS.${f} += -mfpu=vfp
36 SRCS+= ${SRCS.hardfloat}