direct-io.hg

view tools/Makefile @ 11509:2e6c10dc7c0b

[POWERPC][XEN] make sure put_domain() is called in case of allocate_rma() failuer

Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
author Jimi Xenidis <jimix@watson.ibm.com>
date Tue Sep 12 10:53:46 2006 -0400 (2006-09-12)
parents 3798ec84431d
children cbfc2e5c6978
line source
1 XEN_ROOT = ../
2 include $(XEN_ROOT)/tools/Rules.mk
4 SUBDIRS-y :=
5 SUBDIRS-y += libxc
6 SUBDIRS-y += xenstore
7 SUBDIRS-y += misc
8 SUBDIRS-y += examples
9 SUBDIRS-y += xentrace
10 SUBDIRS-$(CONFIG_XCUTILS) += xcutils
11 SUBDIRS-$(CONFIG_X86) += firmware
12 SUBDIRS-y += security
13 SUBDIRS-y += console
14 SUBDIRS-y += xenmon
15 SUBDIRS-y += guest-headers
16 SUBDIRS-$(VTPM_TOOLS) += vtpm_manager
17 SUBDIRS-$(VTPM_TOOLS) += vtpm
18 SUBDIRS-y += xenstat
19 SUBDIRS-y += libaio
20 SUBDIRS-y += blktap
22 # These don't cross-compile
23 ifeq ($(XEN_COMPILE_ARCH),$(XEN_TARGET_ARCH))
24 SUBDIRS-y += python
25 SUBDIRS-y += pygrub
26 endif
28 .PHONY: all
29 all: check
30 @set -e; for subdir in $(SUBDIRS-y); do \
31 $(MAKE) -C $$subdir $@; \
32 done
33 $(MAKE) ioemu
35 .PHONY: install
36 install: check
37 @set -e; for subdir in $(SUBDIRS-y); do \
38 $(MAKE) -C $$subdir $@; \
39 done
40 $(MAKE) ioemuinstall
41 $(INSTALL_DIR) -p $(DESTDIR)/var/xen/dump
42 $(INSTALL_DIR) -p $(DESTDIR)/var/log/xen
44 .PHONY: clean
45 clean: check_clean
46 @set -e; for subdir in $(SUBDIRS-y); do \
47 $(MAKE) -C $$subdir $@; \
48 done
49 $(MAKE) ioemuclean
51 .PHONY: distclean
52 distclean: clean
54 .PHONY: check
55 check:
56 $(MAKE) -C check
58 .PHONY: check_clean
59 check_clean:
60 $(MAKE) -C check clean
62 .PHONY: ioemu ioemuinstall ioemuclean
63 ifdef CONFIG_IOEMU
64 export IOEMU_DIR ?= ioemu
65 ioemu ioemuinstall:
66 [ -f $(IOEMU_DIR)/config-host.mak ] || \
67 (cd $(IOEMU_DIR) && sh configure --prefix=/usr)
68 $(MAKE) -C $(IOEMU_DIR) $(patsubst ioemu%,%,$@)
69 ioemuclean:
70 $(MAKE) -C $(IOEMU_DIR) distclean
71 else
72 ioemu ioemuinstall ioemuclean:
73 endif