the old mkdep run did walk the SRCS list and write those as a side-effect.
Without this, bsd.prog.mk .SUFFIXES order will have OBJS depend on the
wrong src file.
Causes of the alpha/stand/bootxx breakage.
-# $OpenBSD: bsd.dep.mk,v 1.17 2017/07/03 07:54:18 espie Exp $
+# $OpenBSD: bsd.dep.mk,v 1.18 2017/07/03 15:11:02 espie Exp $
# $NetBSD: bsd.dep.mk,v 1.12 1995/09/27 01:15:09 christos Exp $
.if !target(depend)
. endif
.endif
+# explicitly tag most source files
+.for i in ${SRCS:N*.[hyl]:N*.sh} ${_LEXINTM} ${_YACCINTM}
+${i:R:S/$/.o/}: $i
+.endfor
CLEANFILES += ${DEPS} .depend
BUILDFIRST ?=