]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - lib/libc/softfloat/Makefile.inc
Update libc++ to release_39 branch r279689.
[FreeBSD/FreeBSD.git] / lib / libc / softfloat / Makefile.inc
1 #       $NetBSD: Makefile.inc,v 1.10 2011/07/04 02:53:15 mrg Exp $
2 # $FreeBSD$
3
4 SOFTFLOAT_BITS?=64
5 .PATH:          ${LIBC_ARCH}/softfloat \
6                 ${LIBC_SRCTOP}/softfloat/bits${SOFTFLOAT_BITS} \
7                 ${LIBC_SRCTOP}/softfloat
8
9 CFLAGS+=        -I${LIBC_SRCTOP}/${LIBC_ARCH}/softfloat \
10                 -I${LIBC_SRCTOP}/softfloat
11 CFLAGS+=        -DSOFTFLOAT_FOR_GCC
12
13 SRCS+=          softfloat.c
14
15 SRCS+=          fpgetround.c fpsetround.c fpgetmask.c fpsetmask.c \
16                 fpgetsticky.c
17
18 SRCS+=          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)
23 CFLAGS+=        -DFLOAT128
24 SRCS+=          eqtf2.c netf2.c gttf2.c getf2.c lttf2.c letf2.c negtf2.c
25 .endif
26
27 .if defined(SOFTFLOAT_X80)
28 CFLAGS+=        -DFLOATX80
29 SRCS+=          nexf2.c gtxf2.c gexf2.c negxf2.c
30 .endif
31
32 SYM_MAPS+=      ${LIBC_SRCTOP}/softfloat/Symbol.map