ia64/xen-unstable

view tools/Makefile @ 6586:dd668f7527cb

merge?
author cl349@firebug.cl.cam.ac.uk
date Thu Sep 01 10:16:14 2005 +0000 (2005-09-01)
parents 38312fe7ec38 06b1cbe76880
children 9de43bdef6ca 291e816acbf4
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 ifeq ($(VTPM_TOOLS),y)
16 SUBDIRS += vtpm_manager
17 SUBDIRS += vtpm
18 endif
19 SUBDIRS += xenstat
21 .PHONY: all install clean check check_clean ioemu eioemuinstall ioemuclean
23 # These don't cross-compile
24 ifeq ($(XEN_COMPILE_ARCH),$(XEN_TARGET_ARCH))
25 SUBDIRS += python
26 #SUBDIRS += pygrub
27 endif
29 .PHONY: all install clean check check_clean ioemu eioemuinstall ioemuclean
31 all: check
32 @set -e; for subdir in $(SUBDIRS); do \
33 $(MAKE) -C $$subdir $@; \
34 done
35 $(MAKE) ioemu
37 install: check
38 @set -e; for subdir in $(SUBDIRS); do \
39 $(MAKE) -C $$subdir $@; \
40 done
41 $(MAKE) ioemuinstall
43 clean: check_clean
44 @set -e; for subdir in $(SUBDIRS); do \
45 $(MAKE) -C $$subdir $@; \
46 done
47 $(MAKE) ioemuclean
49 check:
50 $(MAKE) -C check
52 check_clean:
53 $(MAKE) -C check clean
55 ifndef XEN_NO_IOEMU
56 ioemu ioemuinstall ioemuclean:
57 [ -f ioemu/config-host.h ] || \
58 (cd ioemu; ./configure --prefix=usr)
59 $(MAKE) -C ioemu $(patsubst ioemu%,%,$@)
60 else
61 ioemu ioemuinstall ioemuclean:
62 endif