aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-02-21 05:13:15 +0000
committerUlrich Drepper <drepper@redhat.com>2003-02-21 05:13:15 +0000
commitdddf0ed04dcf8324693f31be09012a82e11cb870 (patch)
treefec6fc6a60245df99d61bea587f7d74619f8d710 /math
parentab10a2940c415cba86016719baf6c180ef14c450 (diff)
downloadglibc-dddf0ed04dcf8324693f31be09012a82e11cb870.zip
glibc-dddf0ed04dcf8324693f31be09012a82e11cb870.tar.gz
glibc-dddf0ed04dcf8324693f31be09012a82e11cb870.tar.bz2
Rearrange variable definitions slightly to get definition in the right order.
Diffstat (limited to 'math')
-rw-r--r--math/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/math/Makefile b/math/Makefile
index 9b41905..ad1510b 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -1,4 +1,4 @@
-# Copyright (C) 1996-2001, 2002 Free Software Foundation, Inc.
+# Copyright (C) 1996-2001, 2002, 2003 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
# The GNU C Library is free software; you can redistribute it and/or
@@ -59,7 +59,9 @@ libm-calls = e_acos e_acosh e_asin e_atan2 e_atanh e_cosh e_exp e_fmod \
s_casinh s_cacosh s_catanh s_csqrt s_cpow s_cproj s_clog10 \
s_fma s_lrint s_llrint s_lround s_llround e_exp10 w_log2 \
$(calls:s_%=m_%)
-generated += $(foreach s,.c .S l.c l.S f.c f.S,$(calls:s_%=m_%$s))
+
+include ../Makeconfig
+
dbl-only-routines := branred doasin dosincos halfulp mpa mpatan2 \
mpatan mpexp mplog mpsqrt mptan sincos32 slowexp \
slowpow
@@ -70,7 +72,6 @@ libm-routines = $(strip $(libm-support) $(libm-calls) \
long-m-routines = $(patsubst %_rl,%l_r,$(libm-calls:=l))
long-m-support = t_sincosl k_sincosl
long-m-yes = $(long-m-routines) $(long-m-support)
-distribute += $(long-m-yes:=.c)
# These functions are in libc instead of libm because __printf_fp
# calls them, so any program using printf will need them linked in,
@@ -79,11 +80,10 @@ distribute += $(long-m-yes:=.c)
# routine that should be compiled separately for its libc and libm versions.
calls = s_isinf s_isnan s_finite s_copysign s_modf s_scalbn s_frexp s_ldexp \
s_signbit
+generated += $(foreach s,.c .S l.c l.S f.c f.S,$(calls:s_%=m_%$s))
routines = $(calls) $(calls:=f) $(long-c-$(long-double-fcts))
long-c-yes = $(calls:=l)
-distribute += $(long-c-yes:=.c)
-
-include ../Makeconfig
+distribute += $(long-m-yes:=.c) $(long-c-yes:=.c)
# Rules for the test suite.
tests = test-matherr test-fenv atest-exp atest-sincos atest-exp2 basic-test \