Make-lang.in (c.tags): Also include libcpp TAGS.

gcc/c/
	* Make-lang.in (c.tags): Also include libcpp TAGS.
gcc/cp/
	* Make-lang.in (c++.tags): Also include libcpp TAGS.

From-SVN: r229504
This commit is contained in:
Jason Merrill 2015-10-28 15:45:33 -04:00 committed by Jason Merrill
parent 4839652517
commit 08585fba89
4 changed files with 13 additions and 6 deletions

View File

@ -1,3 +1,7 @@
2015-10-28 Jason Merrill <jason@redhat.com>
* Makefile.in (TAGS): Include libcpp and libiberty.
2015-10-28 Nathan Sidwell <nathan@codesourcery.com>
* omp-low.c (MASK_GANG, MASK_WORKER, MASK_VECTOR): Delete.

View File

@ -3907,7 +3907,8 @@ TAGS: lang.tags
fi; \
done; \
etags -o TAGS.sub c-family/*.h c-family/*.c *.h *.c *.cc \
../include/*.h \
../include/*.h ../libiberty/*.c \
../libcpp/*.c ../libcpp/include/*.h \
--language=none --regex="/\(char\|unsigned int\|int\|bool\|void\|HOST_WIDE_INT\|enum [A-Za-z_0-9]+\) [*]?\([A-Za-z_0-9]+\)/\2/" common.opt \
--language=none --regex="/\(DEF_RTL_EXPR\|DEFTREECODE\|DEFGSCODE\).*(\([A-Za-z_0-9]+\)/\2/" rtl.def tree.def gimple.def \
--language=none --regex="/DEFTIMEVAR (\([A-Za-z_0-9]+\)/\1/" timevar.def \

View File

@ -1,3 +1,7 @@
2015-10-28 Jason Merrill <jason@redhat.com>
* Makefile.in (TAGS): Fix for separate build directory.
2015-10-18 Roland McGrath <roland@gnu.org>
Iain Sandoe <iain@codesourcery.com>

View File

@ -406,12 +406,10 @@ stamp-noasandir:
else true; fi
touch stamp-noasandir
.PHONY: all etags tags ls clean stage1 stage2
.PHONY: all etags tags TAGS ls clean stage1 stage2
etags tags: TAGS etags-subdir
TAGS: $(CFILES)
etags `for i in $(CFILES); do echo $(srcdir)/$$i ; done`
etags tags TAGS: etags-subdir
cd $(srcdir); etags $(CFILES)
# The standalone demangler (c++filt) has been moved to binutils.
# But make this target work anyway for demangler hacking.