summaryrefslogtreecommitdiff
path: root/Makerules
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-07-26 06:00:04 +0000
committerRoland McGrath <roland@gnu.org>1995-07-26 06:00:04 +0000
commit9f2233e81a0eb06e7278584654cfbdd313d8c228 (patch)
treecf067fcfaa591439159ccfb5f940ac7472b89359 /Makerules
parent9e63357e180e9f5d85740a7af2ddb97028e344e5 (diff)
downloadglibc-9f2233e81a0eb06e7278584654cfbdd313d8c228.tar.gz
($(installed-libcs)): Depend on `lib' (only).
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules10
1 files changed, 3 insertions, 7 deletions
diff --git a/Makerules b/Makerules
index b39cea2bea..e8904b8570 100644
--- a/Makerules
+++ b/Makerules
@@ -458,15 +458,11 @@ installed-libcs := $(foreach o,$(object-suffixes),\
$(libdir)/$(patsubst %,$(libtype$o),\
$(libprefix)$(libc-name)))
install: $(installed-libcs)
-# We avoid depending on lib-noranlib because that makes the parent make
-# subdir_lib in all the subdirs, when the make install run they do will
-# update the library anyway. Running ranlib after installing makes the
-# __.SYMDEF time stamp up to date, which avoids messages from some linkers.
-# Depending on subdir_install gets all the subdirs to update the library,
-# and is optimal for `make install' at top level.
-$(installed-libcs): $(libdir)/lib$(libprefix)%: libobjs subdir_install
+$(installed-libcs): $(libdir)/lib$(libprefix)%: lib
$(make-target-directory)
$(INSTALL_DATA) $(common-objpfx)lib$(*:$(libc-name)%=c%) $@
+# Running ranlib after installing makes the __.SYMDEF time stamp up to
+# date, which avoids messages from some linkers.
$(RANLIB) $@
endif