aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/Makefile.in6
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