ia64/xen-unstable

view tools/examples/Makefile @ 4895:24dfd18ea63e

bitkeeper revision 1.1159.258.120 (42848bfe8kMyWWcBA64rq7h7l7AyoA)

Shadow code bug fix (found by Ian) that was breaking refcounts, and subsequently
causing migration problems.
author mafetter@fleming.research
date Fri May 13 11:14:06 2005 +0000 (2005-05-13)
parents a0be5e5a1f37
children 0dc3b8b8c298
line source
1 INSTALL = install
2 INSTALL_DIR = $(INSTALL) -d -m0755
3 INSTALL_PROG = $(INSTALL) -m0755
4 INSTALL_DATA = $(INSTALL) -m0644
6 # Init scripts.
7 XEND_INITD = init.d/xend
8 XENDOMAINS_INITD = init.d/xendomains
10 # Xen configuration dir and configs to go there.
11 XEN_CONFIG_DIR = /etc/xen
12 XEN_CONFIGS = xend-config.sxp
13 XEN_CONFIGS += xmexample1
14 XEN_CONFIGS += xmexample2
16 # Xen script dir and scripts to go there.
17 XEN_SCRIPT_DIR = /etc/xen/scripts
18 XEN_SCRIPTS = network vif-bridge
19 XEN_SCRIPTS += network-route vif-route
20 XEN_SCRIPTS += block-file
21 XEN_SCRIPTS += block-enbd
23 all:
24 build:
26 install: all install-initd install-configs install-scripts
28 install-initd:
29 [ -d $(DESTDIR)/etc/init.d ] || $(INSTALL_DIR) $(DESTDIR)/etc/init.d
30 $(INSTALL_PROG) $(XEND_INITD) $(DESTDIR)/etc/init.d
31 $(INSTALL_PROG) $(XENDOMAINS_INITD) $(DESTDIR)/etc/init.d
33 install-configs:
34 [ -d $(DESTDIR)$(XEN_CONFIG_DIR) ] || \
35 $(INSTALL_DIR) $(DESTDIR)$(XEN_CONFIG_DIR)
36 [ -d $(DESTDIR)$(XEN_CONFIG_DIR)/auto ] || \
37 $(INSTALL_DIR) $(DESTDIR)$(XEN_CONFIG_DIR)/auto
38 for i in $(XEN_CONFIGS); \
39 do [ -a $(DESTDIR)$(XEN_CONFIG_DIR)/$$i ] || \
40 $(INSTALL_DATA) $$i $(DESTDIR)$(XEN_CONFIG_DIR); \
41 done
43 install-scripts:
44 [ -d $(DESTDIR)$(XEN_SCRIPT_DIR) ] || \
45 $(INSTALL_DIR) $(DESTDIR)$(XEN_SCRIPT_DIR)
46 for i in $(XEN_SCRIPTS); \
47 do [ -a $(DESTDIR)$(XEN_SCRIPT_DIR)/$$i ] || \
48 $(INSTALL_PROG) $$i $(DESTDIR)$(XEN_SCRIPT_DIR); \
49 done
51 clean: