| @@ -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 | |
3 | NOINFO= # defined | | 3 | NOINFO= # defined |
4 | NOLINT= # defined | | 4 | NOLINT= # defined |
5 | NOMAN= # defined | | 5 | NOMAN= # defined |
6 | | | 6 | |
7 | .include <bsd.own.mk> | | 7 | .include <bsd.own.mk> |
8 | | | 8 | |
9 | .ifndef NOCOMPATLIB | | 9 | .ifndef NOCOMPATLIB |
10 | COMPATOBJ!= cd ${.CURDIR}/../compat && ${PRINTOBJDIR} | | 10 | COMPATOBJ!= 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} |
23 | HOSTPROG?= ${PROG} | | 23 | HOSTPROG?= ${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} |