Commit Graph

18 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
enami 270db080e9 Use PRINTOBJDIR. 2001-01-07 08:00:54 +00:00
wiz e5d9f656ce Replace old build structure with new reach-over one. 2000-11-20 00:24:41 +00:00
itohy de08a5e37e Add minimal dependency to make "make depend" optional
after cleandir.
1999-02-24 02:58:42 +00:00
christos ac8587765d Resolve corn-flakes and remove obsolete files 1998-08-08 22:33:27 +00:00
tv 482063559a .y.c <sys.mk> rule fixes. Don't create a y.tab.h file unless asked for,
and use smarter creation of the header file.
1998-04-09 00:32:31 +00:00
christos 2903fbdf71 Resolve conflicts. 1997-09-22 22:09:51 +00:00
christos 3b1ba66d76 - Make the yacc .h file generation more sane from Juergen Hannken-Illjes
- PR/3919: Thorsten Frueauf: Add config_local.h to CLEANFILES and remove
  it from the repository.
1997-07-28 00:46:55 +00:00
christos eab39f597e Commit am-utils6.0a8 1997-07-24 23:16:10 +00:00
gwr 10e180cc49 Back out the .PATH.c changes. The .depend problem (and others)
will be fixed using the new .NOPATH make feature instead.
1997-05-08 21:11:01 +00:00
gwr 012e528f2e Use .PATH.c: ... 1997-05-06 20:44:56 +00:00
cgd 457aa2b833 specify man pages the new way. 1994-12-22 11:31:31 +00:00
mycroft db9421bbe7 Fix up RCS ids. 1994-06-13 20:49:58 +00:00
mycroft 53f3885c45 Add our local changes back in. 1994-06-13 20:17:41 +00:00
mycroft 0ce67e2263 Some files go away... 1994-06-13 19:49:28 +00:00
cgd da5de96b8a add -ll, and minor cleanup 1993-12-07 01:37:12 +00:00
mycroft f8987a8cb6 Define OS once in Makefile.inc, and fold the trivial changes into os-bsd44.h
rather than having a separate .h file.
1993-11-27 21:38:44 +00:00
mycroft 01c65770eb Initial import. Needs a little cleanup yet. 1993-11-27 21:16:51 +00:00