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]

[committed] libada merge part 1: support in gcc dir


libada-mk.in stores the configuration variables from GCC configuration
which get used directly by the libada Makefile.  It's mildly hackish but
a lot better than what's done know.

Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ChangeLog,v
retrieving revision 2.3405
diff -u -r2.3405 ChangeLog
--- ChangeLog	15 Apr 2004 02:43:39 -0000	2.3405
+++ ChangeLog	15 Apr 2004 03:29:27 -0000
@@ -1,3 +1,9 @@
+2004-04-14  Nathanael Nerode  <neroden@gcc.gnu.org>
+
+	* libada-mk.in: New file.
+	* configure.ac: Create libada-mk from libada-mk.in.
+	* configure: Regenerate.
+
 2004-04-14  Uros Bizjak  <uros@kss-loka.si>
 
 	* optabs.h (enum optab_index): Add new OTI_logb and OTI_ilogb.
Index: configure.ac
===================================================================
RCS file: /cvs/gcc/gcc/gcc/configure.ac,v
retrieving revision 2.30
diff -u -r2.30 configure.ac
--- configure.ac	7 Apr 2004 01:20:59 -0000	2.30
+++ configure.ac	15 Apr 2004 03:29:29 -0000
@@ -2855,7 +2855,7 @@
 all_boot_languages=
 all_compilers=
 all_stagestuff=
-all_outputs='Makefile fixinc/Makefile gccbug mklibgcc mkheaders'
+all_outputs='Makefile fixinc/Makefile gccbug mklibgcc mkheaders libada-mk'
 # List of language makefile fragments.
 all_lang_makefrags=
 # List of language subdirectory makefiles.  Deprecated.
Index: libada-mk.in
===================================================================
RCS file: libada-mk.in
diff -N libada-mk.in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ libada-mk.in	15 Apr 2004 03:29:29 -0000
@@ -0,0 +1,34 @@
+# Copyright 2004 Free Software Foundation, Inc.
+
+#This file is part of GCC.
+
+#GCC is free software; you can redistribute it and/or modify
+#it under the terms of the GNU General Public License as published by
+#the Free Software Foundation; either version 2, or (at your option)
+#any later version.
+
+#GCC is distributed in the hope that it will be useful,
+#but WITHOUT ANY WARRANTY; without even the implied warranty of
+#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#GNU General Public License for more details.
+
+#You should have received a copy of the GNU General Public License
+#along with GCC; see the file COPYING.  If not, write to
+#the Free Software Foundation, 59 Temple Place - Suite 330,
+#Boston MA 02111-1307, USA.
+
+# GCC's Makefile fragment for libada.
+# libada needs some information from the GCC configure file at the moment,
+# and this exists to transfer that information in as clean a way as possible.
+
+exeext=@host_exeext@
+libdir=@libdir@
+gcc_version=@gcc_version@
+NOCOMMON_FLAG=@nocommon_flag@
+WARN_CFLAGS=@warn_cflags@
+cc_set_by_configure=@cc_set_by_configure@
+gcc_tmake_file=@tmake_file@
+gcc_xmake_file=@xmake_file@
+
+# This really shouldn't be needed, but for now...
+CC=@CC@

-- 
Honesty is the best policy.


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