NetBSD/usr.sbin
lukem a93ea220fc Rework how dependency generation is performed:
* DPSRCS contains extra dependencies, but is _NOT_ added to CLEANFILES.
  This is a change of behaviour.  If a Makefile wants the clean semantics
  it must specifically append to CLEANFILES.
  Resolves PR toolchain/5204.

* To recap: .d (depend) files are generated for all files in SRCS and DPSRCS
  that have a suffix of: .c .m .s .S .C .cc .cpp .cxx

* If YHEADER is set, automatically add the .y->.h to DPSRCS & CLEANFILES

* Ensure that ${OBJS} ${POBJS} ${LOBJS} ${SOBJS} *.d  depend upon ${DPSRCS}

* Deprecate the (short lived) DEPENDSRCS


Update the various Makefiles to these new semantics; generally either
adding to CLEANFILES (because DPSRCS doesn't do that anymore), or replacing
specific .o dependencies with DPSRCS entries.

Tested with "make -j 8 distribution" and "make distribution".
2003-08-01 17:03:41 +00:00
..
ac Quote exclamation mark. 2003-06-27 22:53:52 +00:00
accton The correct capitalisation of 'NetBSD.org' is (you 2003-02-14 16:11:34 +00:00
altq Quote question mark. 2003-06-27 22:56:37 +00:00
amd Rework how dependency generation is performed: 2003-08-01 17:03:41 +00:00
apm No longer i386-only. 2003-06-27 22:58:30 +00:00
apmd Make child processes log failure to exec scripts. 2003-06-24 09:41:34 +00:00
arp ensure string termination 2003-05-17 19:00:22 +00:00
bad144 Uppercase DEC. PR 19678 by Igor Sobrado. 2003-03-30 21:24:48 +00:00
bind Rework how dependency generation is performed: 2003-08-01 17:03:41 +00:00
bootp use bounded string op 2003-07-14 08:36:34 +00:00
catman use bounded string ops 2003-07-13 12:27:14 +00:00
chown .Nm does not need a dummy argument ("") before punctuation or 2003-02-25 10:34:36 +00:00
chroot .Nm does not need a dummy argument ("") before punctuation or 2003-02-25 10:34:36 +00:00
chrtbl Fix two typos, from Igor Sobrado in PR 20722. 2003-03-15 22:30:37 +00:00
cnwctl getopt() returns -1 on error, not EOF. 2001-08-18 17:10:04 +00:00
config use bounded string op 2003-07-15 12:33:17 +00:00
cron In "crontab -l", suppress the header lines, just as "crontab -e" does. 2003-06-23 22:36:02 +00:00
dev_mkdb use strlcpy. don't hardcode sizes, use sizeof. 2003-05-17 19:09:08 +00:00
dhcp minor makefile delint 2002-09-18 13:31:52 +00:00
diskpart correct partition structure initialization for new union 2002-05-27 16:39:29 +00:00
dumpfs Add explicit cats for %lld printf format args, for the benefit of LP64 2003-04-02 22:50:52 +00:00
dumplfs dumplfs needs one argument -- remove .Op. 2003-04-16 10:21:57 +00:00
edquota .Nm does not need a dummy argument ("") before punctuation or 2003-02-25 10:34:36 +00:00
eeprom Add CPPFLAGS. 2003-05-08 20:24:10 +00:00
envstat Not all size_t's are equal to int... 2003-02-21 07:23:43 +00:00
eshconfig DMA, not dma nor Dma. 2003-05-03 18:10:37 +00:00
etcupdate add MTREE=mtree back, for systems with some .mk version skew... 2003-07-14 23:16:19 +00:00
faithd Remove superfluous Ns. 2003-07-04 12:56:58 +00:00
grfconfig .Nm does not need a dummy argument ("") before punctuation or 2003-02-25 10:34:36 +00:00
grfinfo use NETBSDSRCDIR as appropriate 2002-09-18 03:54:26 +00:00
gspa Rework how dependency generation is performed: 2003-08-01 17:03:41 +00:00
hilinfo use NETBSDSRCDIR as appropriate 2002-09-18 03:54:26 +00:00
hprop split MKKERBEROS4 from MKKERBEROS. based on work by lha at stacken.kth.se 2003-07-23 08:01:24 +00:00
ifmcstat Setting BINMODE=555 is redundant, as is setting BIN{OWN,GRP} of we're 2002-08-02 03:58:09 +00:00
ifwatchd Fix typo in last change (misplaced ');') 2003-07-04 14:11:36 +00:00
inetd use strlcpy 2003-07-13 13:54:02 +00:00
installboot Explicitly pull in <sys/endian.h> #if !defined(HAVE_CONFIG_H). 2003-07-27 07:53:26 +00:00
iopctl The correct capitalisation of 'NetBSD.org' is (you 2003-02-14 16:11:34 +00:00
iostat Use the terminal width to choose the default number of drives listed. 2003-07-02 13:47:57 +00:00
ipf use NETBSDSRCDIR as appropriate 2002-09-18 03:54:26 +00:00
irdaattach .Nm does not need a dummy argument ("") before punctuation or 2003-02-25 10:34:36 +00:00
isdn New sentence, new line. 2003-06-27 19:09:02 +00:00
iteconfig clear errno before strtol() if we're going to test it for ERANGE afterwards 2003-04-17 02:41:21 +00:00
kadmin style 2002-10-23 01:09:50 +00:00
kdc split MKKERBEROS4 from MKKERBEROS. based on work by lha at stacken.kth.se 2003-07-23 08:01:24 +00:00
kgmon .Nm does not need a dummy argument ("") before punctuation or 2003-02-25 10:34:36 +00:00
kstash add DPADD 2002-10-23 01:11:09 +00:00
ktutil add DPADD 2002-10-23 01:11:09 +00:00
kvm_mkdb use bounded string op 2003-07-15 12:33:17 +00:00
lastlogin Whitespace nits, use standard headers. 2002-01-19 03:20:56 +00:00
link Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
lpr use bounded string op 2003-07-13 14:06:06 +00:00
mailwrapper Revert previous changes. Add a comment to the source explaining the 2003-03-09 08:10:43 +00:00
makefs Fix function declaration mismatch with src/sys/ufs/ffs/ffs_extern.h which 2003-06-15 18:10:56 +00:00
map-mbone fix strncat too. from wiz 2003-05-17 13:56:41 +00:00
mdconfig Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
mdsetimage Now that <bsd.prog.mk> DTRT if HOSTPROG is defined (i.e, it is a no-op), 2003-05-18 07:57:31 +00:00
memswitch use bounded string ops 2003-07-13 12:27:14 +00:00
mld6query - sync up MLD declaration with RFC3542 (s/MLD6/MLD/) 2003-06-06 08:13:43 +00:00
mlxctl use bounded string op 2003-07-13 12:29:20 +00:00
mopd use bounded string op 2003-07-14 08:36:34 +00:00
mountd Sm off -> Sm on (Sm off...Sm off is not too smart). 2003-06-27 18:58:47 +00:00
moused snprintf 2003-07-16 06:33:11 +00:00
mrinfo Match latest mouted code 2003-05-16 23:10:15 +00:00
mrouted strdup is simpler 2003-07-13 12:40:17 +00:00
mscdlabel clean up {LD,DP}ADD. no need to set WARNS=1 here 2002-11-30 06:00:42 +00:00
mtrace Match latest mrouted source. 2003-05-16 23:24:38 +00:00
mtree Quote some characters. 2003-06-27 23:21:50 +00:00
ndbootd use snprintf 2003-07-15 12:32:07 +00:00
ndp err() cleanup, from openbsd-current via kame 2003-06-27 07:49:40 +00:00
netgroup_mkdb sweep of errx/warnx, remove unnecessary trailing \n 2002-07-20 08:40:16 +00:00
nfsd include des.h, not kerberosIV/des.h 2003-07-23 20:31:18 +00:00
ntp avoid mandoc warning 2003-07-04 07:54:47 +00:00
pcictl sweep of errx/warnx, remove unnecessary trailing \n 2002-07-20 08:40:16 +00:00
pkg_install netbsd.org->NetBSD.org 2003-07-25 12:14:10 +00:00
powerd use bounded string op 2003-07-13 12:18:55 +00:00
pppd strlcpy is prototyped in string.h 2003-07-13 14:02:23 +00:00
pstat Add support for UFS2. UFS2 is an enhanced FFS, adding support for 2003-04-02 10:39:19 +00:00
pvcsif Sort sections and SEE ALSO, use standard headers. 2002-02-02 01:37:13 +00:00
pvctxctl Punctuation nits, sort sections and SEE ALSO, improve markup, use standard headers. 2002-02-02 01:38:54 +00:00
pwd_mkdb Now that <bsd.prog.mk> DTRT if HOSTPROG is defined (i.e, it is a no-op), 2003-05-18 07:57:31 +00:00
quot Pass a NULL to getbsize() for any arguments that aren't needed, and 2003-05-30 00:17:25 +00:00
quotacheck use bounded string op 2003-07-13 12:18:55 +00:00
quotaon .Nm does not need a dummy argument ("") before punctuation or 2003-02-25 10:34:36 +00:00
racoon racoon sha2.c is not compatible with openssl 0.9.7, drop support 2003-07-24 14:22:01 +00:00
rarpd use bounded string op 2003-07-13 12:29:20 +00:00
rbootd use bounded string op 2003-07-13 12:18:55 +00:00
rdate ANSIfy. Remove ifndef __STDC__. Remove __P(). 2002-07-14 01:01:10 +00:00
repquota .Nm does not need a dummy argument ("") before punctuation or 2003-02-25 10:34:36 +00:00
rip6query %d is not 10 chars, but 12 chars. uwse NI_MAXSERV. sync w/ kame. from openbsd 2003-04-15 07:23:19 +00:00
rmt use bounded string op 2003-07-13 12:08:28 +00:00
route6d port numbers are unsigned. use %u. from kame 2003-04-22 09:56:30 +00:00
rpc.bootparamd make it possible to obtain default router address from any interface (-i). 2003-06-26 05:38:45 +00:00
rpc.lockd We can't keep a reference to the value returned by svc_getrpccaller(). 2003-06-19 11:13:06 +00:00
rpc.pcnfsd Rework how dependency generation is performed: 2003-08-01 17:03:41 +00:00
rpc.statd More e.g. cleanup. Igor Sobrado, PR 19692. 2003-04-07 07:04:49 +00:00
rpc.yppasswdd Use a non-blocking SVC for TCP connections. 2002-11-08 00:14:50 +00:00
rpcbind use bounded string op 2003-07-13 12:08:28 +00:00
rtadvd Bump date for recent changes. 2003-07-04 12:33:11 +00:00
rtsold strncpy -> strlcpy 2003-05-17 18:13:55 +00:00
rwhod use bounded string op 2003-07-13 12:08:28 +00:00
sa Don't cast (dubious) values to pointers, only to memcpy from them to 2003-05-02 15:15:52 +00:00
screenblank .Nm does not need a dummy argument ("") before punctuation or 2003-02-25 10:34:36 +00:00
sendmail
sesd fix english 2003-01-06 14:43:01 +00:00
sliplogin strncpy -> strlcpy to ensure string termination 2002-11-16 04:29:01 +00:00
slstats new copyright notice for VJ. via openbsd. 2002-06-18 22:32:16 +00:00
spray Remove superfluous .Ek. 2003-06-26 10:10:11 +00:00
sunlabel use bounded string op 2003-07-13 12:08:28 +00:00
sup debian bug id "sup 1.8-8, bug #175327" - temporary file symlink race 2003-07-28 23:13:17 +00:00
sushi use bounded string op 2003-07-16 06:40:47 +00:00
syslogd Match example code with example comment; multiple selectors should be 2003-07-02 08:33:22 +00:00
tadpolectl use bounded string op 2003-07-13 12:08:28 +00:00
tcpdchk use bounded string op 2003-07-14 09:07:22 +00:00
tcpdmatch use NETBSDSRCDIR as appropriate 2002-09-19 12:08:37 +00:00
tcpdump enable SMB support 2003-03-28 11:06:32 +00:00
timed Rename a large chunk of the make(1) variables which refer to a 2003-07-10 10:33:58 +00:00
tpctl #include <string.h> for memset and memcpy. 2003-07-08 23:33:50 +00:00
traceroute strncpy -> strlcpy 2003-05-17 18:13:55 +00:00
traceroute6 sysctl/setsockopt takes int, not u_long. 2003-01-21 09:15:54 +00:00
trpt Update for callout changes, and show TCP timers in relative, rather 2003-02-04 01:22:08 +00:00
trsp die if out-of-range address is specified to -p 2002-11-16 04:20:42 +00:00
unlink Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
usbdevs use bounded string op 2003-07-13 12:08:28 +00:00
user Some patches from Todd C. Miller: 2003-06-12 17:00:53 +00:00
videomode use bounded string op 2003-07-13 12:08:28 +00:00
vipw .Nm does not need a dummy argument ("") before punctuation or 2003-02-25 10:34:36 +00:00
vnconfig Sync usage with man page. 2003-04-16 10:29:05 +00:00
wiconfig strcpy audit (command line argument was used as src, subject to overrun) 2003-05-15 00:02:25 +00:00
wsconscfg .Nm does not need a dummy argument ("") before punctuation or 2003-02-25 10:34:36 +00:00
wsfontload Bump date for last. 2003-05-06 08:43:45 +00:00
wsmoused Increase width in a tagged list for nicer display. 2003-04-16 08:42:16 +00:00
wsmuxctl use bounded string op 2003-07-13 12:08:28 +00:00
ypbind ANSIfy, remove __P(), unifdef __STDC__. 2002-07-06 21:44:40 +00:00
yppoll Avoid strict alias warning. 2002-12-06 15:21:08 +00:00
ypserv use CPPFLAGS.filename=... to add file-specific overrides 2003-07-22 11:29:53 +00:00
ypset sweep of errx/warnx, remove unnecessary trailing \n 2002-07-20 08:40:16 +00:00
zdump use NETBSDSRCDIR as appropriate 2002-09-18 03:54:26 +00:00
zic Now that <bsd.prog.mk> DTRT if HOSTPROG is defined (i.e, it is a no-op), 2003-05-18 07:57:31 +00:00
Makefile Don't build kvm_mkdb anymore. 2003-05-11 18:19:09 +00:00
Makefile.inc