From e0118ca9334885a860fe4c9191bfeb4646b519a5 Mon Sep 17 00:00:00 2001 From: pk Date: Thu, 25 Nov 1999 13:27:30 +0000 Subject: [PATCH] Suppress the `machine' symlink when making target `obj'. Also add it to the clean target list. --- sys/arch/sparc/stand/Makefile.buildboot | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sys/arch/sparc/stand/Makefile.buildboot b/sys/arch/sparc/stand/Makefile.buildboot index 41f0858b005c..91cdccf52f4b 100644 --- a/sys/arch/sparc/stand/Makefile.buildboot +++ b/sys/arch/sparc/stand/Makefile.buildboot @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.buildboot,v 1.7 1999/06/12 12:49:24 pk Exp $ +# $NetBSD: Makefile.buildboot,v 1.8 1999/11/25 13:27:30 pk Exp $ S= ${.CURDIR}/../../../.. @@ -42,5 +42,9 @@ SAMISCMAKEFLAGS+="SA_USE_LOADFILE=yes" .include "${S}/lib/libsa/Makefile.inc" LIBSA= ${SALIB} +.if !make(obj) .BEGIN: @([ -h machine ] || ln -s ${S}/arch/${MACHINE}/include machine) +.endif + +CLEANFILES+= machine