mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-01 15:54:17 +08:00
build: TAGS and .cc transition
A few globs missed in the .c -> .cc transition. Some targets were looking at both *.c and *.cc, but there are no longer any .c files to scan. gcc/ChangeLog: * Makefile.in (TAGS): Look at libcpp/*.cc. gcc/c/ChangeLog: * Make-lang.in (c.tags): Look at *.cc. gcc/cp/ChangeLog: * Make-lang.in (c++.tags): Just look at *.cc. gcc/d/ChangeLog: * Make-lang.in (d.tags): Just look at *.cc. gcc/fortran/ChangeLog: * Make-lang.in (fortran.tags): Look at *.cc. gcc/go/ChangeLog: * Make-lang.in (go.tags): Look at *.cc. gcc/objc/ChangeLog: * Make-lang.in (objc.tags): Look at *.cc. gcc/objcp/ChangeLog: * Make-lang.in (obj-c++.tags): Look at *.cc.
This commit is contained in:
parent
a0bc7fd421
commit
a8b5d63503
@ -4338,10 +4338,10 @@ TAGS: lang.tags
|
||||
incs="$$incs --include $$dir/TAGS.sub"; \
|
||||
fi; \
|
||||
done; \
|
||||
$(ETAGS) -o TAGS.sub c-family/*.h c-family/*.cc c-family/*.cc \
|
||||
*.h *.c *.cc \
|
||||
$(ETAGS) -o TAGS.sub c-family/*.h c-family/*.cc \
|
||||
*.h *.cc \
|
||||
../include/*.h ../libiberty/*.c \
|
||||
../libcpp/*.c ../libcpp/include/*.h \
|
||||
../libcpp/*.cc ../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\|DEFTIMEVAR\|DEFPARAM\|DEFPARAMENUM5\)[ ]?(\([A-Za-z_0-9]+\)/\2/" rtl.def tree.def gimple.def timevar.def \
|
||||
; \
|
||||
|
@ -109,7 +109,7 @@ c.srcinfo:
|
||||
c.srcextra: gengtype-lex.cc
|
||||
-cp -p $^ $(srcdir)
|
||||
c.tags: force
|
||||
cd $(srcdir)/c; $(ETAGS) -o TAGS.sub *.c *.h; \
|
||||
cd $(srcdir)/c; $(ETAGS) -o TAGS.sub *.cc *.h; \
|
||||
$(ETAGS) --include TAGS.sub --include ../TAGS.sub
|
||||
c.man:
|
||||
c.srcman:
|
||||
|
@ -174,7 +174,7 @@ c++.srcinfo:
|
||||
c++.srcextra:
|
||||
|
||||
c++.tags: force
|
||||
cd $(srcdir)/cp; $(ETAGS) -o TAGS.sub *.c *.cc *.h --language=none \
|
||||
cd $(srcdir)/cp; $(ETAGS) -o TAGS.sub *.cc *.h --language=none \
|
||||
--regex='/DEFTREECODE [(]\([A-Z_]+\)/\1/' cp-tree.def; \
|
||||
$(ETAGS) --include TAGS.sub --include ../TAGS.sub
|
||||
|
||||
|
@ -279,7 +279,7 @@ d.srcextra:
|
||||
|
||||
d.tags: force
|
||||
cd $(srcdir)/d; \
|
||||
$(ETAGS) -o TAGS.sub *.c *.cc *.h dmd/*.h dmd/root/*.h; \
|
||||
$(ETAGS) -o TAGS.sub *.cc *.h dmd/*.h dmd/root/*.h; \
|
||||
$(ETAGS) --include TAGS.sub --include ../TAGS.sub
|
||||
|
||||
d.man: doc/gdc.1
|
||||
|
@ -113,7 +113,7 @@ fortran.srcinfo: doc/gfortran.info
|
||||
-cp -p $^ $(srcdir)/fortran
|
||||
|
||||
fortran.tags: force
|
||||
cd $(srcdir)/fortran; $(ETAGS) -o TAGS.sub *.c *.h; \
|
||||
cd $(srcdir)/fortran; $(ETAGS) -o TAGS.sub *.cc *.h; \
|
||||
$(ETAGS) --include TAGS.sub --include ../TAGS.sub
|
||||
|
||||
fortran.info: doc/gfortran.info doc/gfc-internals.info
|
||||
|
@ -133,7 +133,7 @@ go.srcinfo: doc/gccgo.info
|
||||
go.srcextra:
|
||||
go.tags: force
|
||||
cd $(srcdir)/go; \
|
||||
$(ETAGS) -o TAGS.sub *.c *.h gofrontend/*.h gofrontend/*.cc; \
|
||||
$(ETAGS) -o TAGS.sub *.cc *.h gofrontend/*.h gofrontend/*.cc; \
|
||||
$(ETAGS) --include TAGS.sub --include ../TAGS.sub
|
||||
go.man: doc/gccgo.1
|
||||
go.srcman: doc/gccgo.1
|
||||
|
@ -102,7 +102,7 @@ objc.srcman:
|
||||
objc.install-plugin:
|
||||
|
||||
objc.tags: force
|
||||
cd $(srcdir)/objc; $(ETAGS) -o TAGS.sub *.c *.h; \
|
||||
cd $(srcdir)/objc; $(ETAGS) -o TAGS.sub *.cc *.h; \
|
||||
$(ETAGS) --include TAGS.sub --include ../TAGS.sub
|
||||
|
||||
lang_checks += check-objc
|
||||
|
@ -136,7 +136,7 @@ obj-c++.man:
|
||||
obj-c++.install-plugin:
|
||||
|
||||
obj-c++.tags: force
|
||||
cd $(srcdir)/objcp; $(ETAGS) -o TAGS.sub *.c *.h; \
|
||||
cd $(srcdir)/objcp; $(ETAGS) -o TAGS.sub *.cc *.h; \
|
||||
$(ETAGS) --include TAGS.sub --include ../TAGS.sub
|
||||
|
||||
lang_checks += check-obj-c++
|
||||
|
Loading…
Reference in New Issue
Block a user