2013-12-06 12:04:52 +01:00
|
|
|
# $NetBSD: Makefile,v 1.11 2013/03/16 22:32:50 christos Exp $
|
|
|
|
|
|
|
|
NOMAN=
|
|
|
|
.include <bsd.own.mk>
|
2012-06-06 16:46:00 +02:00
|
|
|
|
|
|
|
HOSTPROGNAME= ${MACHINE_GNU_PLATFORM}-install
|
|
|
|
HOST_SRCDIR= usr.bin/xinstall
|
|
|
|
CPPFLAGS+= -I${.CURDIR}/../compat/sys
|
|
|
|
CPPFLAGS+= -DTARGET_STRIP=\"${STRIP}\"
|
|
|
|
|
2013-12-06 12:04:52 +01:00
|
|
|
# Prevent Makefile.host from trying to use the version of libnbcompat
|
|
|
|
# from ${TOOLDIR}.
|
|
|
|
NOCOMPATLIB=
|
|
|
|
|
|
|
|
# Use uninstalled copy of host-mkdep
|
|
|
|
HOST_MKDEP_OBJ!= cd ${.CURDIR}/../host-mkdep && ${PRINTOBJDIR}
|
|
|
|
HOST_MKDEP= ${HOST_MKDEP_OBJ}/host-mkdep
|
|
|
|
MKDEP= ${HOST_MKDEP}
|
|
|
|
|
|
|
|
# Use uninstalled copy of libnbcompat and associated *.h files
|
|
|
|
COMPATLIB_UNINSTALLED= yes
|
|
|
|
COMPATOBJ!= cd ${NETBSDSRCDIR}/tools/compat && ${PRINTOBJDIR}
|
|
|
|
.-include "${COMPATOBJ}/defs.mk"
|
|
|
|
|
2012-06-06 16:46:00 +02:00
|
|
|
.include "${.CURDIR}/../Makefile.host"
|
|
|
|
|
2013-12-06 12:04:52 +01:00
|
|
|
# Use uninstalled copy of the install program
|
2012-06-06 16:46:00 +02:00
|
|
|
INSTALL= ./xinstall
|
2013-12-06 12:04:52 +01:00
|
|
|
|