Commit Graph

39 Commits

Author SHA1 Message Date
lukem
e606e2dcb2 Improve how various "simple" host tools are built and invoked. 2003-11-16 14:14:18 +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
ddff99b7f4 rework to use the newer _MKMSGCREATE (et al) macros 2003-10-19 04:45:01 +00:00
lukem
2b8c8463a6 Support MAKEVERBOSE. (Some host tools still generate verbose runtime messages) 2003-10-19 01:01:44 +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
lukem
403ce9dc0c simplify and use ${DEPENDSRCS} as a target as appropriate 2003-07-31 13:54:30 +00:00
thorpej
5ab89c4a4a No need to reference .OBJDIR here. 2002-03-05 21:29:56 +00:00
lukem
e2311f6fa0 use ${INSTALL_FILE} as appropriate 2002-02-09 09:21:47 +00:00
simonb
cd2e1c1e91 Use ${COPY} instead of -c for ${INSTALL} commands. 2000-09-23 13:53:41 +00:00
simonb
b729f2c755 Use ${INSTPRIV} with ${INSTALL}. 1999-08-21 06:27:29 +00:00
dbj
16a09f01ca tweaks to pass DESTDIR to subprograms when it is defined in /etc/mk.conf
but is not in the environment.
1998-12-06 09:06:45 +00:00
wrstuden
aaae79a78d Make the helper programs compile right in a cross-compiling environment. 1998-09-12 19:05:48 +00:00
mrg
999b5ad105 install games files with the correct permissions. 1997-11-20 08:52:16 +00:00
mrg
6074e1b476 install games that need it setgid. 1997-11-20 00:12:30 +00:00
lukem
2b90aecdec use CPPFLAGS instead of CFLAGS, fix dependancies for parallel compile 1997-10-22 05:24:11 +00:00
christos
3ea4a95c18 WARNsify... 1997-10-19 16:56:41 +00:00
lukem
4877bdbb3b enable WARNS?=1 by default, & temporarily disable for the few unclean programs 1997-10-12 14:21:44 +00:00
mycroft
8306be60f4 Use afterinstall, not proginstall, to run post-installation crap. 1997-05-07 16:03:15 +00:00
thorpej
20c2907cc6 Allow this to be cross-compiled. 1997-04-19 07:20:13 +00:00
mycroft
b3048006fe Install the help file again. 1997-03-27 10:55:21 +00:00
christos
d59123b39b - Makefile cleanups 1997-03-24 22:15:37 +00:00
tls
34cd8f5bdf Sync to 4.4BSD-Lite2 1997-01-07 11:56:32 +00:00
thorpej
871c9c08af Use ${INSTALL}. 1996-10-18 02:37:51 +00:00
cgd
42fb1b9d4a merge with Lite, new RCS id conventions, etc. 1995-03-23 08:28:00 +00:00
cgd
c4c01d75b2 specify man pages the new way. 1994-12-22 09:31:26 +00:00
cgd
a218d38dc2 need -lcompat 1994-05-23 05:32:40 +00:00
cgd
b4da561c15 kiil bogus install -d's 1994-02-10 02:31:32 +00:00
pk
be7657d720 Use .OBJDIR for auxiliary programs. 1994-01-04 21:40:31 +00:00
mycroft
7609fb537f From: Havard Eidnes <Havard.Eidnes@runit.sintef.no>
Fix various permissions problems in /var/games/hackdir, and use `install -d'.
1993-12-02 03:11:32 +00:00
cgd
ed4933867f use LDSTATIC 1993-11-08 04:45:28 +00:00
mycroft
24d4c923e9 Make hack.onames.h be built first. 1993-08-14 22:21:45 +00:00
mycroft
39fb0f477c Add -I. to deal with hack.onames.h, and tweak for cross-compilation. 1993-08-10 02:53:17 +00:00
mycroft
41c396a394 Remove makedefs when cleaning. 1993-08-06 22:49:42 +00:00
mycroft
b552bd14c7 Use `./makedefs'. 1993-08-06 16:24:29 +00:00
mycroft
c2b2002645 Add hack.onames.h to CLEANFILES so it gets removed when cleaning, and to SRCS
so it gets build for depending.
1993-08-04 18:59:50 +00:00
mycroft
cda4f8f6ee Add RCS identifiers. 1993-08-01 05:37:30 +00:00
cgd
e76b286f06 make sure directory to install stuff exists before installing 1993-04-09 09:38:08 +00:00
cgd
f620d7d9f6 got rid of unnecessary -lcompat and associated dependency 1993-03-23 02:44:38 +00:00
cgd
61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00