]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - lib/libc/gdtoa/Makefile.inc
Update bmake to version 20180919
[FreeBSD/FreeBSD.git] / lib / libc / gdtoa / Makefile.inc
1 # $FreeBSD$
2
3 # netlib gdtoa sources
4 .PATH: ${LIBC_SRCTOP}/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 SYM_MAPS+=${LIBC_SRCTOP}/gdtoa/Symbol.map
12
13 CFLAGS+=-I${SRCTOP}/contrib/gdtoa
14
15 .for src in ${GDTOASRCS}
16 MISRCS+=gdtoa_${src}
17 CLEANFILES+=gdtoa_${src}
18 gdtoa_${src}: ${SRCTOP}/contrib/gdtoa/${src} .NOMETA
19         ln -sf ${.ALLSRC} ${.TARGET}
20 CFLAGS.gdtoa_${src}+=-fno-strict-aliasing
21 .endfor