Commit Graph

12 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
46a6f14708 style nit; list bsd.rpc.mk before bsd.prog.mk 2003-07-29 02:45:23 +00:00
sommerfeld
8f6f405641 Use <bsd.rpc.mk> 2003-01-05 19:24:06 +00:00
lukem
08c81a9c2d some makefile de-linting
- list NOxxx and LDSTATIC= assignments before everything else
  (especially <bsd.own.mk>)
- ensure <bsd.own.mk> is included before NETBSDSRCDIR is used
- add missing RCSids
2002-09-18 05:41:35 +00:00
pk
951bda42bf Fix $SRCS; use $DPSRCS; add explicit dependency on generated header file 2002-03-09 01:35:46 +00:00
pk
c171455b6f #include <testbits.h> => #include "testbits.h" 2002-03-09 01:34:18 +00:00
tron
782b99b074 Remove generated files "testbits.c" and "testbits.h" in "cleandir" target. 2002-02-13 09:02:12 +00:00
bjh21
07bb20afe4 Add some minimal testing of enumerations. 2002-02-10 13:22:58 +00:00
tv
220b5c059a MKfoo=no -> NOfoo 2001-12-12 01:23:59 +00:00
bjh21
8dc13781cb Random patch lying around my tree: When a conversion fails, print out the
incorrect result.
2001-07-24 15:32:02 +00:00
cgd
82f3142780 fix NetBSD RCS id tags 2001-02-27 19:04:39 +00:00
bjh21
13dbf7c5c5 Add a very, very simple test of XDR handling.
It just checks decoding of doubles, which NetBSD/arm32 seems to have got
wrong forever.
2001-02-18 21:57:16 +00:00