On Tue, 28 Oct 2014, Alistair Crooks wrote:
>+.ifndef PRINTOBJDIR >+PRINTOBJDIR= ${MAKE} -V .OBJDIR >+.endif At least for NetBSD's make(1), you need ${MAKE} -V '${.OBJDIR}' to get the recursively-expanded value of .OBJDIR. ${MAKE} -V .OBJDIR would print the unexpanded value.Oh, you'd better fix it in NetBSD's bsd.own.mk then, which was where I took the definition above from.
It probably works because .OBJDIR is magic, and is unlikely to need recursive expansion. --apb (Alan Barrett)