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 ${LIBC_SRCTOP}/softfloat/bits${SOFTFLOAT_BITS} \ 7 ${LIBC_SRCTOP}/softfloat 8 9CFLAGS+= -I${LIBC_SRCTOP}/${LIBC_ARCH}/softfloat \ 10 -I${LIBC_SRCTOP}/softfloat 11CFLAGS+= -DSOFTFLOAT_FOR_GCC 12 13SRCS+= softfloat.c 14 15SRCS+= fpgetround.c fpsetround.c fpgetmask.c fpsetmask.c \ 16 fpgetsticky.c 17 18SRCS+= eqsf2.c nesf2.c gtsf2.c gesf2.c ltsf2.c lesf2.c negsf2.c \ 19 eqdf2.c nedf2.c gtdf2.c gedf2.c ltdf2.c ledf2.c negdf2.c \ 20 unordsf2.c unorddf2.c 21 22.if defined(SOFTFLOAT_128) 23CFLAGS+= -DFLOAT128 24SRCS+= eqtf2.c netf2.c gttf2.c getf2.c lttf2.c letf2.c negtf2.c 25.endif 26 27.if defined(SOFTFLOAT_X80) 28CFLAGS+= -DFLOATX80 29SRCS+= nexf2.c gtxf2.c gexf2.c negxf2.c 30.endif 31 32SYM_MAPS+= ${LIBC_SRCTOP}/softfloat/Symbol.map 33