diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-04-30 22:08:46 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-04-30 22:08:46 +0000 |
commit | db7c818b4de503a24641242ce195a02c2a461c17 (patch) | |
tree | c954eb9d424404d7e2006fac0c1ba25f13f38251 | |
parent | 89c88702c07fed3dbd542337bd5fce9787843323 (diff) | |
download | gdb-db7c818b4de503a24641242ce195a02c2a461c17.zip gdb-db7c818b4de503a24641242ce195a02c2a461c17.tar.gz gdb-db7c818b4de503a24641242ce195a02c2a461c17.tar.bz2 |
* Makefile.in (TAGS): Doc fix. Deal with empty DEPFILES.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/Makefile.in | 6 |
2 files changed, 7 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 022b0f3..1eb22bc 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,6 +1,6 @@ Fri Apr 30 11:05:42 1993 Jim Kingdon (kingdon@cygnus.com) - * Makefile.in (TAGS): Doc fix. + * Makefile.in (TAGS): Doc fix. Deal with empty DEPFILES. Fri Apr 30 10:06:46 1993 Fred Fish (fnf@cygnus.com) @@ -13,9 +13,6 @@ Thu Apr 29 12:03:23 1993 Fred Fish (fnf@cygnus.com) * Makefile.in (make-proto-testsuite.dir): New target to make prototype testsuite tree. - * Makefile.in (TAGS): Remove use of DEPFILES, it may be empty. - In any case, it is a subset of the ALLDEPFILES list, which is - part of SOURCES, which is part of TAGFILES, so it's redundant. * Makefile.in (VERSION): Bump to 4.8.4. diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 7d20804..620cdc1 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -603,10 +603,16 @@ kdb: $(NTSSTART) $(OBS) $(NTSOBS) ${ADD_DEPS} ${CDEPS} # Put the proper machine-specific files first, so M-. on a machine # specific routine gets the one for the correct machine. +# The xyzzy stuff below deals with empty DEPFILES TAGS: ${TAGFILES} etags `find ${srcdir}/config -name $(TM_FILE) -print` \ `find ${srcdir}/config -name ${XM_FILE} -print` \ `find ${srcdir}/config -name ${NAT_FILE} -print` \ + `for i in yzzy ${DEPFILES}; do \ + if [ x$$i != xyzzy ]; then \ + echo ${srcdir}/$$i | sed -e 's/\.o$$/\.c/' ; \ + fi; \ + done` \ ${TAGFILES} tags: TAGS |