summaryrefslogtreecommitdiff
path: root/distrib/sun3/common/Makefile.inc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-18 08:53:40 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-18 08:53:40 +0000
commitd6583bb2a13f329cf0332ef2570eb8bb8fc0e39c (patch)
treeece253b876159b39c620e62b6c9b1174642e070e /distrib/sun3/common/Makefile.inc
initial import of NetBSD tree
Diffstat (limited to 'distrib/sun3/common/Makefile.inc')
-rw-r--r--distrib/sun3/common/Makefile.inc31
1 files changed, 31 insertions, 0 deletions
diff --git a/distrib/sun3/common/Makefile.inc b/distrib/sun3/common/Makefile.inc
new file mode 100644
index 00000000000..69eb1490626
--- /dev/null
+++ b/distrib/sun3/common/Makefile.inc
@@ -0,0 +1,31 @@
+#
+# $NetBSD: Makefile.inc,v 1.1.1.1 1995/10/08 23:07:45 gwr Exp $
+#
+
+# TOP is assumed to be defined by Makefile including this one.
+
+CBIN?= instbin
+COMMONDIR= ${TOP}/common
+
+MOUNT_POINT?= /mnt
+BDEV?= /dev/rd0
+DISKTYPE?= xxx-disktype
+IMAGE?= xxx-${REV}.fs
+MDEC= ${DESTDIR}/usr/mdec
+
+LISTS= ${.CURDIR}/list
+MTREE= ${.CURDIR}/mtree.conf
+
+fsimage:
+ newfs -O -m 0 -o space -i 3052 -c 60 ${BDEV} ${DISKTYPE}
+ mount ${BDEV} ${MOUNT_POINT}
+ mtree -def ${MTREE} -p ${MOUNT_POINT}/ -u
+ TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} \
+ TARGDIR=${MOUNT_POINT} sh ${TOP}/Runlist.sh ${LISTS}
+ @echo ""
+ @df -i ${MOUNT_POINT}
+ @echo ""
+ -umount ${MOUNT_POINT}
+
+.include <bsd.obj.mk>
+.include <bsd.subdir.mk>