view gcc/objcp/ @ 16:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
children 84e7813d76e9
line wrap: on
line source

# Top level configure fragment for GNU Objective-C++.
#   Copyright (C) 2005-2017 Free Software Foundation, Inc.
#   Contributed by Ziemowit Laski <>

#This file is part of GCC.

#GCC is free software; you can redistribute it and/or modify
#it under the terms of the GNU General Public License as published by
#the Free Software Foundation; either version 3, or (at your option)
#any later version.

#GCC is distributed in the hope that it will be useful,
#but WITHOUT ANY WARRANTY; without even the implied warranty of
#GNU General Public License for more details.

#You should have received a copy of the GNU General Public License
#along with GCC; see the file COPYING3.  If not see

# Configure looks for the existence of this file to auto-config each language.
# We define several parameters used by configure:
# language	- name of language as it would appear in $(LANGUAGES)
# compilers	- value to add to $(COMPILERS)



# Per GCC Steering Committee.

# By building the Objective-C and C++ front-ends, we will get
# the object files we need, along with the libraries (libstdc++,
# libobjc).
lang_requires="objc c++"
subdir_requires="objc cp"

# When you add to this gtfiles list a header which comes from a
# directory belonging to another language (ie, C++ or ObjC), you need
# to also edit gengtype.c adding a special rule for the header to
# avoid having the GC stuff from that header being added to gtype-cp.h
# or gtype-objc.h.

# Get the C++ FE's gtfiles list.  Do this in a subshell, so we can
# extract exactly the gtfiles var, but munge cp-lang.c into objcp-lang.c.
gtfiles="$(. $srcdir/cp/ ; \
  echo $gtfiles | sed 's+/cp/cp-lang.c +/objcp/objcp-lang.c +')"

# Now add our special bits to it.  Please keep this list sorted.
gtfiles="$gtfiles \
\$(srcdir)/objc/objc-act.h \
\$(srcdir)/objc/objc-map.h \
\$(srcdir)/c-family/c-cppbuiltin.c \
\$(srcdir)/objc/objc-act.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)/objc/objc-runtime-shared-support.c \