2012-09-17 11:09:12 +02:00
|
|
|
# $NetBSD: Makefile.inc,v 1.25 2011/03/12 07:55:09 matt Exp $
|
2011-02-14 20:36:03 +01:00
|
|
|
|
|
|
|
SRCS+= __setjmp14.S __sigsetjmp14.S _setjmp.S
|
|
|
|
SRCS+= bswap16.c bswap32.c bswap64.c
|
|
|
|
SRCS+= fabs.c flt_rounds.c
|
|
|
|
SRCS+= syncicache.c
|
|
|
|
SRCS+= _lwp.c makecontext.c resumecontext.c swapcontext.S
|
|
|
|
|
|
|
|
# Common ieee754 constants and functions
|
|
|
|
SRCS+= infinityf_ieee754.c infinity_ieee754.c infinityl_dbl_ieee754.c
|
|
|
|
SRCS+= fpclassifyf_ieee754.c fpclassifyd_ieee754.c
|
|
|
|
SRCS+= isinff_ieee754.c isinfd_ieee754.c
|
|
|
|
SRCS+= isnanf_ieee754.c isnand_ieee754.c
|
|
|
|
SRCS+= isfinitef_ieee754.c isfinited_ieee754.c
|
|
|
|
SRCS+= signbitf_ieee754.c signbitd_ieee754.c
|
|
|
|
|
|
|
|
SRCS+= nanf.c
|
|
|
|
|
|
|
|
.if (${MKSOFTFLOAT} == "no")
|
|
|
|
SRCS+= fpgetround.c fpsetround.c fpgetmask.c fpsetmask.c
|
|
|
|
SRCS+= fpgetsticky.c fpsetsticky.c
|
|
|
|
.endif
|
|
|
|
|
2012-09-17 11:09:12 +02:00
|
|
|
CPPFLAGS._lwp.c += -D_LIBC_SOURCE
|
|
|
|
|
2011-02-14 20:36:03 +01:00
|
|
|
LSRCS.powerpc.gen=Lint_swapcontext.c
|
|
|
|
LSRCS+= ${LSRCS.powerpc.gen}
|
|
|
|
DPSRCS+= ${LSRCS.powerpc.gen}
|
|
|
|
CLEANFILES+= ${LSRCS.powerpc.gen}
|