summaryrefslogtreecommitdiff
path: root/libm/Makefile
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2001-05-28 14:38:12 (GMT)
committerManuel Novoa III <mjn3@codepoet.org>2001-05-28 14:38:12 (GMT)
commiteba708a62b5bb255a3ba79ab29e9259118aaef34 (patch)
tree449e93560ecdad1ce9b16edb1f9d01510abf97a0 /libm/Makefile
parent54ebc8099e32cb836c33bbb3744e6e498d6257af (diff)
Make selection of uClibc floating point support in printf, etc. seperate
from libm float function support. Also, move all Config files out of the main directory.
Diffstat (limited to 'libm/Makefile')
-rw-r--r--libm/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/libm/Makefile b/libm/Makefile
index 22e6c8e..c07190f 100644
--- a/libm/Makefile
+++ b/libm/Makefile
@@ -28,13 +28,13 @@ LIBM_SHARED_FULLNAME=libm-$(MAJOR_VERSION).$(MINOR_VERSION).so
TARGET_CC= $(TOPDIR)extra/gcc-uClibc/$(TARGET_ARCH)-uclibc-gcc
DIRS=
-ifeq ($(strip $(HAS_FLOATS)),true)
+ifeq ($(strip $(HAS_LIBM_FLOAT)),true)
DIRS+=float
endif
-ifeq ($(strip $(HAS_DOUBLE)),true)
+ifeq ($(strip $(HAS_LIBM_DOUBLE)),true)
DIRS+=double
endif
-ifeq ($(strip $(HAS_LONG_DOUBLE)),true)
+ifeq ($(strip $(HAS_LIBM_LONG_DOUBLE)),true)
DIRS+=ldouble
endif
ALL_SUBDIRS = float double ldouble
@@ -50,7 +50,7 @@ $(LIBM): subdirs
tags:
ctags -R
-
+
shared: all
if [ -f $(LIBM) ] ; then \
$(TARGET_CC) $(LDFLAGS) -shared -o $(LIBM_SHARED_FULLNAME) \