2009-12-06 14:16:26 +03:00
|
|
|
# $NetBSD: Makefile.inc,v 1.6 2009/12/06 11:16:26 uebayasi Exp $
|
2000-06-06 12:14:49 +04:00
|
|
|
|
2002-05-22 03:51:04 +04:00
|
|
|
SOFTFLOAT_BITS?=64
|
|
|
|
.PATH: ${ARCHDIR}/softfloat \
|
|
|
|
${.CURDIR}/softfloat/bits${SOFTFLOAT_BITS} ${.CURDIR}/softfloat
|
2000-06-06 12:14:49 +04:00
|
|
|
|
|
|
|
CPPFLAGS+= -I${ARCHDIR}/softfloat -I${.CURDIR}/softfloat
|
|
|
|
CPPFLAGS+= -DSOFTFLOAT_FOR_GCC
|
|
|
|
|
2009-12-06 08:34:42 +03:00
|
|
|
SRCS.softfloat= softfloat.c
|
2000-06-06 12:14:49 +04:00
|
|
|
|
2009-12-06 14:16:26 +03:00
|
|
|
SRCS.softfloat+=fpgetround.c fpsetround.c fpgetmask.c fpsetmask.c \
|
2000-06-06 12:14:49 +04:00
|
|
|
fpgetsticky.c fpsetsticky.c
|
|
|
|
|
2009-12-06 14:16:26 +03:00
|
|
|
SRCS.softfloat+=eqsf2.c nesf2.c gtsf2.c gesf2.c ltsf2.c lesf2.c negsf2.c \
|
2003-05-06 12:58:19 +04:00
|
|
|
eqdf2.c nedf2.c gtdf2.c gedf2.c ltdf2.c ledf2.c negdf2.c \
|
2004-09-27 01:13:27 +04:00
|
|
|
nexf2.c gtxf2.c gexf2.c negxf2.c unordsf2.c unorddf2.c
|
2009-12-06 08:34:42 +03:00
|
|
|
|
|
|
|
SRCS+= ${SRCS.softfloat}
|