From ae34c667030c0bca9e82b601dd65018f5c489c3b Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Thu, 24 Oct 1996 19:23:47 +0000 Subject: Wed Oct 23 01:36:35 1996 Thomas Bushnell, n/BSG * Makeconf ($(target)): Repair rule for building of .prof_d files. ($(target), $(target).prof): Refer to generated variables (-CFLAGS, -LFLAGS, -LDLIBS) by the base name ($*) not $@. (_libext): Likewise. Mon Oct 21 22:22:49 1996 Thomas Bushnell, n/BSG * Makeconf (cleantarg) [makemode == library]: Add $(libname)_p.a. (targets) [makemode == library]: Include $(libname)_p.a in default value. ($(libdir)/$(libname)_p.a) [makemode == library]: New rule. ($(libname)_p.a) [makemode == library]: New rule. (%_p.o): Two new rules (depend on %.c or %.S). (make_deps): Make dependency now specify $*_p.o too. ($(addsuffix .prof,$(target))): New rule to link profiled objects. ($(target)): Surround usual build rule with if prof-depend == nil. ($(addsuffix .prof_d, $(target))): Include this if not a library. Also a new rule to build them. ($(target)) [prof-depend == t]: Kludge to write out its dependencies. Tue Oct 15 12:29:26 1996 Thomas Bushnell, n/BSG * Makeconf (relink): Remove $(linktarg) always. (linktarg) [makemode == library]: Set variable. (linktarg): And also a default. * Makefile (%-relink): Set no_deps=t here. (relink): Do $(lib-subdirs) too. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index fd145b1c..212e63d8 100644 --- a/Makefile +++ b/Makefile @@ -80,7 +80,7 @@ dist: $(srcdir)/hurd-snap $(addsuffix -lndist,$(filter-out $(subdirs-nodist), $( clean: $(addsuffix -clean,$(lib-subdirs)) $(addsuffix -clean,$(working-prog-subdirs)) clean-misc -relink: $(addsuffix -relink,$(prog-subdirs)) +relink: $(addsuffix -relink,$(lib-subdirs) $(prog-subdirs)) install: $(addsuffix -install,$(lib-subdirs) $(working-prog-subdirs) \ $(other-subdirs)) @@ -104,7 +104,7 @@ FORCE: $(MAKE) -C $* clean no_deps=t %-relink: - $(MAKE) -C $* relink + $(MAKE) -C $* relink no_deps=t %-install: $(MAKE) -C $* install -- cgit v1.2.3