1 1.35 christos # $NetBSD: Makefile.inc,v 1.35 2016/10/07 11:10:44 christos Exp $ 2 1.13 simonb 3 1.31 matt .if ${MKSOFTFLOAT} == "no" 4 1.13 simonb SRCS+= fabs.S ldexp.S modf.S 5 1.31 matt .else 6 1.35 christos SRCS+= fabs_ieee754.c compat_ldexp_ieee754.c compat_modf_ieee754.c 7 1.31 matt .endif 8 1.13 simonb 9 1.13 simonb # Common ieee754 constants and functions 10 1.32 matt SRCS+= infinityf_ieee754.c infinity_ieee754.c infinityl_ieee754.c 11 1.32 matt SRCS+= fpclassifyf_ieee754.c fpclassifyd_ieee754.c fpclassifyl_ieee754.c 12 1.32 matt SRCS+= isinff_ieee754.c isinfd_ieee754.c isinfl_ieee754.c 13 1.32 matt SRCS+= isnanf_ieee754.c isnand_ieee754.c isnanl_ieee754.c 14 1.32 matt SRCS+= isfinitef_ieee754.c isfinited_ieee754.c isfinitel_ieee754.c 15 1.32 matt SRCS+= signbitf_ieee754.c signbitd_ieee754.c signbitl_ieee754.c 16 1.1 cgd 17 1.25 kleink SRCS+= nanf.c 18 1.31 matt SRCS+= flt_rounds.c 19 1.25 kleink 20 1.31 matt .if ${MKSOFTFLOAT} == "no" 21 1.31 matt SRCS+= fpgetmask.c fpgetround.c fpgetsticky.c fpsetmask.c \ 22 1.3 jtc fpsetround.c fpsetsticky.c 23 1.31 matt .endif 24 1.6 jonathan 25 1.26 tsutsui SRCS+= setjmp.S longjmp.c 26 1.27 tsutsui SRCS+= _setjmp.S 27 1.26 tsutsui SRCS+= sigsetjmp.S 28 1.30 matt SRCS+= byte_swap_2.S byte_swap_4.S byte_swap_8.S 29 1.5 jonathan 30 1.14 thorpej SRCS+= makecontext.c resumecontext.c _resumecontext.S swapcontext.S _lwp.c 31 1.14 thorpej 32 1.5 jonathan # mips abi builtin extensions (used by GCC for lexical-closure trampoline) 33 1.5 jonathan SRCS+= cacheflush.c 34 1.7 bouyer 35 1.33 matt CPPFLAGS._lwp.c += -D_LIBC_SOURCE 36 1.34 christos CPPFLAGS.cacheflush.c += -D_KERNTYPES 37 1.33 matt 38 1.29 uebayasi LSRCS.mips.gen= Lint__setjmp.c Lint_bswap16.c Lint_bswap32.c Lint_swapcontext.c 39 1.29 uebayasi LSRCS+= ${LSRCS.mips.gen} 40 1.29 uebayasi DPSRCS+= ${LSRCS.mips.gen} 41 1.29 uebayasi CLEANFILES+= ${LSRCS.mips.gen} 42