ia64/xen-unstable

view tools/Makefile @ 7027:06d84bf87159

Merge latest xen-unstable into xen-ia64-unstable
author djm@kirby.fc.hp.com
date Thu Sep 22 11:42:01 2005 -0600 (2005-09-22)
parents 9af349b055e5 3233e7ecfa9f
children 18f765da2725
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 += xcutils
11 SUBDIRS += firmware
12 SUBDIRS += security
13 SUBDIRS += console
14 ifeq ($(VTPM_TOOLS),y)
15 SUBDIRS += vtpm_manager
16 SUBDIRS += vtpm
17 endif
18 SUBDIRS += xenstat
20 .PHONY: all install clean check check_clean ioemu eioemuinstall ioemuclean
22 # These don't cross-compile
23 ifeq ($(XEN_COMPILE_ARCH),$(XEN_TARGET_ARCH))
24 SUBDIRS += python
25 #SUBDIRS += pygrub
26 endif
28 .PHONY: all install clean check check_clean ioemu eioemuinstall ioemuclean
30 all: check
31 @set -e; for subdir in $(SUBDIRS); do \
32 $(MAKE) -C $$subdir $@; \
33 done
34 $(MAKE) ioemu
36 install: check
37 @set -e; for subdir in $(SUBDIRS); do \
38 $(MAKE) -C $$subdir $@; \
39 done
40 $(MAKE) ioemuinstall
42 clean: check_clean
43 @set -e; for subdir in $(SUBDIRS); do \
44 $(MAKE) -C $$subdir $@; \
45 done
46 $(MAKE) ioemuclean
48 check:
49 $(MAKE) -C check
51 check_clean:
52 $(MAKE) -C check clean
54 ifndef XEN_NO_IOEMU
55 ioemu ioemuinstall ioemuclean:
56 [ -f ioemu/config-host.h ] || \
57 (cd ioemu; ./configure --prefix=usr)
58 $(MAKE) -C ioemu $(patsubst ioemu%,%,$@)
59 else
60 ioemu ioemuinstall ioemuclean:
61 endif