From 6d58e84b70ec736919c71f016be84af4ca4ade40 Mon Sep 17 00:00:00 2001 From: Matthieu Herrb Date: Wed, 15 Sep 2004 16:59:31 +0000 Subject: Add an install: target. Ok miod@, pefo@ --- sys/arch/sgi/conf/Makefile.sgi | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'sys/arch') 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 -- cgit v1.2.3