aboutsummaryrefslogtreecommitdiff
path: root/Makeconfig
diff options
context:
space:
mode:
authorAndrew Senkevich <andrew.senkevich@intel.com>2015-04-28 13:48:23 +0300
committerAndrew Senkevich <andrew.n.senkevich@gmail.com>2015-04-28 13:48:23 +0300
commitec3a4b85a8568795e30307e1c2f892cdb5ffafe6 (patch)
tree915fbb831dc54785db663ede155d43ee7438d9a6 /Makeconfig
parenta50ac6ec0a8e23e1b062e92545606951747c8b8c (diff)
downloadglibc-andros/libmvec.tar.xz
glibc-andros/libmvec.zip
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 'Makeconfig')
-rw-r--r--Makeconfig6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makeconfig b/Makeconfig
index 77752c0bb4..d32a0fdc65 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -498,7 +498,7 @@ link-libc = $(link-libc-rpath-link) $(link-libc-before-gnulib) $(gnulib)
link-libc-tests = $(link-libc-tests-rpath-link) \
$(link-libc-before-gnulib) $(gnulib-tests)
# This is how to find at build-time things that will be installed there.
-rpath-dirs = math elf dlfcn nss nis rt resolv crypt
+rpath-dirs = math elf dlfcn nss nis rt resolv crypt mathvec
rpath-link = \
$(common-objdir):$(subst $(empty) ,:,$(patsubst ../$(subdir),.,$(rpath-dirs:%=$(common-objpfx)%)))
else
@@ -1074,8 +1074,10 @@ endif
ifeq ($(build-shared),yes)
libm = $(common-objpfx)math/libm.so$(libm.so-version)
+libmvec = $(common-objpfx)mathvec/libmvec.so$(libmvec.so-version)
else
libm = $(common-objpfx)math/libm.a
+libmvec = $(common-objpfx)mathvec/libmvec.a
endif
# These are the subdirectories containing the library source. The order
@@ -1085,7 +1087,7 @@ all-subdirs = csu assert ctype locale intl catgets math setjmp signal \
stdlib stdio-common libio malloc string wcsmbs time dirent \
grp pwd posix io termios resource misc socket sysvipc gmon \
gnulib iconv iconvdata wctype manual shadow gshadow po argp \
- crypt localedata timezone rt conform debug \
+ crypt localedata timezone rt conform debug mathvec \
$(add-on-subdirs) dlfcn elf
ifndef avoid-generated