diff options
author | Andrew Senkevich <andrew.senkevich@intel.com> | 2015-04-28 13:48:23 +0300 |
---|---|---|
committer | Andrew Senkevich <andrew.n.senkevich@gmail.com> | 2015-04-28 13:48:23 +0300 |
commit | ec3a4b85a8568795e30307e1c2f892cdb5ffafe6 (patch) | |
tree | 915fbb831dc54785db663ede155d43ee7438d9a6 /mathvec | |
parent | a50ac6ec0a8e23e1b062e92545606951747c8b8c (diff) | |
download | glibc-andros/libmvec.zip glibc-andros/libmvec.tar.gz glibc-andros/libmvec.tar.bz2 |
This is infrastructure update for configure, build and install of vectorandros/libmvec
math library. Installation of libm.so as linker script only in case of
libmvec.so build.
2015-04-28 Andrew Senkevich <andrew.n.senkevich@gmail.com>
* Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
(libmvec): New variable.
* configure.ac: Added option for mathvec build.
* configure: Regenerated.
* mathvec/Depend: New file.
* mathvec/Makefile: New file.
* shlib-versions: Added libmvec.
* math/Makefile: Added rule for libm.so installation.
Diffstat (limited to 'mathvec')
-rw-r--r-- | mathvec/Depend | 1 | ||||
-rw-r--r-- | mathvec/Makefile | 35 |
2 files changed, 36 insertions, 0 deletions
diff --git a/mathvec/Depend b/mathvec/Depend new file mode 100644 index 0000000..ede10ab --- /dev/null +++ b/mathvec/Depend @@ -0,0 +1 @@ +math diff --git a/mathvec/Makefile b/mathvec/Makefile new file mode 100644 index 0000000..269a086e --- /dev/null +++ b/mathvec/Makefile @@ -0,0 +1,35 @@ +# Copyright (C) 2015 Free Software Foundation, Inc. +# This file is part of the GNU C Library. + +# The GNU C Library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. + +# The GNU C Library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. + +# You should have received a copy of the GNU Lesser General Public +# License along with the GNU C Library; if not, see +# <http://www.gnu.org/licenses/>. + +# Makefile for the vector math library. + +subdir := mathvec + +include ../Makeconfig + +ifeq ($(build-mathvec),yes) +extra-libs := libmvec +extra-libs-others = $(extra-libs) + +libmvec-routines = $(strip $(libmvec-support)) + +$(objpfx)libmvec.so: $(libm) +endif + +# Rules for the test suite are in math directory. + +include ../Rules |