1 # $NetBSD: Makefile,v 1.10 2013/03/16 02:51:25 christos Exp $ 2 3 .include <bsd.own.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 15 # Use uninstalled copy of host-mkdep 16 HOST_MKDEP_OBJ!= cd ${.CURDIR}/../host-mkdep && ${PRINTOBJDIR} 17 HOST_MKDEP= ${HOST_MKDEP_OBJ}/host-mkdep 18 MKDEP= ${HOST_MKDEP} 19 20 # Use uninstalled copy of libnbcompat and associated *.h files 21 COMPATLIB_UNINSTALLED= yes 22 COMPATOBJ!= 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 28 INSTALL= ./xinstall 29 30