Commit Graph

41 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
c545cc169d support MAKEVERBOSE 2003-10-19 04:30:30 +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
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
wiz
f6bcf4feae DEFINITIONS, not DEFINITONS. By Adrian Mrva. 2002-10-02 11:17:41 +00:00
ross
2a76afae02 Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
wiz
aded0d2cce Whitespace cleanup. 2001-12-01 16:43:07 +00:00
wiz
1e378c4c12 precede, not preceed. 2001-08-20 12:00:46 +00:00
wiz
0c27bead4e Replace Xr by Ic in one place. 2001-04-05 11:46:29 +00:00
sommerfeld
64cf1af58d Let src/usr.bin build with recursive parallel make..
- add .WAIT and .NOTPARALLEL in a few places
 - change ${MAKE} print-objdir to ${PRINTOBJDIR}
 - convert other ad-hoc forms to use ${PRINTOBJDIR}
2000-12-30 14:54:39 +00:00
lukem
279552d3db fix up various .Nm abuses:
- keep the case consistent between the actual name and what's referenced.
  e.g, if it's `foo', don't use '.Nm Foo' at the start of a sentence.
- remove unnecessary `.Nm foo' after the first occurrence (except for
  using `.Nm ""' if there's stuff following, or for the 2nd and so on
  occurrences in a SYNOPSIS
- use Sx, Ic, Li, Em, Sq, and Xr as appropriate
2000-11-07 06:43:24 +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
ross
7f8e818918 Missing .El. 1999-03-09 03:19:28 +00:00
itohy
bd5b7e1a5d Add minimal dependency to make "make depend" optional
after cleandir even on parallel make.
1999-03-06 16:21:58 +00:00
lukem
453cc6eead usr CPPFLAGS instead of CFLAGS, move common settings into Makefile.inc 1997-10-24 07:52:03 +00:00
perry
4c79cc7435 fix 3884 from SAITOH Masanobu 1997-07-18 23:31:00 +00:00
mycroft
caabb7f9be Clean up these Makefiles some more. 1997-05-09 15:04:03 +00:00
mycroft
ed67bf81a0 Use DPSRCS. 1997-05-09 13:28:39 +00:00
mycroft
cc4a1553a1 Eliminate bogus redefinitions of standard targets. 1997-05-09 07:50:03 +00:00
gwr
10e180cc49 Back out the .PATH.c changes. The .depend problem (and others)
will be fixed using the new .NOPATH make feature instead.
1997-05-08 21:11:01 +00:00
mycroft
fd8daf980e Add .MAKE to the .OBJDIR hacks, so they work with `make -n'. 1997-05-07 07:15:34 +00:00
gwr
012e528f2e Use .PATH.c: ... 1997-05-06 20:44:56 +00:00
cgd
bd158ef43d use ${MKDEP} (and ${MKDEPFLAGS}) properly; from Thorsten Freauf in PR
bin/3325.
1997-03-13 23:23:38 +00:00
mouse
650ee578da alternate -> alternative, per PR 2643 1997-03-08 14:13:54 +00:00
tls
9d225a1783 RCS ID police 1997-01-09 20:18:21 +00:00
mikel
1d2de6e812 /etc/termcap -> /usr/share/misc/termcap. Fixes misc/1401.
(also /etc/map3270 -> /usr/share/misc/map3270).
1996-11-12 08:19:52 +00:00
christos
5debbee36d Makefile changes for parallel make support 1995-10-22 00:13:41 +00:00
cgd
af03189d5c .include changes suggested by Jon Stone in pr 674. Not strictly necessary
(because there should never be an 'obj' dir/link in .../usr.bin/tn3270,
but good style, and robust if there happens to be one.)
1995-01-02 22:33:21 +00:00
cgd
9e97520947 specify man pages the new way. 1994-12-22 12:30:38 +00:00
cgd
ca003fe926 fix tn3270's idea of where map3270 lives. From Mark Weaver. 1994-04-01 04:09:18 +00:00
jtc
dd42b1f9c6 spelling error 1994-02-04 18:04:55 +00:00
cgd
90ea102113 patch from Roland McGrath <roland@frob.com> to get invoked 'make's correct 1994-01-22 01:52:56 +00:00
davidb
3a435f99f9 Changed to use make's new .OBJDIR 1993-12-28 10:59:05 +00:00
davidb
473e509469 Removed assumption of obj/ directories.
Now checks for obj and obj.$MACHINE
1993-12-21 22:16:33 +00:00
mycroft
aee4b07b8a Add RCS identifiers, remove some completely useless RCS logs and patchkit
headers, and a few other insignificant changes.
1993-08-02 17:48:44 +00:00
mycroft
c3e42d1c64 Add RCS indentifiers. 1993-08-01 07:22:47 +00:00
cgd
0de7a499a8 make sure to rm before ln -s 1993-04-29 11:05:59 +00:00
cgd
4db9cc0048 fixed after-depend dependency loops 1993-04-27 09:51:52 +00:00
cgd
9e39edd02b oops. space vs. tab thing 1993-04-27 07:00:41 +00:00
cgd
00452e0c62 fixed make depend, and added rcs headers to makefiles 1993-04-27 06:47:28 +00:00
mycroft
7bd7054808 Add tn3270 with correct Makefiles. 1993-04-26 14:02:21 +00:00