Makefile.inc revision 1.3
1#	$NetBSD: Makefile.inc,v 1.3 2006/02/16 23:26:19 christos Exp $
2
3# gdtoa sources
4.PATH: ${.CURDIR}/gdtoa
5
6CPPFLAGS+=-I${ARCHDIR}/gdtoa
7CPPFLAGS+=-DNO_FENV_H
8
9# public interfaces
10SRCS+=	strtod.c
11
12# private interfaces interfacing to libc
13SRCS+=	dtoa.c
14
15# local locking implementation
16SRCS+=	gdtoa_locks.c
17
18# private interfaces
19SRCS+=	dmisc.c \
20	gethex.c gmisc.c \
21	hd_init.c hexnan.c \
22	misc.c \
23	smisc.c strtodg.c sum.c \
24	ulp.c
25
26# wrappers
27#SRCS+=	_hdtoa.c _ldtoa.c
28
29# XXX no hexadecimal floating-point string conversion for VAX FP yet
30.if ${MACHINE_ARCH} != "vax"
31SRCS+=	strtord.c
32.endif
33
34# XXX Workaround for gcc-3.3.3 optimsation bug on sh5
35.if ${MACHINE_CPU} == "sh5"
36COPTS.strtod.c=	-O1
37.endif
38