* config/xtensa/xtensa.c (xtensa_secondary_reload_class): Use a
[official-gcc.git] / libstdc++-v3 / libsupc++ / Makefile.in
blob7453d3da8f18b3f3a3136680388431b29d066b36
1 # Makefile.in generated by automake 1.9.6 from Makefile.am.
2 # @configure_input@
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005 Free Software Foundation, Inc.
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 # PARTICULAR PURPOSE.
15 @SET_MAKE@
18 srcdir = @srcdir@
19 top_srcdir = @top_srcdir@
20 VPATH = @srcdir@
21 pkgdatadir = $(datadir)/@PACKAGE@
22 pkglibdir = $(libdir)/@PACKAGE@
23 pkgincludedir = $(includedir)/@PACKAGE@
24 top_builddir = ..
25 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
26 INSTALL = @INSTALL@
27 install_sh_DATA = $(install_sh) -c -m 644
28 install_sh_PROGRAM = $(install_sh) -c
29 install_sh_SCRIPT = $(install_sh) -c
30 INSTALL_HEADER = $(INSTALL_DATA)
31 transform = $(program_transform_name)
32 NORMAL_INSTALL = :
33 PRE_INSTALL = :
34 POST_INSTALL = :
35 NORMAL_UNINSTALL = :
36 PRE_UNINSTALL = :
37 POST_UNINSTALL = :
38 build_triplet = @build@
39 host_triplet = @host@
40 target_triplet = @target@
41 DIST_COMMON = $(glibcxxinstall_HEADERS) $(srcdir)/Makefile.am \
42 $(srcdir)/Makefile.in $(top_srcdir)/fragment.am
43 subdir = libsupc++
44 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
45 am__aclocal_m4_deps = $(top_srcdir)/../config/enable.m4 \
46 $(top_srcdir)/../config/futex.m4 \
47 $(top_srcdir)/../config/iconv.m4 \
48 $(top_srcdir)/../config/lead-dot.m4 \
49 $(top_srcdir)/../config/lib-ld.m4 \
50 $(top_srcdir)/../config/lib-link.m4 \
51 $(top_srcdir)/../config/lib-prefix.m4 \
52 $(top_srcdir)/../config/multi.m4 \
53 $(top_srcdir)/../config/no-executables.m4 \
54 $(top_srcdir)/../config/unwind_ipinfo.m4 \
55 $(top_srcdir)/../libtool.m4 $(top_srcdir)/../ltoptions.m4 \
56 $(top_srcdir)/../ltsugar.m4 $(top_srcdir)/../ltversion.m4 \
57 $(top_srcdir)/crossconfig.m4 $(top_srcdir)/linkage.m4 \
58 $(top_srcdir)/acinclude.m4 $(top_srcdir)/../config/tls.m4 \
59 $(top_srcdir)/configure.ac
60 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
61 $(ACLOCAL_M4)
62 CONFIG_HEADER = $(top_builddir)/config.h
63 CONFIG_CLEAN_FILES =
64 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
65 am__vpath_adj = case $$p in \
66 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
67 *) f=$$p;; \
68 esac;
69 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
70 am__installdirs = "$(DESTDIR)$(toolexeclibdir)" \
71 "$(DESTDIR)$(glibcxxinstalldir)"
72 toolexeclibLTLIBRARIES_INSTALL = $(INSTALL)
73 LTLIBRARIES = $(noinst_LTLIBRARIES) $(toolexeclib_LTLIBRARIES)
74 libsupc___la_LIBADD =
75 am__libsupc___la_SOURCES_DIST = array_type_info.cc atexit_arm.cc \
76 bad_cast.cc bad_typeid.cc class_type_info.cc del_op.cc \
77 del_opnt.cc del_opv.cc del_opvnt.cc dyncast.cc eh_alloc.cc \
78 eh_arm.cc eh_aux_runtime.cc eh_call.cc eh_catch.cc \
79 eh_exception.cc eh_globals.cc eh_personality.cc \
80 eh_term_handler.cc eh_terminate.cc eh_throw.cc eh_type.cc \
81 eh_unex_handler.cc enum_type_info.cc function_type_info.cc \
82 fundamental_type_info.cc guard.cc new_handler.cc new_op.cc \
83 new_opnt.cc new_opv.cc new_opvnt.cc pbase_type_info.cc \
84 pmem_type_info.cc pointer_type_info.cc pure.cc \
85 si_class_type_info.cc tinfo.cc tinfo2.cc vec.cc \
86 vmi_class_type_info.cc vterminate.cc cp-demangle.c
87 am__objects_1 = array_type_info.lo atexit_arm.lo bad_cast.lo \
88 bad_typeid.lo class_type_info.lo del_op.lo del_opnt.lo \
89 del_opv.lo del_opvnt.lo dyncast.lo eh_alloc.lo eh_arm.lo \
90 eh_aux_runtime.lo eh_call.lo eh_catch.lo eh_exception.lo \
91 eh_globals.lo eh_personality.lo eh_term_handler.lo \
92 eh_terminate.lo eh_throw.lo eh_type.lo eh_unex_handler.lo \
93 enum_type_info.lo function_type_info.lo \
94 fundamental_type_info.lo guard.lo new_handler.lo new_op.lo \
95 new_opnt.lo new_opv.lo new_opvnt.lo pbase_type_info.lo \
96 pmem_type_info.lo pointer_type_info.lo pure.lo \
97 si_class_type_info.lo tinfo.lo tinfo2.lo vec.lo \
98 vmi_class_type_info.lo vterminate.lo
99 @GLIBCXX_HOSTED_TRUE@am__objects_2 = cp-demangle.lo
100 am_libsupc___la_OBJECTS = $(am__objects_1) $(am__objects_2)
101 libsupc___la_OBJECTS = $(am_libsupc___la_OBJECTS)
102 libsupc__convenience_la_LIBADD =
103 am__libsupc__convenience_la_SOURCES_DIST = array_type_info.cc \
104 atexit_arm.cc bad_cast.cc bad_typeid.cc class_type_info.cc \
105 del_op.cc del_opnt.cc del_opv.cc del_opvnt.cc dyncast.cc \
106 eh_alloc.cc eh_arm.cc eh_aux_runtime.cc eh_call.cc eh_catch.cc \
107 eh_exception.cc eh_globals.cc eh_personality.cc \
108 eh_term_handler.cc eh_terminate.cc eh_throw.cc eh_type.cc \
109 eh_unex_handler.cc enum_type_info.cc function_type_info.cc \
110 fundamental_type_info.cc guard.cc new_handler.cc new_op.cc \
111 new_opnt.cc new_opv.cc new_opvnt.cc pbase_type_info.cc \
112 pmem_type_info.cc pointer_type_info.cc pure.cc \
113 si_class_type_info.cc tinfo.cc tinfo2.cc vec.cc \
114 vmi_class_type_info.cc vterminate.cc cp-demangle.c
115 am_libsupc__convenience_la_OBJECTS = $(am__objects_1) $(am__objects_2)
116 libsupc__convenience_la_OBJECTS = \
117 $(am_libsupc__convenience_la_OBJECTS)
118 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
119 depcomp =
120 am__depfiles_maybe =
121 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
122 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
123 CCLD = $(CC)
124 LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
125 $(AM_LDFLAGS) $(LDFLAGS) -o $@
126 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
127 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
128 CXXLD = $(CXX)
129 SOURCES = $(libsupc___la_SOURCES) $(libsupc__convenience_la_SOURCES)
130 DIST_SOURCES = $(am__libsupc___la_SOURCES_DIST) \
131 $(am__libsupc__convenience_la_SOURCES_DIST)
132 glibcxxinstallHEADERS_INSTALL = $(INSTALL_HEADER)
133 HEADERS = $(glibcxxinstall_HEADERS)
134 ETAGS = etags
135 CTAGS = ctags
136 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
137 ABI_TWEAKS_SRCDIR = @ABI_TWEAKS_SRCDIR@
138 ACLOCAL = @ACLOCAL@
139 ALLOCATOR_H = @ALLOCATOR_H@
140 ALLOCATOR_NAME = @ALLOCATOR_NAME@
141 AMTAR = @AMTAR@
142 AR = @AR@
143 AS = @AS@
144 ATOMICITY_SRCDIR = @ATOMICITY_SRCDIR@
145 ATOMIC_FLAGS = @ATOMIC_FLAGS@
146 ATOMIC_WORD_SRCDIR = @ATOMIC_WORD_SRCDIR@
147 AUTOCONF = @AUTOCONF@
148 AUTOHEADER = @AUTOHEADER@
149 AUTOMAKE = @AUTOMAKE@
150 AWK = @AWK@
151 BASIC_FILE_CC = @BASIC_FILE_CC@
152 BASIC_FILE_H = @BASIC_FILE_H@
153 CC = @CC@
154 CCODECVT_CC = @CCODECVT_CC@
155 CCOLLATE_CC = @CCOLLATE_CC@
156 CCTYPE_CC = @CCTYPE_CC@
157 CFLAGS = @CFLAGS@
158 CLOCALE_CC = @CLOCALE_CC@
159 CLOCALE_H = @CLOCALE_H@
160 CLOCALE_INTERNAL_H = @CLOCALE_INTERNAL_H@
161 CMESSAGES_CC = @CMESSAGES_CC@
162 CMESSAGES_H = @CMESSAGES_H@
163 CMONEY_CC = @CMONEY_CC@
164 CNUMERIC_CC = @CNUMERIC_CC@
165 CPP = @CPP@
166 CPPFLAGS = @CPPFLAGS@
167 CPU_DEFINES_SRCDIR = @CPU_DEFINES_SRCDIR@
168 CSTDIO_H = @CSTDIO_H@
169 CTIME_CC = @CTIME_CC@
170 CTIME_H = @CTIME_H@
171 CXX = @CXX@
172 CXXCPP = @CXXCPP@
173 CXXFLAGS = @CXXFLAGS@
174 CYGPATH_W = @CYGPATH_W@
175 C_INCLUDE_DIR = @C_INCLUDE_DIR@
176 DEBUG_FLAGS = @DEBUG_FLAGS@
177 DEFS = @DEFS@
178 DUMPBIN = @DUMPBIN@
179 ECHO_C = @ECHO_C@
180 ECHO_N = @ECHO_N@
181 ECHO_T = @ECHO_T@
182 EGREP = @EGREP@
183 ENABLE_PARALLEL_FALSE = @ENABLE_PARALLEL_FALSE@
184 ENABLE_PARALLEL_TRUE = @ENABLE_PARALLEL_TRUE@
185 ENABLE_SYMVERS_DARWIN_FALSE = @ENABLE_SYMVERS_DARWIN_FALSE@
186 ENABLE_SYMVERS_DARWIN_TRUE = @ENABLE_SYMVERS_DARWIN_TRUE@
187 ENABLE_SYMVERS_FALSE = @ENABLE_SYMVERS_FALSE@
188 ENABLE_SYMVERS_GNU_FALSE = @ENABLE_SYMVERS_GNU_FALSE@
189 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE = @ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@
190 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE = @ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@
191 ENABLE_SYMVERS_GNU_TRUE = @ENABLE_SYMVERS_GNU_TRUE@
192 ENABLE_SYMVERS_TRUE = @ENABLE_SYMVERS_TRUE@
193 ENABLE_VISIBILITY_FALSE = @ENABLE_VISIBILITY_FALSE@
194 ENABLE_VISIBILITY_TRUE = @ENABLE_VISIBILITY_TRUE@
195 ERROR_CONSTANTS_SRCDIR = @ERROR_CONSTANTS_SRCDIR@
196 EXEEXT = @EXEEXT@
197 EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
198 FGREP = @FGREP@
199 GLIBCXX_BUILD_DEBUG_FALSE = @GLIBCXX_BUILD_DEBUG_FALSE@
200 GLIBCXX_BUILD_DEBUG_TRUE = @GLIBCXX_BUILD_DEBUG_TRUE@
201 GLIBCXX_BUILD_PCH_FALSE = @GLIBCXX_BUILD_PCH_FALSE@
202 GLIBCXX_BUILD_PCH_TRUE = @GLIBCXX_BUILD_PCH_TRUE@
203 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE = @GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@
204 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE = @GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@
205 GLIBCXX_C_HEADERS_C_FALSE = @GLIBCXX_C_HEADERS_C_FALSE@
206 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE = @GLIBCXX_C_HEADERS_C_GLOBAL_FALSE@
207 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE = @GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@
208 GLIBCXX_C_HEADERS_C_STD_FALSE = @GLIBCXX_C_HEADERS_C_STD_FALSE@
209 GLIBCXX_C_HEADERS_C_STD_TRUE = @GLIBCXX_C_HEADERS_C_STD_TRUE@
210 GLIBCXX_C_HEADERS_C_TRUE = @GLIBCXX_C_HEADERS_C_TRUE@
211 GLIBCXX_C_HEADERS_EXTRA_FALSE = @GLIBCXX_C_HEADERS_EXTRA_FALSE@
212 GLIBCXX_C_HEADERS_EXTRA_TRUE = @GLIBCXX_C_HEADERS_EXTRA_TRUE@
213 GLIBCXX_HOSTED_FALSE = @GLIBCXX_HOSTED_FALSE@
214 GLIBCXX_HOSTED_TRUE = @GLIBCXX_HOSTED_TRUE@
215 GLIBCXX_INCLUDES = @GLIBCXX_INCLUDES@
216 GLIBCXX_LDBL_COMPAT_FALSE = @GLIBCXX_LDBL_COMPAT_FALSE@
217 GLIBCXX_LDBL_COMPAT_TRUE = @GLIBCXX_LDBL_COMPAT_TRUE@
218 GREP = @GREP@
219 INSTALL_DATA = @INSTALL_DATA@
220 INSTALL_PROGRAM = @INSTALL_PROGRAM@
221 INSTALL_SCRIPT = @INSTALL_SCRIPT@
222 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
223 LD = @LD@
224 LDFLAGS = @LDFLAGS@
225 LIBICONV = @LIBICONV@
226 LIBMATHOBJS = @LIBMATHOBJS@
227 LIBOBJS = @LIBOBJS@
228 LIBS = @LIBS@
229 LIBSUPCXX_PICFLAGS = @LIBSUPCXX_PICFLAGS@
230 LIBTOOL = @LIBTOOL@
231 LN_S = @LN_S@
232 LTLIBICONV = @LTLIBICONV@
233 LTLIBOBJS = @LTLIBOBJS@
234 MAINT = @MAINT@
235 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
236 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
237 MAKEINFO = @MAKEINFO@
238 NM = @NM@
239 OBJEXT = @OBJEXT@
240 OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
241 OPT_LDFLAGS = @OPT_LDFLAGS@
242 OS_INC_SRCDIR = @OS_INC_SRCDIR@
243 PACKAGE = @PACKAGE@
244 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
245 PACKAGE_NAME = @PACKAGE_NAME@
246 PACKAGE_STRING = @PACKAGE_STRING@
247 PACKAGE_TARNAME = @PACKAGE_TARNAME@
248 PACKAGE_VERSION = @PACKAGE_VERSION@
249 PATH_SEPARATOR = @PATH_SEPARATOR@
250 RANLIB = @RANLIB@
251 SECTION_FLAGS = @SECTION_FLAGS@
252 SECTION_LDFLAGS = @SECTION_LDFLAGS@
253 SED = @SED@
254 SET_MAKE = @SET_MAKE@
255 SHELL = @SHELL@
256 STRIP = @STRIP@
257 SYMVER_FILE = @SYMVER_FILE@
258 TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
259 USE_NLS = @USE_NLS@
260 VERSION = @VERSION@
261 WARN_FLAGS = @WARN_FLAGS@
262 WERROR = @WERROR@
263 ac_ct_AR = @ac_ct_AR@
264 ac_ct_AS = @ac_ct_AS@
265 ac_ct_CC = @ac_ct_CC@
266 ac_ct_CXX = @ac_ct_CXX@
267 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
268 ac_ct_RANLIB = @ac_ct_RANLIB@
269 ac_ct_STRIP = @ac_ct_STRIP@
270 am__leading_dot = @am__leading_dot@
271 am__tar = @am__tar@
272 am__untar = @am__untar@
273 baseline_dir = @baseline_dir@
274 bindir = @bindir@
275 build = @build@
276 build_alias = @build_alias@
277 build_cpu = @build_cpu@
278 build_os = @build_os@
279 build_vendor = @build_vendor@
280 check_msgfmt = @check_msgfmt@
281 datadir = @datadir@
282 enable_shared = @enable_shared@
283 enable_static = @enable_static@
284 exec_prefix = @exec_prefix@
285 glibcxx_MOFILES = @glibcxx_MOFILES@
286 glibcxx_PCHFLAGS = @glibcxx_PCHFLAGS@
287 glibcxx_POFILES = @glibcxx_POFILES@
288 glibcxx_builddir = @glibcxx_builddir@
289 glibcxx_localedir = @glibcxx_localedir@
290 glibcxx_prefixdir = @glibcxx_prefixdir@
291 glibcxx_srcdir = @glibcxx_srcdir@
292 glibcxx_thread_h = @glibcxx_thread_h@
293 glibcxx_toolexecdir = @glibcxx_toolexecdir@
294 glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@
295 gxx_include_dir = @gxx_include_dir@
296 host = @host@
297 host_alias = @host_alias@
298 host_cpu = @host_cpu@
299 host_os = @host_os@
300 host_vendor = @host_vendor@
301 includedir = @includedir@
302 infodir = @infodir@
303 install_sh = @install_sh@
304 libdir = @libdir@
305 libexecdir = @libexecdir@
306 libtool_VERSION = @libtool_VERSION@
307 localstatedir = @localstatedir@
308 lt_ECHO = @lt_ECHO@
309 mandir = @mandir@
310 mkdir_p = @mkdir_p@
311 multi_basedir = @multi_basedir@
312 oldincludedir = @oldincludedir@
313 port_specific_symbol_files = @port_specific_symbol_files@
314 prefix = @prefix@
315 program_transform_name = @program_transform_name@
316 sbindir = @sbindir@
317 sharedstatedir = @sharedstatedir@
318 sysconfdir = @sysconfdir@
319 target = @target@
320 target_alias = @target_alias@
321 target_cpu = @target_cpu@
322 target_os = @target_os@
323 target_vendor = @target_vendor@
324 toplevel_srcdir = @toplevel_srcdir@
326 # May be used by various substitution variables.
327 gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
328 MAINT_CHARSET = latin1
329 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
330 PWD_COMMAND = $${PWDCMD-pwd}
331 STAMP = echo timestamp >
332 toolexecdir = $(glibcxx_toolexecdir)
333 toolexeclibdir = $(glibcxx_toolexeclibdir)
335 # These bits are all figured out from configure. Look in acinclude.m4
336 # or configure.ac to see how they are set. See GLIBCXX_EXPORT_FLAGS.
337 CONFIG_CXXFLAGS = \
338 $(SECTION_FLAGS) $(EXTRA_CXX_FLAGS)
340 WARN_CXXFLAGS = \
341 $(WARN_FLAGS) $(WERROR) -fdiagnostics-show-location=once
344 # -I/-D flags to pass when compiling.
345 AM_CPPFLAGS = $(GLIBCXX_INCLUDES)
347 # Need this library to both be part of libstdc++.a, and installed
348 # separately too.
349 # 1) separate libsupc++.la
350 toolexeclib_LTLIBRARIES = libsupc++.la
351 # 2) integrated libsupc++convenience.la that is to be a part of libstdc++.a
352 noinst_LTLIBRARIES = libsupc++convenience.la
353 headers = \
354 exception new typeinfo cxxabi.h cxxabi-forced.h exception_defines.h
356 @GLIBCXX_HOSTED_TRUE@c_sources = \
357 @GLIBCXX_HOSTED_TRUE@ cp-demangle.c
359 sources = \
360 array_type_info.cc \
361 atexit_arm.cc \
362 bad_cast.cc \
363 bad_typeid.cc \
364 class_type_info.cc \
365 del_op.cc \
366 del_opnt.cc \
367 del_opv.cc \
368 del_opvnt.cc \
369 dyncast.cc \
370 eh_alloc.cc \
371 eh_arm.cc \
372 eh_aux_runtime.cc \
373 eh_call.cc \
374 eh_catch.cc \
375 eh_exception.cc \
376 eh_globals.cc \
377 eh_personality.cc \
378 eh_term_handler.cc \
379 eh_terminate.cc \
380 eh_throw.cc \
381 eh_type.cc \
382 eh_unex_handler.cc \
383 enum_type_info.cc \
384 function_type_info.cc \
385 fundamental_type_info.cc \
386 guard.cc \
387 new_handler.cc \
388 new_op.cc \
389 new_opnt.cc \
390 new_opv.cc \
391 new_opvnt.cc \
392 pbase_type_info.cc \
393 pmem_type_info.cc \
394 pointer_type_info.cc \
395 pure.cc \
396 si_class_type_info.cc \
397 tinfo.cc \
398 tinfo2.cc \
399 vec.cc \
400 vmi_class_type_info.cc \
401 vterminate.cc
403 libsupc___la_SOURCES = $(sources) $(c_sources)
404 libsupc__convenience_la_SOURCES = $(sources) $(c_sources)
405 glibcxxinstalldir = $(gxx_include_dir)
406 glibcxxinstall_HEADERS = $(headers)
408 # AM_CXXFLAGS needs to be in each subdirectory so that it can be
409 # modified in a per-library or per-sub-library way. Need to manually
410 # set this option because CONFIG_CXXFLAGS has to be after
411 # OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden
412 # as the occasion call for it.
413 AM_CXXFLAGS = \
414 -fno-implicit-templates \
415 $(LIBSUPCXX_PICFLAGS) \
416 $(WARN_CXXFLAGS) \
417 $(OPTIMIZE_CXXFLAGS) \
418 $(CONFIG_CXXFLAGS)
420 AM_MAKEFLAGS = \
421 "gxx_include_dir=$(gxx_include_dir)"
424 # Use special rules for pulling things out of libiberty. These
425 # objects should be compiled with the "C" compiler, not the C++
426 # compiler, and also should not use the C++ includes.
427 C_INCLUDES = -I.. -I$(toplevel_srcdir)/libiberty -I$(toplevel_srcdir)/include
428 C_COMPILE = \
429 $(CC) $(DEFS) $(C_INCLUDES) \
430 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
433 # LTCOMPILE is copied from LTCXXCOMPILE below.
434 LTCOMPILE = $(LIBTOOL) --tag CC --tag disable-shared --mode=compile $(CC) \
435 $(DEFS) $(C_INCLUDES) $(LIBSUPCXX_PICFLAGS) \
436 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
439 # libstdc++ libtool notes
441 # 1) Need to explicitly set LTCXXCOMPILE so that AM_CXXFLAGS is
442 # last. (That way, things like -O2 passed down from the toplevel can
443 # be overridden by --enable-debug.)
445 # 2) In general, libtool expects an argument such as `--tag=CXX' when
446 # using the C++ compiler, because that will enable the settings
447 # detected when C++ support was being configured. However, when no
448 # such flag is given in the command line, libtool attempts to figure
449 # it out by matching the compiler name in each configuration section
450 # against a prefix of the command line. The problem is that, if the
451 # compiler name and its initial flags stored in the libtool
452 # configuration file don't match those in the command line, libtool
453 # can't decide which configuration to use, and it gives up. The
454 # correct solution is to add `--tag CXX' to LTCXXCOMPILE and maybe
455 # CXXLINK, just after $(LIBTOOL), so that libtool doesn't have to
456 # attempt to infer which configuration to use.
458 # We have to put --tag disable-shared after --tag CXX lest things
459 # CXX undo the affect of disable-shared.
460 LTCXXCOMPILE = $(LIBTOOL) --tag CXX --tag disable-shared \
461 --mode=compile $(CXX) $(TOPLEVEL_INCLUDES) \
462 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
464 LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
466 # 3) We'd have a problem when building the shared libstdc++ object if
467 # the rules automake generates would be used. We cannot allow g++ to
468 # be used since this would add -lstdc++ to the link line which of
469 # course is problematic at this point. So, we get the top-level
470 # directory to configure libstdc++-v3 to use gcc as the C++
471 # compilation driver.
472 CXXLINK = $(LIBTOOL) --tag CXX --tag disable-shared \
473 --mode=link $(CXX) \
474 $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LTLDFLAGS) -o $@
476 all: all-am
478 .SUFFIXES:
479 .SUFFIXES: .c .cc .lo .o .obj
480 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/fragment.am $(am__configure_deps)
481 @for dep in $?; do \
482 case '$(am__configure_deps)' in \
483 *$$dep*) \
484 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
485 && exit 0; \
486 exit 1;; \
487 esac; \
488 done; \
489 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps libsupc++/Makefile'; \
490 cd $(top_srcdir) && \
491 $(AUTOMAKE) --foreign --ignore-deps libsupc++/Makefile
492 .PRECIOUS: Makefile
493 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
494 @case '$?' in \
495 *config.status*) \
496 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
497 *) \
498 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
499 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
500 esac;
502 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
503 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
505 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
506 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
507 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
508 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
510 clean-noinstLTLIBRARIES:
511 -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
512 @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
513 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
514 test "$$dir" != "$$p" || dir=.; \
515 echo "rm -f \"$${dir}/so_locations\""; \
516 rm -f "$${dir}/so_locations"; \
517 done
518 install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
519 @$(NORMAL_INSTALL)
520 test -z "$(toolexeclibdir)" || $(mkdir_p) "$(DESTDIR)$(toolexeclibdir)"
521 @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
522 if test -f $$p; then \
523 f=$(am__strip_dir) \
524 echo " $(LIBTOOL) --mode=install $(toolexeclibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(toolexeclibdir)/$$f'"; \
525 $(LIBTOOL) --mode=install $(toolexeclibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(toolexeclibdir)/$$f"; \
526 else :; fi; \
527 done
529 uninstall-toolexeclibLTLIBRARIES:
530 @$(NORMAL_UNINSTALL)
531 @set -x; list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
532 p=$(am__strip_dir) \
533 echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(toolexeclibdir)/$$p'"; \
534 $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(toolexeclibdir)/$$p"; \
535 done
537 clean-toolexeclibLTLIBRARIES:
538 -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
539 @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
540 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
541 test "$$dir" != "$$p" || dir=.; \
542 echo "rm -f \"$${dir}/so_locations\""; \
543 rm -f "$${dir}/so_locations"; \
544 done
545 libsupc++.la: $(libsupc___la_OBJECTS) $(libsupc___la_DEPENDENCIES)
546 $(CXXLINK) -rpath $(toolexeclibdir) $(libsupc___la_LDFLAGS) $(libsupc___la_OBJECTS) $(libsupc___la_LIBADD) $(LIBS)
547 libsupc++convenience.la: $(libsupc__convenience_la_OBJECTS) $(libsupc__convenience_la_DEPENDENCIES)
548 $(CXXLINK) $(libsupc__convenience_la_LDFLAGS) $(libsupc__convenience_la_OBJECTS) $(libsupc__convenience_la_LIBADD) $(LIBS)
550 mostlyclean-compile:
551 -rm -f *.$(OBJEXT)
553 distclean-compile:
554 -rm -f *.tab.c
556 .c.o:
557 $(COMPILE) -c $<
559 .c.obj:
560 $(COMPILE) -c `$(CYGPATH_W) '$<'`
562 .c.lo:
563 $(LTCOMPILE) -c -o $@ $<
565 .cc.o:
566 $(CXXCOMPILE) -c -o $@ $<
568 .cc.obj:
569 $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
571 .cc.lo:
572 $(LTCXXCOMPILE) -c -o $@ $<
574 mostlyclean-libtool:
575 -rm -f *.lo
577 clean-libtool:
578 -rm -rf .libs _libs
580 distclean-libtool:
581 -rm -f libtool
582 uninstall-info-am:
584 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
585 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
586 unique=`for i in $$list; do \
587 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
588 done | \
589 $(AWK) ' { files[$$0] = 1; } \
590 END { for (i in files) print i; }'`; \
591 mkid -fID $$unique
592 tags: TAGS
594 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
595 $(TAGS_FILES) $(LISP)
596 tags=; \
597 here=`pwd`; \
598 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
599 unique=`for i in $$list; do \
600 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
601 done | \
602 $(AWK) ' { files[$$0] = 1; } \
603 END { for (i in files) print i; }'`; \
604 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
605 test -n "$$unique" || unique=$$empty_fix; \
606 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
607 $$tags $$unique; \
609 ctags: CTAGS
610 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
611 $(TAGS_FILES) $(LISP)
612 tags=; \
613 here=`pwd`; \
614 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
615 unique=`for i in $$list; do \
616 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
617 done | \
618 $(AWK) ' { files[$$0] = 1; } \
619 END { for (i in files) print i; }'`; \
620 test -z "$(CTAGS_ARGS)$$tags$$unique" \
621 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
622 $$tags $$unique
624 GTAGS:
625 here=`$(am__cd) $(top_builddir) && pwd` \
626 && cd $(top_srcdir) \
627 && gtags -i $(GTAGS_ARGS) $$here
629 distclean-tags:
630 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
632 distdir: $(DISTFILES)
633 $(mkdir_p) $(distdir)/..
634 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
635 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
636 list='$(DISTFILES)'; for file in $$list; do \
637 case $$file in \
638 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
639 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
640 esac; \
641 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
642 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
643 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
644 dir="/$$dir"; \
645 $(mkdir_p) "$(distdir)$$dir"; \
646 else \
647 dir=''; \
648 fi; \
649 if test -d $$d/$$file; then \
650 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
651 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
652 fi; \
653 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
654 else \
655 test -f $(distdir)/$$file \
656 || cp -p $$d/$$file $(distdir)/$$file \
657 || exit 1; \
658 fi; \
659 done
660 check-am: all-am
661 check: check-am
662 all-am: Makefile $(LTLIBRARIES) $(HEADERS)
663 installdirs:
664 for dir in "$(DESTDIR)$(toolexeclibdir)" "$(DESTDIR)$(glibcxxinstalldir)"; do \
665 test -z "$$dir" || $(mkdir_p) "$$dir"; \
666 done
667 install: install-am
668 install-exec: install-exec-am
669 install-data: install-data-am
670 uninstall: uninstall-am
672 install-am: all-am
673 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
675 installcheck: installcheck-am
676 install-strip:
677 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
678 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
679 `test -z '$(STRIP)' || \
680 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
681 mostlyclean-generic:
683 clean-generic:
685 distclean-generic:
686 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
688 maintainer-clean-generic:
689 @echo "This command is intended for maintainers to use"
690 @echo "it deletes files that may require special tools to rebuild."
691 clean: clean-am
693 clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
694 clean-toolexeclibLTLIBRARIES mostlyclean-am
696 distclean: distclean-am
697 -rm -f Makefile
698 distclean-am: clean-am distclean-compile distclean-generic \
699 distclean-libtool distclean-tags
701 dvi: dvi-am
703 dvi-am:
705 html: html-am
707 info: info-am
709 info-am:
711 install-data-am: install-glibcxxinstallHEADERS
713 install-exec-am: install-toolexeclibLTLIBRARIES
715 install-info: install-info-am
717 install-man:
719 installcheck-am:
721 maintainer-clean: maintainer-clean-am
722 -rm -f Makefile
723 maintainer-clean-am: distclean-am maintainer-clean-generic
725 mostlyclean: mostlyclean-am
727 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
728 mostlyclean-libtool
730 pdf: pdf-am
732 pdf-am:
734 ps: ps-am
736 ps-am:
738 uninstall-am: uninstall-glibcxxinstallHEADERS uninstall-info-am \
739 uninstall-toolexeclibLTLIBRARIES
741 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
742 clean-libtool clean-noinstLTLIBRARIES \
743 clean-toolexeclibLTLIBRARIES ctags distclean distclean-compile \
744 distclean-generic distclean-libtool distclean-tags distdir dvi \
745 dvi-am html html-am info info-am install install-am \
746 install-data install-data-am install-exec install-exec-am \
747 install-glibcxxinstallHEADERS install-info install-info-am \
748 install-man install-strip install-toolexeclibLTLIBRARIES \
749 installcheck installcheck-am installdirs maintainer-clean \
750 maintainer-clean-generic mostlyclean mostlyclean-compile \
751 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
752 tags uninstall uninstall-am uninstall-glibcxxinstallHEADERS \
753 uninstall-info-am uninstall-toolexeclibLTLIBRARIES
756 cp-demangle.c:
757 rm -f $@
758 $(LN_S) $(toplevel_srcdir)/libiberty/cp-demangle.c $@
759 cp-demangle.lo: cp-demangle.c
760 $(LTCOMPILE) -DIN_GLIBCPP_V3 -Wno-error -c $<
761 cp-demangle.o: cp-demangle.c
762 $(C_COMPILE) -DIN_GLIBCPP_V3 -Wno-error -c $<
764 # We have to have rules modified from the default to counteract SUN make
765 # prepending each of $(glibcxxinstall_HEADERS) with VPATH below.
766 install-glibcxxinstallHEADERS: $(glibcxxinstall_HEADERS)
767 @$(NORMAL_INSTALL)
768 $(mkinstalldirs) $(DESTDIR)$(glibcxxinstalldir)
769 @list='$(glibcxxinstall_HEADERS)'; for p in $$list; do \
770 q=`echo $$p | sed -e 's,.*/,,'`; \
771 if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
772 echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(glibcxxinstalldir)/$$q"; \
773 $(INSTALL_DATA) $$d$$p $(DESTDIR)$(glibcxxinstalldir)/$$q; \
774 done
776 uninstall-glibcxxinstallHEADERS:
777 @$(NORMAL_UNINSTALL)
778 list='$(glibcxxinstall_HEADERS)'; for p in $$list; do \
779 q=`echo $$p | sed -e 's,.*/,,'`; \
780 rm -f $(DESTDIR)$(glibcxxinstalldir)/$$q; \
781 done
782 # Tell versions [3.59,3.63) of GNU make to not export all variables.
783 # Otherwise a system limit (for SysV at least) may be exceeded.
784 .NOEXPORT: