include/elf.h: sync with GNU C library
[uclibc-ng.git] / libm / i386 / Makefile.arch
blobe1be961f25904ea637230a26cde5d497af979b5a
1 # Makefile for uClibc
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
8 # glibc's libm.
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))
14 endif
16 libm_ARCH_OBJS:=$(libm_ARCH_OBJ)
18 ifeq ($(DOPIC),y)
19 libm-a-y+=$(libm_ARCH_OBJS:.o=.os)
20 else
21 libm-a-y+=$(libm_ARCH_OBJS)
22 endif
23 libm-so-y+=$(libm_ARCH_OBJS:.o=.os)