freebsd-dev/usr.bin
Ruslan Ermilov c7b111cba8 Added new bsd.incs.mk which handles installing of header files
via INCS.  Implemented INCSLINKS (equivalent to SYMLINKS) to
handle symlinking include files.  Allow for multiple groups of
include files to be installed, with the powerful INCSGROUPS knob.
Documentation to follow.

Added standard `includes' and `incsinstall' targets, use them
in Makefile.inc1.  Headers from the following makefiles were
not installed before (during `includes' in Makefile.inc1):

	kerberos5/lib/libtelnet/Makefile
	lib/libbz2/Makefile
	lib/libdevinfo/Makefile
	lib/libform/Makefile
	lib/libisc/Makefile
	lib/libmenu/Makefile
	lib/libmilter/Makefile
	lib/libpanel/Makefile

Replaced all `beforeinstall' targets for installing includes
with the INCS stuff.

Renamed INCDIR to INCSDIR, for consistency with FILES and SCRIPTS,
and for compatibility with NetBSD.  Similarly for INCOWN, INCGRP,
and INCMODE.

Consistently use INCLUDEDIR instead of /usr/include.

gnu/lib/libstdc++/Makefile and gnu/lib/libsupc++/Makefile changes
were only lightly tested due to the missing contrib/libstdc++-v3.
I fully tested the pre-WIP_GCC31 version of this patch with the
contrib/libstdc++.295 stuff.

These changes have been tested on i386 with the -DNO_WERROR "make
world" and "make release".
2002-05-12 16:01:00 +00:00
..
apply Use `The .Nm utility' 2002-04-19 23:44:58 +00:00
ar Add .Pp before enumerating options 2002-04-19 23:18:18 +00:00
at Change whtespace indent in format string to fit new output form of 2002-05-08 11:23:45 +00:00
awk BWK awk appears to work for world builds just fine now. We want to make 2002-05-10 20:36:21 +00:00
banner remove __P 2002-03-22 01:22:50 +00:00
basename Use `The .Nm utility' 2002-04-19 23:44:58 +00:00
biff Use `The .Nm utility' 2002-04-19 23:44:58 +00:00
brandelf Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
bzip2 Complete bzip2-1.0.2 import. 2002-02-01 16:33:40 +00:00
c89 Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
calendar Add myself. 2002-05-07 11:09:40 +00:00
cap_mkdb Use `The .Nm utility' 2002-04-19 23:44:58 +00:00
chat Remove GCC-specific flags. 2002-04-28 13:53:38 +00:00
checknr Use `The .Nm utility'. Introduce options with well known sentence. 2002-04-19 23:23:28 +00:00
chflags Reorder for style. 2002-04-28 13:54:45 +00:00
chkey Use `The .Nm utility' 2002-04-19 23:44:58 +00:00
chpass Use libutil and libypclnt for all passwd manipulation and NIS needs. 2002-05-08 00:54:29 +00:00
cksum remove __P 2002-03-22 01:22:50 +00:00
cmp remove __P 2002-03-22 01:22:50 +00:00
col Use `The .Nm utility' 2002-04-19 23:44:58 +00:00
colcrt Use `The .Nm utility' 2002-04-19 23:44:58 +00:00
colldef Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
colrm Use `The .Nm utility' 2002-04-19 23:44:58 +00:00
column remove __P 2002-03-22 01:22:50 +00:00
comm Use `The .Nm utility' 2002-04-19 23:44:58 +00:00
compile_et
compress Use `The .Nm utility' 2002-04-19 23:44:58 +00:00
csplit Add the csplit(1) utility, which splits files based on context, as specified 2002-05-02 07:54:04 +00:00
ctags Use `The .Nm utility' 2002-04-19 23:44:58 +00:00
cut Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
dig
dirname remove __P 2002-03-22 01:22:50 +00:00
dnskeygen
dnsquery
doscmd Cast the uc_mcontext member to regcontext *, not the whole ucontext_t. 2002-05-10 10:40:46 +00:00
du Use `The .Nm utility' 2002-04-19 23:44:58 +00:00
ee - Properly initialize the count_win when the user turns the info window 2002-05-06 00:25:36 +00:00
elf2aout Add a Makefile for this. 2002-04-22 04:08:01 +00:00
enigma Use `The .Nm utility' 2002-04-19 23:44:58 +00:00
env remove __P 2002-03-22 01:22:50 +00:00
expand Add the -t option, which allows tab stop positions to be specified similarly 2002-04-23 07:15:09 +00:00
false Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
fetch Usage style sweep: spell "usage" with a small 'u'. 2002-04-22 13:44:47 +00:00
file Use `The .Nm utility' 2002-04-19 23:44:58 +00:00
file2c Modernize my email address 2002-03-25 13:53:46 +00:00
find Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
finger Use `The .Nm utility' 2002-04-19 23:44:58 +00:00
fmt Very minor whitespace nit. 2002-04-28 13:59:42 +00:00
fold Use `The .Nm utility' 2002-04-19 23:44:58 +00:00
from Introduce flags enumeration with standard 2002-03-26 12:15:31 +00:00
fstat Replace /kernel with /boot/kernel/kernel. 2002-05-09 11:47:42 +00:00
fsync Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
ftp Connect lukemftp to the build as the default ftp client. Lukemftp 2001-12-13 23:46:44 +00:00
gcore Use `The .Nm utility' 2002-04-19 23:44:58 +00:00
gencat Add FBSDID. Spelling. Remove unused includes. Check more malloc failures. 2002-03-26 12:39:08 +00:00
getconf mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
getopt Minor nit; return(foo) from main rather than exit(foo). 2002-04-28 14:04:24 +00:00
gprof Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
head Fix VCS tags; ANSIfy functions 2002-04-28 13:50:54 +00:00
hesinfo Usage style sweep: spell "usage" with a small 'u'. 2002-04-22 13:44:47 +00:00
hexdump Use `The .Nm utility' 2002-04-19 23:44:58 +00:00
host
id remove __P 2002-03-22 01:22:50 +00:00
indent Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
ipcrm Add some function prototypes to squash warnings. 2002-04-28 13:49:15 +00:00
ipcs Replace /kernel with /boot/kernel/kernel. 2002-05-09 11:47:42 +00:00
join Easy warns fixes; sort out some types and me them a bit more consistent; 2002-04-28 13:46:40 +00:00
jot Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
kdump I now don't seem to be able to reproduce the -DNOCLEAN buildworld 2002-04-11 14:49:32 +00:00
kenv Add a reference to the kenv(2) manpage. 2002-04-18 18:49:41 +00:00
keylogin Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
keylogout Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
killall Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
ktrace Warnings fix; ANSIfy, constify, mark unused function parameter(s). 2002-04-28 13:00:16 +00:00
ktrdump Add a man page. 2002-04-02 04:26:37 +00:00
lam Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
last Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
lastcomm Use `The .Nm utility'. Add section number to .Xr. 2002-04-20 21:28:47 +00:00
ldd Warns; ANSIfy, constify and move declarations into a common header. 2002-04-28 12:55:35 +00:00
leave Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
less Update for less v371 2002-01-07 20:37:33 +00:00
lessecho
lesskey
lex Added new bsd.incs.mk which handles installing of header files 2002-05-12 16:01:00 +00:00
limits Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
locate remove __P 2002-03-22 01:22:50 +00:00
lock Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
lockf Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
logger .Nm is not required at the begining of this sentence. 2002-04-20 21:33:10 +00:00
login Don't use PAM_SILENT unless hushlogin is set (perforce change 10123) 2002-04-22 06:27:16 +00:00
logname remove __P 2002-03-22 01:22:50 +00:00
look Fix a const-char vs char issue. 2002-04-28 12:39:12 +00:00
lorder Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
lsvfs Very minor whitespace nit. 2002-04-28 12:36:56 +00:00
m4 Rename eqrelval' which was renamed from eqrel' to quiet a shadow warning 2002-05-03 20:46:10 +00:00
mail Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
make Fix make(1) behaviour regarding SysV-style substitution when given a nil 2002-05-05 19:04:58 +00:00
makewhatis mdoc(7) police: removed punctuation after the last SEE ALSO xref. 2001-07-10 18:00:19 +00:00
mesg Affect the first of stdin, stdout and stderr that is attached to a terminal. 2002-05-06 04:33:04 +00:00
minigzip Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
mkdep Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
mkfifo Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
mklocale Declarations cleanup; make sure externs are in a common header. 2002-04-28 12:34:54 +00:00
mkstr warns fixes; ANSIfy, deregister, constify. 2002-04-28 12:28:41 +00:00
mktemp Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
msgs Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
mt Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
ncal Easy warns fixes; constify. 2002-04-28 12:25:03 +00:00
ncplist Style fixes; whitespace and header order. 2002-04-28 12:21:31 +00:00
ncplogin Fix VCS inclusion and tidy up #includes. 2002-04-28 12:19:30 +00:00
netstat Cast to kill warnings. De-register. 2002-04-28 12:17:27 +00:00
newkey ANSIfy, VCS inclusions and some very minor style. 2002-04-28 12:09:33 +00:00
nfsstat Replace /kernel with /boot/kernel/kernel. 2002-05-09 11:47:42 +00:00
nice According to POSIX, exit status must be 127 if the requested utility was not 2002-05-10 06:39:16 +00:00
nl remove __P 2002-03-22 01:33:25 +00:00
nm Fix some easy warnings; ANSIfy, constify. 2002-04-28 12:04:20 +00:00
nohup remove __P 2002-03-22 01:33:25 +00:00
objformat Usage style sweep: spell "usage" with a small 'u'. 2002-04-22 13:44:47 +00:00
opieinfo Add opie lib dir to includes list 2002-01-03 21:20:29 +00:00
opiekey Add opie lib dir to includes list 2002-01-03 21:20:29 +00:00
opiepasswd Add opie lib dir to includes list 2002-01-03 21:20:29 +00:00
pagesize Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
passwd #include <stdlib.h> for exit(3) prototype. 2002-05-11 03:18:14 +00:00
paste More low hanging warnings fruit; ANSIfy, de-register, constify. 2002-04-28 11:51:03 +00:00
pr Add P1003.1-2001 -f and -p options. 2002-03-31 18:44:36 +00:00
printenv Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
printf Handle numbers larger than QUAD_MAX for unsigned conversions correctly. 2002-04-25 01:10:11 +00:00
quota Fix some low-hanging fruit in the warnings department; ANSIfy functions, 2002-04-28 11:44:30 +00:00
ranlib ANSIfy functions, and move extern declarations into a shared header 2002-04-28 11:59:43 +00:00
renice o Fix an arguments number check in -n case. 2002-04-10 13:38:09 +00:00
rev remove __P 2002-03-22 01:33:25 +00:00
rlogin Really include <paths.h> (it seems it was brought in indirectly) 2002-05-08 00:47:02 +00:00
rpcgen Back out part of previous commit - K&R doesn't have const. 2002-05-09 11:24:58 +00:00
rpcinfo Usage style sweep: spell "usage" with a small 'u'. 2002-04-22 13:44:47 +00:00
rs Use __FBSDID, ANSIfy functions, fix const string. 2002-04-28 11:00:34 +00:00
rsh Use <paths.h> rather than "pathnames.h", and fix a couple of whitespace nits. 2002-05-08 00:47:01 +00:00
rup Style only; format function declarations, sort header includes, and 2002-04-28 10:49:15 +00:00
ruptime Use __FBSDID(), ANSIfy headings, use const/unsigned in minor but 2002-04-28 10:56:09 +00:00
rusers Trivial warnings fixes; staticise and use unsigned. 2002-04-28 11:13:20 +00:00
rwall Revert/fix the most controversial parts of the last commit: 2002-03-07 14:11:41 +00:00
rwho remove __P 2002-03-22 01:33:25 +00:00
sasc remove __P 2002-03-22 01:42:45 +00:00
script Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
sed Oops, update usage() to have -i. 2002-05-07 23:33:44 +00:00
shar mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
showmount remove __P 2002-03-22 01:42:45 +00:00
size Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
smbutil Add bmake glue for src/contrib/smbfs and connect userland smbfs 2001-12-14 11:41:22 +00:00
sockstat Usage style sweep: spell "usage" with a small 'u'. 2002-04-22 13:44:47 +00:00
soelim Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
split remove __P 2002-03-22 01:42:45 +00:00
strings Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
strip Do not override the `install' target. 2002-04-29 10:28:11 +00:00
su Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
symorder Replace /kernel with /boot/kernel/kernel. 2002-05-09 11:47:42 +00:00
systat Replace /kernel with /boot/kernel/kernel. 2002-05-09 11:47:42 +00:00
tail Fix up vendor IDs. 2002-04-13 20:59:48 +00:00
talk Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
tconv Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
tcopy Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
tee remove __P 2002-03-22 01:42:45 +00:00
telnet Usage style sweep: spell "usage" with a small 'u'. 2002-04-22 13:44:47 +00:00
tftp To perform even basic error checking, one must have an exit code that 2002-05-12 01:47:50 +00:00
time remove __P 2002-03-22 01:42:45 +00:00
tip Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
top remove __P 2002-03-22 01:42:45 +00:00
touch remove __P 2002-03-22 01:42:45 +00:00
tput remove __P 2002-03-22 01:42:45 +00:00
tr remove __P 2002-03-22 01:42:45 +00:00
true Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
truncate remove __P 2002-03-22 01:42:45 +00:00
truss Do not bother with #include <machine/psl.h> since it is just a stub file 2002-05-01 06:23:48 +00:00
tset Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
tsort Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
tty Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
uac Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
ul Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
uname remove __P 2002-03-22 01:42:45 +00:00
unexpand Some minor nits exposed by the Open Group's VSC Lite verification suite: 2002-04-25 23:04:52 +00:00
unifdef Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
uniq Use LC_ALL to pick collate 2002-04-19 08:16:01 +00:00
units Add tbl and tbsp as contractions of tablespoon, and tsp for teaspoon. 2001-12-18 11:25:58 +00:00
unvis Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
usbhidctl Usage style sweep: spell "usage" with a small 'u'. 2002-04-22 13:44:47 +00:00
users Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
uudecode Finish converting the rest of the function declaration and prototypes 2002-05-12 03:56:34 +00:00
uuencode Finish converting the rest of the function declaration and prototypes 2002-05-12 03:56:34 +00:00
vacation Update build infrastructure for sendmail 8.12. 2002-02-17 22:05:07 +00:00
vgrind Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
vi remove __P 2002-03-22 01:42:45 +00:00
vis Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
vmstat Replace /kernel with /boot/kernel/kernel. 2002-05-09 11:47:42 +00:00
w Replace /kernel with /boot/kernel/kernel. 2002-05-09 11:47:42 +00:00
wall Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
wc remove __P 2002-03-22 01:42:45 +00:00
what remove __P 2002-03-22 01:42:45 +00:00
whereis mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
which Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
who Reimplement the who(1) utility to add some features required by SUSv3: 2002-05-09 23:04:40 +00:00
whois Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
window Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
write Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
xargs xargs.c,v 1.33 broke the upgrade path from old versions of 4.x and 5.0. 2002-05-10 13:06:34 +00:00
xinstall Fixed 5 style bugs in VCS ids. 2002-05-12 04:02:57 +00:00
xlint Make sure the file in Attic is really "dead". 2002-05-07 06:57:04 +00:00
xstr Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
yacc Restore some of the original variable names, but fix the warnings their 2002-04-23 20:30:30 +00:00
yes Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
ypcat Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
ypmatch Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
ypwhich Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
Makefile Add the csplit(1) utility, which splits files based on context, as specified 2002-05-02 07:46:36 +00:00
Makefile.inc Backout -Werror protection. No need to walk all over the upcoming 2002-02-06 18:13:12 +00:00