diff options
author | Ulrich Drepper <drepper@redhat.com> | 1997-01-22 05:26:05 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1997-01-22 05:26:05 +0000 |
commit | 1ef32c3dc40295020b91220399d24435f6a78e48 (patch) | |
tree | ef31e1d6356e50956094905035fab7f9d63016f8 /Makerules | |
parent | update from main archive 970120 (diff) | |
download | glibc-1ef32c3dc40295020b91220399d24435f6a78e48.tar.gz glibc-1ef32c3dc40295020b91220399d24435f6a78e48.tar.bz2 glibc-1ef32c3dc40295020b91220399d24435f6a78e48.zip |
update from main archive 970121cvs/libc-970122
1997-01-21 Paul Eggert <eggert@twinsun.com>
* posix/getopt.c (_getopt_internal): Return -1, not EOF, when args
are exhausted; this is required by POSIX.2.
* catgets/gencat.c, db/makedb.c, locale/programs/locale.c,
locale/programs/localedef.c, manual/examples/subopt.c,
posix/getopt.c, posix/getopt1.c, stdio-common/bug4.c,
sunrpc/rpcinfo.c (main): Check getopt return value against -1, not EOF.
Tue Jan 21 23:10:40 1997 Ulrich Drepper <drepper@cygnus.com>
* version.h (VERSION): Bump to 1.102.
* sysdeps/unix/sysv/linux/alpha/Dist: Add kernel_sigaction.h.
* elf/Makefile: Don't use CFLAGS-dl-load.c, but instead
CPPFLAGS-dl-load.c so that dependencies can be determined correctly.
* elf/dl-load.c: Fix comment.
* time/Banner: New file.
* time/Makefile (distribute): Add Banner.
Update from ADO tzcode1997a and tzdata1997a.
* time/antarctica: Update.
* time/australia: Update.
* time/zdump.c: Update.
* time/zic.c: Update.
* time/zone.tab: Update.
Mon Jan 20 08:38:32 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
* config.make.in (has-ldconfig): New variable.
* configure, configure.in (has_ldconfig): New substitute.
* sysdeps/unix/sysv/linux/configure.in (has_ldconfig): New,
check if $srcdir/elf/ldconfig.c exists.
* Makeconfig (rootsbindir): New, default as
$(exec_prefix)/sbin.
(rtld-version-installed-name): New, default as
ld-$(version).so.
* Makefile (install): Call `$(common-objpfx)elf/ldconfig -d'
only if $(cross-compiling) is no and $(build-shared) is yes.
* Makerules (make-shlib-link): New macro.
($(slibdir)/libfoo.so.$(libfoo.so-version)): Use
$(make-shlib-link) for symlink.
(install-rootsbin, install-rootsbin-nosubdir): New.
(install-no-libc.a-nosubdir): Add
install-rootsbin-nosubdir.
* Rules (others): Add $(install-rootsbin).
* config.make.in (rootsbindir): New.
* configure, configure.in (libc_cv_rootsbindir): New
substitute.
* elf/Makefile (others, install-rootsbin): New, set to
ldconfig.
(+link): New for static linking.
($(slibdir)/$(rtld-version-installed-name)): New.
($(slibdir)/$(rtld-installed-name)): Depend on
$(slibdir)/$(rtld-version-installed-name) and use
$(make-shlib-link) for symlink.
* sunrpc/xdr.c (xdr_string): Return FALSE if sp == NULL
while XDR_ENCODE.
* sysdeps/unix/sysv/linux/a.out.h: Use #include_next for
glibc internals.
* sysdeps/unix/sysv/linux/configure.in (libc_cv_rootsbindir):
New, set to "/sbin" if "$prefix" == "/usr".
Tue Jan 21 13:38:39 1997 Ulrich Drepper <drepper@cygnus.com>
* Makefile (distribute): Add glibcbug.in.
Reported by Philip Blundell <pjb27@cam.ac.uk>.
* elf/Makefile ($(objpfx)trusted-dirs.h): Create elf/ subdir in
build directory if necessary.
Reported by marcus@shannon.sysc.pdx.edu (Marcus G. Daniels).
Diffstat (limited to 'Makerules')
-rw-r--r-- | Makerules | 33 |
1 files changed, 27 insertions, 6 deletions
@@ -616,13 +616,27 @@ 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)) +define make-shlib-link +@: +endef +endif +endif +ifndef make-shlib-link +define make-shlib-link +$(make-link) +endef +endif + ifdef libc.so-version # For a library specified to be version N, install three files: # libc.so -> libc.so.N (e.g. libc.so.6) # libc.so.6 -> libc-VERSION.so (e.g. libc-1.10.so) $(slibdir)/libc.so$(libc.so-version): $(slibdir)/libc-$(version).so - $(make-link) + $(make-shlib-link) $(slibdir)/libc-$(version).so: $(common-objpfx)libc.so; $(do-install-program) install: $(slibdir)/libc.so$(libc.so-version) @@ -672,7 +686,8 @@ include $(o-iterator) ifeq (,$($(subdir)-version)) define o-iterator-doit -$(slibdir)/$o$($o-version): $(slibdir)/$(o:.so=)-$(version).so; $$(make-link) +$(slibdir)/$o$($o-version): $(slibdir)/$(o:.so=)-$(version).so; + $$(make-shlib-link) endef object-suffixes-left := $(versioned) include $(o-iterator) @@ -685,7 +700,7 @@ include $(o-iterator) else define o-iterator-doit $(slibdir)/$o$($o-version): $(slibdir)/$(o:.so=)-$($(subdir)-version).so; - $$(make-link) + $$(make-shlib-link) endef object-suffixes-left := $(versioned) include $(o-iterator) @@ -718,6 +733,10 @@ ifdef install-bin $(addprefix $(bindir)/,$(install-bin)): $(bindir)/%: $(objpfx)% $(do-install-program) endif +ifdef install-rootsbin +$(addprefix $(rootsbindir)/,$(install-rootsbin)): $(rootsbindir)/%: $(objpfx)% + $(do-install-program) +endif ifdef install-sbin $(addprefix $(sbindir)/,$(install-sbin)): $(sbindir)/%: $(objpfx)% $(do-install-program) @@ -746,9 +765,10 @@ $(addprefix $(includedir)/,$(headers)): \ $(includedir)/%: %;$(do-install) endif # headers -.PHONY: install-bin-nosubdir install-sbin-nosubdir install-lib-nosubdir \ - install-data-nosubdir install-headers-nosubdir +.PHONY: install-bin-nosubdir install-rootsbin-nosubdir install-sbin-nosubdir \ + install-lib-nosubdir install-data-nosubdir install-headers-nosubdir install-bin-nosubdir: $(addprefix $(bindir)/,$(install-bin)) +install-rootsbin-nosubdir: $(addprefix $(rootsbindir)/,$(install-rootsbin)) install-sbin-nosubdir: $(addprefix $(sbindir)/,$(install-sbin)) install-lib-nosubdir: $(addprefix $(libdir)/,\ $(patsubst lib%.a,lib$(libprefix)%.a,$(install-lib.a)) \ @@ -766,7 +786,8 @@ install-%:: install-%-nosubdir ; .PHONY: install install-no-libc.a-nosubdir install-no-libc.a-nosubdir: install-headers-nosubdir install-data-nosubdir\ install-bin-nosubdir install-lib-nosubdir \ - install-others-nosubdir install-sbin-nosubdir + install-others-nosubdir install-rootsbin-nosubdir \ + install-sbin-nosubdir install: install-no-libc.a-nosubdir # Command to compile $< in $(objdir) using the native libraries. |