2006-01-09 00:00:00 +01:00
|
|
|
# $NetBSD: tools.NetBSD.mk,v 1.23 2006/01/08 23:00:00 jlam Exp $
|
2005-04-27 17:28:16 +02:00
|
|
|
#
|
|
|
|
# System-supplied tools for the NetBSD operating system.
|
|
|
|
|
2005-04-28 19:30:24 +02:00
|
|
|
TOOLS_PLATFORM.[?= [ # shell builtin
|
2005-04-27 18:52:28 +02:00
|
|
|
TOOLS_PLATFORM.awk?= /usr/bin/awk
|
|
|
|
TOOLS_PLATFORM.basename?= /usr/bin/basename
|
2005-09-20 05:50:18 +02:00
|
|
|
TOOLS_PLATFORM.byacc?= /usr/bin/yacc
|
2005-05-02 04:50:33 +02:00
|
|
|
.if exists(/usr/bin/bzcat)
|
|
|
|
TOOLS_PLATFORM.bzcat?= /usr/bin/bzcat
|
|
|
|
.endif
|
2005-04-27 18:52:28 +02:00
|
|
|
TOOLS_PLATFORM.cat?= /bin/cat
|
|
|
|
TOOLS_PLATFORM.chgrp?= /usr/bin/chgrp
|
|
|
|
TOOLS_PLATFORM.chmod?= /bin/chmod
|
|
|
|
TOOLS_PLATFORM.chown?= /usr/sbin/chown
|
|
|
|
TOOLS_PLATFORM.cmp?= /usr/bin/cmp
|
|
|
|
TOOLS_PLATFORM.cp?= /bin/cp
|
2005-06-24 22:59:59 +02:00
|
|
|
TOOLS_PLATFORM.csh?= /bin/csh
|
2005-04-27 18:52:28 +02:00
|
|
|
TOOLS_PLATFORM.cut?= /usr/bin/cut
|
|
|
|
TOOLS_PLATFORM.date?= /bin/date
|
2005-06-23 22:45:34 +02:00
|
|
|
TOOLS_PLATFORM.diff?= /usr/bin/diff
|
2005-04-27 18:52:28 +02:00
|
|
|
TOOLS_PLATFORM.dirname?= /usr/bin/dirname
|
|
|
|
TOOLS_PLATFORM.echo?= echo # shell builtin
|
|
|
|
TOOLS_PLATFORM.egrep?= /usr/bin/egrep
|
|
|
|
TOOLS_PLATFORM.env?= /usr/bin/env
|
|
|
|
TOOLS_PLATFORM.expr?= /bin/expr
|
|
|
|
TOOLS_PLATFORM.false?= false # shell builtin
|
|
|
|
TOOLS_PLATFORM.fgrep?= /usr/bin/fgrep
|
|
|
|
TOOLS_PLATFORM.file?= /usr/bin/file
|
|
|
|
TOOLS_PLATFORM.find?= /usr/bin/find
|
2005-05-23 03:20:50 +02:00
|
|
|
TOOLS_PLATFORM.flex?= /usr/bin/lex
|
2005-04-27 17:59:25 +02:00
|
|
|
.if !empty(MACHINE_PLATFORM:MNetBSD-1.[0-6]*-*)
|
2005-04-27 18:52:28 +02:00
|
|
|
TOOLS_PLATFORM.gawk?= ${TOOLS_PLATFORM.awk}
|
2005-04-27 17:59:25 +02:00
|
|
|
.endif
|
2005-04-27 18:52:28 +02:00
|
|
|
TOOLS_PLATFORM.grep?= /usr/bin/grep
|
|
|
|
TOOLS_PLATFORM.gsed?= ${TOOLS_PLATFORM.sed} # GNUish
|
2006-01-09 00:00:00 +01:00
|
|
|
TOOLS_PLATFORM.gsoelim?= ${TOOLS_PLATFORM.soelim}
|
2005-04-27 18:52:28 +02:00
|
|
|
TOOLS_PLATFORM.gunzip?= /usr/bin/gunzip -f
|
|
|
|
TOOLS_PLATFORM.gzcat?= /usr/bin/gzcat
|
|
|
|
TOOLS_PLATFORM.gzip?= /usr/bin/gzip -nf ${GZIP}
|
|
|
|
TOOLS_PLATFORM.head?= /usr/bin/head
|
|
|
|
TOOLS_PLATFORM.hostname?= /bin/hostname
|
|
|
|
TOOLS_PLATFORM.id?= /usr/bin/id
|
2005-05-03 22:41:53 +02:00
|
|
|
TOOLS_PLATFORM.install?= /usr/bin/install
|
2005-05-02 06:42:08 +02:00
|
|
|
.if exists(/sbin/ldconfig)
|
|
|
|
TOOLS_PLATFORM.ldconfig?= /sbin/ldconfig
|
|
|
|
.endif
|
2005-04-27 18:52:28 +02:00
|
|
|
TOOLS_PLATFORM.lex?= /usr/bin/lex
|
|
|
|
TOOLS_PLATFORM.ln?= /bin/ln
|
|
|
|
TOOLS_PLATFORM.ls?= /bin/ls
|
|
|
|
TOOLS_PLATFORM.m4?= /usr/bin/m4
|
2005-05-03 18:30:34 +02:00
|
|
|
TOOLS_PLATFORM.mail?= /usr/bin/mail
|
2005-04-27 18:52:28 +02:00
|
|
|
TOOLS_PLATFORM.mkdir?= /bin/mkdir -p
|
2005-06-04 00:54:44 +02:00
|
|
|
TOOLS_PLATFORM.mktemp?= /usr/bin/mktemp
|
2005-04-27 18:52:28 +02:00
|
|
|
TOOLS_PLATFORM.mtree?= /usr/sbin/mtree
|
|
|
|
TOOLS_PLATFORM.mv?= /bin/mv
|
|
|
|
TOOLS_PLATFORM.nice?= /usr/bin/nice
|
2005-05-26 23:46:13 +02:00
|
|
|
TOOLS_PLATFORM.nroff?= /usr/bin/nroff
|
2005-04-27 18:52:28 +02:00
|
|
|
TOOLS_PLATFORM.patch?= /usr/bin/patch
|
|
|
|
TOOLS_PLATFORM.pax?= /bin/pax
|
2005-10-12 18:28:29 +02:00
|
|
|
TOOLS_PLATFORM.printf?= /usr/bin/printf
|
2005-04-27 18:52:28 +02:00
|
|
|
TOOLS_PLATFORM.pwd?= /bin/pwd
|
|
|
|
TOOLS_PLATFORM.rm?= /bin/rm
|
|
|
|
TOOLS_PLATFORM.rmdir?= /bin/rmdir
|
|
|
|
TOOLS_PLATFORM.sed?= /usr/bin/sed
|
|
|
|
TOOLS_PLATFORM.sh?= /bin/sh
|
|
|
|
TOOLS_PLATFORM.shlock?= /usr/bin/shlock
|
2005-11-04 21:02:01 +01:00
|
|
|
TOOLS_PLATFORM.sleep?= /bin/sleep
|
2005-11-08 04:36:13 +01:00
|
|
|
TOOLS_PLATFORM.soelim?= /usr/bin/soelim
|
2005-04-27 18:52:28 +02:00
|
|
|
TOOLS_PLATFORM.sort?= /usr/bin/sort
|
2005-05-10 21:56:51 +02:00
|
|
|
TOOLS_PLATFORM.strip?= /usr/bin/strip
|
2005-04-27 18:52:28 +02:00
|
|
|
TOOLS_PLATFORM.tail?= /usr/bin/tail
|
2005-05-14 23:15:07 +02:00
|
|
|
.if exists(/bin/tar)
|
|
|
|
TOOLS_PLATFORM.tar?= /bin/tar
|
|
|
|
.elif exists(/usr/bin/tar)
|
|
|
|
TOOLS_PLATFORM.tar?= /usr/bin/tar
|
|
|
|
.endif
|
2005-04-27 18:52:28 +02:00
|
|
|
TOOLS_PLATFORM.tbl?= /usr/bin/tbl
|
|
|
|
TOOLS_PLATFORM.tee?= /usr/bin/tee
|
|
|
|
TOOLS_PLATFORM.test?= test # shell builtin
|
|
|
|
TOOLS_PLATFORM.touch?= /usr/bin/touch
|
|
|
|
TOOLS_PLATFORM.tr?= /usr/bin/tr
|
|
|
|
TOOLS_PLATFORM.true?= true # shell builtin
|
|
|
|
TOOLS_PLATFORM.tsort?= /usr/bin/tsort
|
|
|
|
TOOLS_PLATFORM.wc?= /usr/bin/wc
|
|
|
|
TOOLS_PLATFORM.xargs?= /usr/bin/xargs
|
|
|
|
TOOLS_PLATFORM.yacc?= /usr/bin/yacc
|