[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 2/4] tools - Call makefile recursive
# HG changeset patch # User Bastian Blank <waldi@xxxxxxxxxx> # Date 1201359991 -3600 # Node ID a2098ff1ee2eeb65e726057a8351ff4048eaad2c # Parent bc5c341a07c097eba1695d64ff3fa80caa1a9e80 Call makefile recursive for subdirs. This makes it possible to handle subdirs different. Signed-off-by: Bastian Blank <waldi@xxxxxxxxxx> diff -r bc5c341a07c0 -r a2098ff1ee2e tools/Makefile --- a/tools/Makefile Sat Jan 26 16:06:31 2008 +0100 +++ b/tools/Makefile Sat Jan 26 16:06:31 2008 +0100 @@ -37,14 +37,14 @@ endif .PHONY: all all: check @set -e; for subdir in $(SUBDIRS-y); do \ - $(MAKE) -C $$subdir $@; \ + $(MAKE) subdir-$@-$$subdir; \ done $(MAKE) ioemu .PHONY: install install: check @set -e; for subdir in $(SUBDIRS-y); do \ - $(MAKE) -C $$subdir $@; \ + $(MAKE) subdir-$@-$$subdir; \ done $(MAKE) ioemuinstall $(INSTALL_DIR) $(DESTDIR)/var/xen/dump @@ -54,12 +54,21 @@ install: check .PHONY: clean clean: check_clean @set -e; for subdir in $(SUBDIRS-y); do \ - $(MAKE) -C $$subdir $@; \ + $(MAKE) subdir-$@-$$subdir; \ done $(MAKE) ioemuclean .PHONY: distclean distclean: clean + +subdir-all-%: + $(MAKE) -C $* all + +subdir-clean-%: + $(MAKE) -C $* clean + +subdir-install-%: + $(MAKE) -C $* install .PHONY: check check: _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |