xref: /netbsd-src/external/gpl3/gcc.old/dist/gcc/objc/config-lang.in (revision 8feb0f0b7eaff0608f8350bbfa3098827b4bb91b)
136ac495dSmrg# Top level configure fragment for GNU Objective-C
2*8feb0f0bSmrg#   Copyright (C) 1997-2020 Free Software Foundation, Inc.
336ac495dSmrg
436ac495dSmrg#This file is part of GCC.
536ac495dSmrg
636ac495dSmrg#GCC is free software; you can redistribute it and/or modify
736ac495dSmrg#it under the terms of the GNU General Public License as published by
836ac495dSmrg#the Free Software Foundation; either version 3, or (at your option)
936ac495dSmrg#any later version.
1036ac495dSmrg
1136ac495dSmrg#GCC is distributed in the hope that it will be useful,
1236ac495dSmrg#but WITHOUT ANY WARRANTY; without even the implied warranty of
1336ac495dSmrg#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1436ac495dSmrg#GNU General Public License for more details.
1536ac495dSmrg
1636ac495dSmrg# You should have received a copy of the GNU General Public License
1736ac495dSmrg# along with GCC; see the file COPYING3.  If not see
1836ac495dSmrg# <http://www.gnu.org/licenses/>.
1936ac495dSmrg
2036ac495dSmrg# Configure looks for the existence of this file to auto-config each language.
2136ac495dSmrg# We define several parameters used by configure:
2236ac495dSmrg#
2336ac495dSmrg# language	- name of language as it would appear in $(LANGUAGES)
2436ac495dSmrg# compilers	- value to add to $(COMPILERS)
2536ac495dSmrg
2636ac495dSmrglanguage="objc"
2736ac495dSmrg
2836ac495dSmrgcompilers="cc1obj\$(exeext)"
2936ac495dSmrg
3036ac495dSmrgtarget_libs=target-libobjc
3136ac495dSmrg
3236ac495dSmrg# Most of the object files for cc1obj actually come from C.
3336ac495dSmrglang_requires="c"
3436ac495dSmrg
3536ac495dSmrg# Order is important.  If you change this list, make sure you test
3636ac495dSmrg# building without C++ as well; that is, remove the gcc/cp directory,
3736ac495dSmrg# and build with --enable-languages=c,objc.
38a2dc1f3fSmrggtfiles="\$(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"
39