xref: /freebsd/lib/libc/gdtoa/Makefile.inc (revision bd15659f64eb4460b85f395a176de9d4fcf40ecb)
16a66acb5SDavid Schultz# $FreeBSD$
26a66acb5SDavid Schultz
3120a95cbSDavid E. O'Brien# netlib gdtoa sources
4120a95cbSDavid E. O'Brien.PATH: ${.CURDIR}/gdtoa
5120a95cbSDavid E. O'Brien
68f592773SDavid SchultzMISRCS+=_hdtoa.c _ldtoa.c glue.c
7bd15659fSDavid SchultzGDTOASRCS+=dmisc.c dtoa.c gdtoa.c gethex.c gmisc.c \
86a66acb5SDavid Schultz	hd_init.c hexnan.c misc.c smisc.c \
96a66acb5SDavid Schultz	strtoIg.c strtod.c strtodg.c strtof.c strtord.c sum.c ulp.c
10120a95cbSDavid E. O'Brien
11120a95cbSDavid E. O'BrienCFLAGS+=-I${.CURDIR}/../../contrib/gdtoa
12120a95cbSDavid E. O'Brien
136a66acb5SDavid Schultz.for src in ${GDTOASRCS}
146a66acb5SDavid SchultzMISRCS+=gdtoa_${src}
156a66acb5SDavid SchultzCLEANFILES+=gdtoa_${src}
166a66acb5SDavid Schultzgdtoa_${src}:
176a66acb5SDavid Schultz	ln -sf ${.CURDIR}/../../contrib/gdtoa/${src} ${.TARGET}
186a66acb5SDavid Schultz.endfor
19