1# $NetBSD: Makefile.inc,v 1.3 2003/05/06 08:58:20 rearnsha Exp $
| 1# $NetBSD: Makefile.inc,v 1.3 2003/05/06 08:58:20 rearnsha Exp $
|
2# $FreeBSD: head/lib/libc/softfloat/Makefile.inc 211725 2010-08-23 22:24:11Z imp $
| 2# $FreeBSD: head/lib/libc/softfloat/Makefile.inc 211774 2010-08-24 20:54:43Z imp $
|
3 4SOFTFLOAT_BITS?=64
| 3 4SOFTFLOAT_BITS?=64
|
5.PATH: ${MACHINE_CPUARCH}/softfloat \
| 5.PATH: ${LIBC_ARCH}/softfloat \
|
6 ${.CURDIR}/softfloat/bits${SOFTFLOAT_BITS} ${.CURDIR}/softfloat 7
| 6 ${.CURDIR}/softfloat/bits${SOFTFLOAT_BITS} ${.CURDIR}/softfloat 7
|
8CFLAGS+= -I${.CURDIR}/${MACHINE_CPUARCH}/softfloat -I${.CURDIR}/softfloat
| 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 20SYM_MAPS+= ${.CURDIR}/softfloat/Symbol.map
| 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 20SYM_MAPS+= ${.CURDIR}/softfloat/Symbol.map
|