diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-08-13 19:44:05 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-08-13 19:44:05 +0000 |
commit | 9d141cae00c957096045d08fe504b4a2be66ab75 (patch) | |
tree | 479eb1c5e008066fb02734e7b763f255a8407768 /Makerules | |
parent | 1f539fd1dc223141f6c3bce738b4654d6220fcef (diff) | |
download | glibc-9d141cae00c957096045d08fe504b4a2be66ab75.tar.gz glibc-9d141cae00c957096045d08fe504b4a2be66ab75.tar.xz glibc-9d141cae00c957096045d08fe504b4a2be66ab75.zip |
Update.
1998-08-13 19:41 Ulrich Drepper <drepper@cygnus.com> * posix/getconf.c: Add support for systems with incomplete confname.h. * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined. * sysdeps/posix/wait3.c: Make it work. 1998-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de> * Makefile ($(inst_slibdir)/libc-$(version).so): Remove. (elf/ldso_install): Remove. * elf/Makefile (distribute): Add sln.c. (others): Add sln. (others-static): Add sln. (install-rootsbin): Add sln. (others-static): Add sln. (ldso_install): Remove. 1998-07-24 10:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * Makerules (install-clean-symbolic-link-list): Make phony. * Makefile (install-symbolic-link): Make phony. Depend on subdir_install for parallel makes. 1998-07-22 Ulrich Drepper <drepper@cygnus.com> * elf/Makefile (distribute): Add sln.c 1998-07-21 07:10 H.J. Lu <hjl@gnu.org> * elf/sln.c: New file. * Makerules (symbolic-link-prog, symbolic-link-list): New macros. (install-clean-symbolic-link-list): New target. (install): Depend on install-clean-symbolic-link-list. (make-shlib-link): Changed for $(symbolic-link-list). * Makefile (install-symbolic-link): New target. (install): Depend on install-symbolic-link.
Diffstat (limited to 'Makerules')
-rw-r--r-- | Makerules | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/Makerules b/Makerules index e8930e32a5..d8fe9775f1 100644 --- a/Makerules +++ b/Makerules @@ -649,17 +649,25 @@ mv -f $@.new $@ endef endif -# XXX The following will have to be changed when `ldconfig' is available. -ifneq (yes,$(cross-compiling)) -ifeq (yes,$(has-ldconfig)) +ifeq (no,$(cross-compiling)) +ifeq (yes,$(build-shared)) +# We need to clean the symbolic link list first. +symbolic-link-prog := $(common-objpfx)elf/sln +symbolic-link-list := $(common-objpfx)elf/symlink.list +install: install-clean-symbolic-link-list +.PHONY: install-clean-symbolic-link-list +install-clean-symbolic-link-list: + rm -f $(symbolic-link-list) + define make-shlib-link -@: +echo $(<F) $@ >> $(symbolic-link-list) endef endif endif ifndef make-shlib-link define make-shlib-link -$(make-link) +rm -f $@ +$(LN_S) $(<F) $@ endef endif |