| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: tools.Haiku.mk,v 1.2 2010/05/03 07:02:24 obache Exp $ | | 1 | # $NetBSD: tools.Haiku.mk,v 1.3 2010/06/21 11:17:21 obache Exp $ |
2 | # | | 2 | # |
3 | # System-supplied tools for the Haiku operating system. | | 3 | # System-supplied tools for the Haiku 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 | TOOLS_PLATFORM.bison?= /boot/common/bin/bison | | 9 | TOOLS_PLATFORM.bison?= /boot/common/bin/bison |
10 | TOOLS_PLATFORM.bison-yacc?= /boot/common/bin/bison -y | | 10 | TOOLS_PLATFORM.bison-yacc?= /boot/common/bin/bison -y |
11 | TOOLS_PLATFORM.bzcat?= /bin/bzip2 -cd | | 11 | TOOLS_PLATFORM.bzcat?= /bin/bzip2 -cd |
12 | TOOLS_PLATFORM.bzip2?= /bin/bzip2 | | 12 | TOOLS_PLATFORM.bzip2?= /bin/bzip2 |
13 | TOOLS_PLATFORM.cat?= /bin/cat | | 13 | TOOLS_PLATFORM.cat?= /bin/cat |
14 | TOOLS_PLATFORM.chgrp?= /bin/chgrp | | 14 | TOOLS_PLATFORM.chgrp?= /bin/chgrp |
| @@ -17,55 +17,65 @@ TOOLS_PLATFORM.chown?= /bin/chown | | | @@ -17,55 +17,65 @@ TOOLS_PLATFORM.chown?= /bin/chown |
17 | TOOLS_PLATFORM.cmp?= /bin/cmp | | 17 | TOOLS_PLATFORM.cmp?= /bin/cmp |
18 | TOOLS_PLATFORM.cp?= /bin/cp | | 18 | TOOLS_PLATFORM.cp?= /bin/cp |
19 | TOOLS_PLATFORM.cut?= /bin/cut | | 19 | TOOLS_PLATFORM.cut?= /bin/cut |
20 | TOOLS_PLATFORM.date?= /bin/date | | 20 | TOOLS_PLATFORM.date?= /bin/date |
21 | TOOLS_PLATFORM.diff?= /bin/diff | | 21 | TOOLS_PLATFORM.diff?= /bin/diff |
22 | TOOLS_PLATFORM.diff3?= /bin/diff3 | | 22 | TOOLS_PLATFORM.diff3?= /bin/diff3 |
23 | TOOLS_PLATFORM.dirname?= /bin/dirname | | 23 | TOOLS_PLATFORM.dirname?= /bin/dirname |
24 | TOOLS_PLATFORM.echo?= echo # shell builtin | | 24 | TOOLS_PLATFORM.echo?= echo # shell builtin |
25 | TOOLS_PLATFORM.egrep?= /bin/egrep | | 25 | TOOLS_PLATFORM.egrep?= /bin/egrep |
26 | TOOLS_PLATFORM.env?= /bin/env | | 26 | TOOLS_PLATFORM.env?= /bin/env |
27 | TOOLS_PLATFORM.expr?= /bin/expr | | 27 | TOOLS_PLATFORM.expr?= /bin/expr |
28 | TOOLS_PLATFORM.false?= false # shell builtin | | 28 | TOOLS_PLATFORM.false?= false # shell builtin |
29 | TOOLS_PLATFORM.fgrep?= /bin/fgrep | | 29 | TOOLS_PLATFORM.fgrep?= /bin/fgrep |
30 | TOOLS_PLATFORM.file?= /usr/bin/file | | 30 | #TOOLS_PLATFORM.file?= /usr/bin/file |
31 | TOOLS_PLATFORM.find?= /bin/find | | 31 | TOOLS_PLATFORM.find?= /bin/find |
32 | TOOLS_PLATFORM.ftp?= /bin/ftp | | 32 | TOOLS_PLATFORM.ftp?= /bin/ftp |
33 | TOOLS_PLATFORM.gawk?= /bin/gawk | | 33 | TOOLS_PLATFORM.gawk?= /bin/gawk |
34 | TOOLS_PLATFORM.gm4?= /boot/common/bin/m4 | | 34 | TOOLS_PLATFORM.gm4?= /boot/common/bin/m4 |
35 | TOOLS_PLATFORM.gmake?= /bin/make | | 35 | TOOLS_PLATFORM.gmake?= /bin/make |
36 | TOOLS_PLATFORM.grep?= /bin/grep | | 36 | TOOLS_PLATFORM.grep?= /bin/grep |
37 | #TOOLS_PLATFORM.groff?= /usr/bin/groff | | 37 | #TOOLS_PLATFORM.groff?= /usr/bin/groff |
| | | 38 | .if exists(/bin/sed) |
38 | TOOLS_PLATFORM.gsed?= /bin/sed | | 39 | TOOLS_PLATFORM.gsed?= /bin/sed |
| | | 40 | .elif exists(/boot/common/bin/sed) |
| | | 41 | TOOLS_PLATFORM.gsed?= /boot/common/bin/sed |
| | | 42 | .endif |
39 | #TOOLS_PLATFORM.gsoelim?= /usr/bin/soelim | | 43 | #TOOLS_PLATFORM.gsoelim?= /usr/bin/soelim |
| | | 44 | .if exists(/bin/tar) |
40 | TOOLS_PLATFORM.gtar?= /bin/tar | | 45 | TOOLS_PLATFORM.gtar?= /bin/tar |
| | | 46 | .elif exists(/boot/common/bin/tar) |
| | | 47 | TOOLS_PLATFORM.gtar?= /boot/common/bin/tar |
| | | 48 | .endif |
41 | TOOLS_PLATFORM.gunzip?= /bin/gunzip -f | | 49 | TOOLS_PLATFORM.gunzip?= /bin/gunzip -f |
42 | TOOLS_PLATFORM.gzcat?= /bin/zcat | | 50 | TOOLS_PLATFORM.gzcat?= /bin/zcat |
43 | TOOLS_PLATFORM.gzip?= /bin/gzip -nf ${GZIP} | | 51 | TOOLS_PLATFORM.gzip?= /bin/gzip -nf ${GZIP} |
44 | TOOLS_PLATFORM.head?= /bin/head | | 52 | TOOLS_PLATFORM.head?= /bin/head |
45 | TOOLS_PLATFORM.hostname?= /bin/hostname | | 53 | TOOLS_PLATFORM.hostname?= /bin/hostname |
46 | TOOLS_PLATFORM.id?= /bin/id | | 54 | TOOLS_PLATFORM.id?= /bin/id |
47 | TOOLS_PLATFORM.ident?= /bin/ident | | 55 | TOOLS_PLATFORM.ident?= /bin/ident |
48 | TOOLS_PLATFORM.install?= /bin/install | | 56 | TOOLS_PLATFORM.install?= /bin/install |
49 | TOOLS_PLATFORM.install-info?= /boot/common/bin/install-info | | 57 | TOOLS_PLATFORM.install-info?= /boot/common/bin/install-info |
50 | #TOOLS_PLATFORM.ldconfig?= /sbin/ldconfig | | 58 | #TOOLS_PLATFORM.ldconfig?= /sbin/ldconfig |
51 | # XXX: Haiku currently no support of hard link. | | 59 | # XXX: Haiku currently no support of hard link. |
52 | TOOLS_PLATFORM.ln?= /bin/ln | | 60 | TOOLS_PLATFORM.ln?= /bin/ln |
53 | TOOLS_PLATFORM.ls?= /bin/ls | | 61 | TOOLS_PLATFORM.ls?= /bin/ls |
54 | TOOLS_PLATFORM.m4?= ${TOOLS_PLATFORM.gm4} | | 62 | TOOLS_PLATFORM.m4?= ${TOOLS_PLATFORM.gm4} |
55 | #TOOLS_PLATFORM.mail?= /bin/mail | | 63 | #TOOLS_PLATFORM.mail?= /bin/mail |
56 | TOOLS_PLATFORM.makeinfo?= /boot/common/bin/makeinfo | | 64 | TOOLS_PLATFORM.makeinfo?= /boot/common/bin/makeinfo |
57 | TOOLS_PLATFORM.mkdir?= /bin/mkdir -p | | 65 | TOOLS_PLATFORM.mkdir?= /bin/mkdir -p |
58 | #TOOLS_PLATFORM.mktemp?= /usr/bin/mktemp | | 66 | .if exists(/bin/mktemp) |
| | | 67 | TOOLS_PLATFORM.mktemp?= /bin/mktemp |
| | | 68 | .endif |
59 | #TOOLS_PLATFORM.msgfmt?= /usr/bin/msgfmt | | 69 | #TOOLS_PLATFORM.msgfmt?= /usr/bin/msgfmt |
60 | TOOLS_PLATFORM.mv?= /bin/mv | | 70 | TOOLS_PLATFORM.mv?= /bin/mv |
61 | #TOOLS_PLATFORM.nice?= /bin/nice | | 71 | #TOOLS_PLATFORM.nice?= /bin/nice |
62 | #TOOLS_PLATFORM.nroff?= /usr/bin/nroff | | 72 | #TOOLS_PLATFORM.nroff?= /usr/bin/nroff |
63 | TOOLS_PLATFORM.openssl?= /boot/common/bin/openssl | | 73 | TOOLS_PLATFORM.openssl?= /boot/common/bin/openssl |
64 | TOOLS_PLATFORM.patch?= /bin/patch | | 74 | TOOLS_PLATFORM.patch?= /bin/patch |
65 | TOOLS_PLATFORM.printf?= /bin/printf | | 75 | TOOLS_PLATFORM.printf?= /bin/printf |
66 | TOOLS_PLATFORM.pwd?= /bin/pwd | | 76 | TOOLS_PLATFORM.pwd?= /bin/pwd |
67 | TOOLS_PLATFORM.rm?= /bin/rm | | 77 | TOOLS_PLATFORM.rm?= /bin/rm |
68 | TOOLS_PLATFORM.rmdir?= /bin/rmdir | | 78 | TOOLS_PLATFORM.rmdir?= /bin/rmdir |
69 | #TOOLS_PLATFORM.sdiff?= /bin/sdiff | | 79 | #TOOLS_PLATFORM.sdiff?= /bin/sdiff |
70 | TOOLS_PLATFORM.sed?= ${TOOLS_PLATFORM.gsed} | | 80 | TOOLS_PLATFORM.sed?= ${TOOLS_PLATFORM.gsed} |
71 | TOOLS_PLATFORM.sh?= /bin/sh | | 81 | TOOLS_PLATFORM.sh?= /bin/sh |