ia64/xen-unstable

annotate 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
rev   line source
cl349@2443 1 #
cl349@2443 2 #
cl349@2443 3 #
cl349@2443 4
cl349@2846 5 .PHONY: clean config install netbsd
cl349@2443 6
cl349@2443 7 TOPDIR ?= $(shell pwd)
cl349@2443 8 NETBSD_RELEASE ?= $(patsubst netbsd-%-xen%,%,$(notdir $(TOPDIR)))
cl349@2443 9 NETBSD_VER ?= $(patsubst netbsd-%-xen%,%,$(notdir $(TOPDIR)))
cl349@2443 10
cl349@2846 11 clean:
cl349@2846 12 @mkdir -p compile/XEN
cl349@2846 13 cd compile/XEN && TOPDIR=$(TOPDIR) NETBSD_VER=$(NETBSD_VER) ../../nbmake-xen cleandir
cl349@2846 14
cl349@2443 15 config:
cl349@2443 16 @mkdir -p compile/XEN
cl349@2443 17 cd compile/XEN && TOPDIR=$(TOPDIR) NETBSD_VER=$(NETBSD_VER) ../../nbconfig-xen XEN
cl349@2443 18
cl349@2443 19 netbsd:
cl349@2443 20 cd compile/XEN && TOPDIR=$(TOPDIR) NETBSD_VER=$(NETBSD_VER) ../../nbmake-xen dependall
cl349@2443 21
cl349@2443 22 install:
cl349@2443 23 @mkdir -p $(dir $(INSTALL_PATH)/$(INSTALL_NAME))
cl349@2443 24 install -c compile/XEN/netbsd $(INSTALL_PATH)/$(INSTALL_NAME)