xref: /dragonfly/lib/libc/gdtoa/Makefile.inc (revision df5c926f)
1# $FreeBSD: src/lib/libc/gdtoa/Makefile.inc,v 1.10 2008/04/12 03:11:36 das Exp $
2
3# netlib gdtoa sources
4.PATH: ${.CURDIR}/../libc/gdtoa
5
6CMAPS+=	${.CURDIR}/gdtoa/Symbol.map
7
8MISRCS+=_hdtoa.c _hldtoa.c _ldtoa.c glue.c
9GDTOASRCS+=dmisc.c dtoa.c gdtoa.c gethex.c gmisc.c \
10	hd_init.c hexnan.c misc.c smisc.c \
11	strtod.c strtodg.c strtof.c strtord.c sum.c ulp.c
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