WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] Call makefile recursively for subdirs.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Call makefile recursively for subdirs.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 26 Jan 2008 07:30:08 -0800
Delivery-date: Sat, 26 Jan 2008 07:30:17 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1201361201 0
# Node ID 7f2b79c0598809e20fd1d577ab6eeae4531214c4
# Parent  1fe8c8a275c9023b4420244c610a22148a4fb5bc
Call makefile recursively for subdirs.
This makes it possible to handle subdirs differently.

Signed-off-by: Bastian Blank <waldi@xxxxxxxxxx>
---
 tools/Makefile |   15 ++++++++++++---
 1 files changed, 12 insertions(+), 3 deletions(-)

diff -r 1fe8c8a275c9 -r 7f2b79c05988 tools/Makefile
--- a/tools/Makefile    Sat Jan 26 15:26:15 2008 +0000
+++ b/tools/Makefile    Sat Jan 26 15:26:41 2008 +0000
@@ -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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] Call makefile recursively for subdirs., Xen patchbot-unstable <=