summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1996-10-24 19:23:47 +0000
committerThomas Bushnell <thomas@gnu.org>1996-10-24 19:23:47 +0000
commitae34c667030c0bca9e82b601dd65018f5c489c3b (patch)
tree951ac27e0099e5004932f183dc2743c7fd4085bc /Makefile
parent37c961ca47578631358b90b07d752f7862b3c8f1 (diff)
Wed Oct 23 01:36:35 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* 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 <thomas@gnu.ai.mit.edu> * 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 <thomas@gnu.ai.mit.edu> * 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.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
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