Commit Graph

63 Commits

Author SHA1 Message Date
lukem
c1ceae17f0 Enable WARNS=4 by default for usr.bin, except for:
awk  bdes  checknr  compile_et  error  gss  hxtool  kgetcred  kinit
	klist  ldd  less  lex  locale  login  m4  man  menuc  mk_cmds
	mklocale  msgc  openssl  rpcgen  rpcinfo  sdiff  spell  ssh
	string2key  telnet  tn3270  verify_krb5_conf  xlint
2009-04-14 22:15:16 +00:00
joerg
f39d76e336 Fix markup 2009-03-11 13:59:00 +00:00
lukem
98e5374ccb Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
2008-07-21 14:19:20 +00:00
christos
501be8b824 Need assert.h now. 2006-05-01 05:14:22 +00:00
christos
e408cc2631 Coverity CID 766: Add assertion before pointer deref. 2006-05-01 05:13:58 +00:00
dsl
df38245cee Add (unsigned char) cast to ctype functions 2004-11-04 07:38:43 +00:00
christos
195f245afe constify, warns = 3 2004-04-23 22:14:57 +00:00
lukem
130ab7336b Rework how MAKEVERBOSE operates:
*	Don't bother prefixing commands with a line of  ${_MKCMD}\
	and instead rely upon "make -s".  This is less intrusive on
	all the Makefiles than the former.  Idea from David Laight.

    *	Rename the variables use to print messages.  The scheme now is:
	    _MKMSG_FOO		Run  _MKMSG 'foo'
	    _MKTARGET_FOO	Run  _MKMSG_FOO ${.TARGET}
	From discussion with Alistair Crooks.
2003-10-21 10:01:19 +00:00
lukem
c545cc169d support MAKEVERBOSE 2003-10-19 04:30:30 +00:00
pooka
63242450c2 back out revision 1.8 per discussion with Hubert
vgrind already worked properly in filter mode for source correctly
enclosed inside .vS and .vE.  The change more or less broke troff
processing, since e.g. \fI became \\fI when it went through vgrind.
2003-08-18 15:28:17 +00:00
pooka
7db1443cd2 make the macrofile point to the new name 2003-08-18 15:02:16 +00:00
pooka
b7fe06f1ae Use the new name for the macro file (vgrind.tmac) instead of the old
one (tmac.vgrind), the advantage being that the former exists.
2003-08-18 14:10:22 +00:00
agc
89aaa1bb64 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
2003-08-07 11:13:06 +00:00
itojun
2777b2aa10 use bounded string op as much as possible 2003-07-14 09:25:37 +00:00
itojun
07b330cc97 strlcpy, some KNF 2003-07-12 13:37:15 +00:00
lukem
001c68bd94 Rename a large chunk of the make(1) variables which refer to a
program/tool from "FOO" to "TOOL_FOO".  The new variables are:
	TOOL_ASN1_COMPILE  TOOL_CAP_MKDB  TOOL_CAT  TOOL_CKSUM  TOOL_COMPILE_ET
	TOOL_CONFIG  TOOL_CRUNCHGEN  TOOL_CTAGS  TOOL_DB  TOOL_EQN  TOOL_FGEN
	TOOL_GENCAT  TOOL_GROFF  TOOL_HEXDUMP  TOOL_INDXBIB  TOOL_INSTALLBOOT
	TOOL_INSTALL_INFO  TOOL_M4  TOOL_MAKEFS  TOOL_MAKEINFO  TOOL_MAKEWHATIS
	TOOL_MDSETIMAGE  TOOL_MENUC  TOOL_MKCSMAPPER  TOOL_MKESDB
	TOOL_MKLOCALE  TOOL_MKMAGIC  TOOL_MKTEMP  TOOL_MSGC  TOOL_MTREE
	TOOL_PAX  TOOL_PIC  TOOL_PREPMKBOOTIMAGE  TOOL_PWD_MKDB  TOOL_REFER
	TOOL_ROFF_ASCII  TOOL_ROFF_DVI  TOOL_ROFF_HTML  TOOL_ROFF_PS
	TOOL_ROFF_RAW  TOOL_RPCGEN  TOOL_SOELIM  TOOL_SUNLABEL  TOOL_TBL
	TOOL_UUDECODE  TOOL_VGRIND  TOOL_ZIC

For each, provide default in <bsd.sys.mk> of the form:
	TOOL_FOO?=	foo
and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override:
	TOOL_FOO=	${TOOLDIR}/bin/${_TOOL_PREFIX}foo

Document all of these in bsd.README.

This cleans up a chunk of potential (and actual) namespace collision
within our build infrastructure, as well as improves consistency in
the share/mk documentation and provision of appropriate defaults for
each of these variables.
2003-07-10 10:33:58 +00:00
wiz
5a9293abc1 Adapt to new naming conventions for tmac files. 2003-06-30 19:08:37 +00:00
hubertf
ccaf934316 Escape backslashes properly. Fixes PR 6679. 2003-06-10 21:27:16 +00:00
lukem
f5dd9322ee Set CAP_MKDB_ENDIAN to the cap_mkdb(8) endian flag, rather than
overriding TARGET_ENDIANNESS.
2003-05-18 08:20:34 +00:00
itojun
9e248e087b sscanf overrun 2003-05-17 14:58:19 +00:00
wiz
990562bfef .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
kleink
2008ede1e1 psroff has been dead for quite some time. 2002-10-27 12:29:11 +00:00
grant
be8ae688ae New sentence, new line. 2002-09-30 11:08:56 +00:00
lukem
5d4973fe97 makefile delint. use NETBSDSRCDIR as appropriate 2002-09-18 14:00:33 +00:00
itojun
dbbcec2c04 have bsd.endian.mk, which detects target endian.
generate *.db in target endian.  (see tech-userlevel for discussions)
2002-05-30 21:40:47 +00:00
itojun
f75be30e68 comment; no need to care about endianness, as DB keys are ascii strings
(modulo possible DB lookup performance issue)
2002-05-30 10:45:03 +00:00
tv
d08ddf4732 Make it possible for cap_mkdb to be a host tool. 2002-01-31 19:32:11 +00:00
tv
8e6f7afb5b MKfoo=no -> NOfoo 2001-12-12 01:48:43 +00:00
wiz
50033edf71 Drop some spaces and a .Pp, sort SEE ALSO. 2001-12-08 19:23:05 +00:00
wiz
0445a9e62d Sort sections. 2001-12-08 19:22:17 +00:00
wiz
aded0d2cce Whitespace cleanup. 2001-12-01 16:43:07 +00:00
wiz
cdf92651cc Add section to xrefs. Whitespace fixes. 2001-04-04 09:50:17 +00:00
aymeric
b2d8a552a8 typo (: -> ;) and sync with 1998 change in ../regexp.c
_start -> x_start
_escaped -> x_escaped

this thing had probably never compiled under NetBSD! ;-)
2000-06-23 15:40:13 +00:00
mycroft
9561c66413 More .mk file fallout. 2000-01-23 18:26:14 +00:00
garbled
9e44e9b578 More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Many more to
come.
1999-03-22 18:16:34 +00:00
mycroft
a1c657fe56 Clean up SYNOPSIS formatting. 1999-03-07 11:29:58 +00:00
lukem
dcab0210a0 convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
christos
e415908344 char -> unsigned char
_start -> x_start
_escaped -> x_escaped

_start is the start symbol in solaris libc!
1998-12-19 23:41:53 +00:00
kleink
759e4c8f58 <sys/fcntl.h> -> <fcntl.h> in previous. 1998-10-16 22:01:57 +00:00
wsanchez
c19ec78ded Include unistd and sys/fcntl.
Add return types to functions.
1998-10-08 01:32:23 +00:00
lukem
9dee5d2b46 don't install in /usr/share if NOSHARE is defined 1998-09-27 17:22:03 +00:00
lukem
cd1bb97186 WARNSify, fix .Nm usage, deprecate register 1997-10-20 03:01:26 +00:00
pk
62972ee658 * NULL => 0 (Arne Juul; PR#3629)
* Nuke spacoids.
1997-05-17 20:26:47 +00:00
gwr
7616209210 Change .PATH.c back to .PATH (missed this one) 1997-05-13 23:48:31 +00:00
mycroft
6e0450c70f Use proginstall:: to disable installing PROG. 1997-05-07 15:59:08 +00:00
gwr
012e528f2e Use .PATH.c: ... 1997-05-06 20:44:56 +00:00
mycroft
c2c16c1c2c Set SCRIPTSDIR. 1997-03-27 11:06:20 +00:00
christos
3917c3179d - Makefile cleanups 1997-03-24 21:57:01 +00:00
mouse
650ee578da alternate -> alternative, per PR 2643 1997-03-08 14:13:54 +00:00
thorpej
150c33e60b Use ${INSTALL}. 1996-10-18 05:55:26 +00:00