2003-03-12 20:30:00 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2003-03-13 18:55:14 +00:00
|
|
|
# netlib gdtoa sources
|
|
|
|
.PATH: ${.CURDIR}/gdtoa
|
|
|
|
|
2004-01-18 10:32:49 +00:00
|
|
|
MISRCS+=_hdtoa.c _ldtoa.c glue.c
|
2005-01-15 05:23:58 +00:00
|
|
|
GDTOASRCS+=dmisc.c dtoa.c gdtoa.c gethex.c gmisc.c \
|
2003-03-12 20:30:00 +00:00
|
|
|
hd_init.c hexnan.c misc.c smisc.c \
|
|
|
|
strtoIg.c strtod.c strtodg.c strtof.c strtord.c sum.c ulp.c
|
2003-03-13 18:55:14 +00:00
|
|
|
|
|
|
|
CFLAGS+=-I${.CURDIR}/../../contrib/gdtoa
|
|
|
|
|
2003-03-12 20:30:00 +00:00
|
|
|
.for src in ${GDTOASRCS}
|
|
|
|
MISRCS+=gdtoa_${src}
|
|
|
|
CLEANFILES+=gdtoa_${src}
|
|
|
|
gdtoa_${src}:
|
|
|
|
ln -sf ${.CURDIR}/../../contrib/gdtoa/${src} ${.TARGET}
|
|
|
|
.endfor
|