Debian Codegraph @

gcc/m2/config-lang.in

raw
1 # Top level configure fragment for GNU Modula-2.
2 # Copyright (C) 2000-2025 Free Software Foundation, Inc.
3
4 # This file is part of GCC.
5
6 # GCC is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 3, or (at your option)
9 # any later version.
10
11 # GCC is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
15
16 # You should have received a copy of the GNU General Public License
17 # along with GCC; see the file COPYING3. If not see
18 # <http://www.gnu.org/licenses/>.
19
20 # Configure looks for the existence of this file to auto-config each language.
21 # We define several parameters used by configure:
22 #
23 # language - name of language as it would appear in $(LANGUAGES)
24 # compilers - value to add to $(COMPILERS)
25 # stagestuff - files to add to $(STAGESTUFF)
26
27 language="m2"
28
29 compilers="cc1gm2\$(exeext)"
30
31 stagestuff="gm2\$(exeext) cc1gm2\$(exeext) cc1gm2-cross\$(exeext)"
32
33 target_libs="target-libstdc++-v3 target-libgm2"
34
35 # The Modula-2 frontend needs C++ compiler during stage 1.
36 lang_requires_boot_languages=c++
37
38 # Do not build by default.
39 build_by_default="no"
40
41 gtfiles="\$(srcdir)/m2/gm2-lang.cc \
42 \$(srcdir)/m2/gm2-lang.h \
43 \$(srcdir)/m2/gm2-gcc/rtegraph.cc \
44 \$(srcdir)/m2/gm2-gcc/m2block.cc \
45 \$(srcdir)/m2/gm2-gcc/m2builtins.cc \
46 \$(srcdir)/m2/gm2-gcc/m2decl.cc \
47 \$(srcdir)/m2/gm2-gcc/m2except.cc \
48 \$(srcdir)/m2/gm2-gcc/m2expr.cc \
49 \$(srcdir)/m2/gm2-gcc/m2statement.cc \
50 \$(srcdir)/m2/gm2-gcc/m2type.cc"
51
52 outputs="m2/config-make \
53 m2/Make-maintainer \
54 "