1# $FreeBSD$
2
3# netlib gdtoa sources
4.PATH: ${.CURDIR}/gdtoa
5
6MISRCS+=_hdtoa.c _hldtoa.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	strtod.c strtodg.c strtof.c strtord.c sum.c ulp.c
10
11SYM_MAPS+=${.CURDIR}/gdtoa/Symbol.map
12
13CFLAGS+=-I${.CURDIR}/../../contrib/gdtoa
14
15.for src in ${GDTOASRCS}
16MISRCS+=gdtoa_${src}
17CLEANFILES+=gdtoa_${src}
18gdtoa_${src}:
19	ln -sf ${.CURDIR}/../../contrib/gdtoa/${src} ${.TARGET}
20.endfor
21