summaryrefslogtreecommitdiffstats
path: root/lib/libc/gdtoa/Makefile.inc
blob: c46f898907982343f37b62354d66111e3e83b18c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# $FreeBSD$

# netlib gdtoa sources
.PATH: ${LIBC_SRCTOP}/gdtoa

MISRCS+=_hdtoa.c _hldtoa.c _ldtoa.c glue.c
GDTOASRCS+=dmisc.c dtoa.c gdtoa.c gethex.c gmisc.c \
	hd_init.c hexnan.c misc.c smisc.c \
	strtod.c strtodg.c strtof.c strtord.c sum.c ulp.c

SYM_MAPS+=${LIBC_SRCTOP}/gdtoa/Symbol.map

CFLAGS+=-I${LIBC_SRCTOP}/../../contrib/gdtoa

.for src in ${GDTOASRCS}
MISRCS+=gdtoa_${src}
CLEANFILES+=gdtoa_${src}
gdtoa_${src}:
	ln -sf ${LIBC_SRCTOP}/../../contrib/gdtoa/${src} ${.TARGET}
.endfor
OpenPOWER on IntegriCloud