1# $NetBSD: Makefile.inc,v 1.10 2011/07/04 02:53:15 mrg Exp $ 2# $FreeBSD$ 3 4SOFTFLOAT_BITS?=64 5.PATH: ${LIBC_ARCH}/softfloat \ 6 ${.CURDIR}/softfloat/bits${SOFTFLOAT_BITS} ${.CURDIR}/softfloat 7 8CFLAGS+= -I${.CURDIR}/${LIBC_ARCH}/softfloat -I${.CURDIR}/softfloat 9CFLAGS+= -DSOFTFLOAT_FOR_GCC 10 11SRCS+= softfloat.c 12 13SRCS+= fpgetround.c fpsetround.c fpgetmask.c fpsetmask.c \ 14 fpgetsticky.c 15 16SRCS+= eqsf2.c nesf2.c gtsf2.c gesf2.c ltsf2.c lesf2.c negsf2.c \ 17 eqdf2.c nedf2.c gtdf2.c gedf2.c ltdf2.c ledf2.c negdf2.c \ 18 unordsf2.c unorddf2.c 19 20.if defined(SOFTFLOAT_128) 21CFLAGS+= -DFLOAT128 22SRCS+= eqtf2.c netf2.c gttf2.c getf2.c lttf2.c letf2.c negtf2.c 23.endif 24 25.if defined(SOFTFLOAT_X80) 26CFLAGS+= -DFLOATX80 27SRCS+= nexf2.c gtxf2.c gexf2.c negxf2.c 28.endif 29 30SYM_MAPS+= ${.CURDIR}/softfloat/Symbol.map 31