path: root/libm/Makefile
diff options
authorEric Andersen <>2001-05-12 06:19:18 (GMT)
committerEric Andersen <>2001-05-12 06:19:18 (GMT)
commitf0da4aa1d854ca9c2a0e652dcb1d81bbf4d971f4 (patch)
tree39dd87100094d48dbc7e8557f26d5c02d331606f /libm/Makefile
parent249cb00d9f655778aa8a4519ee3e610a904d694d (diff)
Ok, this should finish off my massive ro-organization. The source
tree is less messy now (which helps), all libraries are placed into uClibc/lib when compiling, all libraries now use a consistant mechanism for being built, all libraries use a consistant naming scheme where the lib name includes the uClibc version number, which makes ldconfig happy and willing to work with us. -Erik
Diffstat (limited to 'libm/Makefile')
1 files changed, 5 insertions, 5 deletions
diff --git a/libm/Makefile b/libm/Makefile
index 7227e66..419e365 100644
--- a/libm/Makefile
+++ b/libm/Makefile
@@ -1,7 +1,9 @@
# Makefile for uClibc's math library
# Copyright (C) 2001 by Lineo, inc.
+# This math library is derived primarily from the Cephes Math Library,
+# copyright by Stephen L. Moshier <>
# This program is free software; you can redistribute it and/or modify it under
# the terms of the GNU Library General Public License as published by the Free
# Software Foundation; either version 2 of the License, or (at your option) any
@@ -16,9 +18,6 @@
# along with this program; if not, write to the Free Software Foundation, Inc.,
# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-# Derived in part from the Linux-8086 C library, the GNU C Library, and several
-# other sundry sources. Files within this library are copyright by their
-# respective copyright holders.
include $(TOPDIR)Rules.mak
@@ -55,7 +54,8 @@ tags:
shared: all
@if [ -f $(LIBM) ] ; then \
+ -Wl,-soname,$(LIBM_SHARED).$(MAJOR_VERSION) -Wl,--whole-archive \
install -d $(TOPDIR)lib; \
install -m 644 $(LIBM_SHARED_FULLNAME) $(TOPDIR)lib; \