| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: tools.NetBSD.mk,v 1.41 2008/05/22 20:11:55 joerg Exp $ | | 1 | # $NetBSD: tools.NetBSD.mk,v 1.42 2009/09/04 13:21:19 joerg Exp $ |
2 | # | | 2 | # |
3 | # System-supplied tools for the NetBSD operating system. | | 3 | # System-supplied tools for the NetBSD operating system. |
4 | | | 4 | |
5 | TOOLS_PLATFORM.[?= [ # shell builtin | | 5 | TOOLS_PLATFORM.[?= [ # shell builtin |
6 | TOOLS_PLATFORM.awk?= /usr/bin/awk | | 6 | TOOLS_PLATFORM.awk?= /usr/bin/awk |
7 | TOOLS_PLATFORM.basename?= /usr/bin/basename | | 7 | TOOLS_PLATFORM.basename?= /usr/bin/basename |
8 | TOOLS_PLATFORM.byacc?= /usr/bin/yacc | | 8 | TOOLS_PLATFORM.byacc?= /usr/bin/yacc |
9 | .if exists(/usr/bin/bzcat) | | 9 | .if exists(/usr/bin/bzcat) |
10 | TOOLS_PLATFORM.bzcat?= /usr/bin/bzcat | | 10 | TOOLS_PLATFORM.bzcat?= /usr/bin/bzcat |
11 | .endif | | 11 | .endif |
12 | TOOLS_PLATFORM.bzip2?= /usr/bin/bzip2 | | 12 | TOOLS_PLATFORM.bzip2?= /usr/bin/bzip2 |
13 | TOOLS_PLATFORM.cat?= /bin/cat | | 13 | TOOLS_PLATFORM.cat?= /bin/cat |
14 | TOOLS_PLATFORM.chgrp?= /usr/bin/chgrp | | 14 | TOOLS_PLATFORM.chgrp?= /usr/bin/chgrp |
| @@ -104,26 +104,29 @@ TOOLS_PLATFORM.tail?= /usr/bin/tail | | | @@ -104,26 +104,29 @@ TOOLS_PLATFORM.tail?= /usr/bin/tail |
104 | .if exists(/bin/tar) | | 104 | .if exists(/bin/tar) |
105 | TOOLS_PLATFORM.tar?= /bin/tar | | 105 | TOOLS_PLATFORM.tar?= /bin/tar |
106 | .elif exists(/usr/bin/tar) | | 106 | .elif exists(/usr/bin/tar) |
107 | TOOLS_PLATFORM.tar?= /usr/bin/tar | | 107 | TOOLS_PLATFORM.tar?= /usr/bin/tar |
108 | .endif | | 108 | .endif |
109 | TOOLS_PLATFORM.tbl?= /usr/bin/tbl | | 109 | TOOLS_PLATFORM.tbl?= /usr/bin/tbl |
110 | TOOLS_PLATFORM.tee?= /usr/bin/tee | | 110 | TOOLS_PLATFORM.tee?= /usr/bin/tee |
111 | TOOLS_PLATFORM.test?= test # shell builtin | | 111 | TOOLS_PLATFORM.test?= test # shell builtin |
112 | TOOLS_PLATFORM.touch?= /usr/bin/touch | | 112 | TOOLS_PLATFORM.touch?= /usr/bin/touch |
113 | TOOLS_PLATFORM.tr?= /usr/bin/tr | | 113 | TOOLS_PLATFORM.tr?= /usr/bin/tr |
114 | TOOLS_PLATFORM.true?= true # shell builtin | | 114 | TOOLS_PLATFORM.true?= true # shell builtin |
115 | TOOLS_PLATFORM.tsort?= /usr/bin/tsort | | 115 | TOOLS_PLATFORM.tsort?= /usr/bin/tsort |
116 | TOOLS_PLATFORM.wc?= /usr/bin/wc | | 116 | TOOLS_PLATFORM.wc?= /usr/bin/wc |
| | | 117 | .if exists(/usr/bin/unzip) |
| | | 118 | TOOLS_PLATFORM.unzip?= /usr/bin/unzip |
| | | 119 | .endif |
117 | TOOLS_PLATFORM.xargs?= /usr/bin/xargs | | 120 | TOOLS_PLATFORM.xargs?= /usr/bin/xargs |
118 | .if exists(/usr/bin/xgettext) | | 121 | .if exists(/usr/bin/xgettext) |
119 | TOOLS_PLATFORM.xgettext?= /usr/bin/xgettext | | 122 | TOOLS_PLATFORM.xgettext?= /usr/bin/xgettext |
120 | .endif | | 123 | .endif |
121 | TOOLS_PLATFORM.yacc?= /usr/bin/yacc | | 124 | TOOLS_PLATFORM.yacc?= /usr/bin/yacc |
122 | | | 125 | |
123 | .if !empty(USE_CROSS_COMPILE:M[yY][eE][sS]) | | 126 | .if !empty(USE_CROSS_COMPILE:M[yY][eE][sS]) |
124 | . for _t_ in ar as ld nm objdump ranlib readelf strip | | 127 | . for _t_ in ar as ld nm objdump ranlib readelf strip |
125 | TOOLS_PATH.${MACHINE_GNU_PLATFORM}-${_t_}?= \ | | 128 | TOOLS_PATH.${MACHINE_GNU_PLATFORM}-${_t_}?= \ |
126 | ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-${_t_} | | 129 | ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-${_t_} |
127 | TOOLS_CREATE+= ${MACHINE_GNU_PLATFORM}-${_t_} | | 130 | TOOLS_CREATE+= ${MACHINE_GNU_PLATFORM}-${_t_} |
128 | . endfor | | 131 | . endfor |
129 | | | 132 | |