diff options
Diffstat (limited to 'mk/tools')
-rw-r--r-- | mk/tools/autoconf.mk | 190 | ||||
-rw-r--r-- | mk/tools/automake.mk | 146 | ||||
-rw-r--r-- | mk/tools/bootstrap.mk | 105 | ||||
-rw-r--r-- | mk/tools/bsd.tools.mk | 185 | ||||
-rw-r--r-- | mk/tools/defaults.mk | 108 | ||||
-rw-r--r-- | mk/tools/imake.mk | 91 | ||||
-rw-r--r-- | mk/tools/ldconfig.mk | 17 | ||||
-rw-r--r-- | mk/tools/make.mk | 25 | ||||
-rw-r--r-- | mk/tools/perl.mk | 38 | ||||
-rw-r--r-- | mk/tools/replace.mk | 1070 | ||||
-rw-r--r-- | mk/tools/rpcgen.mk | 28 | ||||
-rw-r--r-- | mk/tools/strip.mk | 16 | ||||
-rw-r--r-- | mk/tools/texinfo.mk | 23 | ||||
-rw-r--r-- | mk/tools/tools.AIX.mk | 53 | ||||
-rw-r--r-- | mk/tools/tools.BSDOS.mk | 63 | ||||
-rw-r--r-- | mk/tools/tools.Darwin.mk | 63 | ||||
-rw-r--r-- | mk/tools/tools.DragonFly.mk | 65 | ||||
-rw-r--r-- | mk/tools/tools.FreeBSD.mk | 67 | ||||
-rw-r--r-- | mk/tools/tools.IRIX.mk | 63 | ||||
-rw-r--r-- | mk/tools/tools.Interix.mk | 53 | ||||
-rw-r--r-- | mk/tools/tools.Linux.mk | 129 | ||||
-rw-r--r-- | mk/tools/tools.NetBSD.mk | 77 | ||||
-rw-r--r-- | mk/tools/tools.OSF1.mk | 54 | ||||
-rw-r--r-- | mk/tools/tools.OpenBSD.mk | 66 | ||||
-rw-r--r-- | mk/tools/tools.SunOS.mk | 66 | ||||
-rw-r--r-- | mk/tools/tools.UnixWare.mk | 50 |
26 files changed, 0 insertions, 2911 deletions
diff --git a/mk/tools/autoconf.mk b/mk/tools/autoconf.mk deleted file mode 100644 index c0750cb4610..00000000000 --- a/mk/tools/autoconf.mk +++ /dev/null @@ -1,190 +0,0 @@ -# $NetBSD: autoconf.mk,v 1.7.2.2 2005/05/17 18:29:46 tv Exp $ -# -# This Makefile fragment handles packages that use GNU autoconf. -# -# By default, all of the autoconf-related scripts are marked as -# "missing" by running the GNU missing script in place of the utility. -# This hides the autoconf-related scripts from makefiles that aggressively -# call them when some of the inputs are modified in ways the makefiles -# don't expect. -# -# If a package needs to use GNU autoconf, then the package Makefile -# should contain one of the following lines: -# -# USE_TOOLS+= autoconf # use recent GNU autoconf (>=2.50) -# USE_TOOLS+= autoconf213 # use GNU autoconf ~2.13 -# -# This will allow the package to invoke "autoconf", "autoreconf", etc. -# by their usual, bare names. -# -# If a particular minimum version of autoconf is required, then the -# package Makefile can additionally set AUTOCONF_REQD to the desired -# version, e.g.: -# -# AUTOCONF_REQD= 2.54 # use at least autoconf>=2.54 -# -# To globally prevent any GNU autoconf handling, set the following -# in the package Makefile: -# -# AUTOMAKE_OVERRIDE= no -# - -# Only allow one of "autoconf" and "autoconf213" in USE_TOOLS. -.if !empty(USE_TOOLS:Mautoconf) && !empty(USE_TOOLS:Mautoconf213) -PKG_FAIL_REASON+= "\`\`autoconf'' and \`\`autoconf213'' conflict in USE_TOOLS." -.endif - -# This is an exhaustive list of all of the scripts supplied by GNU -# autoconf. -# -_TOOLS_AC_NAMES= autoconf autoconf-2.13 -_TOOLS_AC_NAMES+= autoheader autoheader-2.13 -_TOOLS_AC_NAMES+= autom4te -_TOOLS_AC_NAMES+= autoreconf autoreconf-2.13 -_TOOLS_AC_NAMES+= autoscan autoscan-2.13 -_TOOLS_AC_NAMES+= autoupdate autoupdate-2.13 -_TOOLS_AC_NAMES+= ifnames ifnames-2.13 - -.for _t_ in ${_TOOLS_AC_NAMES} -_TOOLS_AC_TYPE.${_t_}?= TOOLS_GNU_MISSING -.endfor _t_ -.undef _t_ - -.if !defined(TOOLS_IGNORE.autoconf) && !empty(USE_TOOLS:Mautoconf) -. if !empty(PKGPATH:Mdevel/autoconf) -MAKEFLAGS+= TOOLS_IGNORE.autoconf= -. else -AUTOCONF_REQD?= 2.50 - -TOOLS_DEPMETHOD.autoconf?= BUILD_DEPENDS -TOOLS_DEPENDS.autoconf?= autoconf>=${AUTOCONF_REQD}:../../devel/autoconf -. if empty(${TOOLS_DEPMETHOD.autoconf}:M${TOOLS_DEPENDS.autoconf}) -${TOOLS_DEPMETHOD.autoconf}+= ${TOOLS_DEPENDS.autoconf} -. endif -EVAL_PREFIX+= _TOOLS_AC_PREFIX=autoconf - -_TOOLS_AC_TYPE.autoconf= TOOLS_CREATE -TOOLS_REAL_CMD.autoconf= ${_TOOLS_AC_PREFIX}/bin/autoconf - -_TOOLS_AC_TYPE.autoheader= TOOLS_CREATE -TOOLS_REAL_CMD.autoheader= ${_TOOLS_AC_PREFIX}/bin/autoheader - -_TOOLS_AC_TYPE.autom4te= TOOLS_CREATE -TOOLS_REAL_CMD.autom4te= ${_TOOLS_AC_PREFIX}/bin/autom4te - -_TOOLS_AC_TYPE.autoreconf= TOOLS_CREATE -TOOLS_REAL_CMD.autoreconf= ${_TOOLS_AC_PREFIX}/bin/autoreconf - -_TOOLS_AC_TYPE.autoscan= TOOLS_CREATE -TOOLS_REAL_CMD.autoscan= ${_TOOLS_AC_PREFIX}/bin/autoscan - -_TOOLS_AC_TYPE.autoupdate= TOOLS_CREATE -TOOLS_REAL_CMD.autoupdate= ${_TOOLS_AC_PREFIX}/bin/autoupdate - -_TOOLS_AC_TYPE.ifnames= TOOLS_CREATE -TOOLS_REAL_CMD.ifnames= ${_TOOLS_AC_PREFIX}/bin/ifnames - -# Continue to define the following variables until packages have been -# taught to just use "autoconf", "autoheader", and "autoreconf" instead. -# -AUTOCONF= ${TOOLS_CMD.autoconf} -AUTOHEADER= ${TOOLS_CMD.autoheader} -AUTORECONF= ${TOOLS_CMD.autoreconf} -. endif -.endif - -.if !defined(TOOLS_IGNORE.autoconf213) && !empty(USE_TOOLS:Mautoconf213) -. if !empty(PKGPATH:Mdevel/autoconf213) -MAKEFLAGS+= TOOLS_IGNORE.autoconf213= -. else -AUTOCONF_REQD?= 2.13 - -TOOLS_DEPMETHOD.autoconf213?= BUILD_DEPENDS -TOOLS_DEPENDS.autoconf213?= autoconf213>=${AUTOCONF_REQD}:../../devel/autoconf213 -. if empty(${TOOLS_DEPMETHOD.autoconf213}:M${TOOLS_DEPENDS.autoconf213}) -${TOOLS_DEPMETHOD.autoconf213}+= ${TOOLS_DEPENDS.autoconf213} -. endif -EVAL_PREFIX+= _TOOLS_AC_PREFIX=autoconf213 - -_TOOLS_AC_TYPE.autoconf-2.13= TOOLS_CREATE -_TOOLS_AC_TYPE.autoconf= # empty -TOOLS_REAL_CMD.autoconf-2.13= ${_TOOLS_AC_PREFIX}/bin/autoconf-2.13 -TOOLS_ALIASES.autoconf-2.13= autoconf - -_TOOLS_AC_TYPE.autoheader-2.13= TOOLS_CREATE -_TOOLS_AC_TYPE.autoheader= # empty -TOOLS_REAL_CMD.autoheader-2.13= ${_TOOLS_AC_PREFIX}/bin/autoheader-2.13 -TOOLS_ALIASES.autoheader-2.13= autoheader - -_TOOLS_AC_TYPE.autoreconf-2.13= TOOLS_CREATE -_TOOLS_AC_TYPE.autoreconf= # empty -TOOLS_REAL_CMD.autoreconf-2.13= ${_TOOLS_AC_PREFIX}/bin/autoreconf-2.13 -TOOLS_ALIASES.autoreconf-2.13= autoreconf - -_TOOLS_AC_TYPE.autoscan-2.13= TOOLS_CREATE -_TOOLS_AC_TYPE.autoscan= # empty -TOOLS_REAL_CMD.autoscan-2.13= ${_TOOLS_AC_PREFIX}/bin/autoscan-2.13 -TOOLS_ALIASES.autoscan-2.13= autoscan - -_TOOLS_AC_TYPE.autoupdate-2.13= TOOLS_CREATE -_TOOLS_AC_TYPE.autoupdate= # empty -TOOLS_REAL_CMD.autoupdate-2.13= ${_TOOLS_AC_PREFIX}/bin/autoupdate-2.13 -TOOLS_ALIASES.autoupdate-2.13= autoupdate - -_TOOLS_AC_TYPE.ifnames-2.13= TOOLS_CREATE -_TOOLS_AC_TYPE.ifnames= # empty -TOOLS_REAL_CMD.ifnames-2.13= ${_TOOLS_AC_PREFIX}/bin/ifnames-2.13 -TOOLS_ALIASES.ifnames-2.13= ifnames - -# Continue to define the following variables until packages have been -# taught to just use "autoconf", "autoheader", and "autoreconf" instead. -# -AUTOCONF= ${TOOLS_CMD.autoconf-2.13} -AUTOHEADER= ${TOOLS_CMD.autoheader-2.13} -AUTORECONF= ${TOOLS_CMD.autoreconf-2.13} - -. if defined(USE_LIBTOOL) -pre-configure: tools-libtool-m4-override -. endif -. endif -.endif - -# If the package wants to override the GNU auto* tools, then do it. -AUTOMAKE_OVERRIDE?= yes -.if !empty(AUTOMAKE_OVERRIDE:M[yY][eE][sS]) -. for _t_ in ${_TOOLS_AC_NAMES} -. if !empty(_TOOLS_AC_TYPE.${_t_}) -${_TOOLS_AC_TYPE.${_t_}}+= ${_t_} -. endif -. endfor -. undef _t_ -.endif - -# LIBTOOL_M4_OVERRIDE lists the locations where the libtool.m4 symlink -# will be created. The libtool.m4 symlink is only created if a GNU -# configure script exists at that location. -# -LIBTOOL_M4_OVERRIDE?= libtool.m4 */libtool.m4 */*/libtool.m4 - -# Symlink the libtool-1.4.m4 file into any directory in which there's -# a configure script under ${WRKSRC}. The symlink is called "libtool.m4", -# which is the name expected by the autoconf tools. The symlinking -# is only done if we need autoconf-2.13 and libtool. This allows -# autoconf-2.13, autoreconf-2.13 and aclocal-2.13 to use the older -# libtool.m4 file when regenerating files. This is okay, because we -# later override the generated libtool file anyway. -# -.PHONY: tools-libtool-m4-override -tools-libtool-m4-override: -.for _pattern_ in ${LIBTOOL_M4_OVERRIDE} - ${_PKG_SILENT}${_PKG_DEBUG} \ - cd ${WRKSRC}; \ - for cfile in ${_pattern_:S/libtool.m4$/configure/}; do \ - if ${TEST} -f "$$cfile"; then \ - libtool_m4=`${DIRNAME} $$cfile`/libtool.m4; \ - ${LN} -sf ${PKGSRCDIR}/mk/gnu-config/libtool-1.4.m4 \ - $$libtool_m4; \ - fi; \ - done -.endfor -.undef _pattern_ diff --git a/mk/tools/automake.mk b/mk/tools/automake.mk deleted file mode 100644 index 3480084aa66..00000000000 --- a/mk/tools/automake.mk +++ /dev/null @@ -1,146 +0,0 @@ -# $NetBSD: automake.mk,v 1.7.2.2 2005/05/17 18:29:46 tv Exp $ -# -# This Makefile fragment handles packages that use GNU automake. -# -# By default, all of the automake-related scripts are marked as -# "missing" by running the GNU missing script in place of the utility. -# This hides the automake-related scripts from makefiles that aggressively -# call them when some of the inputs are modified in ways the makefiles -# don't expect. -# -# If a package needs to use GNU automake, then the package Makefile -# should contain one of the following lines: -# -# USE_TOOLS+= automake # use recent GNU automake (>=1.9) -# USE_TOOLS+= automake14 # use GNU automake ~1.4 -# -# This will allow the package to invoke "aclocal" and "automake" by -# their usual, bare names. -# -# If a particular minimum version of automake is required, then the -# package Makefile can additionally set AUTOMAKE_REQD to the desired -# version, e.g.: -# -# AUTOMAKE_REQD= 1.8 # use at least automake>=1.8 -# -# If a package additionally needs to regenerate configure scripts and -# Makefiles that use gettext, then the package Makefile should contain -# the following line: -# -# USE_TOOLS+= gettext-m4 # need gettext.m4 to re-gen files -# -# To globally prevent any GNU automake handling, set the following -# in the package Makefile: -# -# AUTOMAKE_OVERRIDE= no -# - -# This variable is obsoleted, but continue to allow it until packages -# have been taught to use the new syntax. -# -.if defined(BUILD_USES_GETTEXT_M4) -USE_TOOLS+= gettext-m4 -.endif - -# Only allow one of "automake" and "automake14" in USE_TOOLS. -.if !empty(USE_TOOLS:Mautomake) && !empty(USE_TOOLS:Mautomake14) -PKG_FAIL_REASON+= "\`\`automake'' and \`\`automake14'' conflict in USE_TOOLS." -.endif - -# This is an exhaustive list of all of the scripts supplied by GNU -# automake. -# -_TOOLS_AM_NAMES= aclocal aclocal-1.4 \ - aclocal-1.5 \ - aclocal-1.6 \ - aclocal-1.7 \ - aclocal-1.8 \ - aclocal-1.9 -_TOOLS_AM_NAMES+= automake automake-1.4 \ - automake-1.5 \ - automake-1.6 \ - automake-1.7 \ - automake-1.8 \ - automake-1.9 - -.for _t_ in ${_TOOLS_AM_NAMES} -_TOOLS_AM_TYPE.${_t_}?= TOOLS_GNU_MISSING -.endfor -.undef _t_ - -.if !defined(TOOLS_IGNORE.automake) && !empty(USE_TOOLS:Mautomake) -. if !empty(PKGPATH:Mdevel/automake) -MAKEFLAGS+= TOOLS_IGNORE.automake= -. else -AUTOMAKE_REQD?= 1.9 -AUTOCONF_REQD?= 2.58 -USE_TOOLS+= autoconf - -TOOLS_DEPMETHOD.automake?= BUILD_DEPENDS -TOOLS_DEPENDS.automake?= automake>=${AUTOMAKE_REQD}:../../devel/automake -. if empty(${TOOLS_DEPMETHOD.automake}:M${TOOLS_DEPENDS.automake}) -${TOOLS_DEPMETHOD.automake}+= ${TOOLS_DEPENDS.automake} -. endif -EVAL_PREFIX+= _TOOLS_AM_PREFIX=automake - -_TOOLS_AM_TYPE.aclocal= TOOLS_CREATE -TOOLS_REAL_CMD.aclocal= ${_TOOLS_AM_PREFIX}/bin/aclocal - -_TOOLS_AM_TYPE.automake= TOOLS_CREATE -TOOLS_REAL_CMD.automake= ${_TOOLS_AM_PREFIX}/bin/automake - -# Continue to define the following variables until packages have been -# taught to just use "aclocal" and "automake" instead. -# -ACLOCAL= ${TOOLS_CMD.aclocal} -AUTOMAKE= ${TOOLS_CMD.automake} -. endif -.endif - -.if !defined(TOOLS_IGNORE.automake14) && !empty(USE_TOOLS:Mautomake14) -. if !empty(PKGPATH:Mdevel/automake14) -MAKEFLAGS+= TOOLS_IGNORE.automake14= -. else -AUTOMAKE_REQD?= 1.4 -AUTOCONF_REQD?= 2.13 -USE_TOOLS+= autoconf213 - -TOOLS_DEPMETHOD.automake14?= BUILD_DEPENDS -TOOLS_DEPENDS.automake14?= automake14>=${AUTOMAKE_REQD}:../../devel/automake14 -. if empty(${TOOLS_DEPMETHOD.automake14}:M${TOOLS_DEPENDS.automake14}) -${TOOLS_DEPMETHOD.automake14}+= ${TOOLS_DEPENDS.automake14} -. endif -EVAL_PREFIX+= _TOOLS_AM_PREFIX=automake14 - -_TOOLS_AM_TYPE.aclocal-1.4= TOOLS_CREATE -_TOOLS_AM_TYPE.aclocal= # empty -TOOLS_REAL_CMD.aclocal-1.4= ${_TOOLS_AM_PREFIX}/bin/aclocal-1.4 -TOOLS_ALIASES.aclocal-1.4= aclocal - -_TOOLS_AM_TYPE.automake-1.4= TOOLS_CREATE -_TOOLS_AM_TYPE.automake= # empty -TOOLS_REAL_CMD.automake-1.4= ${_TOOLS_AM_PREFIX}/bin/automake-1.4 -TOOLS_ALIASES.automake-1.4= automake - -# Continue to define the following variables until packages have been -# taught to just use "aclocal" and "automake" instead. -# -ACLOCAL= ${TOOLS_CMD.aclocal-1.4} -AUTOMAKE= ${TOOLS_CMD.automake-1.4} -. endif -.endif - -# If the package wants to override the GNU auto* tools, then do it. -AUTOMAKE_OVERRIDE?= yes -.if !empty(AUTOMAKE_OVERRIDE:M[yY][eE][sS]) -. for _t_ in ${_TOOLS_AM_NAMES} -. if !empty(_TOOLS_AM_TYPE.${_t_}) -${_TOOLS_AM_TYPE.${_t_}}+= ${_t_} -. endif -. endfor -. undef _t_ -.endif - -.if !empty(USE_TOOLS:Mgettext-m4) -BUILD_DEPENDS+= {gettext-0.10.35nb1,gettext-m4-[0-9]*}:../../devel/gettext-m4 -.endif diff --git a/mk/tools/bootstrap.mk b/mk/tools/bootstrap.mk deleted file mode 100644 index e396106ef32..00000000000 --- a/mk/tools/bootstrap.mk +++ /dev/null @@ -1,105 +0,0 @@ -# $NetBSD: bootstrap.mk,v 1.2.2.2 2005/05/17 18:29:46 tv Exp $ -# -# bootstrap.mk contains settings matching the contents of -# pkgsrc/bootstrap/bootstrap. Where we install the bootstrap versions -# of tools, we point TOOLS_PLATFORM.* to them so that pkgsrc knows -# that they are system-supplied and won't need replacement by pkgsrc -# versions of those tools. -# -# XXX This file should go away and the bootstrap script should be -# XXX taught to write out the correct TOOLS_PLATFORM.* definitions -# XXX on its own, based on the configuration used. -# - -.if ${OPSYS} == "AIX" -TOOLS_PLATFORM.gtar?= ${TOOLS_PLATFORM.tar} -TOOLS_PLATFORM.install?= ${LOCALBASE}/bin/install-sh -TOOLS_PLATFORM.mtree?= ${LOCALBASE}/sbin/mtree -TOOLS_PLATFORM.pax?= ${LOCALBASE}/bin/pax -TOOLS_PLATFORM.sed?= ${LOCALBASE}/bin/nbsed -TOOLS_PLATFORM.strip?= ${LOCALBASE}/bin/strip -TOOLS_PLATFORM.tar?= ${LOCALBASE}/bin/tar - -.elif ${OPSYS} == "Darwin" -TOOLS_PLATFORM.gtar?= ${TOOLS_PLATFORM.tar} -TOOLS_PLATFORM.pax?= ${LOCALBASE}/bin/pax -TOOLS_PLATFORM.tar?= ${LOCALBASE}/bin/tar - -.elif ${OPSYS} == "DragonFly" -TOOLS_PLATFORM.gtar?= ${TOOLS_PLATFORM.tar} -TOOLS_PLATFORM.pax?= ${LOCALBASE}/bin/pax -TOOLS_PLATFORM.tar?= ${LOCALBASE}/bin/tar - -.elif ${OPSYS} == "FreeBSD" -TOOLS_PLATFORM.gtar?= ${TOOLS_PLATFORM.tar} -TOOLS_PLATFORM.mtree?= ${LOCALBASE}/sbin/mtree -TOOLS_PLATFORM.pax?= ${LOCALBASE}/bin/pax -TOOLS_PLATFORM.tar?= ${LOCALBASE}/bin/tar - -.elif ${OPSYS} == "HPUX" -TOOLS_PLATFORM.gtar?= ${TOOLS_PLATFORM.tar} -TOOLS_PLATFORM.mtree?= ${LOCALBASE}/sbin/mtree -TOOLS_PLATFORM.pax?= ${LOCALBASE}/bin/pax -TOOLS_PLATFORM.sed?= ${LOCALBASE}/bin/nbsed -TOOLS_PLATFORM.tar?= ${LOCALBASE}/bin/tar - -.elif ${OPSYS} == "Interix" -TOOLS_PLATFORM.gtar?= ${TOOLS_PLATFORM.tar} -TOOLS_PLATFORM.install?= ${LOCALBASE}/bin/install-sh -TOOLS_PLATFORM.mtree?= ${LOCALBASE}/sbin/mtree -TOOLS_PLATFORM.pax?= ${LOCALBASE}/bin/pax -TOOLS_PLATFORM.sed?= ${LOCALBASE}/bin/nbsed -TOOLS_PLATFORM.tar?= ${LOCALBASE}/bin/tar - -.elif ${OPSYS} == "IRIX" -TOOLS_PLATFORM.gtar?= ${TOOLS_PLATFORM.tar} -TOOLS_PLATFORM.install?= ${LOCALBASE}/bin/install-sh -TOOLS_PLATFORM.mtree?= ${LOCALBASE}/sbin/mtree -TOOLS_PLATFORM.pax?= ${LOCALBASE}/bin/pax -TOOLS_PLATFORM.sed?= ${LOCALBASE}/bin/nbsed -TOOLS_PLATFORM.tar?= ${LOCALBASE}/bin/tar - -.elif ${OPSYS} == "Linux" -TOOLS_PLATFORM.gtar?= ${TOOLS_PLATFORM.tar} -TOOLS_PLATFORM.mtree?= ${LOCALBASE}/sbin/mtree -TOOLS_PLATFORM.pax?= ${LOCALBASE}/bin/pax -TOOLS_PLATFORM.tar?= ${LOCALBASE}/bin/tar - -.elif ${OPSYS} == "NetBSD" -# NetBSD has everything. - -.elif ${OPSYS} == "OpenBSD" -TOOLS_PLATFORM.gtar?= ${TOOLS_PLATFORM.tar} -TOOLS_PLATFORM.pax?= ${LOCALBASE}/bin/pax -TOOLS_PLATFORM.tar?= ${LOCALBASE}/bin/tar - -.elif ${OPSYS} == "OSF1" -TOOLS_PLATFORM.gtar?= ${TOOLS_PLATFORM.tar} -TOOLS_PLATFORM.install?= ${LOCALBASE}/bin/install-sh -TOOLS_PLATFORM.mtree?= ${LOCALBASE}/sbin/mtree -TOOLS_PLATFORM.pax?= ${LOCALBASE}/bin/pax -TOOLS_PLATFORM.sed?= ${LOCALBASE}/bin/nbsed -TOOLS_PLATFORM.tar?= ${LOCALBASE}/bin/tar - -.elif ${OPSYS} == "SunOS" -TOOLS_PLATFORM.gtar?= ${TOOLS_PLATFORM.tar} -TOOLS_PLATFORM.mtree?= ${LOCALBASE}/sbin/mtree -TOOLS_PLATFORM.pax?= ${LOCALBASE}/bin/pax -TOOLS_PLATFORM.sed?= ${LOCALBASE}/bin/nbsed -TOOLS_PLATFORM.tar?= ${LOCALBASE}/bin/tar - -.elif ${OPSYS} == "UnixWare" -TOOLS_PLATFORM.gtar?= ${TOOLS_PLATFORM.tar} -TOOLS_PLATFORM.mkdir?= ${LOCALBASE}/sbin/mkdir-sh -TOOLS_PLATFORM.mtree?= ${LOCALBASE}/sbin/mtree -TOOLS_PLATFORM.pax?= ${LOCALBASE}/bin/pax -TOOLS_PLATFORM.sed?= ${LOCALBASE}/bin/nbsed -TOOLS_PLATFORM.tar?= ${LOCALBASE}/bin/tar - -.else -TOOLS_PLATFORM.gtar?= ${TOOLS_PLATFORM.tar} -TOOLS_PLATFORM.mtree?= ${LOCALBASE}/sbin/mtree -TOOLS_PLATFORM.pax?= ${LOCALBASE}/bin/pax -TOOLS_PLATFORM.sed?= ${LOCALBASE}/bin/nbsed -TOOLS_PLATFORM.tar?= ${LOCALBASE}/bin/tar -.endif diff --git a/mk/tools/bsd.tools.mk b/mk/tools/bsd.tools.mk deleted file mode 100644 index f4bee8f1889..00000000000 --- a/mk/tools/bsd.tools.mk +++ /dev/null @@ -1,185 +0,0 @@ -# $NetBSD: bsd.tools.mk,v 1.23.2.2 2005/05/17 18:29:46 tv Exp $ -# -# This Makefile fragment creates tools under ${TOOLS_DIR} that are -# found before similarly-named tools in the system path. -# -# TOOLS_CREATE is a whitespace-separated list of tools for which a -# corresponding tool is created. Either a wrapper script or a -# symlink is created depending on the tool that is being -# overridden. -# -# The following variables specify the details of each <tool>: -# -# TOOLS_CMD.<tool> is the path to the tool under ${TOOLS_DIR}. This -# variable is optional, and if left unspecified it defaults to -# ${TOOLS_DIRS}/bin/<tool>. -# -# TOOLS_ALIASES.<tool> is a whitespace-separated list of names for -# which <tool> should also be created under ${TOOLS_DIR}. -# -# TOOLS_REAL_CMD.<tool> is the path to the actual command that is -# invoked when ${TOOLS_CMD.<tool>} is called. If <tool> should -# be a symlink, then this variable is required and should be a -# full path. If <tool> should be a wrapper, then this variable -# is required unless TOOLS_REAL_CMDLINE.<tool> is defined (see -# below). -# -# The following variables specify further details of each <tool> and -# if set, cause a wrapper script to be created. -# -# TOOLS_REAL_ARGS.<tool> additional arguments that are passed to the -# real command ahead of any command-line arguments. This variable -# is optional. -# -# TOOLS_REAL_CMDLINE.<tool> specifies the full command-line to invoke -# in the wrapper script when <tool> is called. This variable is -# optional, and if left unspecified, then this is built up from -# TOOLS_REAL_CMD.<tool> and TOOLS_REAL_ARGS.<tool> by default. -# -# The following variables provide shortcuts for creating certain classes -# of tools: -# -# TOOLS_NOOP is a list of tools that do nothing and return true. -# -# TOOLS_BROKEN is a list of tools that do nothing and return false. -# -# TOOLS_GNU_MISSING is a list of tools for which the GNU missing -# script is invoked in place of the real tool. This is used -# primarily to hide GNU auto* tools. -# - -.if !defined(BSD_TOOLS_MK) -BSD_TOOLS_MK= defined - -.include "../../mk/bsd.prefs.mk" - -# Prepend ${TOOLS_DIR}/bin to the PATH so that our scripts are found -# first when searching for executables. -# -TOOLS_DIR= ${WRKDIR}/.tools -PREPEND_PATH+= ${TOOLS_DIR}/bin - -TOOLS_SHELL?= ${SH} -_TOOLS_WRAP_LOG= ${WRKLOG} - -.PHONY: do-tools override-tools -do-tools: override-tools -override-tools: .OPTIONAL - -USE_TOOLS?= # empty - -# Include the other mk/tools/*.mk files here that help specify the -# wrappers and symlinks that will be created by this file. Order -# matters! -# -.include "../../mk/tools/automake.mk" -.include "../../mk/tools/autoconf.mk" -.include "../../mk/tools/texinfo.mk" -.include "../../mk/tools/ldconfig.mk" -.include "../../mk/tools/rpcgen.mk" -.include "../../mk/tools/strip.mk" -.include "../../mk/tools/replace.mk" -.include "../../mk/tools/perl.mk" -.include "../../mk/tools/make.mk" - -###################################################################### - -.for _t_ in ${TOOLS_NOOP} -TOOLS_CREATE+= ${_t_} -TOOLS_REAL_CMDLINE.${_t_}?= exit 0 -.endfor -.undef _t_ - -.for _t_ in ${TOOLS_BROKEN} -TOOLS_CREATE+= ${_t_} -TOOLS_REAL_CMDLINE.${_t_}?= exit 1 -.endfor -.undef _t_ - -.for _t_ in ${TOOLS_GNU_MISSING} -TOOLS_CREATE+= ${_t_} -TOOLS_REAL_CMD.${_t_}?= ${PKGSRCDIR}/mk/gnu-config/missing -TOOLS_REAL_CMDLINE.${_t_}?= ${TOOLS_REAL_CMD.${_t_}} ${_t_:T:C/-[0-9].*$//} -.endfor -.undef _t_ - -###################################################################### - -# These tools are used in the targets that actually create the wrappers -# and symlinks. We define them here so that as a fallback, we'll just -# use the ones in the PATH. This makes the tools framework more -# standalone. - -CHMOD?= chmod -ECHO?= echo -FALSE?= false -LN?= ln -MKDIR?= mkdir -p - -###################################################################### - -# If the command line was defined, then we create a wrapper. -# If the real command isn't a full path, then we create a wrapper. -# If some command arguments were given, then we create a wrapper. -# Otherwise, we create a symlink. -# -# By default, the tool in ${TOOLS_DIR} will be in the "bin" directory -# and will be called <tool>. -# -# The default wrapper script will invoke the real command, followed -# by any arguments specified in TOOLS_REAL_ARGS.*, followed by any -# command-line arguments passed to the wrapper script. -# -.for _t_ in ${TOOLS_CREATE} -TOOLS_CMD.${_t_}?= ${TOOLS_DIR}/bin/${_t_} -TOOLS_REAL_CMD.${_t_}?= ${FALSE} -TOOLS_REAL_CMDLINE_DFLT.${_t_}= \ - ${TOOLS_REAL_CMD.${_t_}} ${TOOLS_REAL_ARGS.${_t_}} "$$@" - -override-tools: ${TOOLS_CMD.${_t_}} - -${TOOLS_CMD.${_t_}}: - ${_PKG_SILENT}${_PKG_DEBUG}${TEST} -d ${.TARGET:H:Q} || \ - ${MKDIR} ${.TARGET:H:Q} - ${_PKG_SILENT}${_PKG_DEBUG} \ - if ${TEST} -n ${TOOLS_REAL_CMDLINE.${_t_}:Q}""; then \ - create=wrapper; \ - cmdline=${TOOLS_REAL_CMDLINE.${_t_}:Q}; \ - elif ${TEST} -n ${TOOLS_REAL_CMD.${_t_}:Q}""; then \ - if ${TEST} -n ${TOOLS_REAL_ARGS.${_t_}:Q}""; then \ - create=wrapper; \ - cmdline=${TOOLS_REAL_CMDLINE_DFLT.${_t_}:Q}; \ - else \ - case ${TOOLS_REAL_CMD.${_t_}:Q}"" in \ - /*) create=symlink ;; \ - *) create=wrapper; \ - cmdline=${TOOLS_REAL_CMDLINE_DFLT.${_t_}:Q}; \ - esac; \ - fi; \ - else \ - create=symlink; \ - fi; \ - case "$$create" in \ - wrapper) \ - { ${ECHO} '#!'${TOOLS_SHELL:Q}; \ - ${ECHO} 'wrapperlog="$${TOOLS_WRAPPER_LOG-'${_TOOLS_WRAP_LOG:Q}'}"'; \ - ${ECHO} '${ECHO} "[*] "'${.TARGET:Q}'" $$@" >> $$wrapperlog'; \ - ${ECHO} "${ECHO} \"<.> $$cmdline\" >> \$$wrapperlog"; \ - ${ECHO} "$$cmdline"; \ - } > ${.TARGET:Q}; \ - ${CHMOD} +x ${.TARGET:Q}; \ - ;; \ - *) \ - ${LN} -fs ${TOOLS_REAL_CMD.${_t_}:Q} ${.TARGET:Q}; \ - ;; \ - esac -. for _a_ in ${TOOLS_ALIASES.${_t_}} - ${_PKG_SILENT}${_PKG_DEBUG} \ - ${TEST} ${.TARGET:Q} = ${.TARGET:H:Q}/${_a_} || \ - ${LN} -fs ${.TARGET:T:Q} ${.TARGET:H:Q}/${_a_} -. endfor -. undef _a_ -.endfor -.undef _t_ - -.endif # BSD_TOOLS_MK diff --git a/mk/tools/defaults.mk b/mk/tools/defaults.mk deleted file mode 100644 index 3603a16e24b..00000000000 --- a/mk/tools/defaults.mk +++ /dev/null @@ -1,108 +0,0 @@ -# $NetBSD: defaults.mk,v 1.15.2.2 2005/05/17 18:29:46 tv Exp $ - -.if !defined(TOOLS_DEFAULTS_MK) -TOOLS_DEFAULTS_MK= defined - -# These are the platform-specific lists of system-supplied tools. -# -# XXX These should eventually just migrate over to the appropriate -# XXX pkgsrc/mk/platform/${OPSYS}.mk file. -# -.include "${_PKGSRC_TOPDIR}/mk/tools/bootstrap.mk" -.if exists(${_PKGSRC_TOPDIR}/mk/tools/tools.${OPSYS}.mk) -. include "${_PKGSRC_TOPDIR}/mk/tools/tools.${OPSYS}.mk" -.endif - -# "TOOL" variable names associated with each of the tools -_TOOLS_VARNAME.awk= AWK -_TOOLS_VARNAME.basename= BASENAME -_TOOLS_VARNAME.bison-yacc= YACC -_TOOLS_VARNAME.bzcat= BZCAT -_TOOLS_VARNAME.cat= CAT -_TOOLS_VARNAME.chgrp= CHGRP -_TOOLS_VARNAME.chmod= CHMOD -_TOOLS_VARNAME.chown= CHOWN -_TOOLS_VARNAME.cmp= CMP -_TOOLS_VARNAME.cp= CP -_TOOLS_VARNAME.cut= CUT -_TOOLS_VARNAME.date= DATE -_TOOLS_VARNAME.dirname= DIRNAME -_TOOLS_VARNAME.echo= ECHO -_TOOLS_VARNAME.egrep= EGREP -_TOOLS_VARNAME.env= SETENV -_TOOLS_VARNAME.expr= EXPR -_TOOLS_VARNAME.false= FALSE -_TOOLS_VARNAME.fgrep= FGREP -_TOOLS_VARNAME.file= FILE_CMD -_TOOLS_VARNAME.find= FIND -_TOOLS_VARNAME.gawk= AWK -_TOOLS_VARNAME.gm4= M4 -_TOOLS_VARNAME.gmake= GMAKE -_TOOLS_VARNAME.grep= GREP -_TOOLS_VARNAME.gsed= SED -_TOOLS_VARNAME.gtar= GTAR -_TOOLS_VARNAME.gunzip= GUNZIP_CMD -_TOOLS_VARNAME.gzcat= GZCAT -_TOOLS_VARNAME.gzip= GZIP_CMD -_TOOLS_VARNAME.head= HEAD -_TOOLS_VARNAME.hostname= HOSTNAME_CMD -_TOOLS_VARNAME.id= ID -_TOOLS_VARNAME.imake= IMAKE -_TOOLS_VARNAME.install= INSTALL -_TOOLS_VARNAME.ldconfig= LDCONFIG -_TOOLS_VARNAME.lex= LEX -_TOOLS_VARNAME.lha= LHA -_TOOLS_VARNAME.ln= LN -_TOOLS_VARNAME.ls= LS -_TOOLS_VARNAME.m4= M4 -_TOOLS_VARNAME.mail= MAIL_CMD -_TOOLS_VARNAME.mkdir= MKDIR -_TOOLS_VARNAME.mtree= MTREE -_TOOLS_VARNAME.mv= MV -_TOOLS_VARNAME.nice= NICE -_TOOLS_VARNAME.patch= PATCH -_TOOLS_VARNAME.pax= PAX -_TOOLS_VARNAME.pwd= PWD_CMD -_TOOLS_VARNAME.rm= RM -_TOOLS_VARNAME.rmdir= RMDIR -_TOOLS_VARNAME.sed= SED -_TOOLS_VARNAME.sh= SH -_TOOLS_VARNAME.shlock= SHLOCK -_TOOLS_VARNAME.sort= SORT -_TOOLS_VARNAME.tail= TAIL -_TOOLS_VARNAME.tar= TAR -_TOOLS_VARNAME.tbl= TBL -_TOOLS_VARNAME.tee= TEE -_TOOLS_VARNAME.test= TEST -_TOOLS_VARNAME.touch= TOUCH -_TOOLS_VARNAME.tr= TR -_TOOLS_VARNAME.true= TRUE -_TOOLS_VARNAME.tsort= TSORT -_TOOLS_VARNAME.unrar= UNRAR -_TOOLS_VARNAME.unzip= UNZIP -_TOOLS_VARNAME.unzoo= UNZOO -_TOOLS_VARNAME.wc= WC -_TOOLS_VARNAME.xargs= XARGS -_TOOLS_VARNAME.xmkmf= XMKMF_CMD -_TOOLS_VARNAME.yacc= YACC - -###################################################################### - -# Set a default value for the TOOL names for each of the tools we claim -# we'll use in PKGSRC_USE_TOOLS to point to the platform command, e.g., -# TBL, YACC, etc. These tools are used in the top-level make(1), not -# just in the targets, so these must be defined here, and this file be -# included by bsd.prefs.mk. -# -.for _t_ in ${PKGSRC_USE_TOOLS:O:u} -. if defined(_TOOLS_VARNAME.${_t_}) && \ - defined(TOOLS_PLATFORM.${_t_}) && !empty(TOOLS_PLATFORM.${_t_}) -. for _v_ in ${_TOOLS_VARNAME.${_t_}} -${_v_}?= ${TOOLS_PLATFORM.${_t_}} -. endfor -. undef _v_ -. endif -.endfor -.undef _t_ - -.endif # TOOLS_DEFAULTS_MK diff --git a/mk/tools/imake.mk b/mk/tools/imake.mk deleted file mode 100644 index e44275b1b5b..00000000000 --- a/mk/tools/imake.mk +++ /dev/null @@ -1,91 +0,0 @@ -# $NetBSD: imake.mk,v 1.9.2.2 2005/05/17 18:29:46 tv Exp $ -# -# This Makefile fragment handles packages that need imake and xmkmf -# to build X11-related packages. The correct imake and xmkmf tools -# are placed under ${TOOLS_DIR}/bin, so that they may be invoked by -# their bare names. The tools are chosen based on which type of X11 -# distribution pkgsrc will be using, e.g. X11_TYPE. -# -# Variables defined by this file are: -# -# IMAKE path to imake tool + any imake-specific args -# XMKMF_CMD path to xmkmf tool + any xmkmf-specific args -# XMKMF command to create all Makefiles from Imakefiles, -# usually "xmkmf -a". -# -# TOOLS_IMAKE, TOOLS_XMKMF_CMD and TOOLS_XMKMF are set to the same -# corresponding values. -# -# Optional variables that may be defined by the package are: -# -# IMAKEOPTS Options to pass to imake -# XMKMF_FLAGS Options to pass to xmkmf -# -# If they are non-empty, then a wrapper script will be created instead -# of a symlink for the corresponding tool. -# -# A platform/${OPSYS}.mk file may note that additional tools are -# required when using imake by setting _IMAKE_TOOLS to the appropriate -# value, e.g. _IMAKE_TOOLS+=gmake to use GNU make to build packages -# that use imake. -# -# This file is included by mk/tools/replace.mk and follows the same -# rules as for other replacement tools. -# - -.if defined(USE_IMAKE) -USE_TOOLS+= imake -.endif - -# Skip the processing at the end of replace.mk. If we need to use -# imake, then we always want the clause below to trigger. -# -_TOOLS_USE_PKGSRC.imake= yes - -.if !defined(TOOLS_IGNORE.imake) && !empty(USE_TOOLS:Mimake) -. if !empty(PKGPATH:Mx11/imake) || !empty(PKGPATH:Mx11/xorg-imake) -MAKEFLAGS+= TOOLS_IGNORE.imake= -. else -# -# Depending on which X11_TYPE we're using, depend on the correct package -# to pull in imake and xmkmf. -# -. if defined(X11_TYPE) && (${X11_TYPE} == "XFree86") -TOOLS_DEPENDS.imake?= imake>=4.4.0:../../x11/imake -TOOLS_REAL_CMD.imake?= ${X11PREFIX}/${X11ROOT_PREFIX}/bin/imake -TOOLS_REAL_CMD.xmkmf?= ${X11PREFIX}/${X11ROOT_PREFIX}/bin/xmkmf -. elif defined(X11_TYPE) && (${X11_TYPE} == "xorg") -TOOLS_DEPENDS.imake?= xorg-imake>=6.8:../../x11/xorg-imake -TOOLS_REAL_CMD.imake?= ${X11PREFIX}/${X11ROOT_PREFIX}/bin/imake -TOOLS_REAL_CMD.xmkmf?= ${X11PREFIX}/${X11ROOT_PREFIX}/bin/xmkmf -. else # ${X11_TYPE} == "native" -TOOLS_REAL_CMD.imake?= ${X11BASE}/bin/imake -TOOLS_REAL_CMD.xmkmf?= ${X11BASE}/bin/xmkmf -. endif -TOOLS_REAL_ARGS.imake?= ${IMAKEOPTS} -TOOLS_REAL_ARGS.xmkmf?= ${XMKMF_FLAGS} -# -# If we're using xpkgwedge, then we need to invoke the special xmkmf -# script that will find imake config files in both ${PREFIX} and in -# ${X11BASE}. -# -. if !empty(USE_XPKGWEDGE:M[yY][eE][sS]) -TOOLS_REAL_CMD.xmkmf= ${X11PREFIX}/bin/pkgxmkmf -. endif -# -# Add any extra tools that may be required when using imake, e.g. gmake. -# -USE_TOOLS+= ${_IMAKE_TOOLS:Nimake} -# -# Define IMAKE and XMKMF_CMD and create wrappers/symlinks corresponding -# to imake and xmkmf. -# -TOOLS_CREATE+= imake xmkmf -TOOLS_${_TOOLS_VARNAME.imake}= ${TOOLS_REAL_CMD.imake} ${TOOLS_REAL_ARGS.imake} -TOOLS_${_TOOLS_VARNAME.xmkmf}= ${TOOLS_REAL_CMD.xmkmf} ${TOOLS_REAL_ARGS.xmkmf} -TOOLS_XMKMF= ${${_TOOLS_VARNAME.xmkmf}} -a -${_TOOLS_VARNAME.imake}= ${TOOLS_${_TOOLS_VARNAME.imake}} -${_TOOLS_VARNAME.xmkmf}= ${TOOLS_${_TOOLS_VARNAME.xmkmf}} -XMKMF?= ${TOOLS_XMKMF} -. endif -.endif diff --git a/mk/tools/ldconfig.mk b/mk/tools/ldconfig.mk deleted file mode 100644 index afd8fa05b8e..00000000000 --- a/mk/tools/ldconfig.mk +++ /dev/null @@ -1,17 +0,0 @@ -# $NetBSD: ldconfig.mk,v 1.1.2.2 2005/05/17 18:29:46 tv Exp $ -# -# Depending on whether the platform has ldconfig, we cause -# ${TOOLS_DIR}/bin/ldconfig to be either the correct ldconfig tool or -# a no-op. -# -.if !defined(TOOLS_PLATFORM.ldconfig) -TOOLS_NOOP+= ldconfig -.else -TOOLS_CREATE+= ldconfig -TOOLS_REAL_CMD.ldconfig= ${TOOLS_PLATFORM.ldconfig} -.endif - -# Make ${LDCONFIG} call "ldconfig" through the PATH, which should find -# the one under ${TOOLS_DIR}. -# -LDCONFIG?= ldconfig diff --git a/mk/tools/make.mk b/mk/tools/make.mk deleted file mode 100644 index a9a09f2d77d..00000000000 --- a/mk/tools/make.mk +++ /dev/null @@ -1,25 +0,0 @@ -# $NetBSD: make.mk,v 1.9.2.2 2005/05/17 18:29:46 tv Exp $ -# -# This Makefile fragment creates a tool called "make" under ${TOOLS_DIR} -# that corresponds to the make program used to build the package. -# This lets a bare "make" invoke the correct program if called from -# within a makefile or script. It also sets MAKE_PROGRAM to the path -# of that make program. Lastly, pass ${MAKE_PROGRAM} to GNU configure -# scripts in the MAKE variable so that the scripts will embed the -# correct path to the make program used to build the package -# into the generated Makefiles. -# - -# Define MAKE_PROGRAM to be the "make" used to build the package. -.if !empty(_USE_TOOLS:Mgmake) -MAKE_PROGRAM= ${GMAKE} -.elif !empty(_USE_TOOLS:Mimake) && defined(_IMAKE_MAKE) -MAKE_PROGRAM= ${_IMAKE_MAKE} -.else -MAKE_PROGRAM= ${MAKE} -.endif - -TOOLS_CREATE+= make -TOOLS_REAL_CMD.make= ${MAKE_PROGRAM} - -CONFIGURE_ENV+= MAKE=make diff --git a/mk/tools/perl.mk b/mk/tools/perl.mk deleted file mode 100644 index 4e74ee44879..00000000000 --- a/mk/tools/perl.mk +++ /dev/null @@ -1,38 +0,0 @@ -# $NetBSD: perl.mk,v 1.9.2.2 2005/05/17 18:29:46 tv Exp $ - -# Create a symlink from ${TOOLS_DIR}/bin/perl to ${PERL5} when USE_PERL5 -# is defined. This ensures that when "perl" is invoked, the pkgsrc perl -# is executed on systems that also provide a perl binary. -# -.if defined(USE_PERL5) && !defined(TOOLS_IGNORE.perl) -. if !empty(PKGPATH:Mlang/perl58) -MAKEFLAGS+= TOOLS_IGNORE.perl= -. else -. include "../../lang/perl5/buildlink3.mk" -TOOLS_DEPMETHOD.perl?= BUILD_DEPENDS -_TOOLS_DEPENDS.perl= # empty -. for _dep_ in ${BUILDLINK_DEPENDS.perl} -_TOOLS_DEPENDS.perl+= ${_dep_}:${BUILDLINK_PKGSRCDIR.perl} -. endfor -. undef _dep_ -TOOLS_DEPENDS.perl?= ${_TOOLS_DEPENDS.perl} -TOOLS_CREATE+= perl -FIND_PREFIX:= TOOLS_PREFIX.perl=perl -. include "../../mk/find-prefix.mk" -TOOLS_REAL_CMD.perl= ${TOOLS_PREFIX.perl}/bin/perl -PERL5= ${TOOLS_REAL_CMD.perl} -CONFIGURE_ENV+= PERL=${PERL5:Q} -. endif -. if defined(TOOLS_DEPMETHOD.perl) && defined(TOOLS_DEPENDS.perl) -. if empty(${TOOLS_DEPMETHOD.perl}:M${TOOLS_DEPENDS.perl}) -${TOOLS_DEPMETHOD.perl}+= ${TOOLS_DEPENDS.perl} -. endif -. endif - -# Define PERL5_* variables that locate the site directories for ${PERL5}. -# These variables depend on PERL5 being properly defined and existing -# on the filesystem. -# -. include "../../lang/perl5/vars.mk" - -.endif diff --git a/mk/tools/replace.mk b/mk/tools/replace.mk deleted file mode 100644 index 1bf1a9cfe20..00000000000 --- a/mk/tools/replace.mk +++ /dev/null @@ -1,1070 +0,0 @@ -# $NetBSD: replace.mk,v 1.81.2.2 2005/05/17 18:29:46 tv Exp $ -# -# This Makefile fragment handles "replacements" of system-supplied -# tools with pkgsrc versions. -# -# The replacement tools are placed under ${TOOLS_DIR} so that they -# appear earlier in the search path when invoked using the bare name -# of the tool. -# -# "TOOLS_TOOL" variables, e.g. TOOLS_AWK, TOOLS_SED, etc. are set to -# the full command lines necessary to invoke the real tools on the -# filesystem, and represent the tools required by the package. -# -# "TOOL" variables, e.g. AWK, SED, etc. are set to the full command -# lines necessary to invoke the real tools on the filesystem, and -# represent the tools required by pkgsrc itself. -# -# The tools that could be replaced with pkgsrc counterparts (usually -# GNU versions of the tools) that are required by pkgsrc itself, i.e. -# in targets that are part of pkgsrc infrastructure or part of the -# package Makefile, should be listed as: -# -# PKGSRC_USE_TOOLS+= awk sed -# -# The tools that are required by the package itself, i.e. within the -# software's own build system, should be listed as: -# -# USE_TOOLS+= gawk gmake lex -# -# If a package requires yacc to generate a parser, then the package -# Makefile should contain one of the following two lines: -# -# USE_TOOLS+= yacc # any yacc will do -# USE_TOOLS+= bison # requires bison-specific features -# -# Adding either "yacc" or "bison" to USE_TOOLS will cause a "yacc" tool -# to be generated that may be used as a yacc-replacement. -# -# By default, any dependencies on the pkgsrc tools are build dependencies, -# but this may be changed by explicitly setting TOOLS_DEPMETHOD.<tool>, -# e.g.: -# -# TOOLS_DEPMETHOD.tbl= DEPENDS -# - -# Continue to allow USE_GNU_TOOLS and USE_TBL until packages have been -# taught to use the new syntax. -# -.if defined(USE_GNU_TOOLS) && !empty(USE_GNU_TOOLS) -USE_TOOLS+= ${USE_GNU_TOOLS:S/^awk$/gawk/:S/^m4$/gm4/:S/^make$/gmake/:S/^sed$/gsed/:S/^yacc$/bison/} -.endif -.if defined(USE_TBL) && !empty(USE_TBL:M[yY][eE][sS]) -USE_TOOLS+= tbl -.endif - -# bison implies "bison-yacc" -.if !empty(USE_TOOLS:Mbison) -USE_TOOLS+= bison-yacc -.endif - -.include "../../mk/tools/imake.mk" - -###################################################################### - -# Create _USE_TOOLS, a sanitized version of PKGSRC_USE_TOOLS and -# USE_TOOLS that removes the ones that are overridden by superseding -# ones. -# -.if !defined(_USE_TOOLS) -_USE_TOOLS:= ${PKGSRC_USE_TOOLS} ${USE_TOOLS} -_USE_TOOLS:= ${_USE_TOOLS:O:u} -. if !empty(USE_TOOLS:Mbison-yacc) # bison-yacc > yacc -_USE_TOOLS:= ${_USE_TOOLS:Nyacc} -. endif -. if !empty(USE_TOOLS:Mgawk) # gawk > awk -_USE_TOOLS:= ${_USE_TOOLS:Nawk} -. endif -. if !empty(USE_TOOLS:Mgm4) # gm4 > m4 -_USE_TOOLS:= ${_USE_TOOLS:Nm4} -. endif -. if !empty(USE_TOOLS:Mgsed) # gsed > sed -_USE_TOOLS:= ${_USE_TOOLS:Nsed} -. endif -.endif -MAKEVARS+= _USE_TOOLS - -###################################################################### - -# _TOOLS_USE_PKGSRC.<tool> is "yes" or "no" depending on whether we're -# using a pkgsrc-supplied tool to replace the system-supplied one. We -# use the system-supplied one if TOOLS_PLATFORM.<tool> is non-empty, or -# otherwise if this is a particular ${MACHINE_PLATFORM} listed above. -# -.for _t_ in ${_USE_TOOLS} -. if defined(TOOLS_PLATFORM.${_t_}) && !empty(TOOLS_PLATFORM.${_t_}) -_TOOLS_USE_PKGSRC.${_t_}?= no -. endif -_TOOLS_USE_PKGSRC.${_t_}?= yes -.endfor -.undef _t_ - -# TOOLS_DEPMETHOD.<tool> defaults to BUILD_DEPENDS. -.for _t_ in ${_USE_TOOLS} -TOOLS_DEPMETHOD.${_t_}?= BUILD_DEPENDS -.endfor -.undef _t_ - -###################################################################### - -# For each of the blocks below, we create either symlinks or wrappers -# for each of the tools requested. We need to be careful that we don't -# get into dependency loops; do this by setting and checking the value -# of TOOLS_IGNORE.<tool>. These blocks handle the case where we are -# using the pkgsrc-supplied tool. -# -# Always set the "TOOLS_TOOL" name for each tool to point to the real -# command, e.g., TOOLS_TBL, TOOLS_YACC, etc., provided that "TOOL" has -# been associated with <tool>. -# -.if !defined(TOOLS_IGNORE.[) && !empty(_USE_TOOLS:M\[) -. if !empty(PKGPATH:Msysutils/coreutils) -MAKEFLAGS+= TOOLS_IGNORE.[= -. elif !empty(_TOOLS_USE_PKGSRC.[:M[yY][eE][sS]) -TOOLS_DEPENDS.[?= coreutils>=5.2.1:../../sysutils/coreutils -TOOLS_CREATE+= [ -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.[=coreutils -TOOLS_REAL_CMD.[= ${TOOLS_PREFIX.[}/bin/${GNU_PROGRAM_PREFIX}[ -. endif -.endif - -.if !defined(TOOLS_IGNORE.awk) && !empty(_USE_TOOLS:Mawk) -. if !empty(PKGPATH:Mlang/gawk) -MAKEFLAGS+= TOOLS_IGNORE.awk= -. elif !empty(_TOOLS_USE_PKGSRC.awk:M[yY][eE][sS]) -TOOLS_DEPENDS.awk?= gawk>=3.1.1:../../lang/gawk -TOOLS_CREATE+= awk -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.awk=gawk -TOOLS_REAL_CMD.awk= ${TOOLS_PREFIX.awk}/bin/${GNU_PROGRAM_PREFIX}awk -TOOLS_${_TOOLS_VARNAME.awk}= ${TOOLS_REAL_CMD.awk} -. endif -.endif - -.if !defined(TOOLS_IGNORE.basename) && !empty(_USE_TOOLS:Mbasename) -. if !empty(PKGPATH:Msysutils/coreutils) -MAKEFLAGS+= TOOLS_IGNORE.basename= -. elif !empty(_TOOLS_USE_PKGSRC.basename:M[yY][eE][sS]) -TOOLS_DEPENDS.basename?= coreutils>=5.2.1:../../sysutils/coreutils -TOOLS_CREATE+= basename -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.basename=coreutils -TOOLS_REAL_CMD.basename= ${TOOLS_PREFIX.basename}/bin/${GNU_PROGRAM_PREFIX}basename -TOOLS_${_TOOLS_VARNAME.basename}= ${TOOLS_REAL_CMD.basename} -. endif -.endif - -.if !defined(TOOLS_IGNORE.bison) && !empty(_USE_TOOLS:Mbison) -. if !empty(PKGPATH:Mdevel/bison) -MAKEFLAGS+= TOOLS_IGNORE.bison= -. elif !empty(_TOOLS_USE_PKGSRC.bison:M[yY][eE][sS]) -TOOLS_DEPENDS.bison?= bison>=1.0:../../devel/bison -TOOLS_CREATE+= bison -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.bison=bison -TOOLS_REAL_CMD.bison= ${TOOLS_PREFIX.bison}/bin/bison -. endif -.endif - -.if !defined(TOOLS_IGNORE.bison-yacc) && !empty(_USE_TOOLS:Mbison-yacc) -. if !empty(PKGPATH:Mdevel/bison) -MAKEFLAGS+= TOOLS_IGNORE.bison-yacc= -. elif !empty(_TOOLS_USE_PKGSRC.bison-yacc:M[yY][eE][sS]) -TOOLS_DEPENDS.bison-yacc?= bison>=1.0:../../devel/bison -TOOLS_CREATE+= bison-yacc -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.bison-yacc=bison -TOOLS_REAL_CMD.bison-yacc= ${TOOLS_PREFIX.bison-yacc}/bin/bison -TOOLS_REAL_ARGS.bison-yacc= -y -TOOLS_${_TOOLS_VARNAME.bison-yacc}= \ - ${TOOLS_REAL_CMD.bison-yacc} ${TOOLS_REAL_ARGS.bison-yacc} -. endif -TOOLS_CMD.bison-yacc= ${TOOLS_DIR}/bin/yacc -.endif - -.if !defined(TOOLS_IGNORE.bzcat) && !empty(_USE_TOOLS:Mbzcat) -. if !empty(PKGPATH:Marchivers/bzip2) -MAKEFLAGS+= TOOLS_IGNORE.bzcat= -. elif !empty(_TOOLS_USE_PKGSRC.bzcat:M[yY][eE][sS]) -TOOLS_DEPENDS.bzcat?= bzip2>=0.9.0b:../../archivers/bzip2 -TOOLS_CREATE+= bzcat -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.bzcat=bzip2 -TOOLS_REAL_CMD.bzcat= ${TOOLS_PREFIX.bzcat}/bin/bzcat -TOOLS_${_TOOLS_VARNAME.bzcat}= ${TOOLS_REAL_CMD.bzcat} -. endif -.endif - -.if !defined(TOOLS_IGNORE.cat) && !empty(_USE_TOOLS:Mcat) -. if !empty(PKGPATH:Msysutils/coreutils) -MAKEFLAGS+= TOOLS_IGNORE.cat= -. elif !empty(_TOOLS_USE_PKGSRC.cat:M[yY][eE][sS]) -TOOLS_DEPENDS.cat?= coreutils>=5.2.1:../../sysutils/coreutils -TOOLS_CREATE+= cat -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.cat=coreutils -TOOLS_REAL_CMD.cat= ${TOOLS_PREFIX.cat}/bin/${GNU_PROGRAM_PREFIX}cat -TOOLS_${_TOOLS_VARNAME.cat}= ${TOOLS_REAL_CMD.cat} -. endif -.endif - -.if !defined(TOOLS_IGNORE.chgrp) && !empty(_USE_TOOLS:Mchgrp) -. if !empty(PKGPATH:Msysutils/coreutils) -MAKEFLAGS+= TOOLS_IGNORE.chgrp= -. elif !empty(_TOOLS_USE_PKGSRC.chgrp:M[yY][eE][sS]) -TOOLS_DEPENDS.chgrp?= coreutils>=5.2.1:../../sysutils/coreutils -TOOLS_CREATE+= chgrp -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.chgrp=coreutils -TOOLS_REAL_CMD.chgrp= ${TOOLS_PREFIX.chgrp}/bin/${GNU_PROGRAM_PREFIX}chgrp -TOOLS_${_TOOLS_VARNAME.chgrp}= ${TOOLS_REAL_CMD.chgrp} -. endif -.endif - -.if !defined(TOOLS_IGNORE.chmod) && !empty(_USE_TOOLS:Mchmod) -. if !empty(PKGPATH:Msysutils/coreutils) -MAKEFLAGS+= TOOLS_IGNORE.chmod= -. elif !empty(_TOOLS_USE_PKGSRC.chmod:M[yY][eE][sS]) -TOOLS_DEPENDS.chmod?= coreutils>=5.2.1:../../sysutils/coreutils -TOOLS_CREATE+= chmod -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.chmod=coreutils -TOOLS_REAL_CMD.chmod= ${TOOLS_PREFIX.chmod}/bin/${GNU_PROGRAM_PREFIX}chmod -TOOLS_${_TOOLS_VARNAME.chmod}= ${TOOLS_REAL_CMD.chmod} -. endif -.endif - -.if !defined(TOOLS_IGNORE.chown) && !empty(_USE_TOOLS:Mchown) -. if !empty(PKGPATH:Msysutils/coreutils) -MAKEFLAGS+= TOOLS_IGNORE.chown= -. elif !empty(_TOOLS_USE_PKGSRC.chown:M[yY][eE][sS]) -TOOLS_DEPENDS.chown?= coreutils>=5.2.1:../../sysutils/coreutils -TOOLS_CREATE+= chown -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.chown=coreutils -TOOLS_REAL_CMD.chown= ${TOOLS_PREFIX.chown}/bin/${GNU_PROGRAM_PREFIX}chown -TOOLS_${_TOOLS_VARNAME.chown}= ${TOOLS_REAL_CMD.chown} -. endif -.endif - -.if !defined(TOOLS_IGNORE.cmp) && !empty(_USE_TOOLS:Mcmp) -. if !empty(PKGPATH:Mdevel/diffutils) -MAKEFLAGS+= TOOLS_IGNORE.cmp= -. elif !empty(_TOOLS_USE_PKGSRC.cmp:M[yY][eE][sS]) -TOOLS_DEPENDS.cmp?= diffutils>=2.8.1:../../devel/diffutils -TOOLS_CREATE+= cmp -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.cmp=diffutils -TOOLS_REAL_CMD.cmp= ${TOOLS_PREFIX.cmp}/bin/cmp -TOOLS_${_TOOLS_VARNAME.cmp}= ${TOOLS_REAL_CMD.cmp} -. endif -.endif - -.if !defined(TOOLS_IGNORE.cp) && !empty(_USE_TOOLS:Mcp) -. if !empty(PKGPATH:Msysutils/coreutils) -MAKEFLAGS+= TOOLS_IGNORE.cp= -. elif !empty(_TOOLS_USE_PKGSRC.cp:M[yY][eE][sS]) -TOOLS_DEPENDS.cp?= coreutils>=5.2.1:../../sysutils/coreutils -TOOLS_CREATE+= cp -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.cp=coreutils -TOOLS_REAL_CMD.cp= ${TOOLS_PREFIX.cp}/bin/${GNU_PROGRAM_PREFIX}cp -TOOLS_${_TOOLS_VARNAME.cp}= ${TOOLS_REAL_CMD.cp} -. endif -.endif - -.if !defined(TOOLS_IGNORE.cut) && !empty(_USE_TOOLS:Mcut) -. if !empty(PKGPATH:Msysutils/coreutils) -MAKEFLAGS+= TOOLS_IGNORE.cut= -. elif !empty(_TOOLS_USE_PKGSRC.cut:M[yY][eE][sS]) -TOOLS_DEPENDS.cut?= coreutils>=5.2.1:../../sysutils/coreutils -TOOLS_CREATE+= cut -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.cut=coreutils -TOOLS_REAL_CMD.cut= ${TOOLS_PREFIX.cut}/bin/${GNU_PROGRAM_PREFIX}cut -TOOLS_${_TOOLS_VARNAME.cut}= ${TOOLS_REAL_CMD.cut} -. endif -.endif - -.if !defined(TOOLS_IGNORE.date) && !empty(_USE_TOOLS:Mdate) -. if !empty(PKGPATH:Msysutils/coreutils) -MAKEFLAGS+= TOOLS_IGNORE.date= -. elif !empty(_TOOLS_USE_PKGSRC.date:M[yY][eE][sS]) -TOOLS_DEPENDS.date?= coreutils>=5.2.1:../../sysutils/coreutils -TOOLS_CREATE+= date -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.date=coreutils -TOOLS_REAL_CMD.date= ${TOOLS_PREFIX.date}/bin/${GNU_PROGRAM_PREFIX}date -TOOLS_${_TOOLS_VARNAME.date}= ${TOOLS_REAL_CMD.date} -. endif -.endif - -.if !defined(TOOLS_IGNORE.dirname) && !empty(_USE_TOOLS:Mdirname) -. if !empty(PKGPATH:Msysutils/coreutils) -MAKEFLAGS+= TOOLS_IGNORE.dirname= -. elif !empty(_TOOLS_USE_PKGSRC.dirname:M[yY][eE][sS]) -TOOLS_DEPENDS.dirname?= coreutils>=5.2.1:../../sysutils/coreutils -TOOLS_CREATE+= dirname -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.dirname=coreutils -TOOLS_REAL_CMD.dirname= ${TOOLS_PREFIX.dirname}/bin/${GNU_PROGRAM_PREFIX}dirname -TOOLS_${_TOOLS_VARNAME.dirname}= ${TOOLS_REAL_CMD.dirname} -. endif -.endif - -.if !defined(TOOLS_IGNORE.echo) && !empty(_USE_TOOLS:Mecho) -. if !empty(PKGPATH:Msysutils/coreutils) -MAKEFLAGS+= TOOLS_IGNORE.echo= -. elif !empty(_TOOLS_USE_PKGSRC.echo:M[yY][eE][sS]) -TOOLS_DEPENDS.echo?= coreutils>=5.2.1:../../sysutils/coreutils -TOOLS_CREATE+= echo -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.echo=coreutils -TOOLS_REAL_CMD.echo= ${TOOLS_PREFIX.echo}/bin/${GNU_PROGRAM_PREFIX}echo -TOOLS_${_TOOLS_VARNAME.echo}= ${TOOLS_REAL_CMD.echo} -. endif -.endif - -.if !defined(TOOLS_IGNORE.egrep) && !empty(_USE_TOOLS:Megrep) -. if !empty(PKGPATH:Mtextproc/grep) -MAKEFLAGS+= TOOLS_IGNORE.egrep= -. elif !empty(_TOOLS_USE_PKGSRC.egrep:M[yY][eE][sS]) -TOOLS_DEPENDS.egrep?= grep>=2.5.1:../../textproc/grep -TOOLS_CREATE+= egrep -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.egrep=grep -TOOLS_REAL_CMD.egrep= ${TOOLS_PREFIX.egrep}/bin/${GNU_PROGRAM_PREFIX}egrep -TOOLS_${_TOOLS_VARNAME.egrep}= ${TOOLS_REAL_CMD.egrep} -. endif -.endif - -.if !defined(TOOLS_IGNORE.env) && !empty(_USE_TOOLS:Menv) -. if !empty(PKGPATH:Msysutils/coreutils) -MAKEFLAGS+= TOOLS_IGNORE.env= -. elif !empty(_TOOLS_USE_PKGSRC.env:M[yY][eE][sS]) -TOOLS_DEPENDS.env?= coreutils>=5.2.1:../../sysutils/coreutils -TOOLS_CREATE+= env -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.env=coreutilsj -TOOLS_REAL_CMD.env= ${TOOLS_PREFIX.env}/bin/${GNU_PROGRAM_PREFIX}env -TOOLS_${_TOOLS_VARNAME.env}= ${TOOLS_REAL_CMD.env} -. endif -.endif - -.if !defined(TOOLS_IGNORE.expr) && !empty(_USE_TOOLS:Mexpr) -. if !empty(PKGPATH:Msysutils/coreutils) -MAKEFLAGS+= TOOLS_IGNORE.expr= -. elif !empty(_TOOLS_USE_PKGSRC.expr:M[yY][eE][sS]) -TOOLS_DEPENDS.expr?= coreutils>=5.2.1:../../sysutils/coreutils -TOOLS_CREATE+= expr -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.expr=coreutils -TOOLS_REAL_CMD.expr= ${TOOLS_PREFIX.expr}/bin/${GNU_PROGRAM_PREFIX}expr -TOOLS_${_TOOLS_VARNAME.expr}= ${TOOLS_REAL_CMD.expr} -. endif -.endif - -.if !defined(TOOLS_IGNORE.false) && !empty(_USE_TOOLS:Mfalse) -. if !empty(PKGPATH:Msysutils/coreutils) -MAKEFLAGS+= TOOLS_IGNORE.false= -. elif !empty(_TOOLS_USE_PKGSRC.false:M[yY][eE][sS]) -TOOLS_DEPENDS.false?= coreutils>=5.2.1:../../sysutils/coreutils -TOOLS_CREATE+= false -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.false=coreutils -TOOLS_REAL_CMD.false= ${TOOLS_PREFIX.false}/bin/${GNU_PROGRAM_PREFIX}false -TOOLS_${_TOOLS_VARNAME.false}= ${TOOLS_REAL_CMD.false} -. endif -.endif - -.if !defined(TOOLS_IGNORE.fgrep) && !empty(_USE_TOOLS:Mfgrep) -. if !empty(PKGPATH:Mtextproc/grep) -MAKEFLAGS+= TOOLS_IGNORE.fgrep= -. elif !empty(_TOOLS_USE_PKGSRC.fgrep:M[yY][eE][sS]) -TOOLS_DEPENDS.fgrep?= grep>=2.5.1:../../textproc/grep -TOOLS_CREATE+= fgrep -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.fgrep=grep -TOOLS_REAL_CMD.fgrep= ${TOOLS_PREFIX.fgrep}/bin/${GNU_PROGRAM_PREFIX}fgrep -TOOLS_${_TOOLS_VARNAME.fgrep}= ${TOOLS_REAL_CMD.fgrep} -. endif -.endif - -.if !defined(TOOLS_IGNORE.file) && !empty(_USE_TOOLS:Mfile) -. if !empty(PKGPATH:Msysutils/file) -MAKEFLAGS+= TOOLS_IGNORE.file= -. elif !empty(_TOOLS_USE_PKGSRC.file:M[yY][eE][sS]) -TOOLS_DEPENDS.file?= file>=4.13:../../sysutils/file -TOOLS_CREATE+= file -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.file=file -TOOLS_REAL_CMD.file= ${TOOLS_PREFIX.file}/bin/file -TOOLS_${_TOOLS_VARNAME.file}= ${TOOLS_REAL_CMD.file} -. endif -.endif - -.if !defined(TOOLS_IGNORE.find) && !empty(_USE_TOOLS:Mfind) -. if !empty(PKGPATH:Msysutils/findutils) -MAKEFLAGS+= TOOLS_IGNORE.find= -. elif !empty(_TOOLS_USE_PKGSRC.find:M[yY][eE][sS]) -TOOLS_DEPENDS.find?= findutils>=4.1:../../sysutils/findutils -TOOLS_CREATE+= find -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.find=findutils -TOOLS_REAL_CMD.find= ${TOOLS_PREFIX.find}/bin/${GNU_PROGRAM_PREFIX}find -TOOLS_${_TOOLS_VARNAME.find}= ${TOOLS_REAL_CMD.find} -. endif -.endif - -.if !defined(TOOLS_IGNORE.gawk) && !empty(_USE_TOOLS:Mgawk) -. if !empty(PKGPATH:Mlang/gawk) -MAKEFLAGS+= TOOLS_IGNORE.gawk= -. elif !empty(_TOOLS_USE_PKGSRC.gawk:M[yY][eE][sS]) -TOOLS_DEPENDS.gawk?= gawk>=3.1.1:../../lang/gawk -TOOLS_CREATE+= gawk -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.gawk=gawk -TOOLS_REAL_CMD.gawk= ${TOOLS_PREFIX.gawk}/bin/${GNU_PROGRAM_PREFIX}awk -TOOLS_${_TOOLS_VARNAME.gawk}= ${TOOLS_REAL_CMD.gawk} -. endif -TOOLS_ALIASES.gawk= awk -.endif - -.if !defined(TOOLS_IGNORE.gm4) && !empty(_USE_TOOLS:Mgm4) -. if !empty(PKGPATH:Mdevel/m4) -MAKEFLAGS+= TOOLS_IGNORE.gm4= -. elif !empty(_TOOLS_USE_PKGSRC.gm4:M[yY][eE][sS]) -TOOLS_DEPENDS.gm4?= m4>=1.4:../../devel/m4 -TOOLS_CREATE+= gm4 -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.gm4=m4 -TOOLS_REAL_CMD.gm4= ${TOOLS_PREFIX.gm4}/bin/gm4 -TOOLS_${_TOOLS_VARNAME.gm4}= ${TOOLS_REAL_CMD.gm4} -. endif -TOOLS_ALIASES.gm4= m4 -.endif - -.if !defined(TOOLS_IGNORE.gmake) && !empty(_USE_TOOLS:Mgmake) -. if !empty(PKGPATH:Mdevel/gmake) -MAKEFLAGS+= TOOLS_IGNORE.gmake= -. elif !empty(_TOOLS_USE_PKGSRC.gmake:M[yY][eE][sS]) -TOOLS_DEPENDS.gmake?= gmake>=3.78:../../devel/gmake -TOOLS_CREATE+= gmake -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.gmake=gmake -TOOLS_REAL_CMD.gmake= ${TOOLS_PREFIX.gmake}/bin/gmake -TOOLS_${_TOOLS_VARNAME.gmake}= ${TOOLS_REAL_CMD.gmake} -. endif -.endif - -.if !defined(TOOLS_IGNORE.grep) && !empty(_USE_TOOLS:Mgrep) -. if !empty(PKGPATH:Mtextproc/grep) -MAKEFLAGS+= TOOLS_IGNORE.grep= -. elif !empty(_TOOLS_USE_PKGSRC.grep:M[yY][eE][sS]) -TOOLS_DEPENDS.grep?= grep>=2.5.1:../../textproc/grep -TOOLS_CREATE+= grep -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.grep=grep -TOOLS_REAL_CMD.grep= ${TOOLS_PREFIX.grep}/bin/${GNU_PROGRAM_PREFIX}grep -TOOLS_${_TOOLS_VARNAME.grep}= ${TOOLS_REAL_CMD.grep} -. endif -.endif - -.if !defined(TOOLS_IGNORE.gsed) && !empty(_USE_TOOLS:Mgsed) -. if !empty(PKGPATH:Mtextproc/gsed) -MAKEFLAGS+= TOOLS_IGNORE.gsed= -. elif !empty(_TOOLS_USE_PKGSRC.gsed:M[yY][eE][sS]) -TOOLS_DEPENDS.gsed?= gsed>=3.0.2:../../textproc/gsed -TOOLS_CREATE+= gsed -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.gsed=gsed -TOOLS_REAL_CMD.gsed= ${TOOLS_PREFIX.gsed}/bin/${GNU_PROGRAM_PREFIX}sed -TOOLS_${_TOOLS_VARNAME.gsed}= ${TOOLS_REAL_CMD.gsed} -. endif -TOOLS_ALIASES.gsed= sed -.endif - -.if !defined(TOOLS_IGNORE.gtar) && !empty(_USE_TOOLS:Mgtar) -. if !empty(PKGPATH:Marchivers/gtar-base) -MAKEFLAGS+= TOOLS_IGNORE.gtar= -. elif !empty(_TOOLS_USE_PKGSRC.gtar:M[yY][eE][sS]) -TOOLS_DEPENDS.gtar?= gtar-base>=1.13.25:../../archivers/gtar-base -TOOLS_CREATE+= gtar -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.gtar=gtar-base -TOOLS_REAL_CMD.gtar= ${TOOLS_PREFIX.gtar}/bin/${GNU_PROGRAM_PREFIX}tar -TOOLS_${_TOOLS_VARNAME.gtar}= ${TOOLS_REAL_CMD.gtar} -. endif -.endif - -.if !defined(TOOLS_IGNORE.gunzip) && !empty(_USE_TOOLS:Mgunzip) -. if !empty(PKGPATH:Marchivers/gzip-base) -MAKEFLAGS+= TOOLS_IGNORE.gunzip= -. elif !empty(_TOOLS_USE_PKGSRC.gunzip:M[yY][eE][sS]) -TOOLS_DEPENDS.gunzip?= gzip-base>=1.2.4b:../../archivers/gzip-base -TOOLS_CREATE+= gunzip -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.gunzip=gzip-base -TOOLS_REAL_CMD.gunzip= ${TOOLS_PREFIX.gunzip}/bin/gunzip -TOOLS_REAL_ARGS.gunzip= -f -TOOLS_${_TOOLS_VARNAME.gunzip}= ${TOOLS_REAL_CMD.gunzip} ${TOOLS_REAL_ARGS.gunzip} -. endif -.endif - -.if !defined(TOOLS_IGNORE.gzcat) && !empty(_USE_TOOLS:Mgzcat) -. if !empty(PKGPATH:Marchivers/gzip-base) -MAKEFLAGS+= TOOLS_IGNORE.gzcat= -. elif !empty(_TOOLS_USE_PKGSRC.gzcat:M[yY][eE][sS]) -TOOLS_DEPENDS.gzcat?= gzip-base>=1.2.4b:../../archivers/gzip-base -TOOLS_CREATE+= gzcat -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.gzcat=gzip-base -TOOLS_REAL_CMD.gzcat= ${TOOLS_PREFIX.gzcat}/bin/zcat -TOOLS_${_TOOLS_VARNAME.gzcat}= ${TOOLS_REAL_CMD.gzcat} -. endif -.endif - -.if !defined(TOOLS_IGNORE.gzip) && !empty(_USE_TOOLS:Mgzip) -. if !empty(PKGPATH:Marchivers/gzip-base) -MAKEFLAGS+= TOOLS_IGNORE.gzip= -. elif !empty(_TOOLS_USE_PKGSRC.gzip:M[yY][eE][sS]) -TOOLS_DEPENDS.gzip?= gzip-base>=1.2.4b:../../archivers/gzip-base -TOOLS_CREATE+= gzip -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.gzip=gzip-base -TOOLS_REAL_CMD.gzip= ${TOOLS_PREFIX.gzip}/bin/gzip -TOOLS_REAL_ARGS.gzip= -nf ${GZIP} -TOOLS_${_TOOLS_VARNAME.gzip}= ${TOOLS_REAL_CMD.gzip} ${TOOLS_REAL_ARGS.gzip} -. endif -.endif - -.if !defined(TOOLS_IGNORE.head) && !empty(_USE_TOOLS:Mhead) -. if !empty(PKGPATH:Msysutils/coreutils) -MAKEFLAGS+= TOOLS_IGNORE.head= -. elif !empty(_TOOLS_USE_PKGSRC.head:M[yY][eE][sS]) -TOOLS_DEPENDS.head?= coreutils>=5.2.1:../../sysutils/coreutils -TOOLS_CREATE+= head -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.head=coreutils -TOOLS_REAL_CMD.head= ${TOOLS_PREFIX.head}/bin/${GNU_PROGRAM_PREFIX}head -TOOLS_${_TOOLS_VARNAME.head}= ${TOOLS_REAL_CMD.head} -. endif -.endif - -.if !defined(TOOLS_IGNORE.hostname) && !empty(_USE_TOOLS:Mhostname) -. if !empty(PKGPATH:Msysutils/coreutils) -MAKEFLAGS+= TOOLS_IGNORE.hostname= -. elif !empty(_TOOLS_USE_PKGSRC.hostname:M[yY][eE][sS]) -TOOLS_DEPENDS.hostname?= coreutils>=5.2.1:../../sysutils/coreutils -TOOLS_CREATE+= hostname -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.hostname=coreutils -TOOLS_REAL_CMD.hostname= ${TOOLS_PREFIX.hostname}/bin/${GNU_PROGRAM_PREFIX}hostname -TOOLS_${_TOOLS_VARNAME.hostname}= ${TOOLS_REAL_CMD.hostname} -. endif -.endif - -.if !defined(TOOLS_IGNORE.id) && !empty(_USE_TOOLS:Mid) -. if !empty(PKGPATH:Msysutils/coreutils) -MAKEFLAGS+= TOOLS_IGNORE.id= -. elif !empty(_TOOLS_USE_PKGSRC.id:M[yY][eE][sS]) -TOOLS_DEPENDS.id?= coreutils>=5.2.1:../../sysutils/coreutils -TOOLS_CREATE+= id -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.id=coreutils -TOOLS_REAL_CMD.id= ${TOOLS_PREFIX.id}/bin/${GNU_PROGRAM_PREFIX}id -TOOLS_${_TOOLS_VARNAME.id}= ${TOOLS_REAL_CMD.id} -. endif -.endif - -.if !defined(TOOLS_IGNORE.install) && !empty(_USE_TOOLS:Minstall) -. if !empty(PKGPATH:Msysutils/coreutils) -MAKEFLAGS+= TOOLS_IGNORE.install= -. elif !empty(_TOOLS_USE_PKGSRC.install:M[yY][eE][sS]) -TOOLS_DEPENDS.install?= coreutils>=5.2.1:../../sysutils/coreutils -TOOLS_CREATE+= install -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.install=coreutils -TOOLS_REAL_CMD.install= ${TOOLS_PREFIX.install}/bin/${GNU_PROGRAM_PREFIX}install -TOOLS_${_TOOLS_VARNAME.install}= ${TOOLS_REAL_CMD.install} -. endif -.endif - -.if !defined(TOOLS_IGNORE.lex) && !empty(_USE_TOOLS:Mlex) -. if !empty(PKGPATH:Mdevel/flex) -MAKEFLAGS+= TOOLS_IGNORE.lex= -. elif !empty(_TOOLS_USE_PKGSRC.lex:M[yY][eE][sS]) -. include "../../devel/flex/buildlink3.mk" -_TOOLS_DEPENDS.lex= # empty -. for _dep_ in ${BUILDLINK_DEPENDS.flex} -_TOOLS_DEPENDS.lex+= ${_dep_}:${BUILDLINK_PKGSRCDIR.flex} -. endfor -. undef _dep_ -TOOLS_DEPENDS.lex?= ${_TOOLS_DEPENDS.lex} -TOOLS_CREATE+= lex -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.lex=flex -TOOLS_REAL_CMD.lex= ${TOOLS_PREFIX.lex}/bin/flex -TOOLS_${_TOOLS_VARNAME.lex}= ${TOOLS_REAL_CMD.lex} -. endif -.endif - -.if !defined(TOOLS_IGNORE.lha) && !empty(_USE_TOOLS:Mlha) -. if !empty(PKGPATH:Marchivers/lha) -MAKEFLAGS+= TOOLS_IGNORE.lha= -. elif !empty(_TOOLS_USE_PKGSRC.lha:M[yY][eE][sS]) -TOOLS_DEPENDS.lha?= lha>=114.9:../../archivers/lha -TOOLS_CREATE+= lha -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.lha=lha -TOOLS_REAL_CMD.lha= ${TOOLS_PREFIX.lha}/bin/lha -TOOLS_${_TOOLS_VARNAME.lha}= ${TOOLS_REAL_CMD.lha} -. endif -.endif - -.if !defined(TOOLS_IGNORE.ln) && !empty(_USE_TOOLS:Mln) -. if !empty(PKGPATH:Msysutils/coreutils) -MAKEFLAGS+= TOOLS_IGNORE.ln= -. elif !empty(_TOOLS_USE_PKGSRC.ln:M[yY][eE][sS]) -TOOLS_DEPENDS.ln?= coreutils>=5.2.1:../../sysutils/coreutils -TOOLS_CREATE+= ln -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.ln=coreutils -TOOLS_REAL_CMD.ln= ${TOOLS_PREFIX.ln}/bin/${GNU_PROGRAM_PREFIX}ln -TOOLS_${_TOOLS_VARNAME.ln}= ${TOOLS_REAL_CMD.ln} -. endif -.endif - -.if !defined(TOOLS_IGNORE.ls) && !empty(_USE_TOOLS:Mls) -. if !empty(PKGPATH:Msysutils/coreutils) -MAKEFLAGS+= TOOLS_IGNORE.ls= -. elif !empty(_TOOLS_USE_PKGSRC.ls:M[yY][eE][sS]) -TOOLS_DEPENDS.ls?= coreutils>=5.2.1:../../sysutils/coreutils -TOOLS_CREATE+= ls -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.ls=coreutils -TOOLS_REAL_CMD.ls= ${TOOLS_PREFIX.ls}/bin/${GNU_PROGRAM_PREFIX}ls -TOOLS_${_TOOLS_VARNAME.ls}= ${TOOLS_REAL_CMD.ls} -. endif -.endif - -.if !defined(TOOLS_IGNORE.m4) && !empty(_USE_TOOLS:Mm4) -. if !empty(PKGPATH:Mdevel/m4) -MAKEFLAGS+= TOOLS_IGNORE.m4= -. elif !empty(_TOOLS_USE_PKGSRC.m4:M[yY][eE][sS]) -TOOLS_DEPENDS.m4?= m4>=1.4:../../devel/m4 -TOOLS_CREATE+= m4 -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.m4=m4 -TOOLS_REAL_CMD.m4= ${TOOLS_PREFIX.m4}/bin/gm4 -TOOLS_${_TOOLS_VARNAME.m4}= ${TOOLS_REAL_CMD.m4} -. endif -.endif - -.if !defined(TOOLS_IGNORE.mail) && !empty(_USE_TOOLS:Mmail) -. if !empty(PKGPATH:Mmail/nail) -MAKEFLAGS+= TOOLS_IGNORE.mail= -. elif !empty(_TOOLS_USE_PKGSRC.mail:M[yY][eE][sS]) -TOOLS_DEPENDS.mail?= nail>=11.22:../../mail/nail -TOOLS_CREATE+= mail -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.mail=nail -TOOLS_REAL_CMD.mail= ${TOOLS_PREFIX.mail}/bin/nail -TOOLS_${_TOOLS_VARNAME.mail}= ${TOOLS_REAL_CMD.mail} -. endif -.endif - -.if !defined(TOOLS_IGNORE.mkdir) && !empty(_USE_TOOLS:Mmkdir) -. if !empty(PKGPATH:Msysutils/coreutils) -MAKEFLAGS+= TOOLS_IGNORE.mkdir= -. elif !empty(_TOOLS_USE_PKGSRC.mkdir:M[yY][eE][sS]) -TOOLS_DEPENDS.mkdir?= coreutils>=5.2.1:../../sysutils/coreutils -TOOLS_CREATE+= mkdir -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.mkdir=coreutils -TOOLS_REAL_CMD.mkdir= ${TOOLS_PREFIX.mkdir}/bin/${GNU_PROGRAM_PREFIX}mkdir -TOOLS_REAL_ARGS.mkdir= -p -TOOLS_${_TOOLS_VARNAME.mkdir}= ${TOOLS_REAL_CMD.mkdir} ${TOOLS_REAL_ARGS.mkdir} -. endif -.endif - -.if !defined(TOOLS_IGNORE.mtree) && !empty(_USE_TOOLS:Mmtree) -. if !empty(PKGPATH:Mpkgtools/mtree) -MAKEFLAGS+= TOOLS_IGNORE.mtree= -. elif !empty(_TOOLS_USE_PKGSRC.mtree:M[yY][eE][sS]) -# -# This is installed by pkgsrc bootstrap, and is never registered, so -# comment out the dependency on it. -# -#TOOLS_DEPENDS.mtree?= mtree>=20040722:../../pkgtools/mtree -TOOLS_CREATE+= mtree -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.mtree=mtree -TOOLS_REAL_CMD.mtree= ${TOOLS_PREFIX.mtree}/bin/mtree -TOOLS_${_TOOLS_VARNAME.mtree}= ${TOOLS_REAL_CMD.mtree} -. endif -.endif - -.if !defined(TOOLS_IGNORE.mv) && !empty(_USE_TOOLS:Mmv) -. if !empty(PKGPATH:Msysutils/coreutils) -MAKEFLAGS+= TOOLS_IGNORE.mv= -. elif !empty(_TOOLS_USE_PKGSRC.mv:M[yY][eE][sS]) -TOOLS_DEPENDS.mv?= coreutils>=5.2.1:../../sysutils/coreutils -TOOLS_CREATE+= mv -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.mv=coreutils -TOOLS_REAL_CMD.mv= ${TOOLS_PREFIX.mv}/bin/${GNU_PROGRAM_PREFIX}mv -TOOLS_${_TOOLS_VARNAME.mv}= ${TOOLS_REAL_CMD.mv} -. endif -.endif - -.if !defined(TOOLS_IGNORE.nice) && !empty(_USE_TOOLS:Mnice) -. if !empty(PKGPATH:Msysutils/coreutils) -MAKEFLAGS+= TOOLS_IGNORE.nice= -. elif !empty(_TOOLS_USE_PKGSRC.nice:M[yY][eE][sS]) -TOOLS_DEPENDS.nice?= coreutils>=5.2.1:../../sysutils/coreutils -TOOLS_CREATE+= nice -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.nice=coreutils -TOOLS_REAL_CMD.nice= ${TOOLS_PREFIX.nice}/bin/${GNU_PROGRAM_PREFIX}nice -TOOLS_${_TOOLS_VARNAME.nice}= ${TOOLS_REAL_CMD.nice} -. endif -.endif - -.if !defined(TOOLS_IGNORE.patch) && !empty(_USE_TOOLS:Mpatch) -. if !empty(PKGPATH:Mdevel/patch) -MAKEFLAGS+= TOOLS_IGNORE.patch= -. elif !empty(_TOOLS_USE_PKGSRC.patch:M[yY][eE][sS]) -TOOLS_DEPENDS.patch?= patch>=2.2:../../devel/patch -TOOLS_CREATE+= patch -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.patch=patch -TOOLS_REAL_CMD.patch= ${TOOLS_PREFIX.patch}/bin/gpatch -TOOLS_${_TOOLS_VARNAME.patch}= ${TOOLS_REAL_CMD.patch} -. endif -.endif - -.if !defined(TOOLS_IGNORE.pax) && !empty(_USE_TOOLS:Mpax) -. if !empty(PKGPATH:Marchivers/pax) -MAKEFLAGS+= TOOLS_IGNORE.pax= -. elif !empty(_TOOLS_USE_PKGSRC.pax:M[yY][eE][sS]) -# -# This is installed by pkgsrc bootstrap, and is never registered, so -# comment out the dependency on it. -# -#TOOLS_DEPENDS.pax?= pax>=20040802:../../archivers/pax -TOOLS_CREATE+= pax -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.pax=pax -TOOLS_REAL_CMD.pax= ${TOOLS_PREFIX.pax}/bin/pax -TOOLS_${_TOOLS_VARNAME.pax}= ${TOOLS_REAL_CMD.pax} -. endif -.endif - -.if !defined(TOOLS_IGNORE.pwd) && !empty(_USE_TOOLS:Mpwd) -. if !empty(PKGPATH:Msysutils/coreutils) -MAKEFLAGS+= TOOLS_IGNORE.pwd= -. elif !empty(_TOOLS_USE_PKGSRC.pwd:M[yY][eE][sS]) -TOOLS_DEPENDS.pwd?= coreutils>=5.2.1:../../sysutils/coreutils -TOOLS_CREATE+= pwd -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.pwd=coreutils -TOOLS_REAL_CMD.pwd= ${TOOLS_PREFIX.pwd}/bin/${GNU_PROGRAM_PREFIX}pwd -TOOLS_${_TOOLS_VARNAME.pwd}= ${TOOLS_REAL_CMD.pwd} -. endif -.endif - -.if !defined(TOOLS_IGNORE.rm) && !empty(_USE_TOOLS:Mrm) -. if !empty(PKGPATH:Msysutils/coreutils) -MAKEFLAGS+= TOOLS_IGNORE.rm= -. elif !empty(_TOOLS_USE_PKGSRC.rm:M[yY][eE][sS]) -TOOLS_DEPENDS.rm?= coreutils>=5.2.1:../../sysutils/coreutils -TOOLS_CREATE+= rm -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.rm=coreutils -TOOLS_REAL_CMD.rm= ${TOOLS_PREFIX.rm}/bin/${GNU_PROGRAM_PREFIX}rm -TOOLS_${_TOOLS_VARNAME.rm}= ${TOOLS_REAL_CMD.rm} -. endif -.endif - -.if !defined(TOOLS_IGNORE.rmdir) && !empty(_USE_TOOLS:Mrmdir) -. if !empty(PKGPATH:Msysutils/coreutils) -MAKEFLAGS+= TOOLS_IGNORE.rmdir= -. elif !empty(_TOOLS_USE_PKGSRC.rmdir:M[yY][eE][sS]) -TOOLS_DEPENDS.rmdir?= coreutils>=5.2.1:../../sysutils/coreutils -TOOLS_CREATE+= rmdir -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.rmdir=coreutils -TOOLS_REAL_CMD.rmdir= ${TOOLS_PREFIX.rmdir}/bin/${GNU_PROGRAM_PREFIX}rmdir -TOOLS_${_TOOLS_VARNAME.rmdir}= ${TOOLS_REAL_CMD.rmdir} -. endif -.endif - -.if !defined(TOOLS_IGNORE.sed) && !empty(_USE_TOOLS:Msed) -. if !empty(PKGPATH:Mtextproc/nbsed) -MAKEFLAGS+= TOOLS_IGNORE.sed= -. elif !empty(_TOOLS_USE_PKGSRC.sed:M[yY][eE][sS]) -TOOLS_DEPENDS.sed?= nbsed>=20040821:../../textproc/nbsed -TOOLS_CREATE+= sed -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.sed=nbsed -TOOLS_REAL_CMD.sed= ${TOOLS_PREFIX.nbsed}/bin/nbsed -TOOLS_${_TOOLS_VARNAME.sed}= ${TOOLS_REAL_CMD.sed} -. endif -.endif - -.if !defined(TOOLS_IGNORE.sh) && !empty(_USE_TOOLS:Msh) -. if !empty(PKGPATH:Mshells/pdksh) -MAKEFLAGS+= TOOLS_IGNORE.sh= -. elif !empty(_TOOLS_USE_PKGSRC.sh:M[yY][eE][sS]) -TOOLS_DEPENDS.sh?= pdksh>=5.2.14:../../shells/pdksh -TOOLS_CREATE+= sh -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.sh=pdksh -TOOLS_REAL_CMD.sh= ${TOOLS_PREFIX.sh}/bin/pdksh -TOOLS_${_TOOLS_VARNAME.sh}= ${TOOLS_REAL_CMD.sh} -. endif -TOOLS_CMD.sh= ${TOOLS_DIR}/bin/sh -.endif - -.if !defined(TOOLS_IGNORE.shlock) && !empty(_USE_TOOLS:Mshlock) -. if !empty(PKGPATH:Mpkgtools/shlock) -MAKEFLAGS+= TOOLS_IGNORE.shlock= -. elif !empty(_TOOLS_USE_PKGSRC.shlock:M[yY][eE][sS]) -TOOLS_DEPENDS.shlock?= shlock>=20020114:../../pkgtools/shlock -TOOLS_CREATE+= shlock -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.shlock=shlock -TOOLS_REAL_CMD.shlock= ${TOOLS_PREFIX.shlock}/bin/shlock -TOOLS_${_TOOLS_VARNAME.shlock}= ${TOOLS_REAL_CMD.shlock} -. endif -.endif - -.if !defined(TOOLS_IGNORE.sort) && !empty(_USE_TOOLS:Msort) -. if !empty(PKGPATH:Msysutils/coreutils) -MAKEFLAGS+= TOOLS_IGNORE.sort= -. elif !empty(_TOOLS_USE_PKGSRC.sort:M[yY][eE][sS]) -TOOLS_DEPENDS.sort?= coreutils>=5.2.1:../../sysutils/coreutils -TOOLS_CREATE+= sort -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.sort=coreutils -TOOLS_REAL_CMD.sort= ${TOOLS_PREFIX.sort}/bin/${GNU_PROGRAM_PREFIX}sort -TOOLS_${_TOOLS_VARNAME.sort}= ${TOOLS_REAL_CMD.sort} -. endif -.endif - -.if !defined(TOOLS_IGNORE.tail) && !empty(_USE_TOOLS:Mtail) -. if !empty(PKGPATH:Msysutils/coreutils) -MAKEFLAGS+= TOOLS_IGNORE.tail= -. elif !empty(_TOOLS_USE_PKGSRC.tail:M[yY][eE][sS]) -TOOLS_DEPENDS.tail?= coreutils>=5.2.1:../../sysutils/coreutils -TOOLS_CREATE+= tail -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.tail=coreutils -TOOLS_REAL_CMD.tail= ${TOOLS_PREFIX.tail}/bin/${GNU_PROGRAM_PREFIX}tail -TOOLS_${_TOOLS_VARNAME.tail}= ${TOOLS_REAL_CMD.tail} -. endif -.endif - -.if !defined(TOOLS_IGNORE.tar) && !empty(_USE_TOOLS:Mtar) -. if !empty(PKGPATH:Marchivers/pax) -MAKEFLAGS+= TOOLS_IGNORE.tar= -. elif !empty(_TOOLS_USE_PKGSRC.tar:M[yY][eE][sS]) -# -# This is installed by pkgsrc bootstrap, and is never registered, so -# comment out the dependency on it. -# -#TOOLS_DEPENDS.tar?= pax>=20040802:../../archivers/pax -TOOLS_CREATE+= tar -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.tar=pax -TOOLS_REAL_CMD.tar= ${TOOLS_PREFIX.tar}/bin/tar -TOOLS_${_TOOLS_VARNAME.tar}= ${TOOLS_REAL_CMD.tar} -. endif -.endif - -.if !defined(TOOLS_IGNORE.tbl) && !empty(_USE_TOOLS:Mtbl) -. if !empty(PKGPATH:Mtextproc/groff) -MAKEFLAGS+= TOOLS_IGNORE.tbl= -. elif !empty(_TOOLS_USE_PKGSRC.tbl:M[yY][eE][sS]) -TOOLS_DEPENDS.tbl?= groff>=1.19nb4:../../textproc/groff -TOOLS_CREATE+= tbl -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.tbl=groff -TOOLS_REAL_CMD.tbl= ${TOOLS_PREFIX.tbl}/bin/tbl -TOOLS_${_TOOLS_VARNAME.tbl}= ${TOOLS_REAL_CMD.tbl} -. endif -.endif - -.if !defined(TOOLS_IGNORE.tee) && !empty(_USE_TOOLS:Mtee) -. if !empty(PKGPATH:Msysutils/coreutils) -MAKEFLAGS+= TOOLS_IGNORE.tee= -. elif !empty(_TOOLS_USE_PKGSRC.tee:M[yY][eE][sS]) -TOOLS_DEPENDS.tee?= coreutils>=5.2.1:../../sysutils/coreutils -TOOLS_CREATE+= tee -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.tee=coreutils -TOOLS_REAL_CMD.tee= ${TOOLS_PREFIX.tee}/bin/${GNU_PROGRAM_PREFIX}tee -TOOLS_${_TOOLS_VARNAME.tee}= ${TOOLS_REAL_CMD.tee} -. endif -.endif - -.if !defined(TOOLS_IGNORE.test) && !empty(_USE_TOOLS:Mtest) -. if !empty(PKGPATH:Msysutils/coreutils) -MAKEFLAGS+= TOOLS_IGNORE.test= -. elif !empty(_TOOLS_USE_PKGSRC.test:M[yY][eE][sS]) -TOOLS_DEPENDS.test?= coreutils>=5.2.1:../../sysutils/coreutils -TOOLS_CREATE+= test -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.test=coreutils -TOOLS_REAL_CMD.test= ${TOOLS_PREFIX.test}/bin/${GNU_PROGRAM_PREFIX}test -TOOLS_${_TOOLS_VARNAME.test}= ${TOOLS_REAL_CMD.test} -. endif -.endif - -.if !defined(TOOLS_IGNORE.touch) && !empty(_USE_TOOLS:Mtouch) -. if !empty(PKGPATH:Msysutils/coreutils) -MAKEFLAGS+= TOOLS_IGNORE.touch= -. elif !empty(_TOOLS_USE_PKGSRC.touch:M[yY][eE][sS]) -TOOLS_DEPENDS.touch?= coreutils>=5.2.1:../../sysutils/coreutils -TOOLS_CREATE+= touch -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.touch=coreutils -TOOLS_REAL_CMD.touch= ${TOOLS_PREFIX.touch}/bin/${GNU_PROGRAM_PREFIX}touch -TOOLS_${_TOOLS_VARNAME.touch}= ${TOOLS_REAL_CMD.touch} -. endif -.endif - -.if !defined(TOOLS_IGNORE.tr) && !empty(_USE_TOOLS:Mtr) -. if !empty(PKGPATH:Msysutils/coreutils) -MAKEFLAGS+= TOOLS_IGNORE.tr= -. elif !empty(_TOOLS_USE_PKGSRC.tr:M[yY][eE][sS]) -TOOLS_DEPENDS.tr?= coreutils>=5.2.1:../../sysutils/coreutils -TOOLS_CREATE+= tr -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.tr=coreutils -TOOLS_REAL_CMD.tr= ${TOOLS_PREFIX.tr}/bin/${GNU_PROGRAM_PREFIX}tr -TOOLS_${_TOOLS_VARNAME.tr}= ${TOOLS_REAL_CMD.tr} -. endif -.endif - -.if !defined(TOOLS_IGNORE.true) && !empty(_USE_TOOLS:Mtrue) -. if !empty(PKGPATH:Msysutils/coreutils) -MAKEFLAGS+= TOOLS_IGNORE.true= -. elif !empty(_TOOLS_USE_PKGSRC.true:M[yY][eE][sS]) -TOOLS_DEPENDS.true?= coreutils>=5.2.1:../../sysutils/coreutils -TOOLS_CREATE+= true -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.true=coreutils -TOOLS_REAL_CMD.true= ${TOOLS_PREFIX.true}/bin/${GNU_PROGRAM_PREFIX}true -TOOLS_${_TOOLS_VARNAME.true}= ${TOOLS_REAL_CMD.true} -. endif -.endif - -.if !defined(TOOLS_IGNORE.tsort) && !empty(_USE_TOOLS:Mtsort) -. if !empty(PKGPATH:Msysutils/coreutils) -MAKEFLAGS+= TOOLS_IGNORE.tsort= -. elif !empty(_TOOLS_USE_PKGSRC.tsort:M[yY][eE][sS]) -TOOLS_DEPENDS.tsort?= coreutils>=5.2.1:../../sysutils/coreutils -TOOLS_CREATE+= tsort -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.tsort=coreutils -TOOLS_REAL_CMD.tsort= ${TOOLS_PREFIX.tsort}/bin/${GNU_PROGRAM_PREFIX}tsort -TOOLS_${_TOOLS_VARNAME.tsort}= ${TOOLS_REAL_CMD.tsort} -. endif -.endif - -.if !defined(TOOLS_IGNORE.unrar) && !empty(_USE_TOOLS:Munrar) -. if !empty(PKGPATH:Marchivers/unrar) -MAKEFLAGS+= TOOLS_IGNORE.unrar= -. elif !empty(_TOOLS_USE_PKGSRC.unrar:M[yY][eE][sS]) -TOOLS_DEPENDS.unrar?= unrar>=3.3.4:../../archivers/unrar -TOOLS_CREATE+= unrar -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.unrar=unrar -TOOLS_REAL_CMD.unrar= ${TOOLS_PREFIX.unrar}/bin/unrar -TOOLS_${_TOOLS_VARNAME.unrar}= ${TOOLS_REAL_CMD.unrar} -. endif -.endif - -.if !defined(TOOLS_IGNORE.unzip) && !empty(_USE_TOOLS:Munzip) -. if !empty(PKGPATH:Marchivers/unzip) -MAKEFLAGS+= TOOLS_IGNORE.unzip= -. elif !empty(_TOOLS_USE_PKGSRC.unzip:M[yY][eE][sS]) -TOOLS_DEPENDS.unzip?= unzip-[0-9]*:../../archivers/unzip -TOOLS_CREATE+= unzip -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.unzip=unzip -TOOLS_REAL_CMD.unzip= ${TOOLS_PREFIX.unzip}/bin/unzip -TOOLS_${_TOOLS_VARNAME.unzip}= ${TOOLS_REAL_CMD.unzip} -. endif -.endif - -.if !defined(TOOLS_IGNORE.unzoo) && !empty(_USE_TOOLS:Munzoo) -. if !empty(PKGPATH:Marchivers/unzoo) -MAKEFLAGS+= TOOLS_IGNORE.unzoo= -. elif !empty(_TOOLS_USE_PKGSRC.unzoo:M[yY][eE][sS]) -TOOLS_DEPENDS.unzoo?= unzoo-[0-9]*:../../archivers/unzoo -TOOLS_CREATE+= unzoo -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.unzoo=unzoo -TOOLS_REAL_CMD.unzoo= ${TOOLS_PREFIX.unzoo}/bin/unzoo -TOOLS_${_TOOLS_VARNAME.unzoo}= ${TOOLS_REAL_CMD.unzoo} -. endif -.endif - -.if !defined(TOOLS_IGNORE.wc) && !empty(_USE_TOOLS:Mwc) -. if !empty(PKGPATH:Msysutils/coreutils) -MAKEFLAGS+= TOOLS_IGNORE.wc= -. elif !empty(_TOOLS_USE_PKGSRC.wc:M[yY][eE][sS]) -TOOLS_DEPENDS.wc?= coreutils>=5.2.1:../../sysutils/coreutils -TOOLS_CREATE+= wc -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.wc=coreutils -TOOLS_REAL_CMD.wc= ${TOOLS_PREFIX.wc}/bin/${GNU_PROGRAM_PREFIX}wc -TOOLS_${_TOOLS_VARNAME.wc}= ${TOOLS_REAL_CMD.wc} -. endif -.endif - -.if !defined(TOOLS_IGNORE.xargs) && !empty(_USE_TOOLS:Mxargs) -. if !empty(PKGPATH:Msysutils/findutils) -MAKEFLAGS+= TOOLS_IGNORE.xargs= -. elif !empty(_TOOLS_USE_PKGSRC.xargs:M[yY][eE][sS]) -TOOLS_DEPENDS.xargs?= findutils>=4.1:../../sysutils/findutils -TOOLS_CREATE+= xargs -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.xargs=findutils -TOOLS_REAL_CMD.xargs= ${TOOLS_PREFIX.xargs}/bin/${GNU_PROGRAM_PREFIX}xargs -TOOLS_REAL_ARGS.xargs= -r # don't run command if stdin is empty -TOOLS_${_TOOLS_VARNAME.xargs}= ${TOOLS_REAL_CMD.xargs} ${TOOLS_REAL_ARGS.xargs} -. endif -.endif - -.if !defined(TOOLS_IGNORE.yacc) && !empty(_USE_TOOLS:Myacc) -. if !empty(PKGPATH:Mdevel/bison) -MAKEFLAGS+= TOOLS_IGNORE.yacc= -. elif !empty(_TOOLS_USE_PKGSRC.yacc:M[yY][eE][sS]) -TOOLS_DEPENDS.yacc?= bison>=1.0:../../devel/bison -TOOLS_CREATE+= yacc -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.yacc=bison -TOOLS_REAL_CMD.yacc= ${TOOLS_PREFIX.yacc}/bin/bison -TOOLS_REAL_ARGS.yacc= -y -TOOLS_${_TOOLS_VARNAME.yacc}= ${TOOLS_REAL_CMD.yacc} ${TOOLS_REAL_ARGS.yacc} -. endif -.endif - -# Compute the locations of the pkgsrc-supplied tools. -FIND_PREFIX:= ${TOOLS_FIND_PREFIX} -.include "../../mk/find-prefix.mk" - -###################################################################### - -# Add the dependencies for each pkgsrc-supplied tool. -# -.for _t_ in ${_USE_TOOLS} -. if defined(TOOLS_DEPMETHOD.${_t_}) && defined(TOOLS_DEPENDS.${_t_}) -. if empty(${TOOLS_DEPMETHOD.${_t_}}:M${TOOLS_DEPENDS.${_t_}}) -${TOOLS_DEPMETHOD.${_t_}}+= ${TOOLS_DEPENDS.${_t_}} -. endif -. endif -.endfor - -###################################################################### - -# For each tool that pkgsrc requires, make sure that the "TOOL" name -# points to the real command, e.g., AWK, SED, etc., provided that -# "TOOL" has been associated with <tool>. -# -.for _t_ in ${PKGSRC_USE_TOOLS:O:u} -_TOOLS_USE_PKGSRC.${_t_}?= no -. if defined(_TOOLS_VARNAME.${_t_}) -. if !empty(_TOOLS_USE_PKGSRC.${_t_}:M[nN][oO]) -. if defined(TOOLS_PLATFORM.${_t_}) && !empty(TOOLS_PLATFORM.${_t_}) -${_TOOLS_VARNAME.${_t_}}= ${TOOLS_PLATFORM.${_t_}} -. endif -. else -${_TOOLS_VARNAME.${_t_}}= ${TOOLS_${_TOOLS_VARNAME.${_t_}}} -. endif -. endif -.endfor -.undef _t_ - -###################################################################### - -# If we are using the system-supplied tool, create symlinks or wrappers -# for each of the tools requested. -# -# Set TOOLS_REAL_CMD.<tool> appropriately in the case where we are -# using the system-supplied tool. Here, we first check to see if -# TOOLS_PLATFORM.<tool> is defined. If it is, then use that as the -# path to the real command and extract any arguments into -# TOOLS_REAL_ARGS.<tool>. -# -# Always set the "TOOLS_TOOL" name for each tool to point to the real -# command, e.g., TOOLS_TBL, TOOLS_YACC, etc., provided that "TOOL" has -# been associated with <tool>. If the "TOOL" name is undefined, then -# set it to the same value to provide a simple name for use by package -# Makefiles. -# -.for _t_ in ${_USE_TOOLS} -. if !defined(TOOLS_IGNORE.${_t_}) && \ - !empty(_TOOLS_USE_PKGSRC.${_t_}:M[nN][oO]) -. if defined(TOOLS_PLATFORM.${_t_}) && !empty(TOOLS_PLATFORM.${_t_}) -TOOLS_REAL_CMD.${_t_}?= \ - ${TOOLS_PLATFORM.${_t_}:C/^/_asdf_/1:M_asdf_*:S/^_asdf_//} -TOOLS_REAL_ARGS.${_t_}?= \ - ${TOOLS_PLATFORM.${_t_}:C/^/_asdf_/1:N_asdf_*} -. if defined(_TOOLS_VARNAME.${_t_}) -TOOLS_${_TOOLS_VARNAME.${_t_}}= ${TOOLS_PLATFORM.${_t_}} -. endif -TOOLS_CREATE+= ${_t_} -. elif defined(_TOOLS_VARNAME.${_t_}) -. if defined(TOOLS_REAL_CMD.${_t_}) -TOOLS_${_TOOLS_VARNAME.${_t_}}= ${TOOLS_REAL_CMD.${_t_}} ${TOOLS_REAL_ARGS.${_t_}} -. else -TOOLS_${_TOOLS_VARNAME.${_t_}}= ${_TOOLS_VARNAME.${_t_}}_not_defined_ -. endif -. endif -. endif -. if defined(_TOOLS_VARNAME.${_t_}) -. if defined(TOOLS_${_TOOLS_VARNAME.${_t_}}) -. for _v_ in ${_TOOLS_VARNAME.${_t_}} -${_v_}?= ${TOOLS_${_TOOLS_VARNAME.${_t_}}} -. endfor -. undef _v_ -. endif -. endif -.endfor -.undef _t_ diff --git a/mk/tools/rpcgen.mk b/mk/tools/rpcgen.mk deleted file mode 100644 index b6c1e362474..00000000000 --- a/mk/tools/rpcgen.mk +++ /dev/null @@ -1,28 +0,0 @@ -# $NetBSD: rpcgen.mk,v 1.5.2.2 2005/05/17 18:29:46 tv Exp $ - -# Create an rpcgen script that correctly sets the CPP environment -# variable to a stat(2)able path to a C preprocessor, then invokes -# the real rpcgen. -# -TOOLS_CREATE+= rpcgen -.if !defined(TOOLS_REAL_CMD.rpcgen) -TOOLS_EXECDIRS.rpcgen?= /bin /sbin /usr/bin /usr/sbin -. for _d_ in ${TOOLS_EXECDIRS.rpcgen} -. if exists(${_d_}/rpcgen) -TOOLS_REAL_CMD.rpcgen?= ${_d_}/rpcgen -. endif -. endfor -. undef _d_ -TOOLS_REAL_CMD.rpcgen?= ${FALSE} -.endif -TOOLS_CMD.rpcgen= ${TOOLS_DIR}/bin/rpcgen -.if ${OPSYS} == "NetBSD" -TOOLS_REAL_ARGS.rpcgen?= -b -.endif -TOOLS_REAL_CMDLINE.rpcgen= \ - CPP=${WRAPPER_BINDIR:Q}/cpp ${TOOLS_REAL_CMD.rpcgen} ${TOOLS_REAL_ARGS.rpcgen} "$$@" - -# Make ${RPCGEN} call the "rpcgen" through the PATH, which should find -# the rpcgen tool wrapper. -# -RPCGEN?= rpcgen diff --git a/mk/tools/strip.mk b/mk/tools/strip.mk deleted file mode 100644 index 79153e769b5..00000000000 --- a/mk/tools/strip.mk +++ /dev/null @@ -1,16 +0,0 @@ -# $NetBSD: strip.mk,v 1.1.2.2 2005/05/17 18:29:46 tv Exp $ -# -# Depending on whether _INSTALL_UNSTRIPPED is defined, we cause -# ${TOOLS_DIR}/bin/strip to be either the correct strip tool or a no-op. -# -.if defined(_INSTALL_UNSTRIPPED) || !defined(TOOLS_PLATFORM.strip) -TOOLS_NOOP+= strip -.else -TOOLS_CREATE+= strip -TOOLS_REAL_CMD.strip= ${TOOLS_PLATFORM.strip} -.endif - -# Make ${STRIP} call "strip" through the PATH, which should find the one -# under ${TOOLS_DIR}. -# -STRIP?= strip diff --git a/mk/tools/texinfo.mk b/mk/tools/texinfo.mk deleted file mode 100644 index 1259f26f970..00000000000 --- a/mk/tools/texinfo.mk +++ /dev/null @@ -1,23 +0,0 @@ -# $NetBSD: texinfo.mk,v 1.5.2.2 2005/05/17 18:29:46 tv Exp $ - -# Create an install-info script that is a "no operation" command, as -# registration of info files is handled by the INSTALL script. -# -TOOLS_NOOP+= install-info -CONFIGURE_ENV+= INSTALL_INFO=${TOOLS_CMD.install-info:Q} -MAKE_ENV+= INSTALL_INFO=${TOOLS_CMD.install-info:Q} - -# Create a makeinfo script that will invoke the right makeinfo command -# if USE_MAKEINFO is "yes" or will exit on error if not. MAKEINFO is -# defined by mk/texinfo.mk if USE_MAKEINFO is "yes". -# -USE_MAKEINFO?= no -.if empty(USE_MAKEINFO:M[nN][oO]) -TOOLS_CREATE+= makeinfo -TOOLS_REAL_CMD.makeinfo= ${MAKEINFO:C/^/_asdf_/1:M_asdf_*:S/^_asdf_//} -TOOLS_REAL_ARGS.makeinfo= ${MAKEINFO:C/^/_asdf_/1:N_asdf_*} -.else -TOOLS_BROKEN+= makeinfo -.endif -CONFIGURE_ENV+= MAKEINFO=${TOOLS_CMD.makeinfo:Q} -MAKE_ENV+= MAKEINFO=${TOOLS_CMD.makeinfo:Q} diff --git a/mk/tools/tools.AIX.mk b/mk/tools/tools.AIX.mk deleted file mode 100644 index 4ec43953160..00000000000 --- a/mk/tools/tools.AIX.mk +++ /dev/null @@ -1,53 +0,0 @@ -# $NetBSD: tools.AIX.mk,v 1.8.2.2 2005/05/17 18:29:46 tv Exp $ -# -# System-supplied tools for the AIX operating system. - -TOOLS_PLATFORM.[?= [ # shell builtin -TOOLS_PLATFORM.awk?= /usr/bin/awk -TOOLS_PLATFORM.basename?= /usr/bin/basename -TOOLS_PLATFORM.cat?= /bin/cat -TOOLS_PLATFORM.chgrp?= /usr/bin/chgrp -TOOLS_PLATFORM.chmod?= /bin/chmod -TOOLS_PLATFORM.chown?= /usr/bin/chown -TOOLS_PLATFORM.cmp?= /usr/bin/cmp -TOOLS_PLATFORM.cp?= /bin/cp -TOOLS_PLATFORM.cut?= /usr/bin/cut -TOOLS_PLATFORM.date?= /bin/date -TOOLS_PLATFORM.dirname?= /usr/bin/dirname -TOOLS_PLATFORM.echo?= echo # shell builtin -TOOLS_PLATFORM.egrep?= /usr/bin/grep -E -TOOLS_PLATFORM.env?= /usr/bin/env -TOOLS_PLATFORM.expr?= /bin/expr -TOOLS_PLATFORM.false?= false # shell builtin -TOOLS_PLATFORM.fgrep?= /usr/bin/grep -F -TOOLS_PLATFORM.file?= /usr/bin/file -TOOLS_PLATFORM.find?= /usr/bin/find -TOOLS_PLATFORM.grep?= /usr/bin/grep -TOOLS_PLATFORM.head?= /usr/bin/head -TOOLS_PLATFORM.hostname?= /bin/hostname -TOOLS_PLATFORM.id?= /usr/bin/id -TOOLS_PLATFORM.ldconfig?= /sbin/ldconfig -TOOLS_PLATFORM.ln?= /bin/ln -TOOLS_PLATFORM.ls?= /bin/ls -TOOLS_PLATFORM.m4?= /usr/bin/m4 -TOOLS_PLATFORM.mail?= /usr/bin/mailx -TOOLS_PLATFORM.mkdir?= /bin/mkdir -p -TOOLS_PLATFORM.mv?= /bin/mv -TOOLS_PLATFORM.nice?= /usr/bin/nice -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 -TOOLS_PLATFORM.sort?= /usr/bin/sort -TOOLS_PLATFORM.tail?= /usr/bin/tail -TOOLS_PLATFORM.tar?= /usr/bin/tar -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 diff --git a/mk/tools/tools.BSDOS.mk b/mk/tools/tools.BSDOS.mk deleted file mode 100644 index 645f46241b8..00000000000 --- a/mk/tools/tools.BSDOS.mk +++ /dev/null @@ -1,63 +0,0 @@ -# $NetBSD: tools.BSDOS.mk,v 1.11.2.2 2005/05/17 18:29:46 tv Exp $ -# -# System-supplied tools for the BSD/OS operating system. - -TOOLS_PLATFORM.[?= [ # shell builtin -TOOLS_PLATFORM.awk?= /usr/bin/awk -TOOLS_PLATFORM.basename?= /usr/bin/basename -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 -TOOLS_PLATFORM.cut?= /usr/bin/cut -TOOLS_PLATFORM.date?= /bin/date -TOOLS_PLATFORM.dirname?= /usr/bin/dirname -TOOLS_PLATFORM.echo?= echo # shell builtin -TOOLS_PLATFORM.egrep?= /bin/egrep -TOOLS_PLATFORM.env?= /usr/bin/env -TOOLS_PLATFORM.expr?= /bin/expr -TOOLS_PLATFORM.false?= false # shell builtin -TOOLS_PLATFORM.fgrep?= /bin/fgrep -TOOLS_PLATFORM.file?= /usr/bin/file -TOOLS_PLATFORM.find?= /usr/bin/find -TOOLS_PLATFORM.grep?= /bin/grep -TOOLS_PLATFORM.gunzip?= /usr/contrib/bin/gunzip -f -TOOLS_PLATFORM.gzcat?= /usr/contrib/bin/gzcat -TOOLS_PLATFORM.gzip?= /usr/contrib/bin/gzip -nf ${GZIP} -TOOLS_PLATFORM.head?= /usr/bin/head -TOOLS_PLATFORM.hostname?= /bin/hostname -TOOLS_PLATFORM.id?= /usr/bin/id -TOOLS_PLATFORM.install?= /usr/bin/install -TOOLS_PLATFORM.ldconfig?= /sbin/ldconfig -TOOLS_PLATFORM.ln?= /bin/ln -TOOLS_PLATFORM.ls?= /bin/ls -TOOLS_PLATFORM.m4?= /usr/bin/m4 -TOOLS_PLATFORM.mail?= /usr/bin/mail -TOOLS_PLATFORM.mkdir?= /bin/mkdir -p -TOOLS_PLATFORM.mv?= /bin/mv -TOOLS_PLATFORM.mtree?= /usr/sbin/mtree -TOOLS_PLATFORM.nice?= /usr/bin/nice -TOOLS_PLATFORM.patch?= /usr/contrib/bin/patch -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/bash -TOOLS_PLATFORM.sort?= /usr/bin/sort -TOOLS_PLATFORM.strip?= /usr/bin/strip -TOOLS_PLATFORM.tail?= /usr/bin/tail -.if exists(/bin/tar) -TOOLS_PLATFORM.tar?= /bin/tar -.elif exists(/usr/bin/tar) -TOOLS_PLATFORM.tar?= /usr/bin/tar -.endif -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 diff --git a/mk/tools/tools.Darwin.mk b/mk/tools/tools.Darwin.mk deleted file mode 100644 index 35a80339aa2..00000000000 --- a/mk/tools/tools.Darwin.mk +++ /dev/null @@ -1,63 +0,0 @@ -# $NetBSD: tools.Darwin.mk,v 1.10.2.2 2005/05/17 18:29:46 tv Exp $ -# -# System-supplied tools for the Darwin (Mac OS X) operating system. - -TOOLS_PLATFORM.[?= [ # shell builtin -TOOLS_PLATFORM.awk?= /usr/bin/awk -TOOLS_PLATFORM.basename?= /usr/bin/basename -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 -TOOLS_PLATFORM.cut?= /usr/bin/cut -TOOLS_PLATFORM.date?= /bin/date -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 -TOOLS_PLATFORM.gmake?= /usr/bin/gnumake -TOOLS_PLATFORM.grep?= /usr/bin/grep -TOOLS_PLATFORM.gtar?= /usr/bin/gnutar -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 -TOOLS_PLATFORM.install?= /usr/bin/install -TOOLS_PLATFORM.ldconfig?= /sbin/ldconfig -TOOLS_PLATFORM.lex?= /usr/bin/lex -TOOLS_PLATFORM.ln?= /bin/ln -TOOLS_PLATFORM.ls?= /bin/ls -TOOLS_PLATFORM.m4?= /usr/bin/m4 -TOOLS_PLATFORM.mail?= /usr/bin/mail -TOOLS_PLATFORM.mkdir?= /bin/mkdir -p -TOOLS_PLATFORM.mtree?= /usr/sbin/mtree -TOOLS_PLATFORM.mv?= /bin/mv -TOOLS_PLATFORM.nice?= /usr/bin/nice -TOOLS_PLATFORM.patch?= /usr/bin/patch -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.sort?= /usr/bin/sort -TOOLS_PLATFORM.strip?= /usr/bin/strip -TOOLS_PLATFORM.tail?= /usr/bin/tail -TOOLS_PLATFORM.tar?= /usr/bin/tar -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 diff --git a/mk/tools/tools.DragonFly.mk b/mk/tools/tools.DragonFly.mk deleted file mode 100644 index 6b9c7952238..00000000000 --- a/mk/tools/tools.DragonFly.mk +++ /dev/null @@ -1,65 +0,0 @@ -# $NetBSD: tools.DragonFly.mk,v 1.12.2.2 2005/05/17 18:29:46 tv Exp $ -# -# System-supplied tools for the DragonFly operating system. - -TOOLS_PLATFORM.[?= /bin/[ -TOOLS_PLATFORM.awk?= /usr/bin/awk -TOOLS_PLATFORM.basename?= /usr/bin/basename -TOOLS_PLATFORM.cat?= /bin/cat -TOOLS_PLATFORM.bzcat?= /usr/bin/bzcat -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 -TOOLS_PLATFORM.cut?= /usr/bin/cut -TOOLS_PLATFORM.date?= /bin/date -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?= /usr/bin/false -TOOLS_PLATFORM.fgrep?= /usr/bin/fgrep -TOOLS_PLATFORM.file?= /usr/bin/file -TOOLS_PLATFORM.find?= /usr/bin/find -TOOLS_PLATFORM.grep?= /usr/bin/grep -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 -TOOLS_PLATFORM.install?= /usr/bin/install -TOOLS_PLATFORM.ldconfig?= /sbin/ldconfig -TOOLS_PLATFORM.lex?= /usr/bin/lex -TOOLS_PLATFORM.ln?= /bin/ln -TOOLS_PLATFORM.ls?= /bin/ls -TOOLS_PLATFORM.m4?= /usr/bin/m4 -TOOLS_PLATFORM.mail?= /usr/bin/mail -TOOLS_PLATFORM.mkdir?= /bin/mkdir -p -TOOLS_PLATFORM.mtree?= /usr/sbin/mtree -TOOLS_PLATFORM.mv?= /bin/mv -TOOLS_PLATFORM.nice?= /usr/bin/nice -TOOLS_PLATFORM.patch?= /usr/bin/patch -TOOLS_PLATFORM.pax?= /bin/pax -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 -TOOLS_PLATFORM.sort?= /usr/bin/sort -TOOLS_PLATFORM.strip?= /usr/bin/strip -TOOLS_PLATFORM.tail?= /usr/bin/tail -TOOLS_PLATFORM.tar?= /usr/bin/tar -TOOLS_PLATFORM.tbl?= /usr/bin/tbl -TOOLS_PLATFORM.tee?= /usr/bin/tee -TOOLS_PLATFORM.test?= /bin/test -TOOLS_PLATFORM.touch?= /usr/bin/touch -TOOLS_PLATFORM.tr?= /usr/bin/tr -TOOLS_PLATFORM.true?= /usr/bin/true -TOOLS_PLATFORM.tsort?= /usr/bin/tsort -TOOLS_PLATFORM.wc?= /usr/bin/wc -TOOLS_PLATFORM.xargs?= /usr/bin/xargs -TOOLS_PLATFORM.yacc?= /usr/bin/yacc diff --git a/mk/tools/tools.FreeBSD.mk b/mk/tools/tools.FreeBSD.mk deleted file mode 100644 index 37d311fe124..00000000000 --- a/mk/tools/tools.FreeBSD.mk +++ /dev/null @@ -1,67 +0,0 @@ -# $NetBSD: tools.FreeBSD.mk,v 1.12.2.2 2005/05/17 18:29:46 tv Exp $ -# -# System-supplied tools for the FreeBSD operating system. - -TOOLS_PLATFORM.[?= [ # shell builtin -TOOLS_PLATFORM.awk?= /usr/bin/awk -TOOLS_PLATFORM.basename?= /usr/bin/basename -.if exists(/usr/bin/bzcat) -TOOLS_PLATFORM.bzcat?= /usr/bin/bzcat -.endif -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 -TOOLS_PLATFORM.cut?= /usr/bin/cut -TOOLS_PLATFORM.date?= /bin/date -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 -TOOLS_PLATFORM.grep?= /usr/bin/grep -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 -TOOLS_PLATFORM.install?= /usr/bin/install -TOOLS_PLATFORM.ldconfig?= /sbin/ldconfig -TOOLS_PLATFORM.lex?= /usr/bin/lex -TOOLS_PLATFORM.ln?= /bin/ln -TOOLS_PLATFORM.ls?= /bin/ls -TOOLS_PLATFORM.m4?= /usr/bin/m4 -TOOLS_PLATFORM.mail?= /usr/bin/mail -TOOLS_PLATFORM.mkdir?= /bin/mkdir -p -TOOLS_PLATFORM.mtree?= /usr/sbin/mtree -TOOLS_PLATFORM.mv?= /bin/mv -TOOLS_PLATFORM.nice?= /usr/bin/nice -TOOLS_PLATFORM.patch?= /usr/bin/patch -TOOLS_PLATFORM.pax?= /bin/pax -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 -TOOLS_PLATFORM.sort?= /usr/bin/sort -TOOLS_PLATFORM.strip?= /usr/bin/strip -TOOLS_PLATFORM.tail?= /usr/bin/tail -TOOLS_PLATFORM.tar?= /usr/bin/tar -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 diff --git a/mk/tools/tools.IRIX.mk b/mk/tools/tools.IRIX.mk deleted file mode 100644 index 88e0b089353..00000000000 --- a/mk/tools/tools.IRIX.mk +++ /dev/null @@ -1,63 +0,0 @@ -# $NetBSD: tools.IRIX.mk,v 1.12.2.2 2005/05/17 18:29:46 tv Exp $ -# -# System-supplied tools for the IRIX operating system. - -TOOLS_PLATFORM.[?= [ # shell builtin -TOOLS_PLATFORM.awk?= /usr/bin/nawk -TOOLS_PLATFORM.basename?= /sbin/basename -TOOLS_PLATFORM.cat?= /sbin/cat -TOOLS_PLATFORM.chgrp?= /sbin/chgrp -TOOLS_PLATFORM.chmod?= /sbin/chmod -TOOLS_PLATFORM.chown?= /sbin/chown -TOOLS_PLATFORM.cmp?= /usr/bin/cmp -TOOLS_PLATFORM.cp?= /sbin/cp -TOOLS_PLATFORM.cut?= /usr/bin/cut -TOOLS_PLATFORM.date?= /sbin/date -TOOLS_PLATFORM.dirname?= /usr/bin/dirname -TOOLS_PLATFORM.echo?= echo # shell builtin -TOOLS_PLATFORM.egrep?= /usr/bin/egrep -TOOLS_PLATFORM.env?= /sbin/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?= /sbin/find -TOOLS_PLATFORM.grep?= /sbin/grep -.if exists(/usr/sbin/gunzip) -TOOLS_PLATFORM.gunzip?= /usr/sbin/gunzip -f -.endif -.if exists(/usr/sbin/gzcat) -TOOLS_PLATFORM.gzcat?= /usr/sbin/gzcat -.endif -.if exists(/usr/sbin/gzip) -TOOLS_PLATFORM.gzip?= /usr/sbin/gzip -nf ${GZIP} -.endif -TOOLS_PLATFORM.head?= /usr/bsd/head -TOOLS_PLATFORM.hostname?= /usr/bsd/hostname -TOOLS_PLATFORM.id?= /usr/bin/id -TOOLS_PLATFORM.ln?= /sbin/ln -TOOLS_PLATFORM.ls?= /sbin/ls -TOOLS_PLATFORM.m4?= /sbin/m4 -.if exists(/usr/sbin/mailx) -TOOLS_PLATFORM.mail?= /usr/sbin/mailx -.elif exists(/usr/bin/mail) -TOOLS_PLATFORM.mail?= /usr/bin/mail -.endif -TOOLS_PLATFORM.mkdir?= /sbin/mkdir -p -TOOLS_PLATFORM.mv?= /sbin/mv -TOOLS_PLATFORM.nice?= /sbin/nice -TOOLS_PLATFORM.pwd?= /sbin/pwd -TOOLS_PLATFORM.rm?= /sbin/rm -TOOLS_PLATFORM.rmdir?= /usr/bin/rmdir -TOOLS_PLATFORM.sed?= /sbin/sed -TOOLS_PLATFORM.sh?= /bin/ksh -TOOLS_PLATFORM.sort?= /usr/bin/sort -TOOLS_PLATFORM.tail?= /usr/bin/tail -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?= /sbin/wc -TOOLS_PLATFORM.xargs?= /sbin/xargs diff --git a/mk/tools/tools.Interix.mk b/mk/tools/tools.Interix.mk deleted file mode 100644 index da09a4ba003..00000000000 --- a/mk/tools/tools.Interix.mk +++ /dev/null @@ -1,53 +0,0 @@ -# $NetBSD: tools.Interix.mk,v 1.11.2.2 2005/05/17 18:29:46 tv Exp $ -# -# System-supplied tools for the Interix operating system. - -TOOLS_PLATFORM.[?= /bin/[ -TOOLS_PLATFORM.awk?= /usr/contrib/bin/gawk -TOOLS_PLATFORM.basename?= /bin/basename -TOOLS_PLATFORM.cat?= /bin/cat -TOOLS_PLATFORM.chgrp?= /bin/chgrp -TOOLS_PLATFORM.chmod?= /bin/chmod -TOOLS_PLATFORM.chown?= /bin/chown -TOOLS_PLATFORM.cmp?= /bin/cmp -TOOLS_PLATFORM.cp?= /bin/cp -TOOLS_PLATFORM.cut?= /bin/cut -TOOLS_PLATFORM.date?= /bin/date -TOOLS_PLATFORM.dirname?= /bin/dirname -TOOLS_PLATFORM.echo?= echo # shell builtin -TOOLS_PLATFORM.egrep?= /bin/egrep -TOOLS_PLATFORM.env?= /bin/env -TOOLS_PLATFORM.expr?= /bin/expr -TOOLS_PLATFORM.false?= false # shell builtin -TOOLS_PLATFORM.fgrep?= /bin/fgrep -TOOLS_PLATFORM.file?= /bin/file -TOOLS_PLATFORM.find?= /bin/find -TOOLS_PLATFORM.grep?= /bin/grep -TOOLS_PLATFORM.gunzip?= /usr/contrib/bin/gunzip -f -TOOLS_PLATFORM.gzcat?= /usr/contrib/bin/gunzip -c -TOOLS_PLATFORM.gzip?= /usr/contrib/bin/gzip -nf ${GZIP} -TOOLS_PLATFORM.head?= /bin/head -TOOLS_PLATFORM.hostname?= /bin/hostname -TOOLS_PLATFORM.id?= /bin/id -TOOLS_PLATFORM.ln?= /bin/ln -TOOLS_PLATFORM.ls?= /bin/ls -TOOLS_PLATFORM.m4?= /bin/m4 -TOOLS_PLATFORM.mail?= /bin/mail -TOOLS_PLATFORM.mkdir?= /bin/mkdir -p -TOOLS_PLATFORM.mv?= /bin/mv -TOOLS_PLATFORM.nice?= /bin/nice -TOOLS_PLATFORM.pwd?= /bin/pwd -TOOLS_PLATFORM.rm?= /bin/rm -TOOLS_PLATFORM.rmdir?= /bin/rmdir -TOOLS_PLATFORM.sh?= /bin/sh -TOOLS_PLATFORM.sort?= /bin/sort -TOOLS_PLATFORM.strip?= /bin/strip -TOOLS_PLATFORM.tail?= /bin/tail -TOOLS_PLATFORM.tee?= /bin/tee -TOOLS_PLATFORM.test?= /bin/test -TOOLS_PLATFORM.touch?= /bin/touch -TOOLS_PLATFORM.tr?= /bin/tr -TOOLS_PLATFORM.true?= true # shell builtin -TOOLS_PLATFORM.tsort?= /bin/tsort -TOOLS_PLATFORM.wc?= /bin/wc -TOOLS_PLATFORM.xargs?= /bin/xargs diff --git a/mk/tools/tools.Linux.mk b/mk/tools/tools.Linux.mk deleted file mode 100644 index 4cc80b59a97..00000000000 --- a/mk/tools/tools.Linux.mk +++ /dev/null @@ -1,129 +0,0 @@ -# $NetBSD: tools.Linux.mk,v 1.17.2.2 2005/05/17 18:29:46 tv Exp $ -# -# System-supplied tools for the Linux operating system. - -TOOLS_PLATFORM.[?= [ # shell builtin -TOOLS_PLATFORM.awk?= ${TOOLS_PLATFORM.gawk} -.if exists(/bin/basename) -TOOLS_PLATFORM.basename?= /bin/basename -.elif exists(/usr/bin/basename) -TOOLS_PLATFORM.basename?= /usr/bin/basename -.endif -.if exists(/usr/bin/bison) -TOOLS_PLATFORM.bison?= /usr/bin/bison -TOOLS_PLATFORM.bison-yacc?= /usr/bin/bison -y -.endif -TOOLS_PLATFORM.cat?= /bin/cat -TOOLS_PLATFORM.chgrp?= /bin/chgrp -TOOLS_PLATFORM.chmod?= /bin/chmod -TOOLS_PLATFORM.chown?= /bin/chown -.if exists(/bin/cmp) -TOOLS_PLATFORM.cmp?= /bin/cmp -.elif exists(/usr/bin/cmp) -TOOLS_PLATFORM.cmp?= /usr/bin/cmp -.endif -TOOLS_PLATFORM.cp?= /bin/cp -.if exists(/bin/cut) -TOOLS_PLATFORM.cut?= /bin/cut -.elif exists(/usr/bin/cut) -TOOLS_PLATFORM.cut?= /usr/bin/cut -.endif -TOOLS_PLATFORM.date?= /bin/date -TOOLS_PLATFORM.dirname?= /usr/bin/dirname -TOOLS_PLATFORM.echo?= echo # shell builtin -.if exists(/bin/egrep) -TOOLS_PLATFORM.egrep?= /bin/egrep -.elif exists(/usr/bin/egrep) -TOOLS_PLATFORM.egrep?= /usr/bin/egrep -.endif -TOOLS_PLATFORM.env?= /usr/bin/env -TOOLS_PLATFORM.expr?= /usr/bin/expr -TOOLS_PLATFORM.false?= false # shell builtin -.if exists(/bin/fgrep) -TOOLS_PLATFORM.fgrep?= /bin/fgrep -.elif exists(/usr/bin/fgrep) -TOOLS_PLATFORM.fgrep?= /usr/bin/fgrep -.endif -TOOLS_PLATFORM.file?= /usr/bin/file -TOOLS_PLATFORM.find?= /usr/bin/find -TOOLS_PLATFORM.gawk?= /usr/bin/awk -TOOLS_PLATFORM.gm4?= /usr/bin/m4 -.if exists(/usr/bin/make) -TOOLS_PLATFORM.gmake?= /usr/bin/make -.endif -.if exists(/bin/grep) -TOOLS_PLATFORM.grep?= /bin/grep -.elif exists(/usr/bin/grep) -TOOLS_PLATFORM.grep?= /usr/bin/grep -.endif -.if exists(/bin/sed) -TOOLS_PLATFORM.gsed?= /bin/sed -.elif exists(/usr/bin/sed) -TOOLS_PLATFORM.gsed?= /usr/bin/sed -.endif -TOOLS_PLATFORM.gtar?= /bin/tar -.if exists(/bin/gunzip) -TOOLS_PLATFORM.gunzip?= /bin/gunzip -f -.elif exists(/usr/bin/gunzip) -TOOLS_PLATFORM.gunzip?= /usr/bin/gunzip -f -.endif -TOOLS_PLATFORM.gzcat?= /bin/zcat -.if exists(/bin/gzip) -TOOLS_PLATFORM.gzip?= /bin/gzip -nf ${GZIP} -.elif exists(/usr/bin/gzip) -TOOLS_PLATFORM.gzip?= /usr/bin/gzip -nf ${GZIP} -.endif -.if exists(/bin/head) -TOOLS_PLATFORM.head?= /bin/head -.elif exists(/usr/bin/head) -TOOLS_PLATFORM.head?= /usr/bin/head -.endif -TOOLS_PLATFORM.hostname?= /bin/hostname -.if exists(/bin/id) -TOOLS_PLATFORM.id?= /bin/id -.elif exists(/usr/bin/id) -TOOLS_PLATFORM.id?= /usr/bin/id -.endif -TOOLS_PLATFORM.install?= /usr/bin/install -TOOLS_PLATFORM.ldconfig?= /sbin/ldconfig -TOOLS_PLATFORM.ln?= /bin/ln -TOOLS_PLATFORM.ls?= /bin/ls -TOOLS_PLATFORM.m4?= ${TOOLS_PLATFORM.gm4} -.if exists(/bin/mail) -TOOLS_PLATFORM.mail?= /bin/mail # RH, Mandrake -.elif exists(/usr/bin/mail) -TOOLS_PLATFORM.mail?= /usr/bin/mail # Debian, Slackware, SuSE -.endif -TOOLS_PLATFORM.mkdir?= /bin/mkdir -p -TOOLS_PLATFORM.mv?= /bin/mv -.if exists(/bin/nice) -TOOLS_PLATFORM.nice?= /bin/nice -.elif exists(/usr/bin/nice) -TOOLS_PLATFORM.nice?= /usr/bin/nice -.endif -TOOLS_PLATFORM.patch?= /usr/bin/patch -TOOLS_PLATFORM.pwd?= /bin/pwd -TOOLS_PLATFORM.rm?= /bin/rm -TOOLS_PLATFORM.rmdir?= /bin/rmdir -TOOLS_PLATFORM.sed?= ${TOOLS_PLATFORM.gsed} -TOOLS_PLATFORM.sh?= /bin/sh -.if exists(/bin/sort) -TOOLS_PLATFORM.sort?= /bin/sort -.elif exists(/usr/bin/sort) -TOOLS_PLATFORM.sort?= /usr/bin/sort -.endif -TOOLS_PLATFORM.strip?= /usr/bin/strip -TOOLS_PLATFORM.tail?= /usr/bin/tail -TOOLS_PLATFORM.tar?= ${TOOLS_PLATFORM.gtar} -TOOLS_PLATFORM.tee?= /usr/bin/tee -TOOLS_PLATFORM.test?= test # shell builtin -.if exists(/bin/touch) -TOOLS_PLATFORM.touch?= /bin/touch -.elif exists(/usr/bin/touch) -TOOLS_PLATFORM.touch?= /usr/bin/touch -.endif -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 -r diff --git a/mk/tools/tools.NetBSD.mk b/mk/tools/tools.NetBSD.mk deleted file mode 100644 index 83fbc92853d..00000000000 --- a/mk/tools/tools.NetBSD.mk +++ /dev/null @@ -1,77 +0,0 @@ -# $NetBSD: tools.NetBSD.mk,v 1.13.2.2 2005/05/17 18:29:46 tv Exp $ -# -# System-supplied tools for the NetBSD operating system. - -TOOLS_PLATFORM.[?= [ # shell builtin -TOOLS_PLATFORM.awk?= /usr/bin/awk -TOOLS_PLATFORM.basename?= /usr/bin/basename -.if exists(/usr/bin/bzcat) -TOOLS_PLATFORM.bzcat?= /usr/bin/bzcat -.endif -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 -TOOLS_PLATFORM.cut?= /usr/bin/cut -TOOLS_PLATFORM.date?= /bin/date -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 -.if !empty(MACHINE_PLATFORM:MNetBSD-1.[0-6]*-*) -TOOLS_PLATFORM.gawk?= ${TOOLS_PLATFORM.awk} -.endif -TOOLS_PLATFORM.grep?= /usr/bin/grep -TOOLS_PLATFORM.gsed?= ${TOOLS_PLATFORM.sed} # GNUish -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 -TOOLS_PLATFORM.install?= /usr/bin/install -.if exists(/sbin/ldconfig) -TOOLS_PLATFORM.ldconfig?= /sbin/ldconfig -.endif -TOOLS_PLATFORM.lex?= /usr/bin/lex -TOOLS_PLATFORM.ln?= /bin/ln -TOOLS_PLATFORM.ls?= /bin/ls -TOOLS_PLATFORM.m4?= /usr/bin/m4 -TOOLS_PLATFORM.mail?= /usr/bin/mail -TOOLS_PLATFORM.mkdir?= /bin/mkdir -p -TOOLS_PLATFORM.mtree?= /usr/sbin/mtree -TOOLS_PLATFORM.mv?= /bin/mv -TOOLS_PLATFORM.nice?= /usr/bin/nice -TOOLS_PLATFORM.patch?= /usr/bin/patch -TOOLS_PLATFORM.pax?= /bin/pax -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 -TOOLS_PLATFORM.sort?= /usr/bin/sort -TOOLS_PLATFORM.strip?= /usr/bin/strip -TOOLS_PLATFORM.tail?= /usr/bin/tail -.if exists(/bin/tar) -TOOLS_PLATFORM.tar?= /bin/tar -.elif exists(/usr/bin/tar) -TOOLS_PLATFORM.tar?= /usr/bin/tar -.endif -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 diff --git a/mk/tools/tools.OSF1.mk b/mk/tools/tools.OSF1.mk deleted file mode 100644 index cba5b7ee649..00000000000 --- a/mk/tools/tools.OSF1.mk +++ /dev/null @@ -1,54 +0,0 @@ -# $NetBSD: tools.OSF1.mk,v 1.9.2.2 2005/05/17 18:29:46 tv Exp $ -# -# System-supplied tools for the OSF/1 operating system. - -TOOLS_PLATFORM.[?= [ # shell builtin -TOOLS_PLATFORM.awk?= /usr/bin/awk -TOOLS_PLATFORM.basename?= /usr/bin/basename -TOOLS_PLATFORM.cat?= /bin/cat -TOOLS_PLATFORM.chgrp?= /usr/bin/chgrp -TOOLS_PLATFORM.chmod?= /bin/chmod -TOOLS_PLATFORM.chown?= /bin/chown -TOOLS_PLATFORM.cmp?= /usr/bin/cmp -TOOLS_PLATFORM.cp?= /bin/cp -TOOLS_PLATFORM.cut?= /usr/bin/cut -TOOLS_PLATFORM.date?= /bin/date -TOOLS_PLATFORM.dirname?= /usr/bin/dirname -TOOLS_PLATFORM.echo?= /usr/bin/echo -TOOLS_PLATFORM.egrep?= /usr/bin/grep -E -TOOLS_PLATFORM.env?= /usr/bin/env -TOOLS_PLATFORM.expr?= /bin/expr -TOOLS_PLATFORM.false?= false # shell builtin -TOOLS_PLATFORM.fgrep?= /usr/bin/grep -F -TOOLS_PLATFORM.file?= /usr/bin/file -TOOLS_PLATFORM.find?= /usr/bin/find -TOOLS_PLATFORM.grep?= /usr/bin/grep -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 -TOOLS_PLATFORM.ln?= /bin/ln -TOOLS_PLATFORM.ls?= /bin/ls -TOOLS_PLATFORM.m4?= /usr/bin/m4 -TOOLS_PLATFORM.mail?= /usr/bin/mailx -TOOLS_PLATFORM.mkdir?= /bin/mkdir -p -TOOLS_PLATFORM.mv?= /bin/mv -TOOLS_PLATFORM.nice?= /usr/bin/nice -TOOLS_PLATFORM.pwd?= /bin/pwd -TOOLS_PLATFORM.rm?= /bin/rm -TOOLS_PLATFORM.rmdir?= /bin/rmdir -TOOLS_PLATFORM.sh?= /bin/ksh -TOOLS_PLATFORM.sort?= /usr/bin/sort -TOOLS_PLATFORM.strip?= /usr/ccs/bin/strip -TOOLS_PLATFORM.tail?= /usr/bin/tail -TOOLS_PLATFORM.tar?= /usr/bin/tar -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 diff --git a/mk/tools/tools.OpenBSD.mk b/mk/tools/tools.OpenBSD.mk deleted file mode 100644 index 553e4742ebb..00000000000 --- a/mk/tools/tools.OpenBSD.mk +++ /dev/null @@ -1,66 +0,0 @@ -# $NetBSD: tools.OpenBSD.mk,v 1.11.2.2 2005/05/17 18:29:46 tv Exp $ -# -# System-supplied tools for the OpenBSD operating system. - -TOOLS_PLATFORM.[?= [ # shell builtin -TOOLS_PLATFORM.awk?= /usr/bin/awk -TOOLS_PLATFORM.basename?= /usr/bin/basename -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 -TOOLS_PLATFORM.cut?= /usr/bin/cut -TOOLS_PLATFORM.date?= /bin/date -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 -TOOLS_PLATFORM.grep?= /usr/bin/grep -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 -TOOLS_PLATFORM.install?= /usr/bin/install -TOOLS_PLATFORM.ldconfig?= /sbin/ldconfig -TOOLS_PLATFORM.lex?= /usr/bin/lex -TOOLS_PLATFORM.ln?= /bin/ln -TOOLS_PLATFORM.ls?= /bin/ls -TOOLS_PLATFORM.m4?= /usr/bin/m4 -TOOLS_PLATFORM.mail?= /usr/bin/mail -TOOLS_PLATFORM.mkdir?= /bin/mkdir -p -TOOLS_PLATFORM.mtree?= /usr/sbin/mtree -TOOLS_PLATFORM.mv?= /bin/mv -TOOLS_PLATFORM.nice?= /usr/bin/nice -TOOLS_PLATFORM.patch?= /usr/bin/patch -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.sort?= /usr/bin/sort -TOOLS_PLATFORM.strip?= /usr/bin/strip -TOOLS_PLATFORM.tail?= /usr/bin/tail -.if exists(/bin/tar) -TOOLS_PLATFORM.tar?= /bin/tar -.elif exists(/usr/bin/tar) -TOOLS_PLATFORM.tar?= /usr/bin/tar -.endif -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 diff --git a/mk/tools/tools.SunOS.mk b/mk/tools/tools.SunOS.mk deleted file mode 100644 index 13ab85dc293..00000000000 --- a/mk/tools/tools.SunOS.mk +++ /dev/null @@ -1,66 +0,0 @@ -# $NetBSD: tools.SunOS.mk,v 1.13.2.2 2005/05/17 18:29:46 tv Exp $ -# -# System-supplied tools for the Solaris operating system. - -TOOLS_PLATFORM.[?= [ # shell builtin -TOOLS_PLATFORM.awk?= /usr/bin/nawk -TOOLS_PLATFORM.basename?= /usr/bin/basename -.if exists(/usr/bin/bzcat) -TOOLS_PLATFORM.bzcat?= /usr/bin/bzcat -.endif -TOOLS_PLATFORM.cat?= /usr/bin/cat -TOOLS_PLATFORM.chgrp?= /usr/bin/chgrp -TOOLS_PLATFORM.chmod?= /usr/bin/chmod -TOOLS_PLATFORM.chown?= /usr/bin/chown -.if exists(/bin/cmp) -TOOLS_PLATFORM.cmp?= /bin/cmp -.elif exists(/usr/bin/cmp) -TOOLS_PLATFORM.cmp?= /usr/bin/cmp -.endif -TOOLS_PLATFORM.cp?= /bin/cp -TOOLS_PLATFORM.cut?= /usr/bin/cut -TOOLS_PLATFORM.date?= /usr/xpg4/bin/date -TOOLS_PLATFORM.dirname?= /usr/bin/dirname -TOOLS_PLATFORM.echo?= /usr/ucb/echo -TOOLS_PLATFORM.egrep?= /usr/xpg4/bin/grep -E -TOOLS_PLATFORM.env?= /usr/bin/env -TOOLS_PLATFORM.expr?= /usr/xpg4/bin/expr -TOOLS_PLATFORM.false?= /usr/bin/false -TOOLS_PLATFORM.fgrep?= /usr/xpg4/bin/fgrep -TOOLS_PLATFORM.file?= /usr/bin/file -TOOLS_PLATFORM.find?= /usr/bin/find -TOOLS_PLATFORM.grep?= /usr/xpg4/bin/grep -.if exists(/usr/bin/gzip) -TOOLS_PLATFORM.gunzip?= /usr/bin/gzip -df -TOOLS_PLATFORM.gzcat?= /usr/bin/gzip -cd -TOOLS_PLATFORM.gzip?= /usr/bin/gzip -nf ${GZIP} -.endif -TOOLS_PLATFORM.head?= /usr/bin/head -TOOLS_PLATFORM.hostname?= /bin/hostname -TOOLS_PLATFORM.id?= /usr/xpg4/bin/id -TOOLS_PLATFORM.install?= /usr/ucb/install -TOOLS_PLATFORM.ln?= /usr/bin/ln -TOOLS_PLATFORM.ls?= /usr/bin/ls -TOOLS_PLATFORM.m4?= /usr/ccs/bin/m4 -TOOLS_PLATFORM.mail?= /usr/bin/mailx -TOOLS_PLATFORM.mkdir?= /usr/bin/mkdir -p -TOOLS_PLATFORM.mv?= /usr/bin/mv -TOOLS_PLATFORM.nice?= /usr/xpg4/bin/nice -.if exists(/usr/bin/gpatch) -TOOLS_PLATFORM.patch?= /usr/bin/gpatch -.endif -TOOLS_PLATFORM.pwd?= /bin/pwd -TOOLS_PLATFORM.rm?= /usr/bin/rm -TOOLS_PLATFORM.rmdir?= /usr/bin/rmdir -TOOLS_PLATFORM.sh?= /bin/ksh -TOOLS_PLATFORM.sort?= /usr/bin/sort -TOOLS_PLATFORM.strip?= /usr/ccs/bin/strip -TOOLS_PLATFORM.tail?= /usr/xpg4/bin/tail -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?= /usr/bin/true -TOOLS_PLATFORM.tsort?= /usr/ccs/bin/tsort -TOOLS_PLATFORM.wc?= /usr/bin/wc -TOOLS_PLATFORM.xargs?= /usr/bin/xargs diff --git a/mk/tools/tools.UnixWare.mk b/mk/tools/tools.UnixWare.mk deleted file mode 100644 index b44248ec11c..00000000000 --- a/mk/tools/tools.UnixWare.mk +++ /dev/null @@ -1,50 +0,0 @@ -# $NetBSD: tools.UnixWare.mk,v 1.9.2.2 2005/05/17 18:29:46 tv Exp $ -# -# System-supplied tools for the UnixWare 7 operating system. - -TOOLS_PLATFORM.[?= [ # shell builtin -TOOLS_PLATFORM.awk?= /usr/bin/nawk -TOOLS_PLATFORM.basename?= /usr/bin/basename -TOOLS_PLATFORM.cat?= /usr/bin/cat -TOOLS_PLATFORM.chgrp?= /usr/bin/chgrp -TOOLS_PLATFORM.chmod?= /usr/bin/chmod -TOOLS_PLATFORM.chown?= /usr/bin/chown -TOOLS_PLATFORM.cmp?= /usr/bin/cmp -TOOLS_PLATFORM.cp?= /usr/bin/cp -TOOLS_PLATFORM.cut?= /usr/bin/cut -TOOLS_PLATFORM.date?= /usr/bin/date -TOOLS_PLATFORM.dirname?= /usr/bin/dirname -TOOLS_PLATFORM.echo?= /usr/ucb/echo -TOOLS_PLATFORM.egrep?= /usr/bin/grep -E -TOOLS_PLATFORM.env?= /usr/bin/env -TOOLS_PLATFORM.expr?= /usr/bin/expr -TOOLS_PLATFORM.false?= /usr/bin/false -TOOLS_PLATFORM.fgrep?= /usr/bin/grep -F -TOOLS_PLATFORM.file?= /usr/bin/file -TOOLS_PLATFORM.find?= /usr/bin/find -TOOLS_PLATFORM.grep?= /usr/bin/grep -TOOLS_PLATFORM.head?= /usr/bin/head -TOOLS_PLATFORM.hostname?= /usr/bin/hostname -TOOLS_PLATFORM.id?= /usr/bin/id -TOOLS_PLATFORM.install?= /usr/ucb/install -TOOLS_PLATFORM.ln?= /usr/bin/ln -TOOLS_PLATFORM.ls?= /usr/bin/ls -TOOLS_PLATFORM.m4?= /usr/ccs/bin/m4 -TOOLS_PLATFORM.mail?= /usr/bin/mailx -TOOLS_PLATFORM.mv?= /usr/bin/mv -TOOLS_PLATFORM.nice?= /usr/bin/nice -TOOLS_PLATFORM.pwd?= /usr/bin/pwd -TOOLS_PLATFORM.rm?= /usr/bin/rm -TOOLS_PLATFORM.rmdir?= /usr/bin/rmdir -TOOLS_PLATFORM.sed?= /usr/bin/sed -TOOLS_PLATFORM.sh?= /usr/bin/ksh -TOOLS_PLATFORM.sort?= /usr/bin/sort -TOOLS_PLATFORM.tail?= /usr/bin/tail -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?= /usr/bin/true -TOOLS_PLATFORM.tsort?= /usr/ccs/bin/tsort -TOOLS_PLATFORM.wc?= /usr/bin/wc -TOOLS_PLATFORM.xargs?= /usr/bin/xargs |