xref: /freebsd/lib/libc/gdtoa/Makefile.inc (revision e9ac41698b2f322d55ccf9da50a3596edb2c1800)
1120a95cbSDavid E. O'Brien# netlib gdtoa sources
28876613dSMarcel Moolenaar.PATH: ${LIBC_SRCTOP}/gdtoa
3120a95cbSDavid E. O'Brien
476303a97SDavid SchultzMISRCS+=_hdtoa.c _hldtoa.c _ldtoa.c glue.c
5bd15659fSDavid SchultzGDTOASRCS+=dmisc.c dtoa.c gdtoa.c gethex.c gmisc.c \
66a66acb5SDavid Schultz	hd_init.c hexnan.c misc.c smisc.c \
72380daafSDavid Schultz	strtod.c strtodg.c strtof.c strtord.c sum.c ulp.c
8120a95cbSDavid E. O'Brien
98876613dSMarcel MoolenaarSYM_MAPS+=${LIBC_SRCTOP}/gdtoa/Symbol.map
106fad3aafSDaniel Eischen
11d0fd0203SEnji CooperCFLAGS+=-I${SRCTOP}/contrib/gdtoa
12120a95cbSDavid E. O'Brien
136a66acb5SDavid Schultz.for src in ${GDTOASRCS}
146a66acb5SDavid SchultzMISRCS+=gdtoa_${src}
156a66acb5SDavid SchultzCLEANFILES+=gdtoa_${src}
16d0fd0203SEnji Coopergdtoa_${src}: ${SRCTOP}/contrib/gdtoa/${src} .NOMETA
17b791fbe6SBryan Drewery	ln -sf ${.ALLSRC} ${.TARGET}
18*c9117188SDimitry AndricCFLAGS.gdtoa_${src}+=-fno-strict-aliasing
196a66acb5SDavid Schultz.endfor
20