# $NetBSD: Makefile.inc,v 1.2 2006/01/31 10:56:57 scw Exp $ # gdtoa sources .PATH: ${.CURDIR}/gdtoa CPPFLAGS+=-I${ARCHDIR}/gdtoa CPPFLAGS+=-DNO_FENV_H # public interfaces SRCS+= strtod.c # private interfaces interfacing to libc SRCS+= dtoa.c # local locking implementation SRCS+= gdtoa_locks.c # private interfaces SRCS+= dmisc.c \ gethex.c gmisc.c \ hd_init.c hexnan.c \ misc.c \ smisc.c strtodg.c sum.c \ ulp.c # XXX no hexadecimal floating-point string conversion for VAX FP yet .if ${MACHINE_ARCH} != "vax" SRCS+= strtord.c .endif # XXX Workaround for gcc-3.3.3 optimsation bug on sh5 .if ${MACHINE_CPU} == "sh5" COPTS.strtod.c= -O1 .endif