summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/stand/libsa
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2001-09-06 19:12:35 +0000
committerJason Wright <jason@cvs.openbsd.org>2001-09-06 19:12:35 +0000
commitcc67d9e5cd11f5b8645ecb7f05dc2423eb1c5c70 (patch)
tree57dd751f64dae23722df2b48e03d398aeefdc46a /sys/arch/sparc64/stand/libsa
parent7876f1c58060284e52d7df556230e67ce61da8e5 (diff)
use some make magic (borrowed from macppc) to build {obj/}machine
Diffstat (limited to 'sys/arch/sparc64/stand/libsa')
-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