NetBSD/bin/ksh
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
..
alloc.c Add NetBSD RCS Ids. 2003-06-23 11:38:51 +00:00
c_ksh.c Add NetBSD RCS Ids. 2003-06-23 11:38:51 +00:00
c_sh.c Add NetBSD RCS Ids. 2003-06-23 11:38:51 +00:00
c_test.c Add NetBSD RCS Ids. 2003-06-23 11:38:51 +00:00
c_test.h
c_ulimit.c Add NetBSD RCS Ids. 2003-06-23 11:38:51 +00:00
conf-end.h
config.h
edit.c Add NetBSD RCS Ids. 2003-06-23 11:38:51 +00:00
edit.h
emacs-gen.sh
emacs.c Add NetBSD RCS Ids. 2003-06-23 11:38:51 +00:00
eval.c Add NetBSD RCS Ids. 2003-06-23 11:38:51 +00:00
exec.c Add NetBSD RCS Ids. 2003-06-23 11:38:51 +00:00
expand.h
expr.c Add NetBSD RCS Ids. 2003-06-23 11:38:51 +00:00
history.c Add NetBSD RCS Ids. 2003-06-23 11:38:51 +00:00
io.c Add NetBSD RCS Ids. 2003-06-23 11:38:51 +00:00
jobs.c Add NetBSD RCS Ids. 2003-06-23 11:38:51 +00:00
ksh_dir.h
ksh_limval.h
ksh_stat.h
ksh_time.h
ksh_times.h
ksh_wait.h
ksh.Man
lex.c Add NetBSD RCS Ids. 2003-06-23 11:38:51 +00:00
lex.h
mail.c Add NetBSD RCS Ids. 2003-06-23 11:38:51 +00:00
main.c Add NetBSD RCS Ids. 2003-06-23 11:38:51 +00:00
Makefile Rework how dependency generation is performed: 2003-08-01 17:03:41 +00:00
misc.c Add NetBSD RCS Ids. 2003-06-23 11:38:51 +00:00
mkman
path.c Add NetBSD RCS Ids. 2003-06-23 11:38:51 +00:00
proto.h
sh.h
shf.c Add NetBSD RCS Ids. 2003-06-23 11:38:51 +00:00
shf.h
sigact.c Add NetBSD RCS Ids. 2003-06-23 11:38:51 +00:00
sigact.h
siglist.in
siglist.sh
syn.c Add NetBSD RCS Ids. 2003-06-23 11:38:51 +00:00
table.c Add NetBSD RCS Ids. 2003-06-23 11:38:51 +00:00
table.h
trap.c Add NetBSD RCS Ids. 2003-06-23 11:38:51 +00:00
tree.c Add NetBSD RCS Ids. 2003-06-23 11:38:51 +00:00
tree.h
tty.c Add NetBSD RCS Ids. 2003-06-23 11:38:51 +00:00
tty.h
var.c Add NetBSD RCS Ids. 2003-06-23 11:38:51 +00:00
version.c Add NetBSD RCS Ids. 2003-06-23 11:38:51 +00:00
vi.c Add NetBSD RCS Ids. 2003-06-23 11:38:51 +00:00