Commit Graph

22 Commits

Author SHA1 Message Date
lukem 5037f26eb0 don't need -DHAVE_CONFIG_H here 2003-10-26 09:30:55 +00:00
lukem f85d2d1c14 Use ${HOST_SH} instead of `sh'.
If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH;
Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
2003-10-26 07:25:33 +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 046b9ab451 support MAKEVERBOSE 2003-10-19 00:14:16 +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 94f08e9869 default to WARNS=1 if not set 2001-11-03 13:39:25 +00:00
simonb 4f7969814a Don't build ksh.1 if MKMAN == "no". 2001-05-15 23:50:36 +00:00
kleink 8bab1c8bba $(CPP) -> $(CC) -E 2000-06-26 06:18:07 +00:00
soren f939de5a66 CLEANFILES+= siglist.out emacs.out 2000-06-22 05:42:22 +00:00
hubertf 48ee8d1290 resolve conflicts 1999-10-20 15:09:58 +00:00
lukem 015665018a add dependancies to fix parallel compilation 1997-10-22 01:36:36 +00:00
christos e230a48b57 CFLAGS->CPPFLAGS 1997-10-10 19:47:50 +00:00
christos 23edbe3557 Remove WARNS=1 from all the subdirectory Makefiles, and add it to Makefile.inc
now that all /bin has been cleaned.
1997-07-20 22:36:20 +00:00
christos 90647eb832 Fix compiler warnings
Add WARNS=1
1997-07-20 17:41:56 +00:00
phil 691627e8a2 Define USETBL to get tbl used in making man page. (Closed PR 3144.) 1997-06-30 19:30:04 +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
perry 2a9ecb70c3 close pr-3111 -- use sh to invoke script instead of executing 1997-01-16 21:17:53 +00:00
tls 2ab2e20cff RCS ID Police 1997-01-12 19:11:37 +00:00
jtc 56381415bc Removed missing.c beacuse NetBSD is not missing any of the functions
that it provides.
1996-10-10 14:17:02 +00:00
jtc e1b2664cf1 import pdksh 5.2.8 1996-09-21 23:35:13 +00:00