ia64/xen-unstable

view netbsd-2.0-xen-sparse/Makefile @ 3577:e8d6036117fd

bitkeeper revision 1.1159.1.541 (41fa51ecY_wTV-Rnc5CzoxSj38uvJw)

Merge tempest.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xeno.bk
into tempest.cl.cam.ac.uk:/local/scratch/smh22/xen-unstable.bk
author smh22@tempest.cl.cam.ac.uk
date Fri Jan 28 14:53:32 2005 +0000 (2005-01-28)
parents 42df95ee8ac3
children 0a4b76b6b5a0 d779cc1ad0ae 0dc3b8b8c298
line source
1 #
2 #
3 #
5 .PHONY: clean config install netbsd
7 TOPDIR ?= $(shell pwd)
8 NETBSD_RELEASE ?= $(patsubst netbsd-%-xen%,%,$(notdir $(TOPDIR)))
9 NETBSD_VER ?= $(patsubst netbsd-%-xen%,%,$(notdir $(TOPDIR)))
11 clean:
12 @mkdir -p compile/XEN
13 cd compile/XEN && TOPDIR=$(TOPDIR) NETBSD_VER=$(NETBSD_VER) ../../nbmake-xen cleandir
15 config:
16 @mkdir -p compile/XEN
17 cd compile/XEN && TOPDIR=$(TOPDIR) NETBSD_VER=$(NETBSD_VER) ../../nbconfig-xen XEN
19 netbsd:
20 cd compile/XEN && TOPDIR=$(TOPDIR) NETBSD_VER=$(NETBSD_VER) ../../nbmake-xen dependall
22 install:
23 @mkdir -p $(dir $(INSTALL_PATH)/$(INSTALL_NAME))
24 install -c compile/XEN/netbsd $(INSTALL_PATH)/$(INSTALL_NAME)