diff options
Diffstat (limited to 'sys/arch/sun3')
-rw-r--r-- | sys/arch/sun3/conf/Makefile.sun3 | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/sys/arch/sun3/conf/Makefile.sun3 b/sys/arch/sun3/conf/Makefile.sun3 index eda3a67de81..394ced80585 100644 --- a/sys/arch/sun3/conf/Makefile.sun3 +++ b/sys/arch/sun3/conf/Makefile.sun3 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.sun3,v 1.25 2001/01/04 22:39:12 miod Exp $ +# $OpenBSD: Makefile.sun3,v 1.26 2001/07/15 13:10:50 assar Exp $ # $NetBSD: Makefile.sun3,v 1.51 1996/09/09 21:07:08 mycroft Exp $ # Makefile for OpenBSD @@ -22,6 +22,8 @@ # DEBUG is set to -g if debugging. # PROF is set to -pg if profiling. +.include <bsd.own.mk> + CC?= cc LD?= ld MKDEP?= mkdep @@ -165,4 +167,16 @@ db_machdep.o dvma.o machdep.o pmap.o sun3_startup.o vm_machdep.o: Makefile locore.o: ${SUN3}/sun3/locore.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 |