]>
Commit | Line | Data |
---|---|---|
4e089a75 | 1 | # Top level configure fragment for GNU Objective-C |
99dee823 | 2 | # Copyright (C) 1997-2021 Free Software Foundation, Inc. |
14bb9bd8 | 3 | |
b9593599 | 4 | #This file is part of GCC. |
14bb9bd8 | 5 | |
b9593599 | 6 | #GCC is free software; you can redistribute it and/or modify |
14bb9bd8 | 7 | #it under the terms of the GNU General Public License as published by |
2b7d992a | 8 | #the Free Software Foundation; either version 3, or (at your option) |
14bb9bd8 RK |
9 | #any later version. |
10 | ||
b9593599 | 11 | #GCC is distributed in the hope that it will be useful, |
14bb9bd8 RK |
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 | ||
2b7d992a NC |
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/>. | |
14bb9bd8 RK |
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) | |
14bb9bd8 RK |
25 | |
26 | language="objc" | |
27 | ||
28 | compilers="cc1obj\$(exeext)" | |
29 | ||
2b60b2cb | 30 | target_libs=target-libobjc |
e2500fed | 31 | |
1970d8c5 ZL |
32 | # Most of the object files for cc1obj actually come from C. |
33 | lang_requires="c" | |
34 | ||
43e4226b NP |
35 | # Order is important. If you change this list, make sure you test |
36 | # building without C++ as well; that is, remove the gcc/cp directory, | |
37 | # and build with --enable-languages=c,objc. | |
8a6c4d31 | 38 | gtfiles="\$(srcdir)/objc/objc-map.h \$(srcdir)/c-family/c-objc.h \$(srcdir)/objc/objc-act.h \$(srcdir)/objc/objc-act.c \$(srcdir)/objc/objc-runtime-shared-support.c \$(srcdir)/objc/objc-gnu-runtime-abi-01.c \$(srcdir)/objc/objc-next-runtime-abi-01.c \$(srcdir)/objc/objc-next-runtime-abi-02.c \$(srcdir)/c/c-parser.h \$(srcdir)/c/c-parser.c \$(srcdir)/c/c-tree.h \$(srcdir)/c/c-decl.c \$(srcdir)/c/c-lang.h \$(srcdir)/c/c-objc-common.c \$(srcdir)/c-family/c-common.c \$(srcdir)/c-family/c-common.h \$(srcdir)/c-family/c-cppbuiltin.c \$(srcdir)/c-family/c-pragma.h \$(srcdir)/c-family/c-pragma.c \$(srcdir)/c-family/c-format.c" |