1 # $NetBSD: Makefile.inc,v 1.33 2011/03/15 07:40:18 matt Exp $
3 .if ${MKSOFTFLOAT} == "no"
4 SRCS+= fabs.S ldexp.S modf.S
6 SRCS+= fabs_ieee754.c ldexp_ieee754.c modf_ieee754.c
9 # Common ieee754 constants and functions
10 SRCS+= infinityf_ieee754.c infinity_ieee754.c infinityl_ieee754.c
11 SRCS+= fpclassifyf_ieee754.c fpclassifyd_ieee754.c fpclassifyl_ieee754.c
12 SRCS+= isinff_ieee754.c isinfd_ieee754.c isinfl_ieee754.c
13 SRCS+= isnanf_ieee754.c isnand_ieee754.c isnanl_ieee754.c
14 SRCS+= isfinitef_ieee754.c isfinited_ieee754.c isfinitel_ieee754.c
15 SRCS+= signbitf_ieee754.c signbitd_ieee754.c signbitl_ieee754.c
20 .if ${MKSOFTFLOAT} == "no"
21 SRCS+= fpgetmask.c fpgetround.c fpgetsticky.c fpsetmask.c \
22 fpsetround.c fpsetsticky.c
25 SRCS+= setjmp.S longjmp.c
28 SRCS+= byte_swap_2.S byte_swap_4.S byte_swap_8.S
30 SRCS+= makecontext.c resumecontext.c _resumecontext.S swapcontext.S _lwp.c
32 # mips abi builtin extensions (used by GCC for lexical-closure trampoline)
35 CPPFLAGS._lwp.c += -D_LIBC_SOURCE
37 LSRCS.mips.gen= Lint__setjmp.c Lint_bswap16.c Lint_bswap32.c Lint_swapcontext.c
38 LSRCS+= ${LSRCS.mips.gen}
39 DPSRCS+= ${LSRCS.mips.gen}
40 CLEANFILES+= ${LSRCS.mips.gen}