Commit Graph

7 Commits

Author SHA1 Message Date
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 ebf8a4f11a move ${DEPENDSRCS} target to after .include <bsd.*.mk> 2003-07-29 01:45:33 +00:00
lukem eb51573bd7 Use ${DEPENDSRCS} as a target instead of .depend, now that
<bsd.dep.mk> builds .depend from .dep files.
2003-07-28 15:25:02 +00:00
tv 01c2615055 Move the inclusion of <bsd.prog.mk> up so that keysym.h can have ${DESTDIR}
properly in its dependency list.
2002-01-30 20:32:29 +00:00
matt 0f6818e4eb More include fixups and GCC 2.96 nonsense 2000-07-03 03:37:59 +00:00
augustss d89ed08e6d Make keysym.h depend on dev/wscons/wsksymdef.h. 1999-01-10 18:05:49 +00:00
hannken 04ee2ece33 wsconsctl(8) - a program to manipulate wscons devices.
- lacks wsdisplay support (driver needs work on ioctls).
- man page needs work.
1998-12-28 14:01:16 +00:00