NetBSD/gnu/usr.bin/gcc
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
..
arch
backend Rework how dependency generation is performed: 2003-08-01 17:03:41 +00:00
cc1
cc1obj
cc1plus
cpp
cpp0
f771 Rework how dependency generation is performed: 2003-08-01 17:03:41 +00:00
frontend - use NETBSDSRCDIR as appropriate 2002-09-19 03:09:31 +00:00
g77
g++
gcc
gcov
protoize
unprotoize
hconfig.h
Makefile
Makefile.backend - use NETBSDSRCDIR as appropriate 2002-09-19 03:09:31 +00:00
Makefile.frontend - use NETBSDSRCDIR as appropriate 2002-09-19 03:09:31 +00:00
Makefile.inc Only do the nbcompat dance is USETOOLS == yes. 2003-04-04 00:25:07 +00:00