| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.156 2012/08/10 16:13:36 joerg Exp $ | | 1 | # $NetBSD: Makefile,v 1.157 2012/09/20 15:50:20 pooka Exp $ |
2 | | | 2 | |
3 | .include <bsd.own.mk> | | 3 | .include <bsd.own.mk> |
4 | | | 4 | |
5 | .if defined(HAVE_GCC) || defined(HAVE_PCC) | | 5 | .if defined(HAVE_GCC) || defined(HAVE_PCC) |
6 | TOOLCHAIN_BITS= gmake .WAIT | | 6 | TOOLCHAIN_BITS= gmake .WAIT |
7 | .endif | | 7 | .endif |
8 | | | 8 | |
9 | .if ${TOOLCHAIN_MISSING} == "no" | | 9 | .if ${TOOLCHAIN_MISSING} == "no" |
10 | .if defined(HAVE_GCC) | | 10 | .if defined(HAVE_GCC) |
11 | .if ${HAVE_GCC} >= 45 | | 11 | .if ${HAVE_GCC} >= 45 |
12 | TOOLCHAIN_BITS+= gmp .WAIT | | 12 | TOOLCHAIN_BITS+= gmp .WAIT |
13 | TOOLCHAIN_BITS+= mpfr .WAIT | | 13 | TOOLCHAIN_BITS+= mpfr .WAIT |
14 | TOOLCHAIN_BITS+= mpc .WAIT | | 14 | TOOLCHAIN_BITS+= mpc .WAIT |
| @@ -17,38 +17,40 @@ TOOLCHAIN_BITS+= mpc .WAIT | | | @@ -17,38 +17,40 @@ TOOLCHAIN_BITS+= mpc .WAIT |
17 | .endif | | 17 | .endif |
18 | | | 18 | |
19 | .if ${TOOLCHAIN_MISSING} == "no" | | 19 | .if ${TOOLCHAIN_MISSING} == "no" |
20 | TOOLCHAIN_BITS+= binutils .WAIT | | 20 | TOOLCHAIN_BITS+= binutils .WAIT |
21 | .endif | | 21 | .endif |
22 | | | 22 | |
23 | .if defined(HAVE_GCC) | | 23 | .if defined(HAVE_GCC) |
24 | .if ${TOOLCHAIN_MISSING} == "no" | | 24 | .if ${TOOLCHAIN_MISSING} == "no" |
25 | TOOLCHAIN_BITS+= gcc | | 25 | TOOLCHAIN_BITS+= gcc |
26 | . if ${MKCROSSGDB:Uno} != "no" | | 26 | . if ${MKCROSSGDB:Uno} != "no" |
27 | TOOLCHAIN_BITS+= gdb | | 27 | TOOLCHAIN_BITS+= gdb |
28 | . endif | | 28 | . endif |
29 | TOOLCHAIN_BITS+= .WAIT | | 29 | TOOLCHAIN_BITS+= .WAIT |
30 | # XXX Eventually, we want to be able to build dbsym and mdsetimage | | | |
31 | # XXX if EXTERNAL_TOOLCHAIN is set. | | | |
32 | .endif | | 30 | .endif |
33 | .endif | | 31 | .endif |
34 | | | 32 | |
35 | .if defined(HAVE_PCC) | | 33 | .if defined(HAVE_PCC) |
36 | .if ${TOOLCHAIN_MISSING} == "no" | | 34 | .if ${TOOLCHAIN_MISSING} == "no" |
37 | TOOLCHAIN_BITS+= pcc | | 35 | TOOLCHAIN_BITS+= pcc |
38 | .endif | | 36 | .endif |
39 | .endif | | 37 | .endif |
40 | | | 38 | |
| | | 39 | .if ${TOOLCHAIN_MISSING} == "no" |
| | | 40 | # XXX Eventually, we want to be able to build dbsym and mdsetimage |
| | | 41 | # XXX if EXTERNAL_TOOLCHAIN is set. |
41 | TOOLCHAIN_BITS+= dbsym mdsetimage | | 42 | TOOLCHAIN_BITS+= dbsym mdsetimage |
| | | 43 | .endif |
42 | | | 44 | |
43 | DTRACE_BITS= | | 45 | DTRACE_BITS= |
44 | .if ${MKDTRACE} != "no" | | 46 | .if ${MKDTRACE} != "no" |
45 | DTRACE_BITS+= .WAIT libelf | | 47 | DTRACE_BITS+= .WAIT libelf |
46 | DTRACE_BITS+= .WAIT libdwarf | | 48 | DTRACE_BITS+= .WAIT libdwarf |
47 | DTRACE_BITS+= .WAIT libctf | | 49 | DTRACE_BITS+= .WAIT libctf |
48 | DTRACE_BITS+= .WAIT ctfconvert ctfmerge | | 50 | DTRACE_BITS+= .WAIT ctfconvert ctfmerge |
49 | .endif | | 51 | .endif |
50 | | | 52 | |
51 | LINT_BITS= | | 53 | LINT_BITS= |
52 | .if ${MKLINT} != "no" | | 54 | .if ${MKLINT} != "no" |
53 | LINT_BITS= lint lint2 | | 55 | LINT_BITS= lint lint2 |
54 | .endif | | 56 | .endif |