2013-12-06 12:04:52 +01:00
|
|
|
# $NetBSD: Makefile.inc,v 1.25 2013/08/21 03:09:39 matt Exp $
|
2011-02-14 20:36:03 +01:00
|
|
|
|
2013-12-06 12:04:52 +01:00
|
|
|
SRCS+= alloca.S byte_swap_2.S byte_swap_4.S bswap64.c divide.S divsi3.S \
|
|
|
|
fabs.c flt_rounds.c udivsi3.S
|
|
|
|
|
|
|
|
CPUFLAGS.divide.S+= -marm
|
2011-02-14 20:36:03 +01:00
|
|
|
|
|
|
|
# Common ieee754 constants and functions
|
|
|
|
SRCS+= infinityf_ieee754.c infinity_ieee754.c infinityl_dbl_ieee754.c
|
|
|
|
SRCS+= fpclassifyf_ieee754.c fpclassifyd_ieee754.c
|
|
|
|
SRCS+= isfinitef_ieee754.c isfinited_ieee754.c
|
|
|
|
SRCS+= isinff_ieee754.c isinfd_ieee754.c
|
|
|
|
SRCS+= isnanf_ieee754.c isnand_ieee754.c
|
|
|
|
SRCS+= signbitf_ieee754.c signbitd_ieee754.c
|
|
|
|
|
2013-12-06 12:04:52 +01:00
|
|
|
.if !empty(LIBC_MACHINE_ARCH:Mearm*)
|
|
|
|
SRCS+= __aeabi_fcmpun.c __aeabi_dcmpun.c
|
|
|
|
SRCS+= __aeabi_idiv0.c __aeabi_ldiv0.c
|
|
|
|
.else
|
|
|
|
SRCS+= modsi3.S umodsi3.S
|
|
|
|
.endif
|
|
|
|
|
2011-02-14 20:36:03 +01:00
|
|
|
SRCS+= nanf.c
|
|
|
|
|
|
|
|
SRCS+= setjmp.S
|
|
|
|
SRCS+= _setjmp.S
|
|
|
|
SRCS+= sigsetjmp.S
|
|
|
|
|
2012-08-28 19:34:08 +02:00
|
|
|
.if defined(__MINIX)
|
|
|
|
# Already defined in sys-minix
|
|
|
|
.else
|
2011-02-14 20:36:03 +01:00
|
|
|
SRCS+= makecontext.c resumecontext.c swapcontext.S
|
|
|
|
|
|
|
|
SRCS+= _lwp.c
|
2012-08-28 19:34:08 +02:00
|
|
|
.endif
|
2011-02-14 20:36:03 +01:00
|
|
|
|
|
|
|
LSRCS.arm.gen= Lint_bswap16.c Lint_bswap32.c Lint_swapcontext.c
|
|
|
|
LSRCS+= ${LSRCS.arm.gen}
|
|
|
|
DPSRCS+= ${LSRCS.arm.gen}
|
|
|
|
CLEANFILES+= ${LSRCS.arm.gen}
|