Browse Source

rename generic variables to avoid conflict with libc subdirs

Mike Frysinger 18 years ago
parent
commit
eed9202432
1 changed files with 4 additions and 4 deletions
  1. 4 4
      libm/Makefile.in

+ 4 - 4
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)