phunix/lib/libc/gdtoa/Makefile.inc
Lionel Sambuc 0a6a1f1d05 NetBSD re-synchronization of the source tree
This brings our tree to NetBSD 7.0, as found on -current on the
10-10-2015.

This updates:
 - LLVM to 3.6.1
 - GCC to GCC 5.1
 - Replace minix/commands/zdump with usr.bin/zdump
 - external/bsd/libelf has moved to /external/bsd/elftoolchain/
 - Import ctwm
 - Drop sprintf from libminc

Change-Id: I149836ac18e9326be9353958bab9b266efb056f0
2016-01-13 20:32:14 +01:00

45 lines
1.1 KiB
Makefile

# $NetBSD: Makefile.inc,v 1.10 2014/01/16 20:31:42 christos Exp $
# gdtoa sources
.PATH: ${.CURDIR}/gdtoa
CPPFLAGS+=-I${.CURDIR}/gdtoa -I${.CURDIR}/locale
CPPFLAGS+=-DNO_FENV_H
# machine-dependent directory must provide the following:
# arith.h gd_qnan.h
CPPFLAGS+=-I${ARCHDIR}/gdtoa
# machine-dependent Makefile must define names of modules to use for
# float conversions:
# strtof(): strtof{,_vaxf}.c
# and for long double conversions on platforms with extended-precision
# format, if supported (strtod.c will define an alias otherwise):
# strtold(): strtold_p{x,xL,Q}.c
# helpers: strtop{x,xL,Q}.c
.include "${ARCHDIR}/gdtoa/Makefile.inc"
# public interfaces
SRCS+= strtod.c
# private interfaces interfacing to libc
SRCS+= dtoa.c ldtoa.c hdtoa.c gdtoa.c
.if !defined(__MINIX)
# local locking implementation
SRCS+= gdtoa_locks.c
.endif # !defined(__MINIX)
# 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