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 install-normal target


I noticed that the install-normal target isn't used by any front end (anymore?).
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

Rafael

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

                  * gcc/Makefile.in: Removed the install-normal target
                  * gcc/configure: Removed the install-normal target
                  * gcc/configure.ac:  Removed the install-normal target
                  * gcc/ada/Make-lang.in:  Removed the install-normal target
                  * gcc/cp/Make-lang.in:  Removed the install-normal target
                  * gcc/doc/sourcebuild.texi:  Removed the install-normal target
                  * gcc/fortran/Make-lang.in: Removed the install-normal target
                  * gcc/java/Make-lang.in: Removed the install-normal target
                  * gcc/objc/Make-lang.in:  Removed the install-normal target
                  * gcc/objcp/Make-lang.in:  Removed the install-normal target
                  * gcc/treelang/Make-lang.in:  Removed the
install-normal target
Index: gcc/Makefile.in
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/Makefile.in,v
retrieving revision 1.1542
diff -u -3 -p -u -r1.1542 Makefile.in
--- gcc/Makefile.in	26 Sep 2005 18:44:16 -0000	1.1542
+++ gcc/Makefile.in	27 Sep 2005 16:51:52 -0000
@@ -1038,7 +1038,7 @@ LIB2_DIVMOD_FUNCS = _divdi3 _moddi3 _udi
 # The following targets define the interface between us and the languages.
 #
 # all.cross, start.encap, rest.encap,
-# install-normal, install-common, install-info, install-man,
+# install-common, install-info, install-man,
 # uninstall,
 # mostlyclean, clean, distclean, maintainer-clean,
 # stage1, stage2, stage3, stage4
@@ -3524,7 +3524,7 @@ maintainer-clean:
 # broken is small.
 install: install-common $(INSTALL_HEADERS) $(INSTALL_LIBGCC) \
     install-cpp install-man install-info install-@POSUB@ \
-    lang.install-normal install-driver
+    install-driver
 
 # Handle cpp installation.
 install-cpp: installdirs cpp$(exeext)
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	27 Sep 2005 16:52:00 -0000
@@ -15794,7 +15794,7 @@ done
 rm -f Make-hooks
 touch Make-hooks
 target_list="all.build all.cross start.encap rest.encap tags \
-	install-normal install-common install-man \
+	install-common install-man \
 	uninstall info man srcextra srcman srcinfo \
 	mostlyclean clean distclean maintainer-clean \
 	stage1 stage2 stage3 stage4 stageprofile stagefeedback"
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	27 Sep 2005 16:52:06 -0000
@@ -3226,7 +3226,7 @@ done
 rm -f Make-hooks
 touch Make-hooks
 target_list="all.build all.cross start.encap rest.encap tags \
-	install-normal install-common install-man \
+	install-common install-man \
 	uninstall info man srcextra srcman srcinfo \
 	mostlyclean clean distclean maintainer-clean \
 	stage1 stage2 stage3 stage4 stageprofile stagefeedback"
Index: gcc/ada/Make-lang.in
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/ada/Make-lang.in,v
retrieving revision 1.105
diff -u -3 -p -u -r1.105 Make-lang.in
--- gcc/ada/Make-lang.in	5 Sep 2005 07:46:57 -0000	1.105
+++ gcc/ada/Make-lang.in	27 Sep 2005 16:52:11 -0000
@@ -23,7 +23,7 @@
 # Each language makefile fragment must provide the following targets:
 #
 # foo.all.cross, foo.start.encap, foo.rest.encap,
-# foo.install-normal, foo.install-common, foo.install-man,
+# foo.install-common, foo.install-man,
 # foo.uninstall, foo.mostlyclean, foo.clean, foo.distclean,
 # foo.maintainer-clean, foo.stage1, foo.stage2, foo.stage3, foo.stage4
 #
@@ -444,8 +444,6 @@ doc/gnat-style.dvi: ada/gnat-style.texi 
 
 # Install hooks:
 # gnat1 is installed elsewhere as part of $(COMPILERS).
-
-ada.install-normal:
 
 # Install the binder program as $(target_noncanonical)-gnatbind
 # and also as either gnatbind (if native) or $(tooldir)/bin/gnatbind
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	27 Sep 2005 16:52:14 -0000
@@ -24,7 +24,7 @@
 # Each language makefile fragment must provide the following targets:
 #
 # foo.all.build, foo.all.cross, foo.start.encap, foo.rest.encap,
-# foo.install-normal, foo.install-common, foo.install-man,
+# foo.install-common, foo.install-man,
 # foo.uninstall,
 # foo.mostlyclean, foo.clean, foo.distclean,
 # foo.maintainer-clean, foo.stage1, foo.stage2, foo.stage3, foo.stage4
@@ -145,9 +145,6 @@ lang_checks += check-g++
 #
 # Install hooks:
 # cc1plus is installed elsewhere as part of $(COMPILERS).
-
-# Nothing to do here.
-c++.install-normal:
 
 # Install the driver program as $(target)-g++
 # and also as either g++ (if native) or $(tooldir)/bin/g++.
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	27 Sep 2005 16:52:17 -0000
@@ -601,8 +601,6 @@ Build generated man pages for the front 
 is only called if the necessary tools are available, but should ignore
 errors so as not to stop the build if errors occur; man pages are
 optional and the tools involved may be installed in a broken way.
-@item install-normal
-FIXME: what is this target for?
 @item install-common
 Install everything that is part of the front end, apart from the
 compiler executables listed in @code{compilers} in
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	27 Sep 2005 16:52:17 -0000
@@ -26,7 +26,7 @@
 #
 # foo.all.build, foo.all.cross, foo.start.encap, foo.rest.encap,
 # foo.info
-# foo.install-normal, foo.install-common, foo.install-info, foo.install-man,
+# foo.install-common, foo.install-info, foo.install-man,
 # foo.uninstall, foo.distdir,
 # foo.mostlyclean, foo.clean, foo.distclean, foo.extraclean,
 # foo.maintainer-clean, foo.stage1, foo.stage2, foo.stage3, foo.stage4
@@ -181,9 +181,6 @@ gfortran.pod: $(GFORTRAN_TEXI)
 #
 # Install hooks:
 # f951 is installed elsewhere as part of $(COMPILERS).
-
-# Nothing to do here.
-fortran.install-normal:
 
 # Install the driver program as $(target)-gfortran
 # and also as either gfortran (if native) or $(tooldir)/bin/gfortran.
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	27 Sep 2005 16:52:17 -0000
@@ -27,7 +27,7 @@
 # Each language makefile fragment must provide the following targets:
 #
 # foo.all.build, foo.all.cross, foo.start.encap, foo.rest.encap,
-# foo.install-normal, foo.install-common, foo.install-man,
+# foo.install-common, foo.install-man,
 # foo.uninstall,
 # foo.mostlyclean, foo.clean, foo.distclean,
 # foo.maintainer-clean, foo.stage1, foo.stage2, foo.stage3, foo.stage4
@@ -196,9 +196,6 @@ check-java :
 # Install hooks:
 # jc1, gcj, jvgenmain, and gcjh are installed elsewhere as part
 # of $(COMPILERS).
-
-# Nothing to do here.
-java.install-normal:
 
 # Install gcj as well as the target-independent tools.
 # For a native build, we special-case gcjh and also install
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	27 Sep 2005 16:52:17 -0000
@@ -23,7 +23,7 @@
 # Each language makefile fragment must provide the following targets:
 #
 # foo.all.build, foo.all.cross, foo.start.encap, foo.rest.encap,
-# foo.install-normal, foo.install-common, foo.install-man,
+# foo.install-common, foo.install-man,
 # foo.uninstall,
 # foo.mostlyclean, foo.clean, foo.distclean,
 # foo.maintainer-clean, foo.stage1, foo.stage2, foo.stage3, foo.stage4
@@ -105,8 +105,6 @@ lang_checks += check-objc
 #
 # Install hooks:
 # cc1obj is installed elsewhere as part of $(COMPILERS).
-
-objc.install-normal:
 
 objc.install-common:
 
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	27 Sep 2005 16:52:17 -0000
@@ -23,7 +23,7 @@
 # Each language makefile fragment must provide the following targets:
 #
 # foo.all.build, foo.all.cross, foo.start.encap, foo.rest.encap,
-# foo.install-normal, foo.install-common, foo.install-man,
+# foo.install-common, foo.install-man,
 # foo.uninstall,
 # foo.mostlyclean, foo.clean, foo.distclean,
 # foo.maintainer-clean, foo.stage1, foo.stage2, foo.stage3, foo.stage4
@@ -112,8 +112,6 @@ lang_checks += check-obj-c++
 #
 # Install hooks:
 # cc1objplus is installed elsewhere as part of $(COMPILERS).
-
-obj-c++.install-normal:
 
 obj-c++.install-common:
 
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	27 Sep 2005 16:52:33 -0000
@@ -24,7 +24,7 @@
 # Each language makefile fragment must provide the following targets:
 #
 # foo.all.build, foo.all.cross, foo.start.encap, foo.rest.encap,
-# foo.install-normal, foo.install-common, foo.install-man,
+# foo.install-common, foo.install-man,
 # foo.uninstall, foo.distdir,
 # foo.mostlyclean, foo.clean, foo.distclean,
 # foo.maintainer-clean, foo.stage1, foo.stage2, foo.stage3, foo.stage4
@@ -185,9 +185,6 @@ $(htmldir)/treelang/index.html: $(TEXI_T
 
 #
 # Install hooks:
-
-# Nothing to do here.
-treelang.install-normal: treelang.install.common
 
 # Install
 .phony:treelang.install.common


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