NetBSD/gnu/usr.bin/gcc3
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 regenerate 2003-08-01 13:56:59 +00:00
backend Rework how dependency generation is performed: 2003-08-01 17:03:41 +00:00
cc1
cc1obj
cc1plus
cpp
f771 Rework how dependency generation is performed: 2003-08-01 17:03:41 +00:00
frontend Rework how dependency generation is performed: 2003-08-01 17:03:41 +00:00
g77
g++
gcc
gcov
host-libiberty
libcpp
libiberty regenerate 2003-08-01 13:56:59 +00:00
protoize
unprotoize
Makefile
Makefile.backend
Makefile.frontend
Makefile.inc
Makefile.libcpp