| @@ -1,128 +1,126 @@ | | | @@ -1,128 +1,126 @@ |
1 | # $NetBSD: tools.Darwin.mk,v 1.52 2014/07/21 00:25:48 obache Exp $ | | 1 | # $NetBSD: tools.Darwin.mk,v 1.53 2014/07/21 00:33:11 obache Exp $ |
2 | # | | 2 | # |
3 | # System-supplied tools for the Darwin (Mac OS X) operating system. | | 3 | # System-supplied tools for the Darwin (Mac OS X) 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.bash?= /bin/bash | | 8 | TOOLS_PLATFORM.bash?= /bin/bash |
9 | # Native bison (at least up to version 2.3 in OSX Lion) does not work | | 9 | # Native bison (at least up to version 2.3 in OSX Lion) does not work |
10 | # well in the tools environment and cannot locate m4sugar.m4 without | | 10 | # well in the tools environment and cannot locate m4sugar.m4 without |
11 | # BISON_PKGDATADIR being set. For now just pull in the pkgsrc tool. | | 11 | # BISON_PKGDATADIR being set. For now just pull in the pkgsrc tool. |
12 | #TOOLS_PLATFORM.bison?= /usr/bin/bison | | 12 | #TOOLS_PLATFORM.bison?= /usr/bin/bison |
13 | #TOOLS_PLATFORM.bison-yacc?= /usr/bin/bison -y | | 13 | #TOOLS_PLATFORM.bison-yacc?= /usr/bin/bison -y |
14 | .if exists(/usr/bin/bsdtar) | | 14 | .if exists(/usr/bin/bsdtar) |
15 | TOOLS_PLATFORM.bsdtar?= /usr/bin/bsdtar | | 15 | TOOLS_PLATFORM.bsdtar?= /usr/bin/bsdtar |
16 | .endif | | 16 | .endif |
17 | TOOLS_PLATFORM.byacc?= /usr/bin/yacc | | 17 | TOOLS_PLATFORM.byacc?= /usr/bin/yacc |
18 | .if exists(/usr/bin/bzcat) | | 18 | .if exists(/usr/bin/bzcat) |
19 | TOOLS_PLATFORM.bzcat?= /usr/bin/bzcat | | 19 | TOOLS_PLATFORM.bzcat?= /usr/bin/bzcat |
20 | .endif | | 20 | .endif |
21 | .if exists(/usr/bin/bzip2) | | 21 | .if exists(/usr/bin/bzip2) |
22 | TOOLS_PLATFORM.bzip2?= /usr/bin/bzip2 | | 22 | TOOLS_PLATFORM.bzip2?= /usr/bin/bzip2 |
23 | .endif | | 23 | .endif |
24 | TOOLS_PLATFORM.cat?= /bin/cat | | 24 | TOOLS_PLATFORM.cat?= /bin/cat |
25 | TOOLS_PLATFORM.chgrp?= /usr/bin/chgrp | | 25 | TOOLS_PLATFORM.chgrp?= /usr/bin/chgrp |
26 | TOOLS_PLATFORM.chmod?= /bin/chmod | | 26 | TOOLS_PLATFORM.chmod?= /bin/chmod |
27 | TOOLS_PLATFORM.chown?= /usr/sbin/chown | | 27 | TOOLS_PLATFORM.chown?= /usr/sbin/chown |
28 | TOOLS_PLATFORM.cmp?= /usr/bin/cmp | | 28 | TOOLS_PLATFORM.cmp?= /usr/bin/cmp |
29 | TOOLS_PLATFORM.cp?= /bin/cp | | 29 | TOOLS_PLATFORM.cp?= /bin/cp |
30 | TOOLS_PLATFORM.csh?= /bin/tcsh | | 30 | TOOLS_PLATFORM.csh?= /bin/tcsh |
31 | .if exists(/usr/bin/curl) | | 31 | .if exists(/usr/bin/curl) |
32 | TOOLS_PLATFORM.curl?= /usr/bin/curl | | 32 | TOOLS_PLATFORM.curl?= /usr/bin/curl |
33 | .endif | | 33 | .endif |
34 | TOOLS_PLATFORM.cut?= /usr/bin/cut | | 34 | TOOLS_PLATFORM.cut?= /usr/bin/cut |
35 | TOOLS_PLATFORM.date?= /bin/date | | 35 | TOOLS_PLATFORM.date?= /bin/date |
36 | TOOLS_PLATFORM.diff?= /usr/bin/diff | | 36 | TOOLS_PLATFORM.diff?= /usr/bin/diff |
37 | TOOLS_PLATFORM.dirname?= /usr/bin/dirname | | 37 | TOOLS_PLATFORM.dirname?= /usr/bin/dirname |
38 | TOOLS_PLATFORM.echo?= echo # shell builtin | | 38 | TOOLS_PLATFORM.echo?= echo # shell builtin |
39 | TOOLS_PLATFORM.egrep?= /usr/bin/egrep | | 39 | TOOLS_PLATFORM.egrep?= /usr/bin/egrep |
40 | TOOLS_PLATFORM.env?= /usr/bin/env | | 40 | TOOLS_PLATFORM.env?= /usr/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?= /usr/bin/fgrep | | 43 | TOOLS_PLATFORM.fgrep?= /usr/bin/fgrep |
44 | TOOLS_PLATFORM.file?= /usr/bin/file | | 44 | TOOLS_PLATFORM.file?= /usr/bin/file |
45 | TOOLS_PLATFORM.find?= /usr/bin/find | | 45 | TOOLS_PLATFORM.find?= /usr/bin/find |
46 | TOOLS_PLATFORM.flex?= /usr/bin/flex | | 46 | TOOLS_PLATFORM.flex?= /usr/bin/flex |
47 | .if empty(MACHINE_PLATFORM:MDarwin-[0-9].*-*) | | | |
48 | TOOLS_PLATFORM.ftp?= /usr/bin/ftp | | 47 | TOOLS_PLATFORM.ftp?= /usr/bin/ftp |
49 | .endif | | | |
50 | .if empty(MACHINE_PLATFORM:MDarwin-[0-8].*-*) | | 48 | .if empty(MACHINE_PLATFORM:MDarwin-[0-8].*-*) |
51 | TOOLS_PLATFORM.gmake?= /usr/bin/gnumake | | 49 | TOOLS_PLATFORM.gmake?= /usr/bin/gnumake |
52 | TOOLS_PLATFORM.gm4?= /usr/bin/gm4 | | 50 | TOOLS_PLATFORM.gm4?= /usr/bin/gm4 |
53 | .endif | | 51 | .endif |
54 | TOOLS_PLATFORM.grep?= /usr/bin/grep | | 52 | TOOLS_PLATFORM.grep?= /usr/bin/grep |
55 | .if exists(/usr/bin/groff) | | 53 | .if exists(/usr/bin/groff) |
56 | TOOLS_PLATFORM.groff?=/usr/bin/groff | | 54 | TOOLS_PLATFORM.groff?=/usr/bin/groff |
57 | .endif | | 55 | .endif |
58 | .if exists(/usr/bin/gnutar) | | 56 | .if exists(/usr/bin/gnutar) |
59 | TOOLS_PLATFORM.gtar?= /usr/bin/gnutar | | 57 | TOOLS_PLATFORM.gtar?= /usr/bin/gnutar |
60 | .endif | | 58 | .endif |
61 | TOOLS_PLATFORM.gunzip?= /usr/bin/gunzip -f | | 59 | TOOLS_PLATFORM.gunzip?= /usr/bin/gunzip -f |
62 | TOOLS_PLATFORM.gzcat?= /usr/bin/gzcat | | 60 | TOOLS_PLATFORM.gzcat?= /usr/bin/gzcat |
63 | TOOLS_PLATFORM.gzip?= /usr/bin/gzip -nf ${GZIP} | | 61 | TOOLS_PLATFORM.gzip?= /usr/bin/gzip -nf ${GZIP} |
64 | TOOLS_PLATFORM.head?= /usr/bin/head | | 62 | TOOLS_PLATFORM.head?= /usr/bin/head |
65 | TOOLS_PLATFORM.hostname?= /bin/hostname | | 63 | TOOLS_PLATFORM.hostname?= /bin/hostname |
66 | TOOLS_PLATFORM.id?= /usr/bin/id | | 64 | TOOLS_PLATFORM.id?= /usr/bin/id |
67 | TOOLS_PLATFORM.ident?= /usr/bin/ident | | 65 | TOOLS_PLATFORM.ident?= /usr/bin/ident |
68 | TOOLS_PLATFORM.install?= /usr/bin/install | | 66 | TOOLS_PLATFORM.install?= /usr/bin/install |
69 | .if exists(/usr/bin/install-info) | | 67 | .if exists(/usr/bin/install-info) |
70 | TOOLS_PLATFORM.install-info?= /usr/bin/install-info | | 68 | TOOLS_PLATFORM.install-info?= /usr/bin/install-info |
71 | .endif | | 69 | .endif |
72 | .if exists(/bin/ksh) | | 70 | .if exists(/bin/ksh) |
73 | TOOLS_PLATFORM.ksh?= /bin/ksh | | 71 | TOOLS_PLATFORM.ksh?= /bin/ksh |
74 | .endif | | 72 | .endif |
75 | TOOLS_PLATFORM.lex?= /usr/bin/lex | | 73 | TOOLS_PLATFORM.lex?= /usr/bin/lex |
76 | TOOLS_PLATFORM.ln?= /bin/ln | | 74 | TOOLS_PLATFORM.ln?= /bin/ln |
77 | TOOLS_PLATFORM.ls?= /bin/ls | | 75 | TOOLS_PLATFORM.ls?= /bin/ls |
78 | TOOLS_PLATFORM.m4?= /usr/bin/m4 | | 76 | TOOLS_PLATFORM.m4?= /usr/bin/m4 |
79 | TOOLS_PLATFORM.mail?= /usr/bin/mail | | 77 | TOOLS_PLATFORM.mail?= /usr/bin/mail |
80 | .if exists(/usr/bin/makeinfo) | | 78 | .if exists(/usr/bin/makeinfo) |
81 | TOOLS_PLATFORM.makeinfo?= /usr/bin/makeinfo | | 79 | TOOLS_PLATFORM.makeinfo?= /usr/bin/makeinfo |
82 | .endif | | 80 | .endif |
83 | TOOLS_PLATFORM.mkdir?= /bin/mkdir -p | | 81 | TOOLS_PLATFORM.mkdir?= /bin/mkdir -p |
84 | TOOLS_PLATFORM.mktemp?= /usr/bin/mktemp | | 82 | TOOLS_PLATFORM.mktemp?= /usr/bin/mktemp |
85 | TOOLS_PLATFORM.mtree?= /usr/sbin/mtree | | 83 | TOOLS_PLATFORM.mtree?= /usr/sbin/mtree |
86 | TOOLS_PLATFORM.mv?= /bin/mv | | 84 | TOOLS_PLATFORM.mv?= /bin/mv |
87 | TOOLS_PLATFORM.nice?= /usr/bin/nice | | 85 | TOOLS_PLATFORM.nice?= /usr/bin/nice |
88 | TOOLS_PLATFORM.nroff?= /usr/bin/nroff | | 86 | TOOLS_PLATFORM.nroff?= /usr/bin/nroff |
89 | TOOLS_PLATFORM.openssl?= /usr/bin/openssl | | 87 | TOOLS_PLATFORM.openssl?= /usr/bin/openssl |
90 | TOOLS_PLATFORM.pax?= /bin/pax | | 88 | TOOLS_PLATFORM.pax?= /bin/pax |
91 | # Don't use GNU patch | | 89 | # Don't use GNU patch |
92 | #TOOLS_PLATFORM.patch?= /usr/bin/patch | | 90 | #TOOLS_PLATFORM.patch?= /usr/bin/patch |
93 | TOOLS_PLATFORM.printf?= /usr/bin/printf | | 91 | TOOLS_PLATFORM.printf?= /usr/bin/printf |
94 | TOOLS_PLATFORM.pwd?= /bin/pwd | | 92 | TOOLS_PLATFORM.pwd?= /bin/pwd |
95 | TOOLS_PLATFORM.readlink?= /usr/bin/readlink | | 93 | TOOLS_PLATFORM.readlink?= /usr/bin/readlink |
96 | TOOLS_PLATFORM.rm?= /bin/rm | | 94 | TOOLS_PLATFORM.rm?= /bin/rm |
97 | TOOLS_PLATFORM.rmdir?= /bin/rmdir | | 95 | TOOLS_PLATFORM.rmdir?= /bin/rmdir |
98 | TOOLS_PLATFORM.sed?= /usr/bin/sed | | 96 | TOOLS_PLATFORM.sed?= /usr/bin/sed |
99 | TOOLS_PLATFORM.sh?= /bin/sh | | 97 | TOOLS_PLATFORM.sh?= /bin/sh |
100 | .if exists(/usr/bin/shlock) | | 98 | .if exists(/usr/bin/shlock) |
101 | TOOLS_PLATFORM.shlock?= /usr/bin/shlock | | 99 | TOOLS_PLATFORM.shlock?= /usr/bin/shlock |
102 | .endif | | 100 | .endif |
103 | TOOLS_PLATFORM.sleep?= /bin/sleep | | 101 | TOOLS_PLATFORM.sleep?= /bin/sleep |
104 | .if exists(/usr/bin/soelim) | | 102 | .if exists(/usr/bin/soelim) |
105 | TOOLS_PLATFORM.soelim?= /usr/bin/soelim | | 103 | TOOLS_PLATFORM.soelim?= /usr/bin/soelim |
106 | .endif | | 104 | .endif |
107 | TOOLS_PLATFORM.sort?= /usr/bin/sort | | 105 | TOOLS_PLATFORM.sort?= /usr/bin/sort |
108 | TOOLS_PLATFORM.strip?= /usr/bin/strip | | 106 | TOOLS_PLATFORM.strip?= /usr/bin/strip |
109 | TOOLS_PLATFORM.tail?= /usr/bin/tail | | 107 | TOOLS_PLATFORM.tail?= /usr/bin/tail |
110 | TOOLS_PLATFORM.tar?= /usr/bin/tar | | 108 | TOOLS_PLATFORM.tar?= /usr/bin/tar |
111 | .if exists(/usr/bin/tbl) | | 109 | .if exists(/usr/bin/tbl) |
112 | TOOLS_PLATFORM.tbl?= /usr/bin/tbl | | 110 | TOOLS_PLATFORM.tbl?= /usr/bin/tbl |
113 | .endif | | 111 | .endif |
114 | TOOLS_PLATFORM.tclsh?= /usr/bin/tclsh | | 112 | TOOLS_PLATFORM.tclsh?= /usr/bin/tclsh |
115 | TOOLS_PLATFORM.tee?= /usr/bin/tee | | 113 | TOOLS_PLATFORM.tee?= /usr/bin/tee |
116 | TOOLS_PLATFORM.test?= test # shell builtin | | 114 | TOOLS_PLATFORM.test?= test # shell builtin |
117 | TOOLS_PLATFORM.touch?= /usr/bin/touch | | 115 | TOOLS_PLATFORM.touch?= /usr/bin/touch |
118 | TOOLS_PLATFORM.tr?= /usr/bin/tr | | 116 | TOOLS_PLATFORM.tr?= /usr/bin/tr |
119 | TOOLS_PLATFORM.true?= true # shell builtin | | 117 | TOOLS_PLATFORM.true?= true # shell builtin |
120 | TOOLS_PLATFORM.tsort?= /usr/bin/tsort | | 118 | TOOLS_PLATFORM.tsort?= /usr/bin/tsort |
121 | TOOLS_PLATFORM.uniq?= /usr/bin/uniq | | 119 | TOOLS_PLATFORM.uniq?= /usr/bin/uniq |
122 | TOOLS_PLATFORM.unzip?= /usr/bin/unzip | | 120 | TOOLS_PLATFORM.unzip?= /usr/bin/unzip |
123 | TOOLS_PLATFORM.wc?= /usr/bin/wc | | 121 | TOOLS_PLATFORM.wc?= /usr/bin/wc |
124 | .if exists(/usr/bin/wish) | | 122 | .if exists(/usr/bin/wish) |
125 | TOOLS_PLATFORM.wish?= /usr/bin/wish | | 123 | TOOLS_PLATFORM.wish?= /usr/bin/wish |
126 | .endif | | 124 | .endif |
127 | TOOLS_PLATFORM.xargs?= /usr/bin/xargs | | 125 | TOOLS_PLATFORM.xargs?= /usr/bin/xargs |
128 | TOOLS_PLATFORM.yacc?= /usr/bin/yacc | | 126 | TOOLS_PLATFORM.yacc?= /usr/bin/yacc |