ia64/xen-unstable

view tools/hotplug/NetBSD/Makefile @ 19404:633e08774dab

build system cleanup - get rid of some hardcoded paths

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Mar 19 14:01:56 2009 +0000 (2009-03-19)
parents 4bfc67b09e9c
children 887337323bd8
line source
1 XEN_ROOT = ../../../
2 include $(XEN_ROOT)/tools/Rules.mk
4 # Xen configuration dir and configs to go there.
5 XEN_CONFIG_DIR = /etc/xen
7 # Xen script dir and scripts to go there.
8 XEN_SCRIPT_DIR = $(XEN_CONFIG_DIR)/scripts
9 XEN_SCRIPTS =
10 XEN_SCRIPTS += block-nbsd
11 XEN_SCRIPTS += qemu-ifup-nbsd
12 XEN_SCRIPTS += vif-bridge-nbsd
13 XEN_SCRIPTS += vif-ip-nbsd
15 XEN_SCRIPT_DATA =
17 .PHONY: all
18 all:
20 .PHONY: build
21 build:
23 .PHONY: install
24 install: all install-scripts
26 .PHONY: install-scripts
27 install-scripts:
28 $(INSTALL_DIR) $(DESTDIR)$(XEN_SCRIPT_DIR)
29 set -e; for i in $(XEN_SCRIPTS); \
30 do \
31 $(INSTALL_DATA) $$i $(DESTDIR)$(XEN_SCRIPT_DIR); \
32 done
33 set -e; for i in $(XEN_SCRIPT_DATA); \
34 do \
35 $(INSTALL_DATA) $$i $(DESTDIR)$(XEN_SCRIPT_DIR); \
36 done
38 .PHONY: clean
39 clean: