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.
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)
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
-# 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
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