aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/gdtoa/Makefile.inc
blob: c2c58e1194733b2e1994f6f5d6ee5856245db31e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# $FreeBSD$

CFLAGS+=-I${.CURDIR}/../../contrib/gdtoa
MISRCS+=glue.c
GDTOASRCS=dmisc.c dtoa.c gdtoa.c gethex.c gmisc.c \
	hd_init.c hexnan.c misc.c smisc.c \
	strtoIg.c strtod.c strtodg.c strtof.c strtord.c sum.c ulp.c
.if exists(${.CURDIR}/${MACHINE_ARCH}/stdlib/gdtoa.mk)
.include "${.CURDIR}/${MACHINE_ARCH}/stdlib/gdtoa.mk"
.endif
.for src in ${GDTOASRCS}
MISRCS+=gdtoa_${src}
CLEANFILES+=gdtoa_${src}
gdtoa_${src}:
	ln -sf ${.CURDIR}/../../contrib/gdtoa/${src} ${.TARGET}
.endfor