Clean up the way gdtoa sources are found.
OK'ed by: das
This commit is contained in:
parent
db53f66b42
commit
120a95cb50
@ -24,13 +24,6 @@ MDASM=
|
|||||||
MIASM=
|
MIASM=
|
||||||
NOASM=
|
NOASM=
|
||||||
|
|
||||||
# XXX Pull in contrib/netlib/gdtoa, but keep the filenames local to
|
|
||||||
# gdtoa out of libc.
|
|
||||||
.PATH: ${.CURDIR}/../../contrib/netlib/gdtoa
|
|
||||||
.include "${.CURDIR}/gdtoa/Makefile.inc"
|
|
||||||
.PATH:
|
|
||||||
.PATH: ${.CURDIR}/gdtoa
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# If there is a machine dependent makefile, use it:
|
# If there is a machine dependent makefile, use it:
|
||||||
#
|
#
|
||||||
@ -40,6 +33,7 @@ NOASM=
|
|||||||
|
|
||||||
.include "${.CURDIR}/db/Makefile.inc"
|
.include "${.CURDIR}/db/Makefile.inc"
|
||||||
.include "${.CURDIR}/compat-43/Makefile.inc"
|
.include "${.CURDIR}/compat-43/Makefile.inc"
|
||||||
|
.include "${.CURDIR}/gdtoa/Makefile.inc"
|
||||||
.include "${.CURDIR}/gen/Makefile.inc"
|
.include "${.CURDIR}/gen/Makefile.inc"
|
||||||
.if ${MACHINE_ARCH} != "powerpc"
|
.if ${MACHINE_ARCH} != "powerpc"
|
||||||
.include "${.CURDIR}/gmon/Makefile.inc"
|
.include "${.CURDIR}/gmon/Makefile.inc"
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
CFLAGS+=-I${.CURDIR}/../../contrib/gdtoa
|
# netlib gdtoa sources
|
||||||
|
.PATH: ${.CURDIR}/gdtoa
|
||||||
|
|
||||||
MISRCS+=glue.c
|
MISRCS+=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 \
|
hd_init.c hexnan.c misc.c smisc.c \
|
||||||
@ -8,6 +10,9 @@ GDTOASRCS=dmisc.c dtoa.c gdtoa.c gethex.c gmisc.c \
|
|||||||
.if exists(${.CURDIR}/${MACHINE_ARCH}/stdlib/gdtoa.mk)
|
.if exists(${.CURDIR}/${MACHINE_ARCH}/stdlib/gdtoa.mk)
|
||||||
.include "${.CURDIR}/${MACHINE_ARCH}/stdlib/gdtoa.mk"
|
.include "${.CURDIR}/${MACHINE_ARCH}/stdlib/gdtoa.mk"
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
CFLAGS+=-I${.CURDIR}/../../contrib/gdtoa
|
||||||
|
|
||||||
.for src in ${GDTOASRCS}
|
.for src in ${GDTOASRCS}
|
||||||
MISRCS+=gdtoa_${src}
|
MISRCS+=gdtoa_${src}
|
||||||
CLEANFILES+=gdtoa_${src}
|
CLEANFILES+=gdtoa_${src}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user