1# $NetBSD: Makefile.inc,v 1.3 2003/05/06 08:58:20 rearnsha Exp $
2# $FreeBSD: head/lib/libc/softfloat/Makefile.inc 143658 2005-03-15 15:53:39Z das $
3
4SOFTFLOAT_BITS?=64
5.PATH: ${MACHINE_ARCH}/softfloat \
6 ${.CURDIR}/softfloat/bits${SOFTFLOAT_BITS} ${.CURDIR}/softfloat
7
8CFLAGS+= -I${.CURDIR}/${MACHINE_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
2# $FreeBSD: head/lib/libc/softfloat/Makefile.inc 143658 2005-03-15 15:53:39Z das $
3
4SOFTFLOAT_BITS?=64
5.PATH: ${MACHINE_ARCH}/softfloat \
6 ${.CURDIR}/softfloat/bits${SOFTFLOAT_BITS} ${.CURDIR}/softfloat
7
8CFLAGS+= -I${.CURDIR}/${MACHINE_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