ia64/xen-unstable

view tools/Makefile @ 6946:e703abaf6e3d

Add behaviour to the remove methods to remove the transaction's path itself. This allows us to write Remove(path) to remove the specified path rather than having to slice the path ourselves.
author emellor@ewan
date Sun Sep 18 14:42:13 2005 +0100 (2005-09-18)
parents 3233e7ecfa9f
children 06d84bf87159
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