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