ia64/xen-unstable

annotate tools/examples/Makefile @ 19615:13a4f4e6d0a3

x86 hvm: Correctly emulate task switches into vm86 mode.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Tue May 19 02:12:04 2009 +0100 (2009-05-19)
parents 887337323bd8
children
rev   line source
kaf24@6488 1 XEN_ROOT = ../../
kaf24@6488 2 include $(XEN_ROOT)/tools/Rules.mk
kaf24@6488 3
mjw@2289 4 # Init scripts.
mjw@2289 5 XEND_INITD = init.d/xend
cl349@2688 6 XENDOMAINS_INITD = init.d/xendomains
emellor@7528 7 XENDOMAINS_SYSCONFIG = init.d/sysconfig.xendomains
iap10@1061 8
mjw@2289 9 # Xen configuration dir and configs to go there.
keir@18270 10 XEN_READMES = README
keir@18270 11 XEN_READMES += README.incompatibilities
mjw@2289 12 XEN_CONFIGS = xend-config.sxp
ewan@13203 13 XEN_CONFIGS += xm-config.xml
iap10@2308 14 XEN_CONFIGS += xmexample1
iap10@2308 15 XEN_CONFIGS += xmexample2
keir@18270 16 XEN_CONFIGS += xmexample3
kaf24@8708 17 XEN_CONFIGS += xmexample.hvm
keir@18270 18 XEN_CONFIGS += xmexample.hvm-stubdom
keir@18270 19 XEN_CONFIGS += xmexample.pv-grub
keir@18270 20 XEN_CONFIGS += xmexample.nbd
djm@7500 21 XEN_CONFIGS += xmexample.vti
kfraser@10845 22 XEN_CONFIGS += xend-pci-quirks.sxp
kfraser@10845 23 XEN_CONFIGS += xend-pci-permissive.sxp
mjw@1723 24
kaf24@9660 25 .PHONY: all
kaf24@6824 26 all:
kaf24@9660 27
kaf24@9660 28 .PHONY: build
doogie@4109 29 build:
iap10@1061 30
kaf24@9660 31 .PHONY: install
keir@18770 32 install: all install-readmes install-configs $(HOTPLUGS)
keir@18270 33
keir@18270 34 .PHONY: install-readmes
keir@18270 35 install-readmes:
keir@18270 36 [ -d $(DESTDIR)$(XEN_CONFIG_DIR) ] || \
keir@18270 37 $(INSTALL_DIR) $(DESTDIR)$(XEN_CONFIG_DIR)
keir@18270 38 set -e; for i in $(XEN_READMES); \
keir@18270 39 do [ -e $(DESTDIR)$(XEN_CONFIG_DIR)/$$i ] || \
keir@18270 40 $(INSTALL_DATA) $$i $(DESTDIR)$(XEN_CONFIG_DIR); \
keir@18270 41 done
mjw@1623 42
kaf24@9660 43 .PHONY: install-configs
kaf24@6782 44 install-configs: $(XEN_CONFIGS)
cl349@3561 45 [ -d $(DESTDIR)$(XEN_CONFIG_DIR) ] || \
cl349@3561 46 $(INSTALL_DIR) $(DESTDIR)$(XEN_CONFIG_DIR)
cl349@3561 47 [ -d $(DESTDIR)$(XEN_CONFIG_DIR)/auto ] || \
cl349@3561 48 $(INSTALL_DIR) $(DESTDIR)$(XEN_CONFIG_DIR)/auto
keir@16650 49 set -e; for i in $(XEN_CONFIGS); \
kaf24@7219 50 do [ -e $(DESTDIR)$(XEN_CONFIG_DIR)/$$i ] || \
iap10@3499 51 $(INSTALL_DATA) $$i $(DESTDIR)$(XEN_CONFIG_DIR); \
kaf24@1270 52 done
mjw@1623 53
kaf24@9660 54 .PHONY: install-hotplug
cl349@6434 55 install-hotplug:
cl349@6434 56 [ -d $(DESTDIR)$(XEN_HOTPLUG_DIR) ] || \
cl349@6434 57 $(INSTALL_DIR) $(DESTDIR)$(XEN_HOTPLUG_DIR)
keir@16650 58 set -e; for i in $(XEN_HOTPLUG_SCRIPTS); \
cl349@6605 59 do \
cl349@6434 60 $(INSTALL_PROG) $$i $(DESTDIR)$(XEN_HOTPLUG_DIR); \
cl349@6434 61 done
cl349@6434 62
kaf24@9660 63 .PHONY: install-udev
kaf24@7264 64 install-udev:
kaf24@7264 65 [ -d $(DESTDIR)$(UDEV_RULES_DIR) ] || \
kaf24@7680 66 $(INSTALL_DIR) $(DESTDIR)$(UDEV_RULES_DIR)/rules.d
keir@16650 67 set -e; for i in $(UDEV_RULES); \
kaf24@7264 68 do \
kaf24@7680 69 $(INSTALL_DATA) $$i $(DESTDIR)$(UDEV_RULES_DIR); \
keir@16650 70 ln -sf ../$$i $(DESTDIR)$(UDEV_RULES_DIR)/rules.d; \
kaf24@7264 71 done
kaf24@7264 72
kaf24@9660 73 .PHONY: clean
iap10@1061 74 clean: