ia64/xen-unstable

view tools/examples/Makefile @ 2799:3f929065a1d1

bitkeeper revision 1.1159.1.316 (418580d5gYF87eBU_ebP1s7cMleu3g)

Merge ssh://srg//auto/groups/xeno/BK/xeno.bk
into anvil.research:/home/irchomes/mwilli2/xen-dmesg-clear.bk
author mwilli2@anvil.research
date Mon Nov 01 00:18:29 2004 +0000 (2004-11-01)
parents 02bd62ad47a6
children 2afa7aa0076f 0451cbfd268d cd93e93dd285
line source
2 # Init scripts.
3 XEND_INITD = init.d/xend
4 XENDOMAINS_INITD = init.d/xendomains
6 # Xen configuration dir and configs to go there.
7 XEN_CONFIG_DIR = /etc/xen
8 XEN_CONFIGS = xend-config.sxp
9 XEN_CONFIGS += xmexample1
10 XEN_CONFIGS += xmexample2
12 # Xen script dir and scripts to go there.
13 XEN_SCRIPT_DIR = /etc/xen/scripts
14 XEN_SCRIPTS = network
15 XEN_SCRIPTS += vif-bridge
16 XEN_SCRIPTS += block-file
17 XEN_SCRIPTS += block-enbd
19 all:
21 install: all install-initd install-configs install-scripts
23 install-initd:
24 install -d $(prefix)/etc/init.d
25 install -m0755 $(XEND_INITD) $(prefix)/etc/init.d
26 install -m0755 $(XENDOMAINS_INITD) $(prefix)/etc/init.d
28 install-configs:
29 install -d $(prefix)$(XEN_CONFIG_DIR)
30 install -d $(prefix)$(XEN_CONFIG_DIR)/auto
31 for i in $(XEN_CONFIGS); \
32 do [ -a $(prefix)/$(XEN_CONFIG_DIR)/$$i ] || \
33 install -m0644 $$i $(prefix)$(XEN_CONFIG_DIR); \
34 done
36 install-scripts:
37 install -d $(prefix)$(XEN_SCRIPT_DIR)
38 for i in $(XEN_SCRIPTS); \
39 do [ -a $(prefix)/$()/$$i ] || \
40 install -m0755 $$i $(prefix)$(XEN_SCRIPT_DIR); \
41 done
43 clean: