NetBSD/usr.bin
thorpej 3b08abd277 * Eliminate the USE_NEW_TOOLCHAIN variable. Instead, split it into
two variables:

  TOOLCHAIN_MISSING -- set to "yes" on platforms for which there is
  no working in-tree toolchain (hppa, ns32k, sh5, x86_64).

  EXTERNAL_TOOLCHAIN -- if defined by the user, points to the root of
  an external toolchain (e.g. /usr/local/gnu).  This enables the cross-build
  framework even for TOOLCHAIN_MISSING platforms.

  If TOOLCHAIN_MISSING is set to "yes", MKGDB, MKBFD, and MKGCC are all
  unconditionally set to "no", since the bits are not there to build.

  If EXTERNAL_TOOLCHAIN is set, MKGCC is unconditionally set to "no",
  since the external toolchain's compiler is not in-sync with the
  in-tree compiler support components (e.g. libgcc).

* Set MACHINE_CPU much earlier in bsd.own.mk, so that more tests in
  that file can use it.
2002-09-17 23:18:25 +00:00
..
apply Fix section names, sort sections, remove a space. 2001-10-17 22:02:30 +00:00
apropos config.[ch] -> manconf.[ch] 2002-09-13 20:16:40 +00:00
asa Write a program straightforward. 2002-05-30 00:34:06 +00:00
at don't include utmp.h 2002-08-01 22:39:14 +00:00
audio + rephrase a bunch of stuff 2002-09-02 04:40:03 +00:00
awk Correct a couple of typos. 2002-05-15 19:00:32 +00:00
banner Whitespace cleanup. 2001-12-01 16:43:07 +00:00
basename Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
bdes Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
biff Whitespace cleanup. 2001-12-01 16:43:07 +00:00
bzip2 Implement MKDYNAMICROOT, which currently defaults to "no", but will 2002-08-27 14:46:11 +00:00
bzip2recover Implement MKDYNAMICROOT, which currently defaults to "no", but will 2002-08-27 14:46:11 +00:00
cal Use a slightly more standard section header. 2002-06-23 00:22:56 +00:00
calendar Comiskey Park was the host of the Disco Demolition in 1979. Home of the 2002-07-12 13:42:06 +00:00
cap_mkdb Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
cdplay err/errx/warn/warnx do not need \n at the end 2002-06-11 06:06:18 +00:00
checknr Document basic mdoc(7) support, and some fixes. 2002-01-21 18:36:44 +00:00
chflags Align default behaviour of chmod, chgrp, chown, and chflags with symlink(7), 2002-07-07 11:44:02 +00:00
chpass Make this compiles again when compiled without YP. 2002-08-16 01:06:28 +00:00
cksum Protect __RCSID and __COPYRIGHT from being invoked if not defined. 2002-03-31 14:43:22 +00:00
cmp Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
col Whitespace cleanup. 2001-12-01 16:43:07 +00:00
colcrt Sort sections, sort SEE ALSO. 2001-12-01 18:57:03 +00:00
colrm Whitespace cleanup. 2001-12-01 16:43:07 +00:00
column Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
comm Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
compile_et Set NOxxx= before <bsd.own.mk> is pulled in (even indirectly). 2001-12-12 12:24:19 +00:00
compress ANSIfy. 2002-05-26 22:25:38 +00:00
crontab
crunch * Eliminate the USE_NEW_TOOLCHAIN variable. Instead, split it into 2002-09-17 23:18:25 +00:00
ctags Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
cut err/errx/warn/warnx do not need \n at the end 2002-06-11 06:06:18 +00:00
dirname MKfoo=no -> NOfoo 2001-12-12 01:48:43 +00:00
du Use standard headers. 2001-12-01 19:03:31 +00:00
eject Whitespace fixes and formatting improvements. 2001-10-06 18:51:04 +00:00
elf2aout Build elf2aout on m68000. 2002-03-22 00:17:56 +00:00
elf2ecoff Proper usage of HAVE_CONFIG_H. 2002-04-25 18:16:49 +00:00
env Punctuation nit. 2001-12-01 19:07:26 +00:00
error Remove #ifndef'd __STDC__ code. ANSIfy. 2002-05-26 22:41:20 +00:00
expand
false Minor fixes. 2001-06-05 11:40:04 +00:00
fdformat acorn32 and cats get fdformat. 2002-02-11 18:55:11 +00:00
fgen sweep of errx/warnx, remove unnecessary trailing \n 2002-07-20 08:40:16 +00:00
file Also HAVE_STDINT_H if defined(__linux__). 2002-09-16 14:12:04 +00:00
find -path is an extension -- say so. 2002-09-16 19:24:59 +00:00
finger Sort options. Bump date for -8 addition. 2002-09-12 10:06:12 +00:00
fmt WARNS=2. 2002-03-02 14:02:23 +00:00
fold Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
fpr Rename local function "gettext" to "get_text" to avoid conflict 2002-05-30 17:46:24 +00:00
from Whitespace cleanup. 2001-12-01 16:43:07 +00:00
fsplit Whitespace cleanup. 2001-12-01 16:43:07 +00:00
fstat Add an extra column for inode numbers, and pull back the mode field to 2002-02-12 03:28:20 +00:00
ftp Add a -q <quit-time> flag to abort a transfer if it has stalled for <quit-time> 2002-08-27 13:11:02 +00:00
gencat ... and in NetBSD-current, <netinet/in.h> needs <sys/types.h>. 2002-04-24 22:44:40 +00:00
getconf Fix typo in last commit. 2002-08-05 06:35:44 +00:00
getopt Sort sections, use standard headers. 2001-12-01 19:20:32 +00:00
gprof
head Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
hesinfo Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
hexdump err/errx/warn/warnx do not need \n at the end 2002-06-11 06:06:18 +00:00
id Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
indent Remove #ifndef'd __STDC__ code. ANSIfy. 2002-05-26 22:53:38 +00:00
innetgr Whitespace cleanup. 2001-12-01 16:43:07 +00:00
ipcrm Add Xrefs to shm*(2). 2002-06-16 22:43:30 +00:00
ipcs Add Xrefs to shm*(2). 2002-06-16 22:43:30 +00:00
join finish fixing PR#15412 2002-07-24 17:03:00 +00:00
jot Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
kdestroy Remove -I${DESTDIR}/usr/include/openssl from CPPFLAGS; it's unnecessary, 2001-12-31 19:24:12 +00:00
kdump Implement MKDYNAMICROOT, which currently defaults to "no", but will 2002-08-27 14:46:11 +00:00
kinit Remove -I${DESTDIR}/usr/include and -I${DESTDIR}/usr/include/openssl from 2001-12-31 19:25:36 +00:00
klist Remove -I${DESTDIR}/usr/include and -I${DESTDIR}/usr/include/openssl 2001-12-31 19:26:59 +00:00
kpasswd Remove -I${DESTDIR}/usr/include and -I${DESTDIR}/usr/include/openssl 2001-12-31 19:26:59 +00:00
ktrace Implement MKDYNAMICROOT, which currently defaults to "no", but will 2002-08-27 14:46:11 +00:00
ktruss Implement MKDYNAMICROOT, which currently defaults to "no", but will 2002-08-27 14:46:11 +00:00
lam Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
last Include -T in the synopsis. 2001-08-21 23:55:25 +00:00
lastcomm
ldd Adapt to changes in "rtld.h". 2002-09-13 08:40:05 +00:00
leave Drop unnecessary .Pp, no trailing dots in SEE ALSO, please, and sort sections. 2002-01-21 11:42:55 +00:00
less Remove !__STDC__. 2002-06-15 18:27:20 +00:00
lex Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
locate Quote $FILELIST and $BIGRAMS consistently. Especially the latter 2002-05-05 07:27:35 +00:00
lock Split the notion of building Hesiod, Kerberos, S/key, and YP 2002-03-22 18:10:19 +00:00
logger Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
login remove debugging message leftover 2002-07-30 14:37:38 +00:00
logname Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
look Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
lorder Get MKTEMP from the environment. 2002-09-14 05:00:58 +00:00
m4 Really fix -P. 2002-05-02 14:24:06 +00:00
machine
mail calloc() arg mistake. it's (nelem, size). from openbsd 2002-08-12 02:40:20 +00:00
make If MAKE_BOOTSTRAP and HAVE_CONFIG_H, pull in "config.h" so that 2002-09-14 15:23:49 +00:00
man Pull in config.h when building has a host tool. 2002-09-13 16:34:56 +00:00
menuc Correct `.Na' misuses reported in bin/17007, and some other mandoc improvements 2002-05-24 22:09:20 +00:00
mesg Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
midiplay err/errx/warn/warnx do not need \n at the end 2002-06-11 06:06:18 +00:00
mixerctl Use _PATH_SOUND etc, all fall back to _PATH_SOUND0 (etc.) if that fails. 2002-01-31 00:03:23 +00:00
mk_cmds Set NOxxx= before <bsd.own.mk> is pulled in (even indirectly). 2001-12-12 12:24:19 +00:00
mkdep Split out the findcc() function that tries to determine the path to 2002-06-14 23:14:18 +00:00
mkfifo Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
mklocale Include <arpa/inet.h> for ntohl and htonl on POSIX systems. 2002-04-26 18:04:58 +00:00
mkstr Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
mktemp Allow mktemp to be built as a host tool. 2002-09-14 04:26:23 +00:00
modstat Don't try to print negative offset in module structure. 2002-09-13 17:16:00 +00:00
msgc Roll in fixes to permit cross-compiling from non-NetBSD hosts. This 2002-01-31 22:43:33 +00:00
msgs Punctuation nit, sort SEE ALSO. 2001-12-01 20:44:29 +00:00
netgroup Whitespace cleanup. 2001-12-01 16:43:07 +00:00
netstat Add more software intrq. 2002-07-23 23:34:39 +00:00
newsyslog don't let newsyslog follow symlink (could be abused to do tricks). 2002-06-27 03:10:15 +00:00
nfsstat Change xref for vmstat(8) to vmstat(1). 2001-05-06 23:48:31 +00:00
nice Punctuation nit. 2001-12-08 19:09:35 +00:00
nl Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
nohup Sort sections. 2001-12-08 19:09:57 +00:00
openssl e_os.h is not part of exported openssl interface, so don't install it into 2002-08-31 10:46:36 +00:00
pagesize
passwd use arc4random 2002-05-28 11:19:17 +00:00
paste Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
patch Handle patches in which diff(1) has added lines saying 2002-03-24 01:56:20 +00:00
pkill - System processes will never be matched. 2002-03-06 12:03:48 +00:00
pmap Make error messages a little more informative. Add -R option to 2002-09-17 19:54:28 +00:00
pmc Some more Athlon counter names. 2002-06-07 05:26:45 +00:00
pr Correct spelling of "delimiter", and remove from ignored-errors lists. 2002-02-26 02:37:28 +00:00
printenv
printf Complete declaration of progprintf() to fix build problem in csh(1). 2002-06-14 11:32:15 +00:00
qsubst The tputs() print char function needs to return an int. 2001-04-22 05:35:35 +00:00
quota Sort sections. 2001-12-08 19:10:54 +00:00
radioctl Make flag parsing work. Print more capabilities. 2002-01-03 18:23:09 +00:00
rdist Remove #if __STDC__. De-__P() and ANSIfy. 2002-06-14 01:18:54 +00:00
renice Sort sections. 2001-12-08 19:11:33 +00:00
rev
rlogin Remove #ifdef __STDC__. De-__P() and ANSIfy. 2002-06-14 00:55:47 +00:00
rpcgen err/errx/warn/warnx do not need \n at the end 2002-06-11 06:06:18 +00:00
rpcinfo Minor nroff formatting fixes per PR 13800 2002-01-13 07:15:50 +00:00
rs err/errx/warn/warnx do not need \n at the end 2002-06-11 06:06:18 +00:00
rsh Remove #ifdef __STDC__. De-__P() and ANSIfy. 2002-06-14 00:51:04 +00:00
rup Use standard headers, punctuation nit. 2001-12-08 19:13:08 +00:00
ruptime
rusers Separate xrefs by a comma. 2001-12-08 19:13:31 +00:00
rwall Punctuation nit. 2001-12-08 19:13:43 +00:00
rwho
script Add an alternate "typescript mode" that contains timestamps and other 2002-06-21 18:46:31 +00:00
sed Remove #if __STDC__. De-__P() and ANSIfy. 2002-06-14 00:41:42 +00:00
shar Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
shlock Remove __STDC__ #ifdefs. De-__P. ANSIfy. 2002-06-14 00:34:58 +00:00
showmount Sort sections. 2001-12-08 19:15:12 +00:00
shuffle Clarify input source. Drop a duplicate .Pp while I am here. 2002-03-05 15:06:16 +00:00
skey Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
skeyinfo
skeyinit use LOGIN_NAME_MAX not UT_NAMELEN. 2002-08-01 22:43:34 +00:00
soelim Sort sections. 2001-12-08 19:15:45 +00:00
sort Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
split Sort sections. 2001-12-08 19:16:19 +00:00
ssh Don't set BINOWN if using the default BINMODE. 2002-08-02 04:05:13 +00:00
stat Use limits.h instead of sys/syslimits.h since it's more potrable. 2002-08-13 20:15:06 +00:00
string2key no need for -I/usr/include/openssl (in fact, it is discouraged) 2002-08-29 14:35:45 +00:00
su err/errx/warn/warnx do not need \n at the end 2002-06-11 06:06:18 +00:00
systat introduce puthumanint() which calls humanize_number(), and use to 2002-08-08 17:06:31 +00:00
tail Remove #if __STDC__. De-__P() and ANSIfy. 2002-06-14 00:41:42 +00:00
talk Drop a .Pp, sort sections. 2001-12-08 19:17:46 +00:00
tcopy
tee Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
telnet Fix typo. 2002-08-23 10:39:46 +00:00
tftp Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
time modernize: 2002-07-16 15:41:57 +00:00
tip s/appeared command/command appeared/ 2002-05-03 22:43:59 +00:00
tn3270 Make the tn3270 host tools build on non-BSD systems. Slightly 2002-09-15 01:27:44 +00:00
top Fix segv when running show_help. 2002-08-02 20:03:36 +00:00
touch Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
tput Sort sections. 2001-12-08 19:19:05 +00:00
tr Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
true Fix nits, sort SEE ALSO. 2001-06-05 12:01:33 +00:00
tset Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
tsort Roll in fixes to permit cross-compiling from non-NetBSD hosts. This 2002-01-31 22:43:33 +00:00
tty Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
ul Sort sections. 2001-12-08 19:19:41 +00:00
uname Whitespace cleanup. 2001-12-01 16:43:07 +00:00
unexpand MKfoo=no -> NOfoo 2001-12-12 01:48:43 +00:00
unifdef Sort sections. 2001-12-08 19:19:41 +00:00
uniq Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
units Remove bogus output of '\n' when using -q. 2002-08-31 07:26:17 +00:00
unvis
usbhidaction err/errx/warn/warnx do not need \n at the end 2002-06-11 06:06:18 +00:00
usbhidctl Prefix structure members to protect them against clashes with eg. c++ keywords. 2002-02-20 20:30:12 +00:00
users utmpx support 2002-08-01 23:51:20 +00:00
uudecode correct misuse of warnx, which leads to non-informative error 2002-06-29 17:58:50 +00:00
uuencode Fix mistake in algorithm description. 2002-08-06 15:26:04 +00:00
vacation Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
vgrind have bsd.endian.mk, which detects target endian. 2002-05-30 21:40:47 +00:00
vi add ${MACROS} to roff call to make output paper readable 2002-08-13 20:07:31 +00:00
vis
vmstat Print newline before pool stats. 2002-08-10 19:08:41 +00:00
w Make uptime show the correct number of users. 2002-09-16 04:02:21 +00:00
wall defend against malicious line in ut_line, which could cause unwanted 2002-08-16 20:21:48 +00:00
wc Mention -m in usage. bin/16594 by Ryan Younce. 2002-05-02 13:07:13 +00:00
what Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
whatis config.[ch] -> manconf.[ch] 2002-09-13 20:27:52 +00:00
whereis err/errx/warn/warnx do not need \n at the end 2002-06-11 06:06:18 +00:00
which Match braces. Patch from misc/14925 by Hiramatsu Yoshifumi. 2001-12-12 16:03:15 +00:00
who make this compile with either utmp or utmpx there. 2002-08-01 23:51:42 +00:00
whois Remove some STDC ifdefs, and some code that's for non-NetBSD systems. 2002-06-13 23:26:43 +00:00
window calloc() arg mistake. it's (nelem, size). from openbsd 2002-08-12 02:40:20 +00:00
write defend against malicious line in ut_line, which could cause unwanted 2002-08-16 20:21:48 +00:00
xargs Remove mention of -I in SYNOPSIS until we've actually implemented it. 2002-01-28 13:49:49 +00:00
xinstall Convert from flock() to the more portable fcntl(). 2002-06-09 04:16:39 +00:00
xlint Minimize diffs with my C99 capable version [this commit does not include 2002-09-13 14:59:24 +00:00
xstr Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
yacc In the generated C file, don't assume that <sys/cdefs.h> exists. Instead, 2002-01-31 21:01:15 +00:00
yes
ypcat Punctuation nit, sort SEE ALSO, mark up AUTHORS section. 2001-12-08 19:28:41 +00:00
ypmatch Punctuation nit, sort SEE ALSO, mark up AUTHORS section. 2001-12-08 19:28:41 +00:00
ypwhich err/errx/warn/warnx do not need \n at the end 2002-06-11 06:06:18 +00:00
Makefile don't build kf; there are security issues with heimdal 0.4e, and we 2002-09-10 22:16:22 +00:00
Makefile.inc