From: Jerone Young <jyoung5@us.ibm.com>
To: xen-devel <xen-devel@lists.sourceforge.net>
Subject: [PATCH] tools top level makefile cleanup
Date: Tue, 22 Mar 2005 15:10:21 -0600 [thread overview]
Message-ID: <1111525821.3796.4.camel@thinkpad> (raw)
I cleaned up the top level makefile in the tools directory. No major
changes. Except I have it so that ioemmu is compiled only with x86_32.
Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
--- tools/Makefile.orig 2005-03-17 21:03:44.000000000 -0600
+++ tools/Makefile 2005-03-22 15:05:20.000000000 -0600
@@ -1,37 +1,33 @@
+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
- $(MAKE) -C xcs
- $(MAKE) -C ioemu
+SUBDIRS :=
+SUBDIRS += check
+SUBDIRS += libxutil
+SUBDIRS += libxc
+SUBDIRS += misc
+SUBDIRS += examples
+SUBDIRS += xentrace
+SUBDIRS += python
+SUBDIRS += xfrd
+SUBDIRS += xcs
+ifeq ($(XEN_TARGET_ARCH),x86_32)
+SUBDIRS += ioemu
+endif
-install:
- $(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
- $(MAKE) -C xcs install
- $(MAKE) -C ioemu install
+.PHONY: all clean 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 $@
- $(MAKE) -C xcs clean
- $(MAKE) -C ioemu clean
+all:
+ @for subdir in $(SUBDIRS); do \
+ $(MAKE) -C $$subdir $@ || exit -1; \
+ done
+
+clean:
+ @for subdir in $(SUBDIRS); do \
+ $(MAKE) -C $$subdir $@ || exit -1; \
+ done
+
+install:
+ @for subdir in $(SUBDIRS); do \
+ $(MAKE) -C $$subdir $@ || exit -1; \
+ done
--
Jerone Young
IBM Linux Technology Center
jyoung5@us.ibm.com
512-838-1157 (T/L: 678-1157)
-------------------------------------------------------
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
next reply other threads:[~2005-03-22 21:10 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-22 21:10 Jerone Young [this message]
2005-03-22 21:33 ` [PATCH] tools top level makefile cleanup Adam Heath
2005-03-22 21:46 ` Jerone Young
2005-03-23 18:01 ` Adam Heath
2005-03-23 20:15 ` Hollis Blanchard
2005-03-23 20:48 ` Anthony Liguori
2005-03-23 20:57 ` Hollis Blanchard
2005-03-24 20:13 ` Adam Heath
2005-03-24 20:08 ` Adam Heath
2005-03-24 20:07 ` Adam Heath
2005-03-23 21:11 ` Christian Limpach
2005-03-23 21:17 ` Hollis Blanchard
2005-03-23 22:35 ` Christian Limpach
2005-03-24 20:11 ` Adam Heath
-- strict thread matches above, loose matches on Subject: below --
2005-03-22 22:18 Nakajima, Jun
2005-03-22 22:14 ` Jerone Young
2005-03-22 22:25 Nakajima, Jun
[not found] <mailman.1111526259.18440@unix-os.sc.intel.com>
[not found] ` <4240A373.7080406@intel.com>
2005-03-23 20:41 ` Jerone Young
[not found] <488257396@toto.iv>
2005-03-24 14:56 ` Jimi Xenidis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1111525821.3796.4.camel@thinkpad \
--to=jyoung5@us.ibm.com \
--cc=xen-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.