1 # $NetBSD: Makefile,v 1.7.34.1 2013/01/16 05:34:03 yamt Exp $ 2 3 HOSTPROGNAME= ${MACHINE_GNU_PLATFORM}-install 4 HOST_SRCDIR= usr.bin/xinstall 5 CPPFLAGS+= -I${.CURDIR}/../compat/sys 6 CPPFLAGS+= -DTARGET_STRIP=\"${STRIP}\" 7 8 # Prevent Makefile.host from trying to use the version of libnbcompat 9 # from ${TOOLDIR}. 10 NOCOMPATLIB= 11 12 .include "${.CURDIR}/../Makefile.host" 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 # Use uninstalled copy of the install program 25 INSTALL= ./xinstall 26