summaryrefslogtreecommitdiff
path: root/sys/arch/vax/conf/Makefile.vax
diff options
context:
space:
mode:
authorassar <assar@cvs.openbsd.org>2001-07-15 13:10:52 +0000
committerassar <assar@cvs.openbsd.org>2001-07-15 13:10:52 +0000
commit776c4fafd1351d3375c0d8ce0002acca4fb2a443 (patch)
tree2d5895da765a71457cf4251e0d31a9fdc0951807 /sys/arch/vax/conf/Makefile.vax
parentb72ffa47960a4c39c8a906fd71310112140f748f (diff)
add install target
Diffstat (limited to 'sys/arch/vax/conf/Makefile.vax')
-rw-r--r--sys/arch/vax/conf/Makefile.vax16
1 files changed, 15 insertions, 1 deletions
diff --git a/sys/arch/vax/conf/Makefile.vax b/sys/arch/vax/conf/Makefile.vax
index 3ea529232db..b28f5d1debc 100644
--- a/sys/arch/vax/conf/Makefile.vax
+++ b/sys/arch/vax/conf/Makefile.vax
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.vax,v 1.15 2001/06/17 21:39:30 hugh Exp $
+# $OpenBSD: Makefile.vax,v 1.16 2001/07/15 13:10:51 assar Exp $
# $NetBSD: Makefile.vax,v 1.49 1999/07/26 05:20:49 cgd Exp $
# Makefile for OpenBSD/vax
@@ -22,6 +22,8 @@
# DEBUG is set to -g if debugging.
# PROF is set to -pg if profiling.
+.include <bsd.own.mk>
+
%OBJS
%CFILES
@@ -208,4 +210,16 @@ intvec.o: ${VAX}/vax/intvec.s assym.h
subr.o: ${VAX}/vax/subr.s assym.h
${NORMAL_S}
+# The install target can be redefined by putting a
+# install-kernel-${MACHINE_NAME} target into /etc/mk.conf
+MACHINE_NAME!= uname -n
+install: install-kernel-${MACHINE_NAME}
+.if !target(install-kernel-${MACHINE_NAME}})
+install-kernel-${MACHINE_NAME}:
+ rm -f /obsd
+ ln /bsd /obsd
+ cp bsd /nbsd
+ mv /nbsd /bsd
+.endif
+
%RULES