Makefile.in, [...]: Create TAGS.sub files in each directory and TAGS files that include them for...

* Makefile.in, objc/Make-lang.in, ada/Make-lang.in, cp/Make-lang.in,
        java/Make-lang.in, f/Make-lang.in: Create TAGS.sub files in each
        directory and TAGS files that include them for each front end.

From-SVN: r73643
This commit is contained in:
Jason Merrill 2003-11-16 01:17:21 -05:00 committed by Jason Merrill
parent 45c00e222f
commit 7d60db051a
11 changed files with 57 additions and 21 deletions

View File

@ -1,3 +1,9 @@
2003-11-16 Jason Merrill <jason@redhat.com>
* Makefile.in, objc/Make-lang.in (objc.tags): Create TAGS.sub
files in each directory and TAGS files that include them for each
front end.
2003-11-15 Kazu Hirata <kazu@cs.umass.edu>
* config/h8300/lib1funcs.asm (divnorm): Store the sign in bit

View File

@ -3364,18 +3364,19 @@ paranoia: paranoia.o real.o $(LIBIBERTY)
# Update the tags table.
TAGS: lang.tags
(cd $(srcdir); \
incs= ; \
list='$(SUBDIRS)'; for dir in $$list; do \
if test -f $$dir/TAGS; then \
incs="$$incs --include $$dir/TAGS"; \
fi; \
done; \
mkdir tmp-tags; \
mv -f c-parse.[ch] tmp-tags; \
etags *.y *.h *.c $$incs; \
mv tmp-tags/* .; \
rmdir tmp-tags)
(cd $(srcdir); \
incs= ; \
list='$(SUBDIRS)'; for dir in $$list; do \
if test -f $$dir/TAGS; then \
incs="$$incs --include $$dir/TAGS.sub"; \
fi; \
done; \
mkdir tmp-tags; \
mv -f c-parse.[ch] tmp-tags; \
etags -o TAGS.sub *.y *.h *.c; \
mv tmp-tags/* .; \
rmdir tmp-tags; \
etags --include TAGS.sub $$incs)
# ------------------------------------------------------
# Bootstrap-related targets (not used during 'make all')

View File

@ -1,3 +1,8 @@
2003-11-16 Jason Merrill <jason@redhat.com>
* Make-lang.in (ada.tags): Create TAGS.sub files in each directory
and TAGS files that include them for each front end.
2003-11-14 Andreas Jaeger <aj@suse.de>
* lang.opt: Change -Wno-long-long to -Wlong-long since the latter

View File

@ -1,4 +1,4 @@
# Top level makefile fragment for GNU Ada (GNAT).
# Top level -*- makefile -*- fragment for GNU Ada (GNAT).
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
# Free Software Foundation, Inc.
@ -432,7 +432,9 @@ ada.start.encap:
ada.rest.encap:
ada.tags: force
cd $(srcdir)/ada; etags *.c *.h *.ads *.adb
cd $(srcdir)/ada; etags -o TAGS.sub *.c *.h *.ads *.adb; \
etags --include TAGS.sub --include ../TAGS.sub
ada.generated-manpages:
# Generate documentation.

View File

@ -1,3 +1,8 @@
2003-11-16 Jason Merrill <jason@redhat.com>
* Make-lang.in (c++.tags): Create TAGS.sub files in each directory
and TAGS files that include them for each front end.
2003-11-15 Bernardo Innocenti <bernie@develer.com>
PR c++/2294

View File

@ -114,7 +114,9 @@ c++.start.encap: g++$(exeext)
c++.rest.encap:
c++.tags: force
cd $(srcdir)/cp; etags *.c *.h
cd $(srcdir)/cp; etags -o TAGS.sub *.c *.h --language=none \
--regex='/DEFTREECODE [(]\([A-Z_]+\)/\1/' cp-tree.def; \
etags --include TAGS.sub --include ../TAGS.sub
generated-manpages:: cp/g++.1

View File

@ -1,3 +1,8 @@
2003-11-16 Jason Merrill <jason@redhat.com>
* Make-lang.in (f77.tags): Create TAGS.sub files in each directory
and TAGS files that include them for each front end.
2003-11-12 Andreas Jaeger <aj@suse.de>
* intdoc.in (Signal Intrinsic (subroutine)): Fix texinfo warning

View File

@ -1,4 +1,4 @@
# Top level makefile fragment for GNU Fortran. -*-makefile-*-
# Top level -*- makefile -*- fragment for GNU Fortran.
# Copyright (C) 1995, 1996, 1997, 1998, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
#This file is part of GNU Fortran.
@ -146,7 +146,8 @@ f77.start.encap: g77$(exeext)
f77.rest.encap:
f77.tags: force
cd $(srcdir)/f; etags *.c *.h
cd $(srcdir)/f; etags -o TAGS.sub *.c *.h; \
etags --include TAGS.sub --include ../TAGS.sub
info:: $(docobjdir)/g77.info
dvi:: $(docobjdir)/g77.dvi
@ -311,7 +312,7 @@ f77.distclean:
-rm -f f/Makefile
f77.extraclean:
f77.maintainer-clean:
-rm -f f/g77.info* f/g77.*aux f/TAGS f/BUGS f/NEWS f/intdoc.texi
-rm -f f/g77.info* f/g77.*aux f/TAGS f/TAGS.sub f/BUGS f/NEWS f/intdoc.texi
#
# Stage hooks:
# The main makefile has already created stage?/f.

View File

@ -1,3 +1,8 @@
2003-11-16 Jason Merrill <jason@redhat.com>
* Make-lang.in (java.tags): Create TAGS.sub files in each directory
and TAGS files that include them for each front end.
2003-11-15 Tom Tromey <tromey@redhat.com>
* gjavah.c (print_stub_or_jni): Pass `env' to FatalError.

View File

@ -1,4 +1,4 @@
# Top level makefile fragment for the GNU compiler for the Java(TM)
# Top level -*- makefile -*- fragment for the GNU compiler for the Java(TM)
# language.
# Copyright (C) 1996, 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
@ -158,7 +158,10 @@ java.rest.encap:
java.tags: force
cd $(srcdir)/java; etags *.y *.c *.h --language=none --regex='/DEFTREECODE [(]\([A-Z_]+\)/\1/' java-tree.def
cd $(srcdir)/java; etags -o TAGS.sub *.y *.c *.h --language=none \
--regex='/DEFTREECODE [(]\([A-Z_]+\)/\1/' java-tree.def; \
etags --include TAGS.sub --include ../TAGS.sub
info:: $(docobjdir)/gcj.info
dvi:: $(docobjdir)/gcj.dvi

View File

@ -104,7 +104,8 @@ objc.start.encap:
objc.rest.encap:
objc.tags: force
cd $(srcdir)/objc; etags *.y *.c *.h
cd $(srcdir)/objc; etags -o TAGS.sub *.y *.c *.h; \
etags --include TAGS.sub --include ../TAGS.sub
#
# Install hooks: