summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/stand/libsa/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sparc64/stand/libsa/Makefile')
-rw-r--r--sys/arch/sparc64/stand/libsa/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/sys/arch/sparc64/stand/libsa/Makefile b/sys/arch/sparc64/stand/libsa/Makefile
index f2c2c2f5034..0ac7a2fbbda 100644
--- a/sys/arch/sparc64/stand/libsa/Makefile
+++ b/sys/arch/sparc64/stand/libsa/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.2 2001/08/22 10:20:41 art Exp $
+# $OpenBSD: Makefile,v 1.3 2001/09/06 19:12:34 jason Exp $
LIB= sa
@@ -34,13 +34,11 @@ ${OBJS}: ${.CURDIR}/../Makefile.inc
NOPROFILE=
NOPIC=
-.NOPATH: machine
-beforedepend: machine
+.if !make(libdep) && !make(sadep) && !make(salibdir) && !make(kernlibdir) && !make(obj)
+.BEGIN:
+ @([ -h machine ] || ln -s ${.CURDIR}/../../include machine)
+.endif
install:
.include <bsd.lib.mk>
-
-machine:
- rm -f machine
- ln -s ${.CURDIR}/../../include machine