]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
* sunrpc/Makefile (librpcsvc-no-lib-dep): New variable.
authorRoland McGrath <roland@gnu.org>
Tue, 24 Oct 1995 21:45:10 +0000 (21:45 +0000)
committerRoland McGrath <roland@gnu.org>
Tue, 24 Oct 1995 21:45:10 +0000 (21:45 +0000)
* extra-lib.mk: If $(lib)-no-lib-dep is defined and MAKELEVEL>0,
make `others' rather than `lib-noranlib' depend on the libraries.

ChangeLog
extra-lib.mk
sunrpc/Makefile

index 0fdd815b57852da0ebf39c14da819b55d27c94c4..8780e6f9f779a578ddab3e3b4fa71e1ce710283c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 Tue Oct 24 15:22:58 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
 
+       * sunrpc/Makefile (librpcsvc-no-lib-dep): New variable.
+       * extra-lib.mk: If $(lib)-no-lib-dep is defined and MAKELEVEL>0,
+       make `others' rather than `lib-noranlib' depend on the libraries.
+
        * sysdeps/unix/configure.in: Check for fchdir syscall.
        Improve sed script to allow / on rhs without / on lhs.
 
index c62450a06f6217349fa8d5f5773e588cce826998..44db007421855a8b38e5722663283a61aed316d8 100644 (file)
@@ -11,7 +11,7 @@ extra-libs-left := $(filter-out $(lib),$(extra-libs-left))
 object-suffixes-$(lib) := $(filter-out $($(lib)-inhibit-o),$(object-suffixes))
 
 # Make sure these are simply-expanded variables before we append to them,
-# since we want the expressions we we append to be expanded right now.
+# since we want the expressions we append to be expanded right now.
 install-lib := $(install-lib)
 extra-objs := $(extra-objs)
 
@@ -25,7 +25,13 @@ ifneq (,$(filter .so,$(object-suffixes-$(lib))))
 alltypes-$(lib) += $(objpfx)$(lib).so
 endif
 
+ifneq (0,$(MAKELEVEL))
+ifndef $(lib)-no-lib-dep
 lib-noranlib: $(alltypes-$(lib))
+else
+others: $(alltypes-$(lib))
+endif
+endif
 
 # Use o-iterator.mk to generate a rule for each flavor of library.
 define o-iterator-doit
index 40026fecd4178093ddd5cf2bbbc7e25fb5f538e3..073c19e10abe371a05318d1c76e01e9f4b7e3016 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 1994 Free Software Foundation, Inc.
+# Copyright (C) 1994, 1995 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
 # The GNU C Library is free software; you can redistribute it and/or
@@ -77,7 +77,7 @@ extra-libs := librpcsvc
 librpcsvc-routines = $(rpcsvc:%.x=x%)
 librpcsvc-inhibit-o = .so # Build no shared rpcsvc library.
 omit-deps = $(librpcsvc-routines)
-
+librpcsvc-no-lib-dep = t # Don't depend on this in `make lib' pass.
 
 # Sun's code is not too clean.
 override +gccwarn := -w