| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: tools.Linux.mk,v 1.44 2008/05/17 18:34:50 tnn Exp $ | | 1 | # $NetBSD: tools.Linux.mk,v 1.45 2009/10/11 07:36:11 tnn Exp $ |
2 | # | | 2 | # |
3 | # System-supplied tools for the Linux operating system. | | 3 | # System-supplied tools for the Linux operating system. |
4 | | | 4 | |
5 | TOOLS_PLATFORM.[?= [ # shell builtin | | 5 | TOOLS_PLATFORM.[?= [ # shell builtin |
6 | TOOLS_PLATFORM.awk?= ${TOOLS_PLATFORM.gawk} | | 6 | TOOLS_PLATFORM.awk?= ${TOOLS_PLATFORM.gawk} |
7 | .if exists(/bin/basename) | | 7 | .if exists(/bin/basename) |
8 | TOOLS_PLATFORM.basename?= /bin/basename | | 8 | TOOLS_PLATFORM.basename?= /bin/basename |
9 | .elif exists(/usr/bin/basename) | | 9 | .elif exists(/usr/bin/basename) |
10 | TOOLS_PLATFORM.basename?= /usr/bin/basename | | 10 | TOOLS_PLATFORM.basename?= /usr/bin/basename |
11 | .endif | | 11 | .endif |
12 | TOOLS_PLATFORM.bash?= /bin/bash | | 12 | TOOLS_PLATFORM.bash?= /bin/bash |
13 | .if exists(/usr/bin/bison) | | 13 | .if exists(/usr/bin/bison) |
14 | TOOLS_PLATFORM.bison?= /usr/bin/bison | | 14 | TOOLS_PLATFORM.bison?= /usr/bin/bison |
| @@ -95,27 +95,29 @@ TOOLS_PLATFORM.groff?= /usr/bin/groff | | | @@ -95,27 +95,29 @@ TOOLS_PLATFORM.groff?= /usr/bin/groff |
95 | TOOLS_PLATFORM.gsed?= /bin/sed | | 95 | TOOLS_PLATFORM.gsed?= /bin/sed |
96 | .elif exists(/usr/bin/sed) | | 96 | .elif exists(/usr/bin/sed) |
97 | TOOLS_PLATFORM.gsed?= /usr/bin/sed | | 97 | TOOLS_PLATFORM.gsed?= /usr/bin/sed |
98 | .endif | | 98 | .endif |
99 | .if exists(/usr/bin/soelim) | | 99 | .if exists(/usr/bin/soelim) |
100 | TOOLS_PLATFORM.gsoelim?= /usr/bin/soelim | | 100 | TOOLS_PLATFORM.gsoelim?= /usr/bin/soelim |
101 | .endif | | 101 | .endif |
102 | TOOLS_PLATFORM.gtar?= /bin/tar | | 102 | TOOLS_PLATFORM.gtar?= /bin/tar |
103 | .if exists(/bin/gunzip) | | 103 | .if exists(/bin/gunzip) |
104 | TOOLS_PLATFORM.gunzip?= /bin/gunzip -f | | 104 | TOOLS_PLATFORM.gunzip?= /bin/gunzip -f |
105 | .elif exists(/usr/bin/gunzip) | | 105 | .elif exists(/usr/bin/gunzip) |
106 | TOOLS_PLATFORM.gunzip?= /usr/bin/gunzip -f | | 106 | TOOLS_PLATFORM.gunzip?= /usr/bin/gunzip -f |
107 | .endif | | 107 | .endif |
| | | 108 | .if exists(/bin/zcat) |
108 | TOOLS_PLATFORM.gzcat?= /bin/zcat | | 109 | TOOLS_PLATFORM.gzcat?= /bin/zcat |
| | | 110 | .endif |
109 | .if exists(/bin/gzip) | | 111 | .if exists(/bin/gzip) |
110 | TOOLS_PLATFORM.gzip?= /bin/gzip -nf ${GZIP} | | 112 | TOOLS_PLATFORM.gzip?= /bin/gzip -nf ${GZIP} |
111 | .elif exists(/usr/bin/gzip) | | 113 | .elif exists(/usr/bin/gzip) |
112 | TOOLS_PLATFORM.gzip?= /usr/bin/gzip -nf ${GZIP} | | 114 | TOOLS_PLATFORM.gzip?= /usr/bin/gzip -nf ${GZIP} |
113 | .endif | | 115 | .endif |
114 | .if exists(/bin/head) | | 116 | .if exists(/bin/head) |
115 | TOOLS_PLATFORM.head?= /bin/head | | 117 | TOOLS_PLATFORM.head?= /bin/head |
116 | .elif exists(/usr/bin/head) | | 118 | .elif exists(/usr/bin/head) |
117 | TOOLS_PLATFORM.head?= /usr/bin/head | | 119 | TOOLS_PLATFORM.head?= /usr/bin/head |
118 | .endif | | 120 | .endif |
119 | TOOLS_PLATFORM.hostname?= /bin/hostname | | 121 | TOOLS_PLATFORM.hostname?= /bin/hostname |
120 | .if exists(/bin/id) | | 122 | .if exists(/bin/id) |
121 | TOOLS_PLATFORM.id?= /bin/id | | 123 | TOOLS_PLATFORM.id?= /bin/id |