summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-02-25 04:57:36 +0000
committerMike Frysinger <vapier@gentoo.org>2006-02-25 04:57:36 +0000
commiteed920243233a89377c8559fa35dd8f86592a640 (patch)
treea157d07f7feb37bacb7131215942bfe5a263a737
parent82bed25bffff1fde8bbdddae04cf01b3ee23ecbe (diff)
rename generic variables to avoid conflict with libc subdirs
-rw-r--r--libm/Makefile.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/libm/Makefile.in b/libm/Makefile.in
index 180db7c95..6b07fe43f 100644
--- a/libm/Makefile.in
+++ b/libm/Makefile.in
@@ -44,7 +44,7 @@ endif
FL_MSRC := float_wrappers.c
ifeq ($(DO_C99_MATH),y)
-CSRC := \
+libm_CSRC := \
e_acos.c e_acosh.c e_asin.c e_atan2.c e_atanh.c e_cosh.c \
e_exp.c e_fmod.c e_gamma.c e_gamma_r.c e_hypot.c e_j0.c \
e_j1.c e_jn.c e_lgamma.c e_lgamma_r.c e_log.c e_log10.c \
@@ -71,7 +71,7 @@ FL_MOBJ := \
tgammaf.o truncf.o
else
# This list of math functions was taken from POSIX/IEEE 1003.1b-1993
-CSRC := \
+libm_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_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 \
@@ -95,7 +95,7 @@ CFLAGS-libm/$(TARGET_ARCH)/ := $(CFLAGS-libm)
# remove generic sources, if arch specific version is present
ifneq ($(strip $(libm_ARCH_SRC)),)
-CSRC := $(filter-out $(notdir $(libm_ARCH_SRC)),$(CSRC))
+libm_CSRC := $(filter-out $(notdir $(libm_ARCH_SRC)),$(libm_CSRC))
endif
# remove generic objects built from multi-sources, if arch specific version is present
@@ -107,7 +107,7 @@ endif
endif
endif
-libm_SRC := $(patsubst %.c,$(libm_DIR)/%.c,$(CSRC))
+libm_SRC := $(patsubst %.c,$(libm_DIR)/%.c,$(libm_CSRC))
libm_OBJ := $(patsubst $(libm_DIR)/%.c,$(libm_OUT)/%.o,$(libm_SRC))
libm_MSRC := $(libm_DIR)/$(FL_MSRC)