diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-08-29 23:31:38 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-08-29 23:31:38 +0000 |
commit | 6c3ebebd1eddb7041248125fa5e228380400c436 (patch) | |
tree | 14a5a9363c4e2b3fa3b2998ce6cedaa36dae480f /Makerules | |
parent | 07627f49f9f262cd1337a53009b216b3b6fe64f6 (diff) | |
download | glibc-6c3ebebd1eddb7041248125fa5e228380400c436.zip glibc-6c3ebebd1eddb7041248125fa5e228380400c436.tar.gz glibc-6c3ebebd1eddb7041248125fa5e228380400c436.tar.bz2 |
Update.
2001-08-29 Ulrich Drepper <drepper@redhat.com>
* nis/nis_findserv.c (__nis_findfastest): Don't fail if reply received
first is from a previous call.
Patch by Alexander Belopolsky <alexb@rentec.com> for [PR libc/3670].
2001-08-29 Andreas Schwab <schwab@suse.de>
* sysdeps/ia64/fpu/libm-test-ulps: Updated.
2001-08-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
* config.make.in (INSTALL_SCRIPT): Define.
* Makeconfig (INSTALL_SCRIPT): Define.
* Makerules (do-install-script): New macro to install scripts using
INSTALL_SCRIPT.
(install-bin-script): New rule to install scripts with
do-install-script.
(install-bin-script-nosubdir): New rule.
(install-no-libc.a-nosubdir): Add install-bin-script-nosubdir.
(distinfo-vars): Add $(install-bin-script).
* Rules (others): Likewise.
* Makefile (glibcbug): Install with install-bin-script.
* debug/Makefile (xtrace): Likewise.
(catchsegv): Likewise.
* elf/Makefile (ldd): Likewise.
* malloc/Makefile (mtrace): Likewise.
* timezone/Makefile (tzselect): Likewise.
2001-08-29 H.J. Lu <hjl@gnu.org>
* sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Pass
ELF_RTYPE_CLASS_PLT, instead of R_MIPS_REL32, to
_dl_lookup_versioned_symbol () and _dl_lookup_symbol ().
Add it to LDFLAGS.so, LDFLAGS-rtld, and +link.
Diffstat (limited to 'Makerules')
-rw-r--r-- | Makerules | 33 |
1 files changed, 23 insertions, 10 deletions
@@ -720,10 +720,10 @@ force-install: # files in $(install-lib) matching `lib%.a' are ranlib'd after installation # unless they also appear in $(non-lib.a). $(install-data) are installed # as they are into $(datadir). $(headers) are installed as they are in -# $(includedir). $(install-bin) and $(install-sbin) are installed from the -# object directory into $(bindir) and $(sbindir), respectively. -# $(install-others) are absolute path names of files to install; rules to -# install them are defined elsewhere. +# $(includedir). $(install-bin), $(install-bin-script) and $(install-sbin) +# are installed from the object directory into $(bindir), $(bindir) and +# $(sbindir), respectively. $(install-others) are absolute path names of +# files to install; rules to install them are defined elsewhere. # The simple library name to install libc.a under. # This could be defined by a sysdep Makefile. @@ -762,6 +762,12 @@ $(INSTALL_PROGRAM) $< $@.new mv -f $@.new $@ endef +define do-install-script +$(make-target-directory) +$(INSTALL_SCRIPT) $< $@.new +mv -f $@.new $@ +endef + install-lib.so := $(filter %.so,$(install-lib:%_pic.a=%.so)) install-lib := $(filter-out %.so %_pic.a,$(install-lib)) @@ -929,6 +935,11 @@ $(addprefix $(inst_bindir)/,$(install-bin)): \ $(inst_bindir)/%: $(objpfx)% $(+force) $(do-install-program) endif +ifdef install-bin-script +$(addprefix $(inst_bindir)/,$(install-bin-script)): \ + $(inst_bindir)/%: $(objpfx)% $(+force) + $(do-install-script) +endif ifdef install-rootsbin $(addprefix $(inst_rootsbindir)/,$(install-rootsbin)): \ $(inst_rootsbindir)/%: $(objpfx)% $(+force) @@ -964,9 +975,11 @@ $(addprefix $(inst_includedir)/,$(headers)): $(inst_includedir)/%: % $(+force) $(do-install) endif # headers -.PHONY: install-bin-nosubdir install-rootsbin-nosubdir install-sbin-nosubdir \ - install-lib-nosubdir install-data-nosubdir install-headers-nosubdir +.PHONY: install-bin-nosubdir install-bin-script-nosubdir \ + install-rootsbin-nosubdir install-sbin-nosubdir install-lib-nosubdir \ + install-data-nosubdir install-headers-nosubdir install-bin-nosubdir: $(addprefix $(inst_bindir)/,$(install-bin)) +install-bin-script-nosubdir: $(addprefix $(inst_bindir)/,$(install-bin-script)) install-rootsbin-nosubdir: \ $(addprefix $(inst_rootsbindir)/,$(install-rootsbin)) install-sbin-nosubdir: $(addprefix $(inst_sbindir)/,$(install-sbin)) @@ -986,9 +999,9 @@ install-%:: install-%-nosubdir ; .PHONY: install install-no-libc.a-nosubdir ifeq ($(build-programs),yes) install-no-libc.a-nosubdir: install-headers-nosubdir install-data-nosubdir\ - install-bin-nosubdir install-lib-nosubdir \ - install-others-nosubdir install-rootsbin-nosubdir \ - install-sbin-nosubdir + install-bin-nosubdir install-bin-script-nosubdir \ + install-lib-nosubdir install-others-nosubdir \ + install-rootsbin-nosubdir install-sbin-nosubdir else install-no-libc.a-nosubdir: install-headers-nosubdir install-data-nosubdir\ install-lib-nosubdir install-others-nosubdir @@ -1120,7 +1133,7 @@ $(foreach var,subdir-dirs sources elided-routines sysdep_routines \ headers sysdep_headers distribute dont_distribute generated \ others tests test-srcs extra-libs $(extra-libs:%=%-routines) \ versioned \ - $(addprefix install-,lib lib.so data bin sbin others), + $(addprefix install-,lib lib.so data bin bin-script sbin others), echo >> $@.new '$(subdir)-$(var) := $($(var))' echo >> $@.new '$(var) = $$($(subdir)-$(var))') endef |