1 # $NetBSD: Makefile.inc,v 1.7 2011/01/17 10:08:35 matt Exp $
4 .PATH: ${ARCHDIR}/softfloat \
5 ${.CURDIR}/softfloat/bits${SOFTFLOAT_BITS} ${.CURDIR}/softfloat
7 CPPFLAGS+= -I${ARCHDIR}/softfloat -I${.CURDIR}/softfloat
8 CPPFLAGS+= -DSOFTFLOAT_FOR_GCC
10 SRCS.softfloat= softfloat.c
12 SRCS.softfloat+=fpgetround.c fpsetround.c fpgetmask.c fpsetmask.c \
13 fpgetsticky.c fpsetsticky.c
15 SRCS.softfloat+=eqsf2.c nesf2.c gtsf2.c gesf2.c ltsf2.c lesf2.c negsf2.c \
16 eqdf2.c nedf2.c gtdf2.c gedf2.c ltdf2.c ledf2.c negdf2.c \
17 eqtf2.c netf2.c gttf2.c getf2.c lttf2.c letf2.c negtf2.c \
18 nexf2.c gtxf2.c gexf2.c negxf2.c unordsf2.c unorddf2.c
20 SRCS+= ${SRCS.softfloat}