NetBSD/usr.bin/xlint/lint1
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
..
cgram.y handle void ({ }) 2003-05-24 22:17:46 +00:00
decl.c Make long long a c99ism, not a gnuism. 2002-11-02 20:10:16 +00:00
emit1.c Minimize diffs with my C99 capable version [this commit does not include 2002-09-13 14:59:24 +00:00
err.c add a comment on c99ism noting that the logic might be wrong but we 2002-11-02 20:14:10 +00:00
externs1.h add c99ism(), by analogy to gnuism(), for c99 construct (un)warnings 2002-11-02 20:09:27 +00:00
func.c forgot to commit those. 2002-10-23 00:36:36 +00:00
init.c Include <string.h> for prototypes. 2002-12-06 03:27:39 +00:00
lint1.h fix typo 2002-10-21 22:44:08 +00:00
main1.c clear errno before strto(u)l() if we're going to test it for ERANGE afterwards 2003-04-18 03:21:00 +00:00
Makefile Rework how dependency generation is performed: 2003-08-01 17:03:41 +00:00
makeman new script to generate a man page of error messages that lint generates 2000-07-06 01:08:10 +00:00
mem1.c The Double-Semi-Colon Police. 2003-01-20 05:29:53 +00:00
op.h
scan.l 1) // is only for c99 or gcc 2002-11-02 01:42:22 +00:00
tree.c PR/21706: Krister Walfridsson: CVT nodes not handled in ?: expressions. 2003-05-30 13:37:49 +00:00