| @@ -1,152 +1,152 @@ | | | @@ -1,152 +1,152 @@ |
1 | # $NetBSD: tools.Cygwin.mk,v 1.6 2014/02/14 07:43:46 obache Exp $ | | 1 | # $NetBSD: tools.Cygwin.mk,v 1.7 2014/02/27 08:47:32 obache Exp $ |
2 | # | | 2 | # |
3 | # System-supplied tools for the Cygwin operating system. | | 3 | # System-supplied tools for the Cygwin operating system. |
4 | | | 4 | |
5 | TOOLS_PLATFORM.[?= [ # shell builtin | | 5 | TOOLS_PLATFORM.[?= [ # shell builtin |
6 | TOOLS_PLATFORM.awk?= /bin/awk | | 6 | TOOLS_PLATFORM.awk?= /bin/awk |
7 | TOOLS_PLATFORM.basename?= /bin/basename | | 7 | TOOLS_PLATFORM.basename?= /bin/basename |
8 | TOOLS_PLATFORM.bash?= /bin/bash | | 8 | TOOLS_PLATFORM.bash?= /bin/bash |
9 | .if exists(/bin/bison) | | 9 | .if exists(/bin/bison) |
10 | TOOLS_PLATFORM.bison?= /bin/bison | | 10 | TOOLS_PLATFORM.bison?= /bin/bison |
11 | TOOLS_PLATFORM.bison-yacc?= /bin/bison -y | | 11 | TOOLS_PLATFORM.bison-yacc?= /bin/bison -y |
12 | .endif | | 12 | .endif |
13 | .if exists(/bin/bsdtar) | | 13 | .if exists(/bin/bsdtar) |
14 | TOOLS_PLATFORM.bsdtar?= /bin/bsdtar | | 14 | TOOLS_PLATFORM.bsdtar?= /bin/bsdtar |
15 | .endif | | 15 | .endif |
16 | .if exists(/bin/byacc) | | 16 | .if exists(/bin/byacc) |
17 | TOOLS_PLATFORM.byacc?= /bin/byacc | | 17 | TOOLS_PLATFORM.byacc?= /bin/byacc |
18 | .endif | | 18 | .endif |
19 | TOOLS_PLATFORM.bzcat?= /bin/bzcat | | 19 | TOOLS_PLATFORM.bzcat?= /bin/bzcat |
20 | TOOLS_PLATFORM.bzip2?= /bin/bzip2 | | 20 | TOOLS_PLATFORM.bzip2?= /bin/bzip2 |
21 | TOOLS_PLATFORM.cat?= /bin/cat | | 21 | TOOLS_PLATFORM.cat?= /bin/cat |
22 | TOOLS_PLATFORM.chgrp?= /bin/chgrp | | 22 | TOOLS_PLATFORM.chgrp?= /bin/chgrp |
23 | TOOLS_PLATFORM.chmod?= /bin/chmod | | 23 | TOOLS_PLATFORM.chmod?= /bin/chmod |
24 | TOOLS_PLATFORM.chown?= /bin/chown | | 24 | TOOLS_PLATFORM.chown?= /bin/chown |
25 | TOOLS_PLATFORM.cmp?= /bin/cmp | | 25 | TOOLS_PLATFORM.cmp?= /bin/cmp |
26 | TOOLS_PLATFORM.cp?= /bin/cp | | 26 | TOOLS_PLATFORM.cp?= /bin/cp |
27 | .if exists(/bin/tcsh) | | 27 | .if exists(/bin/tcsh) |
28 | TOOLS_PLATFORM.csh?= /bin/tcsh | | 28 | TOOLS_PLATFORM.csh?= /bin/tcsh |
29 | .endif | | 29 | .endif |
30 | .if exists(/bin/curl) | | 30 | .if exists(/bin/curl) |
31 | TOOLS_PLATFORM.curl?= /bin/curl | | 31 | TOOLS_PLATFORM.curl?= /bin/curl |
32 | .endif | | 32 | .endif |
33 | TOOLS_PLATFORM.cut?= /bin/cut | | 33 | TOOLS_PLATFORM.cut?= /bin/cut |
34 | TOOLS_PLATFORM.date?= /bin/date | | 34 | TOOLS_PLATFORM.date?= /bin/date |
35 | TOOLS_PLATFORM.diff?= /bin/diff | | 35 | TOOLS_PLATFORM.diff?= /bin/diff |
36 | TOOLS_PLATFORM.diff3?= /bin/diff3 | | 36 | TOOLS_PLATFORM.diff3?= /bin/diff3 |
37 | TOOLS_PLATFORM.dirname?= /bin/dirname | | 37 | TOOLS_PLATFORM.dirname?= /bin/dirname |
38 | TOOLS_PLATFORM.echo?= echo # shell builtin | | 38 | TOOLS_PLATFORM.echo?= echo # shell builtin |
39 | TOOLS_PLATFORM.egrep?= /bin/egrep | | 39 | TOOLS_PLATFORM.egrep?= /bin/egrep |
40 | TOOLS_PLATFORM.env?= /bin/env | | 40 | TOOLS_PLATFORM.env?= /bin/env |
41 | TOOLS_PLATFORM.expr?= /bin/expr | | 41 | TOOLS_PLATFORM.expr?= /bin/expr |
42 | TOOLS_PLATFORM.false?= false # shell builtin | | 42 | TOOLS_PLATFORM.false?= false # shell builtin |
43 | TOOLS_PLATFORM.fgrep?= /bin/fgrep | | 43 | TOOLS_PLATFORM.fgrep?= /bin/fgrep |
44 | TOOLS_PLATFORM.file?= /bin/file | | 44 | TOOLS_PLATFORM.file?= /bin/file |
45 | TOOLS_PLATFORM.find?= /bin/find | | 45 | TOOLS_PLATFORM.find?= /bin/find |
46 | .if exists(/bin/flex) | | 46 | .if exists(/bin/flex) |
47 | TOOLS_PLATFORM.flex?= /bin/flex | | 47 | TOOLS_PLATFORM.flex?= /bin/flex |
48 | .endif | | 48 | .endif |
49 | .if exists(/bin/tnftp) | | 49 | .if exists(/bin/tnftp) |
50 | TOOLS_PLATFORM.ftp?= /bin/tnftp | | 50 | TOOLS_PLATFORM.ftp?= /bin/tnftp |
51 | .endif | | 51 | .endif |
52 | TOOLS_PLATFORM.gawk?= /bin/gawk | | 52 | TOOLS_PLATFORM.gawk?= /bin/gawk |
53 | .if exists(/bin/m4) | | 53 | .if exists(/bin/m4) |
54 | TOOLS_PLATFORM.gm4?= /bin/m4 | | 54 | TOOLS_PLATFORM.gm4?= /bin/m4 |
55 | .endif | | 55 | .endif |
56 | TOOLS_PLATFORM.grep?= /bin/grep | | 56 | TOOLS_PLATFORM.grep?= /bin/grep |
57 | TOOLS_PLATFORM.gsed?= /bin/sed | | 57 | TOOLS_PLATFORM.gsed?= /bin/sed |
58 | TOOLS_PLATFORM.gsoelim?= /bin/soelim | | 58 | TOOLS_PLATFORM.gsoelim?= /bin/soelim |
59 | TOOLS_PLATFORM.gtar?= /bin/tar | | 59 | TOOLS_PLATFORM.gtar?= /bin/tar |
60 | TOOLS_PLATFORM.gunzip?= /bin/gunzip -f | | 60 | TOOLS_PLATFORM.gunzip?= /bin/gunzip -f |
61 | TOOLS_PLATFORM.gzcat?= /bin/zcat | | 61 | TOOLS_PLATFORM.gzcat?= /bin/zcat |
62 | TOOLS_PLATFORM.gzip?= /bin/gzip -nf ${GZIP} | | 62 | TOOLS_PLATFORM.gzip?= /bin/gzip -nf ${GZIP} |
63 | TOOLS_PLATFORM.head?= /bin/head | | 63 | TOOLS_PLATFORM.head?= /bin/head |
64 | TOOLS_PLATFORM.hostname?= /bin/hostname | | 64 | TOOLS_PLATFORM.hostname?= /bin/hostname |
65 | TOOLS_PLATFORM.id?= /bin/id | | 65 | TOOLS_PLATFORM.id?= /bin/id |
66 | .if exists(/bin/ident) | | 66 | .if exists(/bin/ident) |
67 | TOOLS_PLATFORM.ident?= /bin/ident | | 67 | TOOLS_PLATFORM.ident?= /bin/ident |
68 | .endif | | 68 | .endif |
69 | TOOLS_PLATFORM.install?= /bin/install | | 69 | TOOLS_PLATFORM.install?= /bin/install |
70 | TOOLS_PLATFORM.install-info?= /bin/install-info | | 70 | TOOLS_PLATFORM.install-info?= /bin/install-info |
71 | .if exists(/bin/flex) | | 71 | .if exists(/bin/flex) |
72 | TOOLS_PLATFORM.lex?= /bin/flex | | 72 | TOOLS_PLATFORM.lex?= /bin/flex |
73 | .endif | | 73 | .endif |
74 | TOOLS_PLATFORM.ln?= /bin/ln | | 74 | TOOLS_PLATFORM.ln?= /bin/ln |
75 | TOOLS_PLATFORM.ls?= /bin/ls | | 75 | TOOLS_PLATFORM.ls?= /bin/ls |
76 | .if exists(/bin/m4) | | 76 | .if exists(/bin/m4) |
77 | TOOLS_PLATFORM.m4?= /bin/m4 | | 77 | TOOLS_PLATFORM.m4?= /bin/m4 |
78 | .endif | | 78 | .endif |
79 | .if exists(/bin/make) | | 79 | .if exists(/bin/make) |
80 | TOOLS_PLATFORM.gmake?= /bin/make | | 80 | TOOLS_PLATFORM.gmake?= /bin/make |
81 | .endif | | 81 | .endif |
82 | TOOLS_PLATFORM.makeinfo?= /bin/makeinfo | | 82 | TOOLS_PLATFORM.makeinfo?= /bin/makeinfo |
83 | TOOLS_PLATFORM.mkdir?= /bin/mkdir -p | | 83 | TOOLS_PLATFORM.mkdir?= /bin/mkdir -p |
84 | TOOLS_PLATFORM.mktemp?= /bin/mktemp | | 84 | TOOLS_PLATFORM.mktemp?= /bin/mktemp |
85 | .if exists(/bin/msgfmt) | | 85 | .if exists(/bin/msgfmt) |
86 | TOOLS_PLATFORM.msgfmt?= /bin/msgfmt | | 86 | TOOLS_PLATFORM.msgfmt?= /bin/msgfmt |
87 | .endif | | 87 | .endif |
88 | TOOLS_PLATFORM.mv?= /bin/mv | | 88 | TOOLS_PLATFORM.mv?= /bin/mv |
89 | TOOLS_PLATFORM.nice?= /bin/nice | | 89 | TOOLS_PLATFORM.nice?= /bin/nice |
90 | TOOLS_PLATFORM.nroff?= /bin/nroff | | 90 | TOOLS_PLATFORM.nroff?= /bin/nroff |
91 | .if exists(/bin/openssl) | | 91 | .if exists(/bin/openssl) |
92 | TOOLS_PLATFORM.openssl?= /bin/openssl | | 92 | TOOLS_PLATFORM.openssl?= /bin/openssl |
93 | .endif | | 93 | .endif |
94 | .if exists(/bin/pax) | | 94 | .if exists(/bin/pax) |
95 | TOOLS_PLATFORM.pax?= /bin/pax | | 95 | TOOLS_PLATFORM.pax?= /bin/pax |
96 | .endif | | 96 | .endif |
97 | .if exists(/bin/perl) | | 97 | .if exists(/bin/perl) |
98 | TOOLS_PLATFORM.perl?= /bin/perl | | 98 | TOOLS_PLATFORM.perl?= /bin/perl |
99 | TOOLS_PLATFORM.pod2man?= /bin/pod2man | | 99 | TOOLS_PLATFORM.pod2man?= /bin/pod2man |
100 | .endif | | 100 | .endif |
101 | # Don't use GNU patch | | 101 | # Don't use GNU patch |
102 | #.if exists(/bin/patch) | | 102 | #.if exists(/bin/patch) |
103 | #TOOLS_PLATFORM.patch?= /bin/patch | | 103 | #TOOLS_PLATFORM.patch?= /bin/patch |
104 | #.endif | | 104 | #.endif |
105 | .if exists(/bin/pkg-config) | | 105 | .if exists(/bin/pkg-config) |
106 | TOOLS_PLATFORM.pkg-config?= /bin/pkg-config | | 106 | TOOLS_PLATFORM.pkg-config?= /bin/pkg-config |
107 | .endif | | 107 | .endif |
108 | TOOLS_PLATFORM.printf?= /bin/printf | | 108 | TOOLS_PLATFORM.printf?= /bin/printf |
109 | TOOLS_PLATFORM.pwd?= /bin/pwd | | 109 | TOOLS_PLATFORM.pwd?= /bin/pwd |
110 | TOOLS_PLATFORM.readlink?= /bin/readlink | | 110 | TOOLS_PLATFORM.readlink?= /bin/readlink |
111 | TOOLS_PLATFORM.rm?= /bin/rm | | 111 | TOOLS_PLATFORM.rm?= /bin/rm |
112 | TOOLS_PLATFORM.rmdir?= /bin/rmdir | | 112 | TOOLS_PLATFORM.rmdir?= /bin/rmdir |
113 | TOOLS_PLATFORM.sdiff?= /bin/sdiff | | 113 | TOOLS_PLATFORM.sdiff?= /bin/sdiff |
114 | TOOLS_PLATFORM.sed?= /bin/sed -b | | 114 | TOOLS_PLATFORM.sed?= /bin/sed -b |
115 | TOOLS_PLATFORM.sh?= /bin/sh | | 115 | TOOLS_PLATFORM.sh?= /bin/sh |
116 | TOOLS_PLATFORM.sleep?= /bin/sleep | | 116 | TOOLS_PLATFORM.sleep?= /bin/sleep |
117 | TOOLS_PLATFORM.soelim?= /bin/soelim | | 117 | TOOLS_PLATFORM.soelim?= /bin/soelim |
118 | TOOLS_PLATFORM.sort?= /bin/sort | | 118 | TOOLS_PLATFORM.sort?= /bin/sort |
119 | .if exists(/bin/strip) | | 119 | .if exists(/bin/strip) |
120 | TOOLS_PLATFORM.strip?= /bin/strip | | 120 | TOOLS_PLATFORM.strip?= /bin/strip |
121 | .endif | | 121 | .endif |
122 | TOOLS_PLATFORM.tail?= /bin/tail | | 122 | TOOLS_PLATFORM.tail?= /bin/tail |
123 | TOOLS_PLATFORM.tar?= /bin/tar | | 123 | TOOLS_PLATFORM.tar?= /bin/tar |
124 | TOOLS_PLATFORM.tbl?= /bin/tbl | | 124 | TOOLS_PLATFORM.tbl?= /bin/tbl |
125 | TOOLS_PLATFORM.tee?= /bin/tee | | 125 | TOOLS_PLATFORM.tee?= /bin/tee |
126 | TOOLS_PLATFORM.test?= test # shell builtin | | 126 | TOOLS_PLATFORM.test?= test # shell builtin |
127 | .if exists(/bin/texi2html) | | 127 | .if exists(/bin/texi2html) |
128 | TOOLS_PLATFORM.texi2html?= /bin/texi2html | | 128 | TOOLS_PLATFORM.texi2html?= /bin/texi2html |
129 | .endif | | 129 | .endif |
130 | TOOLS_PLATFORM.touch?= /bin/touch | | 130 | TOOLS_PLATFORM.touch?= /bin/touch |
131 | TOOLS_PLATFORM.tr?= /bin/tr | | 131 | TOOLS_PLATFORM.tr?= /bin/tr |
132 | TOOLS_PLATFORM.true?= true # shell builtin | | 132 | TOOLS_PLATFORM.true?= true # shell builtin |
133 | TOOLS_PLATFORM.tsort?= /bin/tsort | | 133 | TOOLS_PLATFORM.tsort?= /bin/tsort |
134 | .if exists(/bin/unzip) | | 134 | .if exists(/bin/unzip) |
135 | TOOLS_PLATFORM.unzip?= /bin/unzip | | 135 | TOOLS_PLATFORM.unzip?= /bin/unzip |
136 | .endif | | 136 | .endif |
137 | TOOLS_PLATFORM.wc?= /bin/wc | | 137 | TOOLS_PLATFORM.wc?= /bin/wc |
138 | .if exists(/bin/wget) | | 138 | .if exists(/bin/wget) |
139 | TOOLS_PLATFORM.wget?= /bin/wget | | 139 | TOOLS_PLATFORM.wget?= /bin/wget |
140 | .endif | | 140 | .endif |
141 | TOOLS_PLATFORM.xargs?= /bin/xargs -r | | 141 | TOOLS_PLATFORM.xargs?= /bin/xargs -r |
142 | .if exists(/bin/xgettext) | | 142 | .if exists(/bin/xgettext) |
143 | TOOLS_PLATFORM.xgettext?= /bin/xgettext | | 143 | TOOLS_PLATFORM.xgettext?= /bin/xgettext |
144 | .endif | | 144 | .endif |
145 | TOOLS_PLATFORM.xzcat?= /bin/xz | | 145 | TOOLS_PLATFORM.xz?= /bin/xz |
146 | TOOLS_PLATFORM.xzcat?= /bin/xzcat | | 146 | TOOLS_PLATFORM.xzcat?= /bin/xzcat |
147 | .if exists(/bin/yacc) | | 147 | .if exists(/bin/yacc) |
148 | TOOLS_PLATFORM.yacc?= /bin/yacc | | 148 | TOOLS_PLATFORM.yacc?= /bin/yacc |
149 | .endif | | 149 | .endif |
150 | .if exists(/bin/zip) | | 150 | .if exists(/bin/zip) |
151 | TOOLS_PLATFORM.zip?= /bin/zip | | 151 | TOOLS_PLATFORM.zip?= /bin/zip |
152 | .endif | | 152 | .endif |