annotate gcc/ada/gcc-interface/config-lang.in @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 04ced10e8804
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 # Top level configure fragment for GNU Ada (GNAT).
kono
parents:
diff changeset
2 # Copyright (C) 1994-2013 Free Software Foundation, Inc.
kono
parents:
diff changeset
3
kono
parents:
diff changeset
4 #This file is part of GCC.
kono
parents:
diff changeset
5
kono
parents:
diff changeset
6 #GCC is free software; you can redistribute it and/or modify
kono
parents:
diff changeset
7 #it under the terms of the GNU General Public License as published by
kono
parents:
diff changeset
8 #the Free Software Foundation; either version 3, or (at your option)
kono
parents:
diff changeset
9 #any later version.
kono
parents:
diff changeset
10
kono
parents:
diff changeset
11 #GCC is distributed in the hope that it will be useful,
kono
parents:
diff changeset
12 #but WITHOUT ANY WARRANTY; without even the implied warranty of
kono
parents:
diff changeset
13 #MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
kono
parents:
diff changeset
14 #GNU General Public License for more details.
kono
parents:
diff changeset
15
kono
parents:
diff changeset
16 #You should have received a copy of the GNU General Public License
kono
parents:
diff changeset
17 #along with GCC; see the file COPYING3. If not see
kono
parents:
diff changeset
18 #<http://www.gnu.org/licenses/>.
kono
parents:
diff changeset
19
kono
parents:
diff changeset
20 # Configure looks for the existence of this file to auto-config each language.
kono
parents:
diff changeset
21 # We define several parameters used by configure:
kono
parents:
diff changeset
22 #
kono
parents:
diff changeset
23 # language - name of language as it would appear in $(LANGUAGES)
kono
parents:
diff changeset
24 # gcc_subdir - where the gcc integration files are to be found
kono
parents:
diff changeset
25 # boot_language - "yes" if we need to build this language in stage1
kono
parents:
diff changeset
26 # compilers - value to add to $(COMPILERS)
kono
parents:
diff changeset
27
kono
parents:
diff changeset
28 language="ada"
kono
parents:
diff changeset
29 gcc_subdir="ada/gcc-interface"
kono
parents:
diff changeset
30 boot_language=yes
kono
parents:
diff changeset
31 compilers="gnat1\$(exeext)"
kono
parents:
diff changeset
32
kono
parents:
diff changeset
33 gtfiles="\$(srcdir)/ada/gcc-interface/ada-tree.h \$(srcdir)/ada/gcc-interface/gigi.h \$(srcdir)/ada/gcc-interface/decl.c \$(srcdir)/ada/gcc-interface/trans.c \$(srcdir)/ada/gcc-interface/utils.c \$(srcdir)/ada/gcc-interface/misc.c"
kono
parents:
diff changeset
34
kono
parents:
diff changeset
35 outputs="ada/gcc-interface/Makefile ada/Makefile"
kono
parents:
diff changeset
36
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 111
diff changeset
37 # gnattools native builds use both $(CC) and $(CXX), see PR81878.
1830386684a0 gcc-9.2.0
anatofuz
parents: 111
diff changeset
38 # This is not too onerous: C is always enabled anyway, and C++ is
1830386684a0 gcc-9.2.0
anatofuz
parents: 111
diff changeset
39 # always enabled for bootstrapping. Use here the same logic used in
1830386684a0 gcc-9.2.0
anatofuz
parents: 111
diff changeset
40 # gnattools/configure to decide whether to use -native or -cross tools
1830386684a0 gcc-9.2.0
anatofuz
parents: 111
diff changeset
41 # for the build.
1830386684a0 gcc-9.2.0
anatofuz
parents: 111
diff changeset
42 if test "x$cross_compiling/$build/$host" = "xno/$host/$target" ; then
1830386684a0 gcc-9.2.0
anatofuz
parents: 111
diff changeset
43 lang_requires="c c++"
1830386684a0 gcc-9.2.0
anatofuz
parents: 111
diff changeset
44 fi
1830386684a0 gcc-9.2.0
anatofuz
parents: 111
diff changeset
45
111
kono
parents:
diff changeset
46 target_libs="target-libada"
kono
parents:
diff changeset
47 lang_dirs="gnattools"
kono
parents:
diff changeset
48
kono
parents:
diff changeset
49 # Ada is not enabled by default for the time being.
kono
parents:
diff changeset
50 build_by_default=no