| 1 |
# Top level configure fragment for GNU Objective-C |
| 2 |
# Copyright (C) 1997-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 |
|
| 26 |
language="objc" |
| 27 |
|
| 28 |
compilers="cc1obj\$(exeext)" |
| 29 |
|
| 30 |
target_libs=target-libobjc |
| 31 |
|
| 32 |
# Most of the object files for cc1obj actually come from C. |
| 33 |
lang_requires="c" |
| 34 |
|
| 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. |
| 38 |
gtfiles="\$(srcdir)/objc/objc-map.h \$(srcdir)/c-family/c-objc.h \$(srcdir)/objc/objc-act.h \$(srcdir)/objc/objc-act.cc \$(srcdir)/objc/objc-runtime-shared-support.cc \$(srcdir)/objc/objc-gnu-runtime-abi-01.cc \$(srcdir)/objc/objc-next-runtime-abi-01.cc \$(srcdir)/objc/objc-next-runtime-abi-02.cc \$(srcdir)/c/c-parser.h \$(srcdir)/c/c-parser.cc \$(srcdir)/c/c-tree.h \$(srcdir)/c/c-decl.cc \$(srcdir)/c/c-lang.h \$(srcdir)/c/c-objc-common.cc \$(srcdir)/c-family/c-common.cc \$(srcdir)/c-family/c-common.h \$(srcdir)/c-family/c-cppbuiltin.cc \$(srcdir)/c-family/c-pragma.h \$(srcdir)/c-family/c-pragma.cc \$(srcdir)/c-family/c-format.cc" |