diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-01-19 15:23:14 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-01-19 15:23:14 +0000 |
commit | bce5bba7a01fb090f67fec5f79218c505c841af3 (patch) | |
tree | e7d7dfc12cae1f1474800071fbc4633fa509ef6e /libm/i386/Makefile.arch | |
parent | d22976dd5e16e8719abd5c542e17427eeece7ff6 (diff) |
- add C99 floating point environment, rounding and exception handling functions
for i386. UCLIBC_HAS_FENV
Diffstat (limited to 'libm/i386/Makefile.arch')
-rw-r--r-- | libm/i386/Makefile.arch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/libm/i386/Makefile.arch b/libm/i386/Makefile.arch new file mode 100644 index 000000000..e1be961f2 --- /dev/null +++ b/libm/i386/Makefile.arch @@ -0,0 +1,24 @@ +# Makefile for uClibc +# +# Copyright (C) 2000-2008 Erik Andersen <andersen@uclibc.org> +# +# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. +# +# The routines included in this math library are derived from +# glibc's libm. +# + +ifeq ($(UCLIBC_HAS_FENV),y) +libm_ARCH_SRC:=$(wildcard $(libm_ARCH_DIR)/*.c) +libm_ARCH_OBJ:=$(patsubst $(libm_ARCH_DIR)/%.c,$(libm_ARCH_OUT)/%.o,$(libm_ARCH_SRC)) +endif + +libm_ARCH_OBJS:=$(libm_ARCH_OBJ) + +ifeq ($(DOPIC),y) +libm-a-y+=$(libm_ARCH_OBJS:.o=.os) +else +libm-a-y+=$(libm_ARCH_OBJS) +endif +libm-so-y+=$(libm_ARCH_OBJS:.o=.os) + |