Teach tools/binstall/Makefile to use an uninstalled copy of

host-mkdep from the.OBJDIR of tools/host-mkdep.  This is
in preparation for building all three of tools/host-mkdep,
tools/compat, and tools/binstall, before installing any of them.
This commit is contained in:
apb 2012-12-02 12:18:16 +00:00
parent 9ff9611745
commit 3b5482ec3a

View File

@ -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