direct-io.hg

view tools/Makefile @ 10701:f35b9950843c

[IA64] Re-enable tools/xcutils build on ia64. We now have
save/restore working in the xen-ia64-unstable.hg thanks to some
excellent work by Tristan. This simply splits the xcutils components
from the x86-ish linux_save/restore files in a way that should be
friendly to powerpc.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
author kaf24@firebug.cl.cam.ac.uk
date Fri Jul 14 11:58:17 2006 +0100 (2006-07-14)
parents 2937703f0ed0
children 7d6f0791c650
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-y += 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
43 .PHONY: clean
44 clean: check_clean
45 @set -e; for subdir in $(SUBDIRS-y); do \
46 $(MAKE) -C $$subdir $@; \
47 done
48 $(MAKE) ioemuclean
50 .PHONY: distclean
51 distclean: clean
53 .PHONY: check
54 check:
55 $(MAKE) -C check
57 .PHONY: check_clean
58 check_clean:
59 $(MAKE) -C check clean
61 .PHONY: ioemu ioemuinstall ioemuclean
62 ifdef CONFIG_IOEMU
63 export IOEMU_DIR ?= ioemu
64 ioemu ioemuinstall ioemuclean:
65 [ -f $(IOEMU_DIR)/config-host.h ] || \
66 (cd $(IOEMU_DIR) && sh configure --prefix=/usr)
67 $(MAKE) -C $(IOEMU_DIR) $(patsubst ioemu%,%,$@)
68 else
69 ioemu ioemuinstall ioemuclean:
70 endif