diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-01-26 15:26:41 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-01-26 15:26:41 +0000 |
commit | edd7911723be7f3d41566639c543af4c9a8b3201 (patch) | |
tree | 47ca5a177792e159061d54d26ac69ec824d15339 /tools/Makefile | |
parent | 64ab2aa0f8d5caecd0053e314ff66cdec8373934 (diff) | |
download | xen-edd7911723be7f3d41566639c543af4c9a8b3201.tar.gz xen-edd7911723be7f3d41566639c543af4c9a8b3201.tar.bz2 xen-edd7911723be7f3d41566639c543af4c9a8b3201.zip |
Call makefile recursively for subdirs.
This makes it possible to handle subdirs differently.
Signed-off-by: Bastian Blank <waldi@debian.org>
Diffstat (limited to 'tools/Makefile')
-rw-r--r-- | tools/Makefile | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/tools/Makefile b/tools/Makefile index 1f883ef2fd..d5f49f4da5 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -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,13 +54,22 @@ 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: $(MAKE) -C check |