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] Tools makefile cleanup and fix for parallel build.

To: xen-changelog@xxxxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Tools makefile cleanup and fix for parallel build.
From: BitKeeper Bot <riel@xxxxxxxxxxx>
Date: Fri, 25 Mar 2005 23:36:25 +0000
Delivery-date: Sat, 26 Mar 2005 00:07:53 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-changelog>
List-help: <mailto:xen-changelog-request@lists.sourceforge.net?subject=help>
List-id: <xen-changelog.lists.sourceforge.net>
List-post: <mailto:xen-changelog@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.sourceforge.net?subject=unsubscribe>
Reply-to: Xen Development List <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-changelog-admin@xxxxxxxxxxxxxxxxxxxxx
ChangeSet 1.1159.256.70, 2005/03/25 23:36:25+00:00, kaf24@xxxxxxxxxxxxxxxxxxxx

        Tools makefile cleanup and fix for parallel build.
        Signed-off-by: Jerone Young <jyoung5@xxxxxxxxxx>
        Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>



 Makefile |   58 ++++++++++++++++++++++++++++++----------------------------
 1 files changed, 30 insertions(+), 28 deletions(-)


diff -Nru a/tools/Makefile b/tools/Makefile
--- a/tools/Makefile    2005-03-25 19:06:07 -05:00
+++ b/tools/Makefile    2005-03-25 19:06:07 -05:00
@@ -1,32 +1,34 @@
+XEN_ROOT = ../
+include $(XEN_ROOT)/tools/Rules.mk
 
-all:   
-       $(MAKE) -C check
-       $(MAKE) -C libxutil
-       $(MAKE) -C libxc
-       $(MAKE) -C misc
-       $(MAKE) -C examples
-       $(MAKE) -C xentrace
-       $(MAKE) -C python
-       $(MAKE) -C xfrd
+SUBDIRS :=
+SUBDIRS += libxutil
+SUBDIRS += libxc
+SUBDIRS += misc
+SUBDIRS += examples
+SUBDIRS += xentrace
+SUBDIRS += python
+SUBDIRS += xfrd
+
+.PHONY: all install clean check check_clean
+
+all: check
+       @set -e; for subdir in $(SUBDIRS); do \
+               $(MAKE) -C $$subdir $@; \
+       done
+
+install: check
+       @set -e; for subdir in $(SUBDIRS); do \
+               $(MAKE) -C $$subdir $@; \
+       done
+
+clean: check_clean
+       @set -e; for subdir in $(SUBDIRS); do \
+               $(MAKE) -C $$subdir $@; \
+       done
 
-install: 
+check:
        $(MAKE) -C check
-       $(MAKE) -C libxutil install
-       $(MAKE) -C libxc install
-       $(MAKE) -C misc install
-       $(MAKE) -C examples install
-       $(MAKE) -C xentrace install
-       $(MAKE) -C python install
-       $(MAKE) -C xfrd install
-       $(MAKE) -C sv install
-
-clean build:
-       $(MAKE) -C check $@
-       $(MAKE) -C libxutil $@
-       $(MAKE) -C libxc $@
-       $(MAKE) -C misc $@
-       $(MAKE) -C examples $@
-       $(MAKE) -C xentrace $@
-       $(MAKE) -C python $@
-       $(MAKE) -C xfrd $@
 
+check_clean:
+       $(MAKE) -C check clean


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>