This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch][build] Remove support for LANG_MAKEFILES
- From: Steven Bosscher <stevenb dot gcc at gmail dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>, Paolo Bonzini <bonzini at gnu dot org>
- Date: Mon, 24 May 2010 01:22:25 +0200
- Subject: [patch][build] Remove support for LANG_MAKEFILES
Hi,
Just some build system things I noticed, while trying to figure out
how to poison some RTL stuff when compiling front end files.
The support LANG_MAKEFILES is deprecated since at least GCC 3.4, so if
any out-of-tree front ends still use this, they've had plenty time by
now to catch up.
OK for trunk?
Ciao!
Steven
* configure.ac (all_lang_makefiles): Remove everything related to it.
* configure: Regenerate.
* Makefile.in: Fix reference to ada Make-lang.in.
Remove support for LANG_MAKEFILES.
Index: configure.ac
===================================================================
--- configure.ac (revision 159763)
+++ configure.ac (working copy)
@@ -4232,8 +4232,6 @@ all_compilers=
all_outputs='Makefile gccbug'
# List of language makefile fragments.
all_lang_makefrags=
-# List of language subdirectory makefiles. Deprecated.
-all_lang_makefiles=
# Additional files for gengtype
all_gtfiles="$target_gtfiles"
@@ -4327,9 +4325,6 @@ changequote([,])dnl
if test -f $srcdir/$gcc_subdir/$subdir-tree.def; then
lang_tree_files="$lang_tree_files $srcdir/$gcc_subdir/$subdir-tree.def"
fi
- if test -f ${srcdir}/$gcc_subdir/Makefile.in
- then all_lang_makefiles="$gcc_subdir/Makefile"
- fi
all_languages="$all_languages $language"
all_compilers="$all_compilers $compilers"
all_outputs="$all_outputs $outputs"
@@ -4435,7 +4430,6 @@ AC_SUBST(srcdir)
AC_SUBST(all_compilers)
AC_SUBST(all_gtfiles)
AC_SUBST(all_lang_makefrags)
-AC_SUBST(all_lang_makefiles)
AC_SUBST(all_languages)
AC_SUBST(all_selected_languages)
AC_SUBST(build_exeext)
Index: Makefile.in
===================================================================
--- Makefile.in (revision 159763)
+++ Makefile.in (working copy)
@@ -1020,7 +1020,7 @@ BACKENDLIBS = $(CLOOGLIBS) $(PPLLIBS) $(
# Any system libraries needed just for GNAT.
SYSLIBS = @GNAT_LIBEXC@
-# Used from ada/Make-lang.in
+# Used from ada/gcc-interface/Make-lang.in
GNATBIND = @GNATBIND@
GNATMAKE = @GNATMAKE@
@@ -1055,7 +1055,6 @@ INCLUDES = -I. -I$(@D) -I$(srcdir) -I$(s
# C can be supported this way too (leave for later).
LANG_MAKEFRAGS = @all_lang_makefrags@
-LANG_MAKEFILES = @all_lang_makefiles@
# Flags to pass to recursive makes.
# CC is set by configure.