Module Name: src
Committed By: christos
Date: Sat Mar 16 02:51:25 UTC 2013
Modified Files:
src/tools/binstall: Makefile
Log Message:
Fix the real problem, Makefile.host was included before the HOST_MKDEP
setup so it prevented correct CPPFLAGS from being used.
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/tools/binstall/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tools/binstall/Makefile
diff -u src/tools/binstall/Makefile:1.9 src/tools/binstall/Makefile:1.10
--- src/tools/binstall/Makefile:1.9 Sun Dec 2 07:39:55 2012
+++ src/tools/binstall/Makefile Fri Mar 15 22:51:25 2013
@@ -1,4 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2012/12/02 12:39:55 apb Exp $
+# $NetBSD: Makefile,v 1.10 2013/03/16 02:51:25 christos Exp $
+
+.include <bsd.own.mk>
HOSTPROGNAME= ${MACHINE_GNU_PLATFORM}-install
HOST_SRCDIR= usr.bin/xinstall
@@ -9,7 +11,6 @@ CPPFLAGS+= -DTARGET_STRIP=\"${STRIP}\"
# from ${TOOLDIR}.
NOCOMPATLIB=
-.include "${.CURDIR}/../Makefile.host"
# Use uninstalled copy of host-mkdep
HOST_MKDEP_OBJ!= cd ${.CURDIR}/../host-mkdep && ${PRINTOBJDIR}
@@ -21,5 +22,8 @@ COMPATLIB_UNINSTALLED= yes
COMPATOBJ!= cd ${NETBSDSRCDIR}/tools/compat && ${PRINTOBJDIR}
.-include "${COMPATOBJ}/defs.mk"
+.include "${.CURDIR}/../Makefile.host"
+
# Use uninstalled copy of the install program
INSTALL= ./xinstall
+