ia64/xen-unstable

view netbsd-2.0-xen-sparse/Makefile @ 2846:83a23cb75277

bitkeeper revision 1.1159.153.1 (4188ec74U7gi2rpg0N_8N4PDuuf8Hg)

Cleanup NetBSD build system.
author cl349@freefall.cl.cam.ac.uk
date Wed Nov 03 14:34:28 2004 +0000 (2004-11-03)
parents 309c1fb27f87
children 42df95ee8ac3
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)