aboutsummaryrefslogtreecommitdiff
path: root/gdb/Makefile.in
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-04-30 22:08:46 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-04-30 22:08:46 +0000
commitdb7c818b4de503a24641242ce195a02c2a461c17 (patch)
treec954eb9d424404d7e2006fac0c1ba25f13f38251 /gdb/Makefile.in
parent89c88702c07fed3dbd542337bd5fce9787843323 (diff)
downloadbinutils-db7c818b4de503a24641242ce195a02c2a461c17.zip
binutils-db7c818b4de503a24641242ce195a02c2a461c17.tar.gz
binutils-db7c818b4de503a24641242ce195a02c2a461c17.tar.bz2
* Makefile.in (TAGS): Doc fix. Deal with empty DEPFILES.
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r--gdb/Makefile.in6
1 files changed, 6 insertions, 0 deletions
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