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:
David Schultz 2005-01-15 05:23:58 +00:00
parent cd3cc47033
commit bd15659f64
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=140279
14 changed files with 20 additions and 38 deletions

View File

@ -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"

View File

@ -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

View File

@ -1,4 +0,0 @@
# $FreeBSD$
# On Alpha, long double is just double precision.
MDSRCS+=machdep_ldisd.c

View File

@ -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

View File

@ -6,3 +6,7 @@
SOFTFLOAT_BITS=32
CFLAGS+=-DSOFTFLOAT
# Long double is 80 bits
GDTOASRCS+=strtopx.c
MDSRCS+=machdep_ldisx.c

View File

@ -1,5 +0,0 @@
# $FreeBSD$
# Long double is 80 bits
GDTOASRCS+=strtopx.c
MDSRCS+=machdep_ldisx.c

View File

@ -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

View File

@ -1,5 +0,0 @@
# $FreeBSD$
# Long double is 80 bits
GDTOASRCS+=strtopx.c
MDSRCS+=machdep_ldisx.c

View File

@ -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

View File

@ -1,5 +0,0 @@
# $FreeBSD$
# Long double is 80 bits
GDTOASRCS+=strtopx.c
MDSRCS+=machdep_ldisx.c

View File

@ -1,4 +0,0 @@
# $FreeBSD$
# Long double is 64-bits
MDSRCS+=machdep_ldisd.c

View File

@ -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

View File

@ -1,5 +0,0 @@
# $FreeBSD$
# Long double is quad precision
GDTOASRCS+=strtopQ.c
MDSRCS+=machdep_ldisQ.c