ia64/xen-unstable

view tools/Makefile @ 13028:70155087efe8

Add another package check (python-xml).
Signed-off-by: Jan Beulich <jbeulich@novell.com>
author kfraser@localhost.localdomain
date Thu Dec 14 14:13:18 2006 +0000 (2006-12-14)
parents af10df2fed35
children c3425346188c
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
21 SUBDIRS-y += libfsimage
22 SUBDIRS-$(XENFB_TOOLS) += xenfb
23 SUBDIRS-$(LIBXENAPI_BINDINGS) += libxen
25 # These don't cross-compile
26 ifeq ($(XEN_COMPILE_ARCH),$(XEN_TARGET_ARCH))
27 SUBDIRS-y += python
28 SUBDIRS-y += pygrub
29 endif
31 .PHONY: all
32 all: check
33 @set -e; for subdir in $(SUBDIRS-y); do \
34 $(MAKE) -C $$subdir $@; \
35 done
36 $(MAKE) ioemu
38 .PHONY: install
39 install: check_install
40 @set -e; for subdir in $(SUBDIRS-y); do \
41 $(MAKE) -C $$subdir $@; \
42 done
43 $(MAKE) ioemuinstall
44 $(INSTALL_DIR) -p $(DESTDIR)/var/xen/dump
45 $(INSTALL_DIR) -p $(DESTDIR)/var/log/xen
47 .PHONY: clean
48 clean: check_clean
49 @set -e; for subdir in $(SUBDIRS-y); do \
50 $(MAKE) -C $$subdir $@; \
51 done
52 $(MAKE) ioemuclean
54 .PHONY: distclean
55 distclean: clean
57 .PHONY: check
58 check:
59 $(MAKE) -C check
61 .PHONY: check_install
62 check_install: check
63 $(MAKE) -C check install
65 .PHONY: check_clean
66 check_clean:
67 $(MAKE) -C check clean
69 .PHONY: ioemu ioemuinstall ioemuclean
70 ifeq ($(CONFIG_IOEMU),y)
71 export IOEMU_DIR ?= ioemu
72 ioemu ioemuinstall:
73 [ -f $(IOEMU_DIR)/config-host.mak ] || \
74 (cd $(IOEMU_DIR) && sh configure --prefix=/usr)
75 $(MAKE) -C $(IOEMU_DIR) $(patsubst ioemu%,%,$@)
76 ioemuclean:
77 $(MAKE) -C $(IOEMU_DIR) distclean
78 else
79 ioemu ioemuinstall ioemuclean:
80 endif