All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tools top level makefile cleanup
@ 2005-03-22 21:10 Jerone Young
  2005-03-22 21:33 ` Adam Heath
  2005-03-23 21:11 ` Christian Limpach
  0 siblings, 2 replies; 19+ messages in thread
From: Jerone Young @ 2005-03-22 21:10 UTC (permalink / raw)
  To: xen-devel

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

^ permalink raw reply	[flat|nested] 19+ messages in thread
* RE: [PATCH] tools top level makefile cleanup
@ 2005-03-22 22:18 Nakajima, Jun
  2005-03-22 22:14 ` Jerone Young
  0 siblings, 1 reply; 19+ messages in thread
From: Nakajima, Jun @ 2005-03-22 22:18 UTC (permalink / raw)
  To: Jerone Young, xen-devel

Jerone Young wrote:
> 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>
> 
We need to build eiomu for x86_64 as well. 

Jun


-------------------------------------------------------
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_idh82&alloc_id\x15148&op=click

^ permalink raw reply	[flat|nested] 19+ messages in thread
* RE: [PATCH] tools top level makefile cleanup
@ 2005-03-22 22:25 Nakajima, Jun
  0 siblings, 0 replies; 19+ messages in thread
From: Nakajima, Jun @ 2005-03-22 22:25 UTC (permalink / raw)
  To: Jerone Young; +Cc: xen-devel

Jerone Young wrote:
> Oh .. I though this was only required for vmx support. Well time to
> fix ioemmu too :-).
> 
VMX is available on 64-bit systems.

Jun

> On Tue, 2005-03-22 at 14:18 -0800, Nakajima, Jun wrote:
>> Jerone Young wrote:
>>> 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>
>>> 
>> We need to build eiomu for x86_64 as well.
>> 
>> Jun



-------------------------------------------------------
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_idh82&alloc_id\x15148&op=click

^ permalink raw reply	[flat|nested] 19+ messages in thread
[parent not found: <mailman.1111526259.18440@unix-os.sc.intel.com>]
[parent not found: <488257396@toto.iv>]

end of thread, other threads:[~2005-03-24 20:13 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-22 21:10 [PATCH] tools top level makefile cleanup Jerone Young
2005-03-22 21:33 ` 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

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.