1# $FreeBSD$ 2 3# netlib gdtoa sources 4.PATH: ${.CURDIR}/gdtoa 5 6MISRCS+=_hdtoa.c _ldtoa.c glue.c 7GDTOASRCS=dmisc.c dtoa.c gdtoa.c gethex.c gmisc.c \ 8 hd_init.c hexnan.c misc.c smisc.c \ 9 strtoIg.c strtod.c strtodg.c strtof.c strtord.c sum.c ulp.c 10.if exists(${.CURDIR}/${MACHINE_ARCH}/stdlib/gdtoa.mk) 11.include "${.CURDIR}/${MACHINE_ARCH}/stdlib/gdtoa.mk" 12.endif 13 14CFLAGS+=-I${.CURDIR}/../../contrib/gdtoa 15 16.for src in ${GDTOASRCS} 17MISRCS+=gdtoa_${src} 18CLEANFILES+=gdtoa_${src} 19gdtoa_${src}: 20 ln -sf ${.CURDIR}/../../contrib/gdtoa/${src} ${.TARGET} 21.endfor 22