ia64/xen-unstable

view tools/Makefile @ 6493:b043928b0873

merge?
author cl349@firebug.cl.cam.ac.uk
date Tue Aug 30 16:15:27 2005 +0000 (2005-08-30)
parents 9312a3e8a6f8 48e94e358663
children 287d36b46fa3 38312fe7ec38 0db6e392c380
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 += xenstat
17 # These don't cross-compile
18 ifeq ($(XEN_COMPILE_ARCH),$(XEN_TARGET_ARCH))
19 SUBDIRS += python
20 #SUBDIRS += pygrub
21 endif
23 .PHONY: all install clean check check_clean ioemu eioemuinstall ioemuclean
25 all: check
26 @set -e; for subdir in $(SUBDIRS); do \
27 $(MAKE) -C $$subdir $@; \
28 done
29 $(MAKE) ioemu
31 install: check
32 @set -e; for subdir in $(SUBDIRS); do \
33 $(MAKE) -C $$subdir $@; \
34 done
35 $(MAKE) ioemuinstall
37 clean: check_clean
38 @set -e; for subdir in $(SUBDIRS); do \
39 $(MAKE) -C $$subdir $@; \
40 done
41 $(MAKE) ioemuclean
43 check:
44 $(MAKE) -C check
46 check_clean:
47 $(MAKE) -C check clean
49 ifndef XEN_NO_IOEMU
50 ioemu ioemuinstall ioemuclean:
51 [ -f ioemu/config-host.h ] || \
52 (cd ioemu; ./configure --prefix=usr)
53 $(MAKE) -C ioemu $(patsubst ioemu%,%,$@)
54 else
55 ioemu ioemuinstall ioemuclean:
56 endif