3 # Copyright (C) 2000-2008 Erik Andersen <andersen@uclibc.org>
5 # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
7 # The routines included in this math library are derived from
11 ifeq ($(UCLIBC_HAS_FENV),y)
12 libm_ARCH_SRC:=$(wildcard $(libm_ARCH_DIR)/*.c)
13 libm_ARCH_OBJ:=$(patsubst $(libm_ARCH_DIR)/%.c,$(libm_ARCH_OUT)/%.o,$(libm_ARCH_SRC))
16 libm_ARCH_OBJS:=$(libm_ARCH_OBJ)
19 libm-a-y+=$(libm_ARCH_OBJS:.o=.os)
21 libm-a-y+=$(libm_ARCH_OBJS)
23 libm-so-y+=$(libm_ARCH_OBJS:.o=.os)