minix/lib/libc/gdtoa/Makefile.inc
Lionel Sambuc 84d9c625bf Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC)
- Fix for possible unset uid/gid in toproto
 - Fix for default mtree style
 - Update libelf
 - Importing libexecinfo
 - Resynchronize GCC, mpc, gmp, mpfr
 - build.sh: Replace params with show-params.
     This has been done as the make target has been renamed in the same
     way, while a new target named params has been added. This new
     target generates a file containing all the parameters, instead of
     printing it on the console.
 - Update test48 with new etc/services (Fix by Ben Gras <ben@minix3.org)
     get getservbyport() out of the inner loop

Change-Id: Ie6ad5226fa2621ff9f0dee8782ea48f9443d2091
2014-07-28 17:05:06 +02:00

49 lines
1.2 KiB
Makefile

# $NetBSD: Makefile.inc,v 1.9 2013/04/19 20:18:33 joerg 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
# wrappers
SRCS+= _strtof.c _strtold.c
#SRCS+= _hdtoa.c _ldtoa.c
# XXX no hexadecimal floating-point string conversion for VAX FP yet
.if ${MACHINE_ARCH} != "vax"
SRCS+= strtord.c
.endif