summaryrefslogtreecommitdiff
path: root/lib/libm/Makefile
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2006-03-18 20:13:25 +0000
committerBrad Smith <brad@cvs.openbsd.org>2006-03-18 20:13:25 +0000
commitaa453a0c31a4662f565dc06b82d641c008a5513e (patch)
tree4f3b879d4a9710cfacb1c430ccae6ff1490dc1e0 /lib/libm/Makefile
parent9e3f87f64b71a261ac7c20fabe32a8b46dfa3ac8 (diff)
add some more C99 functions: trunc(3) and truncf(3).
From FreeBSD ok deraadt@ millert@ otto@ jmc@
Diffstat (limited to 'lib/libm/Makefile')
-rw-r--r--lib/libm/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/libm/Makefile b/lib/libm/Makefile
index 50536b37283..fa0196ba871 100644
--- a/lib/libm/Makefile
+++ b/lib/libm/Makefile
@@ -1,5 +1,5 @@
# $NetBSD: Makefile,v 1.28 1995/11/20 22:06:19 jtc Exp $
-# $OpenBSD: Makefile,v 1.37 2006/03/14 19:27:57 otto Exp $
+# $OpenBSD: Makefile,v 1.38 2006/03/18 20:13:24 brad Exp $
#
# @(#)Makefile 5.1beta 93/09/24
#
@@ -118,7 +118,7 @@ COMMON_SRCS = e_acos.c e_acosf.c e_acosh.c e_acoshf.c e_asin.c e_asinf.c \
s_log1pf.c s_logb.c s_logbf.c s_matherr.c s_modff.c \
s_nextafter.c s_nextafterf.c s_rint.c s_rintf.c s_scalbn.c s_scalbnf.c \
s_signgam.c s_significand.c s_significandf.c s_sin.c s_sinf.c s_tan.c \
- s_tanf.c s_tanh.c s_tanhf.c \
+ s_tanf.c s_tanh.c s_tanhf.c s_trunc.c s_truncf.c \
w_acos.c w_acosf.c w_acosh.c w_acoshf.c w_asin.c w_asinf.c w_atan2.c \
w_atan2f.c w_atanh.c w_atanhf.c w_cabs.c w_cabsf.c w_cosh.c w_coshf.c \
w_drem.c w_dremf.c w_exp.c w_expf.c w_fmod.c w_fmodf.c w_gamma.c \
@@ -161,7 +161,7 @@ SRCS= ${COMMON_SRCS}
MAN+= acos.3 acosh.3 asin.3 asinh.3 atan.3 atan2.3 atanh.3 ceil.3 \
cos.3 cosh.3 erf.3 exp.3 fabs.3 floor.3 fmod.3 hypot.3 ieee.3 \
infnan.3 logb.3 j0.3 lgamma.3 lrint.3 lround.3 math.3 rint.3 \
- sin.3 sinh.3 sqrt.3 tan.3 tanh.3
+ sin.3 sinh.3 sqrt.3 tan.3 tanh.3 trunc.3
MLINKS+=erf.3 erfc.3
MLINKS+=exp.3 expm1.3 exp.3 log.3 exp.3 log10.3 exp.3 log1p.3 exp.3 pow.3
@@ -230,6 +230,7 @@ MLINKS+=sqrt.3 cbrtf.3
MLINKS+=sqrt.3 sqrtf.3
MLINKS+=tan.3 tanf.3
MLINKS+=tanh.3 tanhf.3
+MLINKS+=trunc.3 truncf.3
#.if (${MACHINE_ARCH} == "i386")
#LINKS= ${LIBDIR}/libm.a ${LIBDIR}/libm_i387.a