From 9d141cae00c957096045d08fe504b4a2be66ab75 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 13 Aug 1998 19:44:05 +0000 Subject: Update. 1998-08-13 19:41 Ulrich Drepper * 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 * 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 * 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 * elf/Makefile (distribute): Add sln.c 1998-07-21 07:10 H.J. Lu * 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. --- Makerules | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'Makerules') diff --git a/Makerules b/Makerules index e8930e3..d8fe977 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 $(> $(symbolic-link-list) endef endif endif ifndef make-shlib-link define make-shlib-link -$(make-link) +rm -f $@ +$(LN_S) $(