11.14Schristos#	$NetBSD: Makefile,v 1.14 2018/05/01 19:59:46 christos Exp $
21.10Schristos
31.14Schristos.include <bsd.hostinit.mk>
41.1Stv
51.7SjoergHOSTPROGNAME=	${MACHINE_GNU_PLATFORM}-install
61.1StvHOST_SRCDIR=	usr.bin/xinstall
71.5SdogcowCPPFLAGS+=	-I${.CURDIR}/../compat/sys
81.6SjoergCPPFLAGS+=	-DTARGET_STRIP=\"${STRIP}\"
91.1Stv
101.9Sapb# Prevent Makefile.host from trying to use the version of libnbcompat
111.9Sapb# from ${TOOLDIR}.
121.9SapbNOCOMPATLIB=
131.9Sapb
141.8Sapb# Use uninstalled copy of host-mkdep
151.8SapbHOST_MKDEP_OBJ!= cd ${.CURDIR}/../host-mkdep && ${PRINTOBJDIR}
161.8SapbHOST_MKDEP=	${HOST_MKDEP_OBJ}/host-mkdep
171.8SapbMKDEP=		${HOST_MKDEP}
181.8Sapb
191.9Sapb# Use uninstalled copy of libnbcompat and associated *.h files
201.9SapbCOMPATLIB_UNINSTALLED= yes
211.9SapbCOMPATOBJ!=	cd ${NETBSDSRCDIR}/tools/compat && ${PRINTOBJDIR}
221.9Sapb.-include	"${COMPATOBJ}/defs.mk"
231.9Sapb
241.10Schristos.include "${.CURDIR}/../Makefile.host"
251.10Schristos
261.8Sapb# Use uninstalled copy of the install program
271.3StvINSTALL=	./xinstall
281.10Schristos
29