1 # $NetBSD: Makefile.inc,v 1.7 2008/02/05 02:41:15 mrg Exp $
4 .PATH: ${.CURDIR}/gdtoa
5 CPPFLAGS+=-I${.CURDIR}/gdtoa
9 # machine-dependent directory must provide the following:
11 CPPFLAGS+=-I${ARCHDIR}/gdtoa
13 # machine-dependent Makefile must define names of modules to use for
15 # strtof(): strtof{,_vaxf}.c
16 # and for long double conversions on platforms with extended-precision
17 # format, if supported (strtod.c will define an alias otherwise):
18 # strtold(): strtold_p{x,xL,Q}.c
19 # helpers: strtop{x,xL,Q}.c
20 .include "${ARCHDIR}/gdtoa/Makefile.inc"
25 # private interfaces interfacing to libc
26 SRCS+= dtoa.c ldtoa.c hdtoa.c gdtoa.c
28 # local locking implementation
36 smisc.c strtodg.c sum.c \
40 SRCS+= _strtof.c _strtold.c
41 #SRCS+= _hdtoa.c _ldtoa.c
43 # XXX no hexadecimal floating-point string conversion for VAX FP yet
44 .if ${MACHINE_ARCH} != "vax"