Merge branch 'vendor/GREP'
[dragonfly.git] / lib / libc / gdtoa / Makefile.inc
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
6 MISRCS+=_hdtoa.c _hldtoa.c _ldtoa.c glue.c
7 GDTOASRCS+=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
11 CFLAGS+=-I${.CURDIR}/../../contrib/gdtoa
12
13 .for src in ${GDTOASRCS}
14 MISRCS+=gdtoa_${src}
15 CLEANFILES+=gdtoa_${src}
16 gdtoa_${src}:
17         ${LN} -sf ${.CURDIR}/../../contrib/gdtoa/${src} ${.TARGET}
18 .endfor