1# Top level configure fragment for GNU Objective-C++. 2# Copyright (C) 2005, 2007 Free Software Foundation, Inc. 3# Contributed by Ziemowit Laski <zlaski@apple.com> 4 5#This file is part of GCC. 6 7#GCC is free software; you can redistribute it and/or modify 8#it under the terms of the GNU General Public License as published by 9#the Free Software Foundation; either version 3, or (at your option) 10#any later version. 11 12#GCC is distributed in the hope that it will be useful, 13#but WITHOUT ANY WARRANTY; without even the implied warranty of 14#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15#GNU General Public License for more details. 16 17#You should have received a copy of the GNU General Public License 18#along with GCC; see the file COPYING3. If not see 19#<http://www.gnu.org/licenses/>. 20 21# Configure looks for the existence of this file to auto-config each language. 22# We define several parameters used by configure: 23# 24# language - name of language as it would appear in $(LANGUAGES) 25# compilers - value to add to $(COMPILERS) 26 27language="obj-c++" 28 29compilers="cc1objplus\$(exeext)" 30 31# Per GCC Steering Committee. 32build_by_default="no" 33 34# By building the Objective-C and C++ front-ends, we will get 35# the object files we need, along with the libraries (libstdc++, 36# libobjc). 37lang_requires="objc c++" 38subdir_requires="objc cp" 39 40gtfiles="\$(srcdir)/objcp/objcp-decl.c \$(srcdir)/objc/objc-act.c \$(srcdir)/objc/objc-act.h \$(srcdir)/cp/rtti.c \$(srcdir)/cp/mangle.c \$(srcdir)/cp/name-lookup.h \$(srcdir)/cp/name-lookup.c \$(srcdir)/cp/cp-tree.h \$(srcdir)/cp/decl.h \$(srcdir)/cp/call.c \$(srcdir)/cp/decl.c \$(srcdir)/cp/decl2.c \$(srcdir)/cp/pt.c \$(srcdir)/cp/repo.c \$(srcdir)/cp/semantics.c \$(srcdir)/cp/tree.c \$(srcdir)/cp/parser.c \$(srcdir)/cp/method.c \$(srcdir)/cp/typeck2.c \$(srcdir)/c-common.c \$(srcdir)/c-common.h \$(srcdir)/c-lex.c \$(srcdir)/c-pragma.h \$(srcdir)/c-pragma.c \$(srcdir)/cp/cp-objcp-common.c" 41