1 # $NetBSD: Makefile.inc,v 1.25 2013/08/21 03:09:39 matt Exp $
3 SRCS+= alloca.S byte_swap_2.S byte_swap_4.S bswap64.c divide.S divsi3.S \
4 fabs.c flt_rounds.c udivsi3.S
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
20 SRCS+= modsi3.S umodsi3.S
30 # Already defined in minix/lib/libc/arch/arm/sys
32 SRCS+= makecontext.c resumecontext.c swapcontext.S
37 LSRCS.arm.gen= Lint_bswap16.c Lint_bswap32.c Lint_swapcontext.c
38 LSRCS+= ${LSRCS.arm.gen}
39 DPSRCS+= ${LSRCS.arm.gen}
40 CLEANFILES+= ${LSRCS.arm.gen}