diff options
author | Roland McGrath <roland@gnu.org> | 1995-03-21 04:19:38 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1995-03-21 04:19:38 +0000 |
commit | 4788ab4637d4385a7faaf4a1a819f8191bd84127 (patch) | |
tree | 0ec1cb9711ea5389c0fa53ad6c918d0ce5634b34 /Makerules | |
parent | 1e9dc0393c67ff7eb2d7691931303e58dc112f5a (diff) |
* Makerules (lib): Depend on lib-noranlib.
(lib-noranlib): Depend on $(install-lib) in objdir.
(common-mostlyclean): Remove $(install-lib) and stub-$(subdir)
from objdir. Don't remove TAGS; it comes in the distribution.
* malloc/malloc.c (morecore): Save errno around call to
_realloc_internal. Don't account for the additional new blocks of
the info table itself when choosing the new table size for the
first crack; if it succeeds, the new blocks will have been found
in existing free space already described by the existing info
table.
Changes from Germano Caronni <caronni@tik.ethz.ch>:
Changes from Germano Caronni <caronni@tik.ethz.ch>:
Diffstat (limited to 'Makerules')
-rw-r--r-- | Makerules | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -331,7 +331,7 @@ ARFLAGS := r$(verbose) # This makes all the object files in the parent library archive. .PHONY: lib libobjs lib-noranlib -lib: $(foreach l,$(libtypes),$(patsubst %,$(common-objpfx)$l,c)) +lib: lib-noranlib $(foreach l,$(libtypes),$(patsubst %,$(common-objpfx)$l,c)) # Pattern rule for libraries: depend on the __.SYMDEF member updated by ranlib. lib%.a: lib%.a(__.SYMDEF) ; @@ -347,7 +347,7 @@ endif libobjs: $(foreach o,$(object-suffixes),\ $(common-objpfx)$(patsubst %,$(libtype$o),c)(\ $(notdir $(objects:.o=$o)))) -lib-noranlib: libobjs +lib-noranlib: libobjs $(addprefix $(objpfx),$(install-lib)) ifdef objects @@ -561,8 +561,8 @@ common-mostlyclean: -rm -f $(addprefix $(objpfx),$(tests) $(others) \ $(addsuffix .o,$(tests) $(others)) \ $(addsuffix .out,$(tests))) - -rm -f $(addprefix $(objpfx),$(extra-objs)) - -rm -f core TAGS + -rm -f $(addprefix $(objpfx),$(extra-objs) $(install-lib)) + -rm -f core $(objpfx)stub-$(subdir) $(rmobjs) define rmobjs $(foreach o,$(object-suffixes), |