From 5b8462fa63bd91e37f5553bac5172976c5d7d26a Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Tue, 4 May 1993 19:25:24 +0000 Subject: [PATCH] * Makefile.in (depend): Include $(CC) command in generated output. --- gdb/ChangeLog | 4 ++++ gdb/Makefile.in | 18 ++++++++++++++++-- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index accb87eb65..bf908ce7f4 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +Tue May 4 12:11:38 1993 Jim Kingdon (kingdon@cygnus.com) + + * Makefile.in (depend): Include $(CC) command in generated output. + Mon May 3 23:34:09 1993 K. Richard Pixley (rich@rtl.cygnus.com) * nindy-share/Onindy.c, nindy-share/nindy.c: convert malloc calls diff --git a/gdb/Makefile.in b/gdb/Makefile.in index f7ee6fc7b0..83aaf454dd 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -563,8 +563,22 @@ depend: $(SOURCES) Makefile.in -e 's; ./xm.h; xm.h config.status;g' \ -e 's; ./tm.h; tm.h config.status;g' \ -e 's; ./nm.h; nm.h config.status;g' \ - >depend - rm depend.tmp + >depend.tm3; +# OK, get your sed manual out. This script makes all the rules in +# depend explicitly state the rule, rather than relying on VPATH +# or a .c.o implicit rule. This is needed for Sun make, and should +# be portable to any make worthy of the name. I suspect that we no +# longer need to set VPATH. + depend.tm4; + mv depend.tm4 depend + rm depend.tm? config.status: @echo "You must configure gdb. Look at the README file for details." -- 2.34.1