Re: [PATCH] Get make TAGS to work in gdb directory

Nick Roberts
2005-09-28T03:01:40Z

Daniel Jacobowitz writes:
> On Mon, Sep 26, 2005 at 04:37:15PM +1200, Nick Roberts wrote:
> > 2005-09-26 Nick Roberts <nickrob@snap.net.nz>
> >
> > * Makefile.in (HFILES_NO_SRCDIR): Remove minimon.h, symfile-mem.h.
> > (ALLDEPFILES) Correct typo amdfbsd-nat.c -> amd64fbsd-nat.c.
> > Remove irix4-nat.c, m3-nat.c, mipsm3-nat.c, ns32k-tdep.c
> > symm-tdep.c and symm-nat.c.
> > (TAGFILES_NO_SRCDIR): Add CONFIG_SRCS.
> > (DEPFILES): Remove CONFIG_OBS and include it explicitly where
> > needed.
>
> Thanks, this is OK.

Committed. I've made a small correction (I've put back DEPFILES, otherwise
there was no point in changing it). I'm hoping that counts as an obvious fix.

Nick

*** Makefile.in.~1.754~ 2005-09-28 15:00:49.133574344 +1200
--- Makefile.in 2005-09-28 14:50:02.000000000 +1200
***************
*** 1227,1238 ****
# TAGS depends on all the files that go into it so you can rebuild TAGS
# with `make TAGS' and not have to say `rm TAGS' first.

! TAGS: $(TAGFILES_NO_SRCDIR) $(TAGFILES_WITH_SRCDIR)
@echo Making TAGS
@etags $(srcdir)/$(DEPRECATED_TM_FILE) \
$(srcdir)/$(XM_FILE) \
$(srcdir)/$(NAT_FILE) \
! `(for i in $(TAGFILES_NO_SRCDIR); do \
echo $(srcdir)/$$i ; \
done ; for i in $(TAGFILES_WITH_SRCDIR); do \
echo $$i ; \
--- 1227,1238 ----
# TAGS depends on all the files that go into it so you can rebuild TAGS
# with `make TAGS' and not have to say `rm TAGS' first.

! TAGS: $(DEPFILES) $(TAGFILES_NO_SRCDIR) $(TAGFILES_WITH_SRCDIR)
@echo Making TAGS
@etags $(srcdir)/$(DEPRECATED_TM_FILE) \
$(srcdir)/$(XM_FILE) \
$(srcdir)/$(NAT_FILE) \
! `(for i in $(DEPFILES) $(TAGFILES_NO_SRCDIR); do \
echo $(srcdir)/$$i ; \
done ; for i in $(TAGFILES_WITH_SRCDIR); do \
echo $$i ; \