xref: /minix/tools/binstall/Makefile (revision 84d9c625)
1#	$NetBSD: Makefile,v 1.11 2013/03/16 22:32:50 christos Exp $
2
3NOMAN=
4.include <bsd.own.mk>
5
6HOSTPROGNAME=	${MACHINE_GNU_PLATFORM}-install
7HOST_SRCDIR=	usr.bin/xinstall
8CPPFLAGS+=	-I${.CURDIR}/../compat/sys
9CPPFLAGS+=	-DTARGET_STRIP=\"${STRIP}\"
10
11# Prevent Makefile.host from trying to use the version of libnbcompat
12# from ${TOOLDIR}.
13NOCOMPATLIB=
14
15# Use uninstalled copy of host-mkdep
16HOST_MKDEP_OBJ!= cd ${.CURDIR}/../host-mkdep && ${PRINTOBJDIR}
17HOST_MKDEP=	${HOST_MKDEP_OBJ}/host-mkdep
18MKDEP=		${HOST_MKDEP}
19
20# Use uninstalled copy of libnbcompat and associated *.h files
21COMPATLIB_UNINSTALLED= yes
22COMPATOBJ!=	cd ${NETBSDSRCDIR}/tools/compat && ${PRINTOBJDIR}
23.-include	"${COMPATOBJ}/defs.mk"
24
25.include "${.CURDIR}/../Makefile.host"
26
27# Use uninstalled copy of the install program
28INSTALL=	./xinstall
29
30