1 # $NetBSD: Makefile.inc,v 1.28 2014/01/29 23:37:18 joerg Exp $
3 SRCS+= alloca.S byte_swap_2.S byte_swap_4.S bswap64.c \
4 fabs_ieee754.c flt_rounds.c
6 CPUFLAGS.divide.S+= -marm
8 # Common ieee754 constants and functions
9 SRCS+= infinityf_ieee754.c infinity_ieee754.c infinityl_dbl_ieee754.c
10 SRCS+= fpclassifyf_ieee754.c fpclassifyd_ieee754.c
11 SRCS+= isfinitef_ieee754.c isfinited_ieee754.c
12 SRCS+= isinff_ieee754.c isinfd_ieee754.c
13 SRCS+= isnanf_ieee754.c isnand_ieee754.c
14 SRCS+= signbitf_ieee754.c signbitd_ieee754.c
16 .if !empty(LIBC_MACHINE_ARCH:Mearm*)
17 SRCS+= __aeabi_fcmpun.c __aeabi_dcmpun.c
18 SRCS+= __aeabi_idiv0.c __aeabi_ldiv0.c
21 AFLAGS._setjmp.S= -mfpu=vfp
22 AFLAGS.setjmp.S= -mfpu=vfp
31 # Already defined in minix/lib/libc/arch/arm/sys
33 SRCS+= makecontext.c resumecontext.c swapcontext.S
38 LSRCS.arm.gen= Lint_bswap16.c Lint_bswap32.c Lint_swapcontext.c
39 LSRCS+= ${LSRCS.arm.gen}
40 DPSRCS+= ${LSRCS.arm.gen}
41 CLEANFILES+= ${LSRCS.arm.gen}