2d9148b622
In support of this, add some MD macros to assist in converting long doubles to the format expected by gdtoa(). Reviewed by: silence on standards@
22 lines
544 B
Makefile
22 lines
544 B
Makefile
# $FreeBSD$
|
|
|
|
# netlib gdtoa sources
|
|
.PATH: ${.CURDIR}/gdtoa
|
|
|
|
MISRCS+=_ldtoa.c glue.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
|
|
|
|
.for src in ${GDTOASRCS}
|
|
MISRCS+=gdtoa_${src}
|
|
CLEANFILES+=gdtoa_${src}
|
|
gdtoa_${src}:
|
|
ln -sf ${.CURDIR}/../../contrib/gdtoa/${src} ${.TARGET}
|
|
.endfor
|