ia64/xen-unstable

view tools/Makefile @ 6577:f0dc15fd3c1b

merge?
author shand@ubuntu.eng.hq.xensource.com
date Wed Aug 31 15:22:45 2005 -0800 (2005-08-31)
parents dd108e5ad24d 38312fe7ec38
children 06b1cbe76880
line source
1 XEN_ROOT = ../
2 include $(XEN_ROOT)/tools/Rules.mk
4 SUBDIRS :=
5 SUBDIRS += libxc
6 SUBDIRS += xenstore
7 SUBDIRS += misc
8 SUBDIRS += examples
9 SUBDIRS += xentrace
10 SUBDIRS += xcs
11 SUBDIRS += xcutils
12 SUBDIRS += firmware
13 SUBDIRS += security
14 SUBDIRS += console
15 SUBDIRS += vtpm_manager
16 SUBDIRS += vtpm
17 SUBDIRS += xenstat
19 .PHONY: all install clean check check_clean ioemu eioemuinstall ioemuclean
21 # These don't cross-compile
22 ifeq ($(XEN_COMPILE_ARCH),$(XEN_TARGET_ARCH))
23 SUBDIRS += python
24 #SUBDIRS += pygrub
25 endif
27 .PHONY: all install clean check check_clean ioemu eioemuinstall ioemuclean
29 all: check
30 @set -e; for subdir in $(SUBDIRS); do \
31 $(MAKE) -C $$subdir $@; \
32 done
33 $(MAKE) ioemu
35 install: check
36 @set -e; for subdir in $(SUBDIRS); do \
37 $(MAKE) -C $$subdir $@; \
38 done
39 $(MAKE) ioemuinstall
41 clean: check_clean
42 @set -e; for subdir in $(SUBDIRS); do \
43 $(MAKE) -C $$subdir $@; \
44 done
45 $(MAKE) ioemuclean
47 check:
48 $(MAKE) -C check
50 check_clean:
51 $(MAKE) -C check clean
53 ifndef XEN_NO_IOEMU
54 ioemu ioemuinstall ioemuclean:
55 [ -f ioemu/config-host.h ] || \
56 (cd ioemu; ./configure --prefix=usr)
57 $(MAKE) -C ioemu $(patsubst ioemu%,%,$@)
58 else
59 ioemu ioemuinstall ioemuclean:
60 endif