From: Jim Kingdon Date: Tue, 4 May 1993 19:25:24 +0000 (+0000) Subject: * Makefile.in (depend): Include $(CC) command in generated output. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5b8462fa63bd91e37f5553bac5172976c5d7d26a;p=binutils-gdb.git * Makefile.in (depend): Include $(CC) command in generated output. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index accb87eb65a..bf908ce7f4e 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 f7ee6fc7b01..83aaf454dd1 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."