Eliminate gdtoa.mk and move its contents to ${MACHINE_ARCH}/Makefile.inc.
The purpose of having a separate file involved an abandoned scheme that would have kept contrib/gdtoa out of the include path for the rest of libc.
This commit is contained in:
parent
cd3cc47033
commit
bd15659f64
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=140279
@ -27,13 +27,7 @@ MDASM=
|
||||
MIASM=
|
||||
NOASM=
|
||||
|
||||
#
|
||||
# If there is a machine dependent makefile, use it:
|
||||
#
|
||||
.if exists(${.CURDIR}/${MACHINE_ARCH}/Makefile.inc)
|
||||
.include "${.CURDIR}/${MACHINE_ARCH}/Makefile.inc"
|
||||
.endif
|
||||
|
||||
.include "${.CURDIR}/db/Makefile.inc"
|
||||
.include "${.CURDIR}/compat-43/Makefile.inc"
|
||||
.include "${.CURDIR}/gdtoa/Makefile.inc"
|
||||
|
@ -7,3 +7,6 @@
|
||||
# Alpha is 64-bit, so it doesn't need quad functions:
|
||||
#
|
||||
NO_QUAD=
|
||||
|
||||
# On Alpha, long double is just double precision.
|
||||
MDSRCS+=machdep_ldisd.c
|
||||
|
@ -1,4 +0,0 @@
|
||||
# $FreeBSD$
|
||||
|
||||
# On Alpha, long double is just double precision.
|
||||
MDSRCS+=machdep_ldisd.c
|
@ -7,3 +7,7 @@
|
||||
# AMD64 is 64-bit, so it doesn't need quad functions:
|
||||
#
|
||||
NO_QUAD=
|
||||
|
||||
# Long double is 80 bits
|
||||
GDTOASRCS+=strtopx.c
|
||||
MDSRCS+=machdep_ldisx.c
|
||||
|
@ -6,3 +6,7 @@
|
||||
SOFTFLOAT_BITS=32
|
||||
|
||||
CFLAGS+=-DSOFTFLOAT
|
||||
|
||||
# Long double is 80 bits
|
||||
GDTOASRCS+=strtopx.c
|
||||
MDSRCS+=machdep_ldisx.c
|
||||
|
@ -1,5 +0,0 @@
|
||||
# $FreeBSD$
|
||||
|
||||
# Long double is 80 bits
|
||||
GDTOASRCS+=strtopx.c
|
||||
MDSRCS+=machdep_ldisx.c
|
@ -4,12 +4,9 @@
|
||||
.PATH: ${.CURDIR}/gdtoa
|
||||
|
||||
MISRCS+=_hdtoa.c _ldtoa.c glue.c
|
||||
GDTOASRCS=dmisc.c dtoa.c gdtoa.c gethex.c gmisc.c \
|
||||
GDTOASRCS+=dmisc.c dtoa.c gdtoa.c gethex.c gmisc.c \
|
||||
hd_init.c hexnan.c misc.c smisc.c \
|
||||
strtoIg.c strtod.c strtodg.c strtof.c strtord.c sum.c ulp.c
|
||||
.if exists(${.CURDIR}/${MACHINE_ARCH}/stdlib/gdtoa.mk)
|
||||
.include "${.CURDIR}/${MACHINE_ARCH}/stdlib/gdtoa.mk"
|
||||
.endif
|
||||
|
||||
CFLAGS+=-I${.CURDIR}/../../contrib/gdtoa
|
||||
|
||||
|
@ -1,5 +0,0 @@
|
||||
# $FreeBSD$
|
||||
|
||||
# Long double is 80 bits
|
||||
GDTOASRCS+=strtopx.c
|
||||
MDSRCS+=machdep_ldisx.c
|
@ -7,3 +7,7 @@
|
||||
# IA-64 is 64-bit, so it doesn't need quad functions:
|
||||
#
|
||||
NO_QUAD=
|
||||
|
||||
# Long double is 80 bits
|
||||
GDTOASRCS+=strtopx.c
|
||||
MDSRCS+=machdep_ldisx.c
|
||||
|
@ -1,5 +0,0 @@
|
||||
# $FreeBSD$
|
||||
|
||||
# Long double is 80 bits
|
||||
GDTOASRCS+=strtopx.c
|
||||
MDSRCS+=machdep_ldisx.c
|
@ -1,4 +0,0 @@
|
||||
# $FreeBSD$
|
||||
|
||||
# Long double is 64-bits
|
||||
MDSRCS+=machdep_ldisd.c
|
@ -9,3 +9,7 @@
|
||||
# sparc64 is 64-bit, so it doesn't need quad functions.
|
||||
#
|
||||
NO_QUAD=
|
||||
|
||||
# Long double is quad precision
|
||||
GDTOASRCS+=strtopQ.c
|
||||
MDSRCS+=machdep_ldisQ.c
|
||||
|
@ -1,5 +0,0 @@
|
||||
# $FreeBSD$
|
||||
|
||||
# Long double is quad precision
|
||||
GDTOASRCS+=strtopQ.c
|
||||
MDSRCS+=machdep_ldisQ.c
|
Loading…
Reference in New Issue
Block a user