Makefile revision 1.9
1#	$NetBSD: Makefile,v 1.9 2012/12/02 12:39:55 apb Exp $
2
3HOSTPROGNAME=	${MACHINE_GNU_PLATFORM}-install
4HOST_SRCDIR=	usr.bin/xinstall
5CPPFLAGS+=	-I${.CURDIR}/../compat/sys
6CPPFLAGS+=	-DTARGET_STRIP=\"${STRIP}\"
7
8# Prevent Makefile.host from trying to use the version of libnbcompat
9# from ${TOOLDIR}.
10NOCOMPATLIB=
11
12.include "${.CURDIR}/../Makefile.host"
13
14# Use uninstalled copy of host-mkdep
15HOST_MKDEP_OBJ!= cd ${.CURDIR}/../host-mkdep && ${PRINTOBJDIR}
16HOST_MKDEP=	${HOST_MKDEP_OBJ}/host-mkdep
17MKDEP=		${HOST_MKDEP}
18
19# Use uninstalled copy of libnbcompat and associated *.h files
20COMPATLIB_UNINSTALLED= yes
21COMPATOBJ!=	cd ${NETBSDSRCDIR}/tools/compat && ${PRINTOBJDIR}
22.-include	"${COMPATOBJ}/defs.mk"
23
24# Use uninstalled copy of the install program
25INSTALL=	./xinstall
26