phunix/lib/libc/arch/powerpc/gen/Makefile.inc
Lionel Sambuc 0a6a1f1d05 NetBSD re-synchronization of the source tree
This brings our tree to NetBSD 7.0, as found on -current on the
10-10-2015.

This updates:
 - LLVM to 3.6.1
 - GCC to GCC 5.1
 - Replace minix/commands/zdump with usr.bin/zdump
 - external/bsd/libelf has moved to /external/bsd/elftoolchain/
 - Import ctwm
 - Drop sprintf from libminc

Change-Id: I149836ac18e9326be9353958bab9b266efb056f0
2016-01-13 20:32:14 +01:00

33 lines
947 B
Makefile

# $NetBSD: Makefile.inc,v 1.26 2014/01/28 13:47:04 macallan Exp $
SRCS+= __setjmp14.S __sigsetjmp14.S _setjmp.S
SRCS+= bswap16.c bswap32.c bswap64.c
SRCS+= 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
SRCS+= fabs_ieee754.S
.else
SRCS+= fabs_ieee754.c
.endif
CPPFLAGS._lwp.c += -D_LIBC_SOURCE
LSRCS.powerpc.gen=Lint_swapcontext.c
LSRCS+= ${LSRCS.powerpc.gen}
DPSRCS+= ${LSRCS.powerpc.gen}
CLEANFILES+= ${LSRCS.powerpc.gen}