diff options
author | 2004-09-15 16:59:30 +0000 | |
---|---|---|
committer | 2004-09-15 16:59:30 +0000 | |
commit | f318487cd970e2c1e18f001d89caf27395846e4c (patch) | |
tree | 54288bbd7aa8605546e8aaa055ca7de6e8aeed6a | |
parent | ABI compliant register names (diff) | |
download | wireguard-openbsd-f318487cd970e2c1e18f001d89caf27395846e4c.tar.xz wireguard-openbsd-f318487cd970e2c1e18f001d89caf27395846e4c.zip |
Add an install: target. Ok miod@, pefo@
-rw-r--r-- | sys/arch/sgi/conf/Makefile.sgi | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/sys/arch/sgi/conf/Makefile.sgi b/sys/arch/sgi/conf/Makefile.sgi index 72ea3cad98f..5f25273f2f3 100644 --- a/sys/arch/sgi/conf/Makefile.sgi +++ b/sys/arch/sgi/conf/Makefile.sgi @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.sgi,v 1.5 2004/09/09 22:11:39 pefo Exp $ +# $OpenBSD: Makefile.sgi,v 1.6 2004/09/15 16:59:30 matthieu Exp $ # Makefile for OpenBSD # @@ -183,5 +183,17 @@ depend:: .depend mkdep -a ${CFLAGS} ${CPPFLAGS} param.c ioconf.c ${CFILES} # mkdep -a ${AFLAGS} ${CPPFLAGS} ${SFILES} +# 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 |