summaryrefslogtreecommitdiff
path: root/sys/arch/macppc/stand
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/macppc/stand')
-rw-r--r--sys/arch/macppc/stand/Makefile4
-rw-r--r--sys/arch/macppc/stand/Makefile.inc4
-rw-r--r--sys/arch/macppc/stand/tbxidata/Makefile11
3 files changed, 15 insertions, 4 deletions
diff --git a/sys/arch/macppc/stand/Makefile b/sys/arch/macppc/stand/Makefile
index 7f06b65d761..dbac81e976c 100644
--- a/sys/arch/macppc/stand/Makefile
+++ b/sys/arch/macppc/stand/Makefile
@@ -1,7 +1,7 @@
-# $OpenBSD: Makefile,v 1.1 2001/09/01 15:39:02 drahn Exp $
+# $OpenBSD: Makefile,v 1.2 2001/10/03 17:10:06 drahn Exp $
# $NetBSD: Makefile,v 1.1 1996/09/30 16:34:59 ws Exp $
-SUBDIR= ofwboot boot.mac mbr
+SUBDIR= ofwboot boot.mac mbr tbxidata
SAREL=
KERNREL=
diff --git a/sys/arch/macppc/stand/Makefile.inc b/sys/arch/macppc/stand/Makefile.inc
index 24ea0c6d5be..00a156e277b 100644
--- a/sys/arch/macppc/stand/Makefile.inc
+++ b/sys/arch/macppc/stand/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.1 2001/09/01 15:39:02 drahn Exp $
+# $OpenBSD: Makefile.inc,v 1.2 2001/10/03 17:10:06 drahn Exp $
# $NetBSD: Makefile.inc,v 1.1 1996/09/30 16:34:59 ws Exp $
.if !defined(__stand_makefile_inc)
@@ -8,7 +8,7 @@ KERN_AS= library
S=$(.CURDIR)/../../../$(R)
-.if !make(libdep) && !make(sadep) && !make(salibdir) && !make(kernlibdir) && !make(obj)
+.if !make(libdep) && !make(sadep) && !make(salibdir) && !make(kernlibdir) && !make(obj) && !defined(NOMACHINE)
.BEGIN:
@([ -h machine ] || ln -s $(S)/arch/$(MACHINE)/include machine)
.endif
diff --git a/sys/arch/macppc/stand/tbxidata/Makefile b/sys/arch/macppc/stand/tbxidata/Makefile
new file mode 100644
index 00000000000..f966360d394
--- /dev/null
+++ b/sys/arch/macppc/stand/tbxidata/Makefile
@@ -0,0 +1,11 @@
+# $OpenBSD: Makefile,v 1.1 2001/10/03 17:10:06 drahn Exp $
+
+NOMACHINE=
+FILES= bsd.tbxi
+NOOBJ= noobj
+
+install:
+ ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${FILES} \
+ ${DESTDIR}/usr/mdec
+
+.include <bsd.prog.mk>