2013-03-17 02:32:50 +04:00
|
|
|
# $NetBSD: Makefile,v 1.11 2013/03/16 22:32:50 christos Exp $
|
2013-03-16 06:51:25 +04:00
|
|
|
|
2013-03-17 02:32:50 +04:00
|
|
|
NOMAN=
|
2013-03-16 06:51:25 +04:00
|
|
|
.include <bsd.own.mk>
|
2001-08-14 15:01:55 +04:00
|
|
|
|
2007-07-03 20:29:24 +04:00
|
|
|
HOSTPROGNAME= ${MACHINE_GNU_PLATFORM}-install
|
2001-08-14 15:01:55 +04:00
|
|
|
HOST_SRCDIR= usr.bin/xinstall
|
2006-10-29 09:17:08 +03:00
|
|
|
CPPFLAGS+= -I${.CURDIR}/../compat/sys
|
2007-06-28 23:05:55 +04:00
|
|
|
CPPFLAGS+= -DTARGET_STRIP=\"${STRIP}\"
|
2001-08-14 15:01:55 +04:00
|
|
|
|
2012-12-02 16:39:55 +04:00
|
|
|
# Prevent Makefile.host from trying to use the version of libnbcompat
|
|
|
|
# from ${TOOLDIR}.
|
|
|
|
NOCOMPATLIB=
|
|
|
|
|
2012-12-02 16:18:16 +04:00
|
|
|
# Use uninstalled copy of host-mkdep
|
|
|
|
HOST_MKDEP_OBJ!= cd ${.CURDIR}/../host-mkdep && ${PRINTOBJDIR}
|
|
|
|
HOST_MKDEP= ${HOST_MKDEP_OBJ}/host-mkdep
|
|
|
|
MKDEP= ${HOST_MKDEP}
|
|
|
|
|
2012-12-02 16:39:55 +04:00
|
|
|
# Use uninstalled copy of libnbcompat and associated *.h files
|
|
|
|
COMPATLIB_UNINSTALLED= yes
|
|
|
|
COMPATOBJ!= cd ${NETBSDSRCDIR}/tools/compat && ${PRINTOBJDIR}
|
|
|
|
.-include "${COMPATOBJ}/defs.mk"
|
|
|
|
|
2013-03-16 06:51:25 +04:00
|
|
|
.include "${.CURDIR}/../Makefile.host"
|
|
|
|
|
2012-12-02 16:18:16 +04:00
|
|
|
# Use uninstalled copy of the install program
|
2001-11-15 01:13:39 +03:00
|
|
|
INSTALL= ./xinstall
|
2013-03-16 06:51:25 +04:00
|
|
|
|