|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] tools top level makefile cleanup
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@xxxxxxxxxx>
--- 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@xxxxxxxxxx
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
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel
|
|
|
|
|