ia64/xen-unstable

view tools/Makefile @ 10736:2937703f0ed0

Added blktap support. Includes kernel driver (enabled as CONFIG_XEN_BLKDEV_TAP=y) and userspace tools. The userspace deamon (blktapctrl) is enabled by default when xend is activated. For further information on using and configuring blktap see tools/blktap/README.
author jchesterfield@dhcp92.uk.xensource.com
date Thu Jul 13 10:13:26 2006 +0100 (2006-07-13)
parents 3addc7020107
children f35b9950843c
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_X86) += 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