-# $OpenBSD: Makefile,v 1.30 2022/09/01 00:13:35 kn Exp $
+# $OpenBSD: Makefile,v 1.31 2022/09/01 00:43:14 kn Exp $
SUBDIR += acme-client
SUBDIR += arp
.if ${MACHINE} == "amd64" || \
${MACHINE} == "i386" || \
+ ${MACHINE} == "macppc" || \
${MACHINE} == "sparc64"
SUBDIR += installboot
.endif
-# $OpenBSD: Makefile,v 1.13 2022/08/31 23:53:22 kn Exp $
+# $OpenBSD: Makefile,v 1.14 2022/09/01 00:43:15 kn Exp $
INSTALLBOOT ?= /usr/sbin/installboot
DRY_RUN = ${INSTALLBOOT} -n
FORMAT_DISK = fdisk -g -y -b32768
STAGENAMES = BOOTAA64.EFI
USE_SOFTRAID ?= Yes
+.elif ${MACHINE} == "macppc" # assume MBR
+FORMAT_DISK = fdisk -iy -b2048@1:06
+STAGENAMES = ofwboot
+USE_SOFTRAID ?= No
.elif ${MACHINE} == "sparc64"
FORMAT_DISK = true # NOOP
STAGENAMES = bootblk ofwboot