ia64/xen-unstable

view tools/Makefile @ 14321:f421ccd1141f

Added section on references vs UUIDs.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author Ewan Mellor <ewan@xensource.com>
date Fri Mar 09 00:44:10 2007 +0000 (2007-03-09)
parents 9be942ec0247
children 9c6076750685
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-$(PYTHON_TOOLS) += python
28 SUBDIRS-$(PYTHON_TOOLS) += 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
40 @set -e; for subdir in $(SUBDIRS-y); do \
41 $(MAKE) -C $$subdir $@; \
42 done
43 $(MAKE) ioemuinstall
44 $(INSTALL_DIR) $(DESTDIR)/var/xen/dump
45 $(INSTALL_DIR) $(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_clean
62 check_clean:
63 $(MAKE) -C check clean
65 .PHONY: ioemu ioemuinstall ioemuclean
66 ifeq ($(CONFIG_IOEMU),y)
67 export IOEMU_DIR ?= ioemu
68 ioemu ioemuinstall:
69 [ -f $(IOEMU_DIR)/config-host.mak ] || \
70 (cd $(IOEMU_DIR) && sh configure --prefix=/usr)
71 $(MAKE) -C $(IOEMU_DIR) $(patsubst ioemu%,%,$@)
72 ioemuclean:
73 $(MAKE) -C $(IOEMU_DIR) distclean
74 else
75 ioemu ioemuinstall ioemuclean:
76 endif