OSDN Git Service

* Makefile.in (TAGS_SOURCES): New variable.
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 16 Apr 2008 21:10:37 +0000 (21:10 +0000)
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 16 Apr 2008 21:10:37 +0000 (21:10 +0000)
(TAGS): New target.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@134367 138bc75d-0d04-0410-961f-82ee72b054a4

libcpp/ChangeLog
libcpp/Makefile.in

index 02de9d0..0eb632f 100644 (file)
@@ -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-*-*
index 4112c66..e4d6a48 100644 (file)
@@ -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.