summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-02-21 11:11:01 +0000
committerEric Andersen <andersen@codepoet.org>2002-02-21 11:11:01 +0000
commite73afd38363aa0bca424e42597b9835cf8a79c06 (patch)
tree217b62e87a21b4bf17bc898ac34f17b8d4a60ec2
parentdf237488ed8af589bad06d3d2f5f009a5def8e9f (diff)
Add ldexp to the !C99 list, since it is defined in POSIX as
being part of the classic math lib stuff. -Erik
-rw-r--r--libm/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/libm/Makefile b/libm/Makefile
index e9cdf47df..a6e8e26a9 100644
--- a/libm/Makefile
+++ b/libm/Makefile
@@ -64,13 +64,14 @@ CSRC = e_acos.c e_acosh.c e_asin.c e_atan2.c e_atanh.c e_cosh.c\
w_log.c w_log10.c w_pow.c w_remainder.c w_scalb.c w_sinh.c\
w_sqrt.c fpmacros.c
else
+# This list of math functions was taken from POSIX/IEEE 1003.1b-1993
CSRC = w_acos.c w_asin.c s_atan.c w_atan2.c s_ceil.c s_cos.c \
- w_cosh.c w_exp.c s_expm1.c s_fabs.c s_floor.c w_fmod.c \
- s_frexp.c w_log.c w_log10.c s_modf.c w_pow.c s_sin.c \
- w_sinh.c w_sqrt.c s_tan.c s_tanh.c s_scalbn.c s_copysign.c \
- e_acos.c e_asin.c e_atan2.c k_cos.c e_cosh.c e_exp.c \
- e_fmod.c e_log.c e_log10.c e_pow.c k_sin.c e_sinh.c e_sqrt.c \
- k_tan.c e_rem_pio2.c k_rem_pio2.c
+ w_cosh.c w_exp.c s_fabs.c s_floor.c w_fmod.c s_frexp.c \
+ s_ldexp.c w_log.c w_log10.c s_modf.c w_pow.c s_sin.c \
+ w_sinh.c w_sqrt.c s_tan.c s_tanh.c
+CSRC+= s_expm1.c s_scalbn.c s_copysign.c e_acos.c e_asin.c e_atan2.c \
+ k_cos.c e_cosh.c e_exp.c e_fmod.c e_log.c e_log10.c e_pow.c \
+ k_sin.c e_sinh.c e_sqrt.c k_tan.c e_rem_pio2.c k_rem_pio2.c
endif
COBJS=$(patsubst %.c,%.o, $(CSRC))
OBJS=$(COBJS)