aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2008-04-16 21:10:37 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2008-04-16 21:10:37 +0000
commitf521616b0743d813344cd5bbc132b23361a73202 (patch)
treeff7afc917872772032c2e06c84d50688779e810c /libcpp
parent6bd88715f8ebd799d28f4d6d2505973664a13e21 (diff)
* Makefile.in (TAGS_SOURCES): New variable.
(TAGS): New target. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@134367 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libcpp')
-rw-r--r--libcpp/ChangeLog5
-rw-r--r--libcpp/Makefile.in6
2 files changed, 11 insertions, 0 deletions
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog
index 02de9d0c515..0eb632f92f9 100644
--- a/libcpp/ChangeLog
+++ b/libcpp/ChangeLog
@@ -1,3 +1,8 @@
+2008-04-16 Tom Tromey <tromey@redhat.com>
+
+ * Makefile.in (TAGS_SOURCES): New variable.
+ (TAGS): New target.
+
2008-04-11 Kaz Kojima <kkojima@gcc.gnu.org>
* configure.ac: (need_64bit_hwint): Need 64bit hwint for sh-*-*
diff --git a/libcpp/Makefile.in b/libcpp/Makefile.in
index 4112c6633de..e4d6a485d17 100644
--- a/libcpp/Makefile.in
+++ b/libcpp/Makefile.in
@@ -246,6 +246,12 @@ po/$(PACKAGE).pot: $(libcpp_a_SOURCES)
sed 's:$(srcdir)/::g' <po/$(PACKAGE).pot.tmp >po/$(PACKAGE).pot
rm po/$(PACKAGE).pot.tmp
+TAGS_SOURCES = $(libcpp_a_SOURCES) makedepend.c internal.h ucnid.h \
+ include/line-map.h include/symtab.h include/cpp-id-data.h \
+ include/cpplib.h include/mkdeps.h system.h
+
+TAGS: $(TAGS_SOURCES)
+ cd $(srcdir) && etags $(TAGS_SOURCES)
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.