diff --git a/tools/binstall/Makefile b/tools/binstall/Makefile index de056717d474..e3f2d9cc648c 100644 --- a/tools/binstall/Makefile +++ b/tools/binstall/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2007/07/03 16:29:24 joerg Exp $ +# $NetBSD: Makefile,v 1.8 2012/12/02 12:18:16 apb Exp $ HOSTPROGNAME= ${MACHINE_GNU_PLATFORM}-install HOST_SRCDIR= usr.bin/xinstall @@ -7,4 +7,10 @@ CPPFLAGS+= -DTARGET_STRIP=\"${STRIP}\" .include "${.CURDIR}/../Makefile.host" +# Use uninstalled copy of host-mkdep +HOST_MKDEP_OBJ!= cd ${.CURDIR}/../host-mkdep && ${PRINTOBJDIR} +HOST_MKDEP= ${HOST_MKDEP_OBJ}/host-mkdep +MKDEP= ${HOST_MKDEP} + +# Use uninstalled copy of the install program INSTALL= ./xinstall