diff options
author | Roland McGrath <roland@gnu.org> | 1995-10-24 21:45:10 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1995-10-24 21:45:10 +0000 |
commit | e97ec51d01087c2f8468a1bf83cfdb26b7040c30 (patch) | |
tree | 3e7deb1a463613c2b6e0ddd32864e509fd46d1e0 /extra-lib.mk | |
parent | 21ee716616e7d55f19ce8643f12954145769d588 (diff) | |
download | glibc-e97ec51d01087c2f8468a1bf83cfdb26b7040c30.tar.gz glibc-e97ec51d01087c2f8468a1bf83cfdb26b7040c30.tar.xz glibc-e97ec51d01087c2f8468a1bf83cfdb26b7040c30.zip |
* 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.
Diffstat (limited to 'extra-lib.mk')
-rw-r--r-- | extra-lib.mk | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/extra-lib.mk b/extra-lib.mk index c62450a06f..44db007421 100644 --- a/extra-lib.mk +++ b/extra-lib.mk @@ -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 |