This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] removes the all.build target


I noticed that the all.build target isn't used by any front end.
The attached patch removes it.

Tested with:
../gcc/configure
--enable-languages=c,c++,fortran,java,objc,obj-c++,treelang
--prefix=/work/gcc/inst/

make bootstrap
make install

:ADDPATCH build:
Rafael

2005-09-27  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>

                  * gcc/configure: Removed the all.build target
                  * gcc/configure.ac:  Removed the all.build target
                  * gcc/cp/Make-lang.in:  Removed the all.build target
                  * gcc/doc/sourcebuild.texi:  Removed the all.build target
                  * gcc/fortran/Make-lang.in: Removed the all.build target
                  * gcc/java/Make-lang.in: Removed the all.build target
                  * gcc/objc/Make-lang.in:  Removed the all.build target
                  * gcc/objcp/Make-lang.in:  Removed the all.build target
                  * gcc/treelang/Make-lang.in:  Removed the all.build target
Index: gcc/configure
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/configure,v
retrieving revision 1.923
diff -u -3 -p -u -r1.923 configure
--- gcc/configure	24 Aug 2005 01:38:05 -0000	1.923
+++ gcc/configure	3 Oct 2005 22:46:29 -0000
@@ -15793,7 +15793,7 @@ done
 
 rm -f Make-hooks
 touch Make-hooks
-target_list="all.build all.cross start.encap rest.encap tags \
+target_list="all.cross start.encap rest.encap tags \
 	install-normal install-common install-man \
 	uninstall info man srcextra srcman srcinfo \
 	mostlyclean clean distclean maintainer-clean \
Index: gcc/configure.ac
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/configure.ac,v
retrieving revision 2.128
diff -u -3 -p -u -r2.128 configure.ac
--- gcc/configure.ac	24 Aug 2005 01:38:05 -0000	2.128
+++ gcc/configure.ac	3 Oct 2005 22:46:29 -0000
@@ -3225,7 +3225,7 @@ done
 
 rm -f Make-hooks
 touch Make-hooks
-target_list="all.build all.cross start.encap rest.encap tags \
+target_list="all.cross start.encap rest.encap tags \
 	install-normal install-common install-man \
 	uninstall info man srcextra srcman srcinfo \
 	mostlyclean clean distclean maintainer-clean \
Index: gcc/cp/Make-lang.in
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/cp/Make-lang.in,v
retrieving revision 1.215
diff -u -3 -p -u -r1.215 Make-lang.in
--- gcc/cp/Make-lang.in	9 Jul 2005 15:45:08 -0000	1.215
+++ gcc/cp/Make-lang.in	3 Oct 2005 22:46:30 -0000
@@ -23,7 +23,7 @@
 # This file provides the language dependent support in the main Makefile.
 # Each language makefile fragment must provide the following targets:
 #
-# foo.all.build, foo.all.cross, foo.start.encap, foo.rest.encap,
+# foo.all.cross, foo.start.encap, foo.rest.encap,
 # foo.install-normal, foo.install-common, foo.install-man,
 # foo.uninstall,
 # foo.mostlyclean, foo.clean, foo.distclean,
@@ -117,7 +117,6 @@ gt-cp-rtti.h gt-cp-cp-objcp-common.h: s-
 #
 # Build hooks:
 
-c++.all.build: g++$(exeext)
 c++.all.cross: g++-cross$(exeext)
 c++.start.encap: g++$(exeext)
 c++.rest.encap:
Index: gcc/doc/sourcebuild.texi
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/doc/sourcebuild.texi,v
retrieving revision 1.73
diff -u -3 -p -u -r1.73 sourcebuild.texi
--- gcc/doc/sourcebuild.texi	23 Sep 2005 01:43:48 -0000	1.73
+++ gcc/doc/sourcebuild.texi	3 Oct 2005 22:46:30 -0000
@@ -575,7 +575,6 @@ standard rule in @file{gcc/Makefile.in} 
 @code{lang_checks}.
 
 @table @code
-@item all.build
 @itemx all.cross
 @itemx start.encap
 @itemx rest.encap
Index: gcc/fortran/Make-lang.in
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/fortran/Make-lang.in,v
retrieving revision 1.23
diff -u -3 -p -u -r1.23 Make-lang.in
--- gcc/fortran/Make-lang.in	18 Sep 2005 17:33:40 -0000	1.23
+++ gcc/fortran/Make-lang.in	3 Oct 2005 22:46:30 -0000
@@ -24,7 +24,7 @@
 # This file provides the language dependent support in the main Makefile.
 # Each language makefile fragment must provide the following targets:
 #
-# foo.all.build, foo.all.cross, foo.start.encap, foo.rest.encap,
+# foo.all.cross, foo.start.encap, foo.rest.encap,
 # foo.info
 # foo.install-normal, foo.install-common, foo.install-info, foo.install-man,
 # foo.uninstall, foo.distdir,
@@ -118,7 +118,6 @@ gt-fortran-trans-intrinsic.h		      : s-
 #
 # Build hooks:
 
-fortran.all.build: gfortran$(exeext)
 fortran.all.cross: gfortran-cross$(exeext)
 
 fortran.start.encap: gfortran$(exeext)
Index: gcc/java/Make-lang.in
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/java/Make-lang.in,v
retrieving revision 1.164
diff -u -3 -p -u -r1.164 Make-lang.in
--- gcc/java/Make-lang.in	15 Aug 2005 21:26:32 -0000	1.164
+++ gcc/java/Make-lang.in	3 Oct 2005 22:46:30 -0000
@@ -26,7 +26,7 @@
 # This file provides the language dependent support in the main Makefile.
 # Each language makefile fragment must provide the following targets:
 #
-# foo.all.build, foo.all.cross, foo.start.encap, foo.rest.encap,
+# foo.all.cross, foo.start.encap, foo.rest.encap,
 # foo.install-normal, foo.install-common, foo.install-man,
 # foo.uninstall,
 # foo.mostlyclean, foo.clean, foo.distclean,
@@ -163,7 +163,6 @@ jvgenmain$(exeext): $(JVGENMAIN_OBJS) $(
 #
 # Build hooks:
 
-java.all.build: $(GCJ)$(exeext)
 java.all.cross: $(GCJ)-cross$(exeext)
 java.start.encap: $(GCJ)$(exeext)
 java.rest.encap:
Index: gcc/objc/Make-lang.in
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/objc/Make-lang.in,v
retrieving revision 1.82
diff -u -3 -p -u -r1.82 Make-lang.in
--- gcc/objc/Make-lang.in	3 Jul 2005 14:45:35 -0000	1.82
+++ gcc/objc/Make-lang.in	3 Oct 2005 22:46:30 -0000
@@ -22,7 +22,7 @@
 # This file provides the language dependent support in the main Makefile.
 # Each language makefile fragment must provide the following targets:
 #
-# foo.all.build, foo.all.cross, foo.start.encap, foo.rest.encap,
+# foo.all.cross, foo.start.encap, foo.rest.encap,
 # foo.install-normal, foo.install-common, foo.install-man,
 # foo.uninstall,
 # foo.mostlyclean, foo.clean, foo.distclean,
@@ -87,7 +87,6 @@ gt-objc-objc-act.h : s-gtype ; @true
 #
 # Build hooks:
 
-objc.all.build:
 objc.all.cross:
 objc.start.encap:
 objc.rest.encap:
Index: gcc/objcp/Make-lang.in
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/objcp/Make-lang.in,v
retrieving revision 1.7
diff -u -3 -p -u -r1.7 Make-lang.in
--- gcc/objcp/Make-lang.in	3 Jul 2005 14:45:35 -0000	1.7
+++ gcc/objcp/Make-lang.in	3 Oct 2005 22:46:30 -0000
@@ -22,7 +22,7 @@
 # This file provides the language dependent support in the main Makefile.
 # Each language makefile fragment must provide the following targets:
 #
-# foo.all.build, foo.all.cross, foo.start.encap, foo.rest.encap,
+# foo.all.cross, foo.start.encap, foo.rest.encap,
 # foo.install-normal, foo.install-common, foo.install-man,
 # foo.uninstall,
 # foo.mostlyclean, foo.clean, foo.distclean,
@@ -94,7 +94,6 @@ gtype-objcp.h : s-gtype ; @true
 #
 # Build hooks:
 
-obj-c++.all.build:
 obj-c++.all.cross:
 obj-c++.start.encap:
 obj-c++.rest.encap:
Index: gcc/treelang/Make-lang.in
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/treelang/Make-lang.in,v
retrieving revision 1.56
diff -u -3 -p -u -r1.56 Make-lang.in
--- gcc/treelang/Make-lang.in	6 Aug 2005 18:25:31 -0000	1.56
+++ gcc/treelang/Make-lang.in	3 Oct 2005 22:46:34 -0000
@@ -23,7 +23,7 @@
 # This file provides the language dependent support in the main Makefile.
 # Each language makefile fragment must provide the following targets:
 #
-# foo.all.build, foo.all.cross, foo.start.encap, foo.rest.encap,
+# foo.all.cross, foo.start.encap, foo.rest.encap,
 # foo.install-normal, foo.install-common, foo.install-man,
 # foo.uninstall, foo.distdir,
 # foo.mostlyclean, foo.clean, foo.distclean,
@@ -143,7 +143,6 @@ gt-treelang-tree1.h gtype-treelang.h : s
 #
 # Build hooks:
 
-treelang.all.build: treelang
 treelang.all.cross:
 	_error_not_here_yet - havent even thought about it - it may even work
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]