Tue Dec 1 09:08:25 2009 UTC ()
Use ${NETBSDSRCDIR} for deep tools/* directories.


(uebayasi)
diff -r1.24 -r1.25 src/tools/Makefile.host

cvs diff -r1.24 -r1.25 src/tools/Makefile.host (expand / switch to unified diff)

--- src/tools/Makefile.host 2008/10/19 19:38:55 1.24
+++ src/tools/Makefile.host 2009/12/01 09:08:25 1.25
@@ -1,34 +1,34 @@ @@ -1,34 +1,34 @@
1# $NetBSD: Makefile.host,v 1.24 2008/10/19 19:38:55 apb Exp $ 1# $NetBSD: Makefile.host,v 1.25 2009/12/01 09:08:25 uebayasi Exp $
2 2
3NOINFO= # defined 3NOINFO= # defined
4NOLINT= # defined 4NOLINT= # defined
5NOMAN= # defined 5NOMAN= # defined
6 6
7.include <bsd.own.mk> 7.include <bsd.own.mk>
8 8
9.ifndef NOCOMPATLIB 9.ifndef NOCOMPATLIB
10COMPATOBJ!= cd ${.CURDIR}/../compat && ${PRINTOBJDIR} 10COMPATOBJ!= cd ${NETBSDSRCDIR}/compat && ${PRINTOBJDIR}
11.-include "${COMPATOBJ}/defs.mk" 11.-include "${COMPATOBJ}/defs.mk"
12.endif 12.endif
13 13
14# Resolve pathnames in variables. 14# Resolve pathnames in variables.
15_RESOLVE_VARS= CFLAGS CPPFLAGS DPADD HOST_CPPFLAGS LDADD 15_RESOLVE_VARS= CFLAGS CPPFLAGS DPADD HOST_CPPFLAGS LDADD
16.for var in ${_RESOLVE_VARS} 16.for var in ${_RESOLVE_VARS}
17${var}:= ${${var}} 17${var}:= ${${var}}
18.endfor 18.endfor
19 19
20# Switch over to the "real" Makefile. 20# Switch over to the "real" Makefile.
21.PROGDIR:= ${.CURDIR}/../../${HOST_SRCDIR} 21.PROGDIR:= ${NETBSDSRCDIR}/${HOST_SRCDIR}
22_CURDIR:= ${.CURDIR} 22_CURDIR:= ${.CURDIR}
23HOSTPROG?= ${PROG} 23HOSTPROG?= ${PROG}
24 24
25.CURDIR:= ${.PROGDIR} 25.CURDIR:= ${.PROGDIR}
26.PATH: ${.CURDIR} 26.PATH: ${.CURDIR}
27.include "${.CURDIR}/Makefile" 27.include "${.CURDIR}/Makefile"
28.-include "${.CURDIR}/../Makefile.inc" 28.-include "${.CURDIR}/../Makefile.inc"
29 29
30# Resolve pathnames from "real" Makefile, and switch .CURDIR back. 30# Resolve pathnames from "real" Makefile, and switch .CURDIR back.
31.for var in ${_RESOLVE_VARS} 31.for var in ${_RESOLVE_VARS}
32${var}:= ${${var}} 32${var}:= ${${var}}
33.endfor 33.endfor
34.CURDIR:= ${_CURDIR} 34.CURDIR:= ${_CURDIR}