diff options
author | Roland McGrath <roland@gnu.org> | 1995-09-21 23:14:07 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1995-09-21 23:14:07 +0000 |
commit | 43476ce23620d10db1c248a277871ce764a2877c (patch) | |
tree | 492fc076e0c7dcdf6d43afeba54d27b14f1158dd /Makefile | |
parent | 8c94a8712e71016b6bd6b535f34a4cc25646c516 (diff) |
(hurd.boot): New target.
(all): Depend on hurd.boot
(DIST_FILES): Add build.mk.in and hurd.boot.in.
(clean-misc, distclean): New targets.
(clean): Depend on clean-misc.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 22 |
1 files changed, 19 insertions, 3 deletions
@@ -34,9 +34,11 @@ working-prog-subdirs := $(filter-out \ $(dir $(wildcard $(prog-subdirs:=/BROKEN)))),\ $(prog-subdirs)) DIST_FILES = COPYING Makeconf config.make.in configure.in configure \ - README NEWS tasks INSTALL README-binary hurd.boot + hurd.boot.in build.mk.in \ + README NEWS tasks INSTALL README-binary -all: $(addsuffix -all,$(lib-subdirs) $(working-prog-subdirs)) +all: hurd.boot \ + $(addsuffix -all,$(lib-subdirs) $(working-prog-subdirs)) %-all: $(MAKE) -C $* all @@ -65,7 +67,7 @@ dist: hurd-snap $(addsuffix -lndist,$(filter-out $(subdirs-nodist), $(subdirs))) tar cfz hurd-snap-$(date).tar.gz hurd-snap-$(date) rm -rf hurd-snap-$(date) -clean: $(addsuffix -clean,$(lib-subdirs)) $(addsuffix -clean,$(working-prog-subdirs)) +clean: $(addsuffix -clean,$(lib-subdirs)) $(addsuffix -clean,$(working-prog-subdirs)) clean-misc relink: $(addsuffix -relink,$(prog-subdirs)) @@ -77,3 +79,17 @@ lndist-cthreads-h: ln -s libthreads/cthreads.h $(srcdir)/hurd-snap/cthreads.h TAGS: $(addsuffix -TAGS,$(prog-subdirs) $(lib-subdirs)) + +hurd.boot: ${srcdir}/hurd.boot.in config.make + sed 's%@exec_prefix@%${exec_prefix}%g' $< > $@.new + mv -f $@.new $@ + +.PHONY: clean-misc distclean +clean-misc: + rm -f hurd.boot + +distclean: clean + rm -f config.make config.log config.status +ifneq (.,${srcdir}) + rm -f Makefile +endif |