Commit Graph

29 Commits

Author SHA1 Message Date
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 e7cffe140c implement MAKEVERBOSE 2003-10-19 14:10:13 +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
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 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
bjh21 5169d40111 cap_mkdb -> ${CAP_MKDB}
This helps with building on Linux.
2002-03-30 19:09:52 +00:00
mycroft a73ccc591a More .mk file fallout. *sigh* 2000-01-23 21:55:44 +00:00
mrg 57ca169901 merge lite-2. 1997-10-17 10:47:42 +00:00
kleink f43910b5eb RCSid police. 1997-06-06 00:24:36 +00:00
christos 3917c3179d - Makefile cleanups 1997-03-24 21:57:01 +00:00
thorpej 150c33e60b Use ${INSTALL}. 1996-10-18 05:55:26 +00:00
jtc 76dc5d31d3 Use ${.ALLSRC} when building termcap.db 1995-07-03 23:31:17 +00:00
jtc 3d55deb168 Install termcap.src directly instead of processing it with reorder.
The terminfo-derived termcap database we are now using has been pre-
reordered, with the most popular terminal entries first.  Besides it
makes very little difference, since most NetBSD application will be
using the db-version of the termcap database.

Removed reorder script.
Removed tck script, we don't have the showtc program (script?) that it
requires.
1995-07-03 22:12:47 +00:00
glass 73165ec2d0 remove extra tab 1995-03-01 09:05:20 +00:00
cgd ae9172d6cd specify man pages the new way. 1994-12-22 09:57:51 +00:00
cgd c440ffb67d kill bogus install -d's, and clean slightly 1994-02-10 01:54:10 +00:00
cgd 13021d2a0d don't ignore ex return code 1994-02-02 02:37:07 +00:00
jtc 4180d478c3 Always use `install -d' to make sure destination directory exists & has
correct ownership and permissions.
1993-09-30 23:31:09 +00:00
mycroft 690cae8181 Add RCS indentifiers. 1993-07-31 15:17:49 +00:00
cgd cbdb50c1c1 incorporate changes from 0-9-base to 0-9-ALPHA 1993-07-28 00:56:43 +00:00
mycroft 78f5c43040 Use ${COPY}, not -c for install. 1993-07-18 19:06:45 +00:00
cgd 2bcab29ec0 copy termcap and termcap db when installing 1993-05-26 12:22:32 +00:00
cgd 1661368f4d re-fix man page stuff 1993-05-26 09:53:23 +00:00
cgd 8d5826635d bring in getcap routines, supplied by CSRG, from 4.4... 1993-05-18 07:37:51 +00:00
mycroft 6cadc1cfab Once more, don't make `all' depend on man page; bsd.prog.mk does this. 1993-04-26 03:42:07 +00:00
cgd 94d52aa34d ignore exit status from ex when building termcap. don't know
why it returns 1...
1993-04-10 16:47:39 +00:00
cgd 39fb9671d3 make sure directories to install stuff exist before installing 1993-04-09 09:43:43 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00