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

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 84e7813d76e9
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 Objective-C++.
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
2 # Copyright (C) 2005-2020 Free Software Foundation, Inc.
111
kono
parents:
diff changeset
3 # Contributed by Ziemowit Laski <zlaski@apple.com>
kono
parents:
diff changeset
4
kono
parents:
diff changeset
5 #This file is part of GCC.
kono
parents:
diff changeset
6
kono
parents:
diff changeset
7 #GCC is free software; you can redistribute it and/or modify
kono
parents:
diff changeset
8 #it under the terms of the GNU General Public License as published by
kono
parents:
diff changeset
9 #the Free Software Foundation; either version 3, or (at your option)
kono
parents:
diff changeset
10 #any later version.
kono
parents:
diff changeset
11
kono
parents:
diff changeset
12 #GCC is distributed in the hope that it will be useful,
kono
parents:
diff changeset
13 #but WITHOUT ANY WARRANTY; without even the implied warranty of
kono
parents:
diff changeset
14 #MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
kono
parents:
diff changeset
15 #GNU General Public License for more details.
kono
parents:
diff changeset
16
kono
parents:
diff changeset
17 #You should have received a copy of the GNU General Public License
kono
parents:
diff changeset
18 #along with GCC; see the file COPYING3. If not see
kono
parents:
diff changeset
19 #<http://www.gnu.org/licenses/>.
kono
parents:
diff changeset
20
kono
parents:
diff changeset
21 # Configure looks for the existence of this file to auto-config each language.
kono
parents:
diff changeset
22 # We define several parameters used by configure:
kono
parents:
diff changeset
23 #
kono
parents:
diff changeset
24 # language - name of language as it would appear in $(LANGUAGES)
kono
parents:
diff changeset
25 # compilers - value to add to $(COMPILERS)
kono
parents:
diff changeset
26
kono
parents:
diff changeset
27 language="obj-c++"
kono
parents:
diff changeset
28
kono
parents:
diff changeset
29 compilers="cc1objplus\$(exeext)"
kono
parents:
diff changeset
30
kono
parents:
diff changeset
31 # Per GCC Steering Committee.
kono
parents:
diff changeset
32 build_by_default="no"
kono
parents:
diff changeset
33
kono
parents:
diff changeset
34 # By building the Objective-C and C++ front-ends, we will get
kono
parents:
diff changeset
35 # the object files we need, along with the libraries (libstdc++,
kono
parents:
diff changeset
36 # libobjc).
kono
parents:
diff changeset
37 lang_requires="objc c++"
kono
parents:
diff changeset
38 subdir_requires="objc cp"
kono
parents:
diff changeset
39
kono
parents:
diff changeset
40 # When you add to this gtfiles list a header which comes from a
kono
parents:
diff changeset
41 # directory belonging to another language (ie, C++ or ObjC), you need
kono
parents:
diff changeset
42 # to also edit gengtype.c adding a special rule for the header to
kono
parents:
diff changeset
43 # avoid having the GC stuff from that header being added to gtype-cp.h
kono
parents:
diff changeset
44 # or gtype-objc.h.
kono
parents:
diff changeset
45
kono
parents:
diff changeset
46 # Get the C++ FE's gtfiles list. Do this in a subshell, so we can
kono
parents:
diff changeset
47 # extract exactly the gtfiles var, but munge cp-lang.c into objcp-lang.c.
kono
parents:
diff changeset
48 gtfiles="$(. $srcdir/cp/config-lang.in ; \
kono
parents:
diff changeset
49 echo $gtfiles | sed 's+/cp/cp-lang.c +/objcp/objcp-lang.c +')"
kono
parents:
diff changeset
50
kono
parents:
diff changeset
51 # Now add our special bits to it. Please keep this list sorted.
kono
parents:
diff changeset
52 gtfiles="$gtfiles \
kono
parents:
diff changeset
53 \$(srcdir)/objc/objc-act.h \
kono
parents:
diff changeset
54 \$(srcdir)/objc/objc-map.h \
kono
parents:
diff changeset
55 \$(srcdir)/objc/objc-act.c \
kono
parents:
diff changeset
56 \$(srcdir)/objc/objc-gnu-runtime-abi-01.c \
kono
parents:
diff changeset
57 \$(srcdir)/objc/objc-next-runtime-abi-01.c \
kono
parents:
diff changeset
58 \$(srcdir)/objc/objc-next-runtime-abi-02.c \
kono
parents:
diff changeset
59 \$(srcdir)/objc/objc-runtime-shared-support.c \
kono
parents:
diff changeset
60 "
kono
parents:
diff changeset
61