N3778: Sized Deallocation
[official-gcc.git] / libstdc++-v3 / libsupc++ / Makefile.in
blob1c7270a69d33dac28806a8b6afd9da6b11945479
1 # Makefile.in generated by automake 1.11.1 from Makefile.am.
2 # @configure_input@
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
6 # Inc.
7 # This Makefile.in is free software; the Free Software Foundation
8 # gives unlimited permission to copy and/or distribute it,
9 # with or without modifications, as long as this notice is preserved.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14 # PARTICULAR PURPOSE.
16 @SET_MAKE@
19 VPATH = @srcdir@
20 pkgdatadir = $(datadir)/@PACKAGE@
21 pkgincludedir = $(includedir)/@PACKAGE@
22 pkglibdir = $(libdir)/@PACKAGE@
23 pkglibexecdir = $(libexecdir)/@PACKAGE@
24 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
25 install_sh_DATA = $(install_sh) -c -m 644
26 install_sh_PROGRAM = $(install_sh) -c
27 install_sh_SCRIPT = $(install_sh) -c
28 INSTALL_HEADER = $(INSTALL_DATA)
29 transform = $(program_transform_name)
30 NORMAL_INSTALL = :
31 PRE_INSTALL = :
32 POST_INSTALL = :
33 NORMAL_UNINSTALL = :
34 PRE_UNINSTALL = :
35 POST_UNINSTALL = :
36 build_triplet = @build@
37 host_triplet = @host@
38 target_triplet = @target@
39 DIST_COMMON = $(top_srcdir)/fragment.am $(srcdir)/Makefile.in \
40 $(srcdir)/Makefile.am $(bits_HEADERS) $(std_HEADERS)
41 subdir = libsupc++
42 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
43 am__aclocal_m4_deps = $(top_srcdir)/../config/acx.m4 \
44 $(top_srcdir)/../config/enable.m4 \
45 $(top_srcdir)/../config/futex.m4 \
46 $(top_srcdir)/../config/iconv.m4 \
47 $(top_srcdir)/../config/lead-dot.m4 \
48 $(top_srcdir)/../config/lib-ld.m4 \
49 $(top_srcdir)/../config/lib-link.m4 \
50 $(top_srcdir)/../config/lib-prefix.m4 \
51 $(top_srcdir)/../config/lthostflags.m4 \
52 $(top_srcdir)/../config/multi.m4 \
53 $(top_srcdir)/../config/no-executables.m4 \
54 $(top_srcdir)/../config/override.m4 \
55 $(top_srcdir)/../config/stdint.m4 \
56 $(top_srcdir)/../config/unwind_ipinfo.m4 \
57 $(top_srcdir)/../libtool.m4 $(top_srcdir)/../ltoptions.m4 \
58 $(top_srcdir)/../ltsugar.m4 $(top_srcdir)/../ltversion.m4 \
59 $(top_srcdir)/../lt~obsolete.m4 $(top_srcdir)/crossconfig.m4 \
60 $(top_srcdir)/linkage.m4 $(top_srcdir)/acinclude.m4 \
61 $(top_srcdir)/../config/gc++filt.m4 \
62 $(top_srcdir)/../config/tls.m4 $(top_srcdir)/../config/gthr.m4 \
63 $(top_srcdir)/configure.ac
64 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
65 $(ACLOCAL_M4)
66 CONFIG_HEADER = $(top_builddir)/config.h
67 CONFIG_CLEAN_FILES =
68 CONFIG_CLEAN_VPATH_FILES =
69 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
70 am__vpath_adj = case $$p in \
71 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
72 *) f=$$p;; \
73 esac;
74 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
75 am__install_max = 40
76 am__nobase_strip_setup = \
77 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
78 am__nobase_strip = \
79 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
80 am__nobase_list = $(am__nobase_strip_setup); \
81 for p in $$list; do echo "$$p $$p"; done | \
82 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
83 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
84 if (++n[$$2] == $(am__install_max)) \
85 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
86 END { for (dir in files) print dir, files[dir] }'
87 am__base_list = \
88 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
89 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
90 am__installdirs = "$(DESTDIR)$(toolexeclibdir)" "$(DESTDIR)$(bitsdir)" \
91 "$(DESTDIR)$(stddir)"
92 LTLIBRARIES = $(noinst_LTLIBRARIES) $(toolexeclib_LTLIBRARIES)
93 libsupc___la_LIBADD =
94 am__objects_1 = array_type_info.lo atexit_arm.lo atexit_thread.lo \
95 bad_alloc.lo bad_array_length.lo bad_array_new.lo bad_cast.lo \
96 bad_typeid.lo class_type_info.lo del_op.lo del_ops.lo \
97 del_opnt.lo del_opv.lo del_opvs.lo del_opvnt.lo dyncast.lo \
98 eh_alloc.lo eh_arm.lo eh_aux_runtime.lo eh_call.lo eh_catch.lo \
99 eh_exception.lo eh_globals.lo eh_personality.lo eh_ptr.lo \
100 eh_term_handler.lo eh_terminate.lo eh_tm.lo eh_throw.lo \
101 eh_type.lo eh_unex_handler.lo enum_type_info.lo \
102 function_type_info.lo fundamental_type_info.lo guard.lo \
103 guard_error.lo hash_bytes.lo nested_exception.lo \
104 new_handler.lo new_op.lo new_opnt.lo new_opv.lo new_opvnt.lo \
105 pbase_type_info.lo pmem_type_info.lo pointer_type_info.lo \
106 pure.lo si_class_type_info.lo tinfo.lo tinfo2.lo vec.lo \
107 vmi_class_type_info.lo vterminate.lo
108 @GLIBCXX_HOSTED_TRUE@am__objects_2 = cp-demangle.lo
109 @ENABLE_VTABLE_VERIFY_TRUE@am__objects_3 = vtv_stubs.lo
110 am_libsupc___la_OBJECTS = $(am__objects_1) $(am__objects_2) \
111 $(am__objects_3)
112 libsupc___la_OBJECTS = $(am_libsupc___la_OBJECTS)
113 libsupc__convenience_la_LIBADD =
114 am_libsupc__convenience_la_OBJECTS = $(am__objects_1) $(am__objects_2) \
115 $(am__objects_3)
116 libsupc__convenience_la_OBJECTS = \
117 $(am_libsupc__convenience_la_OBJECTS)
118 DEFAULT_INCLUDES = -I.@am__isrc@ -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 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
125 --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
126 $(LDFLAGS) -o $@
127 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
128 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
129 CXXLD = $(CXX)
130 SOURCES = $(libsupc___la_SOURCES) $(libsupc__convenience_la_SOURCES)
131 HEADERS = $(bits_HEADERS) $(std_HEADERS)
132 ETAGS = etags
133 CTAGS = ctags
134 ABI_TWEAKS_SRCDIR = @ABI_TWEAKS_SRCDIR@
135 ACLOCAL = @ACLOCAL@
136 ALLOCATOR_H = @ALLOCATOR_H@
137 ALLOCATOR_NAME = @ALLOCATOR_NAME@
138 AMTAR = @AMTAR@
139 AR = @AR@
140 AS = @AS@
141 ATOMICITY_SRCDIR = @ATOMICITY_SRCDIR@
142 ATOMIC_FLAGS = @ATOMIC_FLAGS@
143 ATOMIC_WORD_SRCDIR = @ATOMIC_WORD_SRCDIR@
144 AUTOCONF = @AUTOCONF@
145 AUTOHEADER = @AUTOHEADER@
146 AUTOMAKE = @AUTOMAKE@
147 AWK = @AWK@
148 BASIC_FILE_CC = @BASIC_FILE_CC@
149 BASIC_FILE_H = @BASIC_FILE_H@
150 CC = @CC@
151 CCODECVT_CC = @CCODECVT_CC@
152 CCOLLATE_CC = @CCOLLATE_CC@
153 CCTYPE_CC = @CCTYPE_CC@
154 CFLAGS = @CFLAGS@
155 CLOCALE_CC = @CLOCALE_CC@
156 CLOCALE_H = @CLOCALE_H@
157 CLOCALE_INTERNAL_H = @CLOCALE_INTERNAL_H@
158 CMESSAGES_CC = @CMESSAGES_CC@
159 CMESSAGES_H = @CMESSAGES_H@
160 CMONEY_CC = @CMONEY_CC@
161 CNUMERIC_CC = @CNUMERIC_CC@
162 CPP = @CPP@
163 CPPFLAGS = @CPPFLAGS@
164 CPU_DEFINES_SRCDIR = @CPU_DEFINES_SRCDIR@
165 CPU_OPT_BITS_RANDOM = @CPU_OPT_BITS_RANDOM@
166 CPU_OPT_EXT_RANDOM = @CPU_OPT_EXT_RANDOM@
167 CSTDIO_H = @CSTDIO_H@
168 CTIME_CC = @CTIME_CC@
169 CTIME_H = @CTIME_H@
170 CXX = @CXX@
171 CXXCPP = @CXXCPP@
172 CXXFILT = @CXXFILT@
173 CXXFLAGS = @CXXFLAGS@
174 CYGPATH_W = @CYGPATH_W@
175 C_INCLUDE_DIR = @C_INCLUDE_DIR@
176 DBLATEX = @DBLATEX@
177 DEBUG_FLAGS = @DEBUG_FLAGS@
178 DEFS = @DEFS@
179 DOT = @DOT@
180 DOXYGEN = @DOXYGEN@
181 DSYMUTIL = @DSYMUTIL@
182 DUMPBIN = @DUMPBIN@
183 ECHO_C = @ECHO_C@
184 ECHO_N = @ECHO_N@
185 ECHO_T = @ECHO_T@
186 EGREP = @EGREP@
187 ERROR_CONSTANTS_SRCDIR = @ERROR_CONSTANTS_SRCDIR@
188 EXEEXT = @EXEEXT@
189 EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
190 FGREP = @FGREP@
191 GLIBCXX_INCLUDES = @GLIBCXX_INCLUDES@
192 GLIBCXX_LIBS = @GLIBCXX_LIBS@
193 GREP = @GREP@
194 HWCAP_FLAGS = @HWCAP_FLAGS@
195 INSTALL = @INSTALL@
196 INSTALL_DATA = @INSTALL_DATA@
197 INSTALL_PROGRAM = @INSTALL_PROGRAM@
198 INSTALL_SCRIPT = @INSTALL_SCRIPT@
199 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
200 LD = @LD@
201 LDFLAGS = @LDFLAGS@
202 LIBICONV = @LIBICONV@
203 LIBOBJS = @LIBOBJS@
204 LIBS = @LIBS@
205 LIBTOOL = @LIBTOOL@
206 LIPO = @LIPO@
207 LN_S = @LN_S@
208 LTLIBICONV = @LTLIBICONV@
209 LTLIBOBJS = @LTLIBOBJS@
210 MAINT = @MAINT@
211 MAKEINFO = @MAKEINFO@
212 MKDIR_P = @MKDIR_P@
213 NM = @NM@
214 NMEDIT = @NMEDIT@
215 OBJDUMP = @OBJDUMP@
216 OBJEXT = @OBJEXT@
217 OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
218 OPT_LDFLAGS = @OPT_LDFLAGS@
219 OS_INC_SRCDIR = @OS_INC_SRCDIR@
220 OTOOL = @OTOOL@
221 OTOOL64 = @OTOOL64@
222 PACKAGE = @PACKAGE@
223 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
224 PACKAGE_NAME = @PACKAGE_NAME@
225 PACKAGE_STRING = @PACKAGE_STRING@
226 PACKAGE_TARNAME = @PACKAGE_TARNAME@
227 PACKAGE_URL = @PACKAGE_URL@
228 PACKAGE_VERSION = @PACKAGE_VERSION@
229 PATH_SEPARATOR = @PATH_SEPARATOR@
230 PDFLATEX = @PDFLATEX@
231 RANLIB = @RANLIB@
232 SECTION_FLAGS = @SECTION_FLAGS@
233 SECTION_LDFLAGS = @SECTION_LDFLAGS@
234 SED = @SED@
235 SET_MAKE = @SET_MAKE@
236 SHELL = @SHELL@
237 STRIP = @STRIP@
238 SYMVER_FILE = @SYMVER_FILE@
239 TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
240 USE_NLS = @USE_NLS@
241 VERSION = @VERSION@
242 VTV_CXXFLAGS = @VTV_CXXFLAGS@
243 VTV_CXXLINKFLAGS = @VTV_CXXLINKFLAGS@
244 VTV_PCH_CXXFLAGS = @VTV_PCH_CXXFLAGS@
245 WARN_FLAGS = @WARN_FLAGS@
246 WERROR = @WERROR@
247 XMLLINT = @XMLLINT@
248 XSLTPROC = @XSLTPROC@
249 XSL_STYLE_DIR = @XSL_STYLE_DIR@
250 abs_builddir = @abs_builddir@
251 abs_srcdir = @abs_srcdir@
252 abs_top_builddir = @abs_top_builddir@
253 abs_top_srcdir = @abs_top_srcdir@
254 ac_ct_CC = @ac_ct_CC@
255 ac_ct_CXX = @ac_ct_CXX@
256 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
257 am__leading_dot = @am__leading_dot@
258 am__tar = @am__tar@
259 am__untar = @am__untar@
260 baseline_dir = @baseline_dir@
261 baseline_subdir_switch = @baseline_subdir_switch@
262 bindir = @bindir@
263 build = @build@
264 build_alias = @build_alias@
265 build_cpu = @build_cpu@
266 build_os = @build_os@
267 build_vendor = @build_vendor@
268 builddir = @builddir@
269 check_msgfmt = @check_msgfmt@
270 datadir = @datadir@
271 datarootdir = @datarootdir@
272 docdir = @docdir@
273 dvidir = @dvidir@
274 enable_shared = @enable_shared@
275 enable_static = @enable_static@
276 exec_prefix = @exec_prefix@
277 glibcxx_MOFILES = @glibcxx_MOFILES@
278 glibcxx_PCHFLAGS = @glibcxx_PCHFLAGS@
279 glibcxx_POFILES = @glibcxx_POFILES@
280 glibcxx_builddir = @glibcxx_builddir@
281 glibcxx_compiler_pic_flag = @glibcxx_compiler_pic_flag@
282 glibcxx_compiler_shared_flag = @glibcxx_compiler_shared_flag@
283 glibcxx_localedir = @glibcxx_localedir@
284 glibcxx_lt_pic_flag = @glibcxx_lt_pic_flag@
285 glibcxx_prefixdir = @glibcxx_prefixdir@
286 glibcxx_srcdir = @glibcxx_srcdir@
287 glibcxx_toolexecdir = @glibcxx_toolexecdir@
288 glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@
289 gxx_include_dir = @gxx_include_dir@
290 host = @host@
291 host_alias = @host_alias@
292 host_cpu = @host_cpu@
293 host_os = @host_os@
294 host_vendor = @host_vendor@
295 htmldir = @htmldir@
296 includedir = @includedir@
297 infodir = @infodir@
298 install_sh = @install_sh@
299 libdir = @libdir@
300 libexecdir = @libexecdir@
301 libtool_VERSION = @libtool_VERSION@
302 localedir = @localedir@
303 localstatedir = @localstatedir@
304 lt_host_flags = @lt_host_flags@
305 mandir = @mandir@
306 mkdir_p = @mkdir_p@
307 multi_basedir = @multi_basedir@
308 oldincludedir = @oldincludedir@
309 pdfdir = @pdfdir@
310 port_specific_symbol_files = @port_specific_symbol_files@
311 prefix = @prefix@
312 program_transform_name = @program_transform_name@
313 psdir = @psdir@
314 python_mod_dir = @python_mod_dir@
315 sbindir = @sbindir@
316 sharedstatedir = @sharedstatedir@
317 srcdir = @srcdir@
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 thread_header = @thread_header@
325 top_build_prefix = @top_build_prefix@
326 top_builddir = @top_builddir@
327 top_srcdir = @top_srcdir@
328 toplevel_builddir = @toplevel_builddir@
329 toplevel_srcdir = @toplevel_srcdir@
331 # May be used by various substitution variables.
332 gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
333 MAINT_CHARSET = latin1
334 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
335 PWD_COMMAND = $${PWDCMD-pwd}
336 STAMP = echo timestamp >
337 toolexecdir = $(glibcxx_toolexecdir)
338 toolexeclibdir = $(glibcxx_toolexeclibdir)
339 @ENABLE_WERROR_FALSE@WERROR_FLAG =
340 @ENABLE_WERROR_TRUE@WERROR_FLAG = $(WERROR)
341 @ENABLE_EXTERN_TEMPLATE_FALSE@XTEMPLATE_FLAGS =
342 @ENABLE_EXTERN_TEMPLATE_TRUE@XTEMPLATE_FLAGS = -fno-implicit-templates
344 # These bits are all figured out from configure. Look in acinclude.m4
345 # or configure.ac to see how they are set. See GLIBCXX_EXPORT_FLAGS.
346 CONFIG_CXXFLAGS = \
347 $(SECTION_FLAGS) $(HWCAP_FLAGS) -frandom-seed=$@
349 WARN_CXXFLAGS = \
350 $(WARN_FLAGS) $(WERROR_FLAG) -fdiagnostics-show-location=once
353 # -I/-D flags to pass when compiling.
354 AM_CPPFLAGS = $(GLIBCXX_INCLUDES)
356 # Need this library to both be part of libstdc++.a, and installed
357 # separately too.
358 # 1) separate libsupc++.la
359 toolexeclib_LTLIBRARIES = libsupc++.la
361 # 2) integrated libsupc++convenience.la that is to be a part of libstdc++.a
362 noinst_LTLIBRARIES = libsupc++convenience.la
363 std_HEADERS = \
364 cxxabi.h exception initializer_list new typeinfo
366 bits_HEADERS = \
367 atomic_lockfree_defines.h cxxabi_forced.h \
368 exception_defines.h exception_ptr.h hash_bytes.h nested_exception.h
370 headers = $(std_HEADERS) $(bits_HEADERS)
371 @GLIBCXX_HOSTED_TRUE@c_sources = \
372 @GLIBCXX_HOSTED_TRUE@ cp-demangle.c
374 sources = \
375 array_type_info.cc \
376 atexit_arm.cc \
377 atexit_thread.cc \
378 bad_alloc.cc \
379 bad_array_length.cc \
380 bad_array_new.cc \
381 bad_cast.cc \
382 bad_typeid.cc \
383 class_type_info.cc \
384 del_op.cc \
385 del_ops.cc \
386 del_opnt.cc \
387 del_opv.cc \
388 del_opvs.cc \
389 del_opvnt.cc \
390 dyncast.cc \
391 eh_alloc.cc \
392 eh_arm.cc \
393 eh_aux_runtime.cc \
394 eh_call.cc \
395 eh_catch.cc \
396 eh_exception.cc \
397 eh_globals.cc \
398 eh_personality.cc \
399 eh_ptr.cc \
400 eh_term_handler.cc \
401 eh_terminate.cc \
402 eh_tm.cc \
403 eh_throw.cc \
404 eh_type.cc \
405 eh_unex_handler.cc \
406 enum_type_info.cc \
407 function_type_info.cc \
408 fundamental_type_info.cc \
409 guard.cc \
410 guard_error.cc \
411 hash_bytes.cc \
412 nested_exception.cc \
413 new_handler.cc \
414 new_op.cc \
415 new_opnt.cc \
416 new_opv.cc \
417 new_opvnt.cc \
418 pbase_type_info.cc \
419 pmem_type_info.cc \
420 pointer_type_info.cc \
421 pure.cc \
422 si_class_type_info.cc \
423 tinfo.cc \
424 tinfo2.cc \
425 vec.cc \
426 vmi_class_type_info.cc \
427 vterminate.cc
429 @ENABLE_VTABLE_VERIFY_TRUE@vtv_sources = \
430 @ENABLE_VTABLE_VERIFY_TRUE@ vtv_stubs.cc
432 libsupc___la_SOURCES = $(sources) $(c_sources) $(vtv_sources)
433 libsupc__convenience_la_SOURCES = $(sources) $(c_sources) $(vtv_sources)
435 # AM_CXXFLAGS needs to be in each subdirectory so that it can be
436 # modified in a per-library or per-sub-library way. Need to manually
437 # set this option because CONFIG_CXXFLAGS has to be after
438 # OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden
439 # as the occasion call for it.
440 AM_CXXFLAGS = \
441 $(glibcxx_lt_pic_flag) $(glibcxx_compiler_shared_flag) \
442 $(XTEMPLATE_FLAGS) \
443 $(WARN_CXXFLAGS) $(OPTIMIZE_CXXFLAGS) $(CONFIG_CXXFLAGS)
445 AM_MAKEFLAGS = \
446 "gxx_include_dir=$(gxx_include_dir)"
449 # Use special rules for pulling things out of libiberty. These
450 # objects should be compiled with the "C" compiler, not the C++
451 # compiler, and also should not use the C++ includes.
452 C_INCLUDES = -I.. -I$(toplevel_srcdir)/libiberty -I$(toplevel_srcdir)/include
453 C_COMPILE = \
454 $(CC) $(DEFS) $(C_INCLUDES) \
455 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
458 # LTCOMPILE is copied from LTCXXCOMPILE below.
459 LTCOMPILE = $(LIBTOOL) --tag CC --tag disable-shared $(LIBTOOLFLAGS) --mode=compile \
460 $(CC) $(DEFS) $(C_INCLUDES) \
461 $(glibcxx_lt_pic_flag) $(glibcxx_compiler_shared_flag) \
462 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
465 # Libtool notes
467 # 1) In general, libtool expects an argument such as `--tag=CXX' when
468 # using the C++ compiler, because that will enable the settings
469 # detected when C++ support was being configured. However, when no
470 # such flag is given in the command line, libtool attempts to figure
471 # it out by matching the compiler name in each configuration section
472 # against a prefix of the command line. The problem is that, if the
473 # compiler name and its initial flags stored in the libtool
474 # configuration file don't match those in the command line, libtool
475 # can't decide which configuration to use, and it gives up. The
476 # correct solution is to add `--tag CXX' to LTCXXCOMPILE and maybe
477 # CXXLINK, just after $(LIBTOOL), so that libtool doesn't have to
478 # attempt to infer which configuration to use.
480 # The second tag argument, `--tag disable-shared` means that libtool
481 # only compiles each source once, for static objects. In actuality,
482 # glibcxx_lt_pic_flag and glibcxx_compiler_shared_flag are added to
483 # the libtool command that is used create the object, which is
484 # suitable for shared libraries. The `--tag disable-shared` must be
485 # placed after --tag CXX lest things CXX undo the affect of
486 # disable-shared.
488 # 2) Need to explicitly set LTCXXCOMPILE so that EXTRA_CXX_FLAGS is
489 # last. (That way, things like -O2 passed down from the toplevel can
490 # be overridden by --enable-debug.)
491 LTCXXCOMPILE = \
492 $(LIBTOOL) --tag CXX --tag disable-shared \
493 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
494 --mode=compile $(CXX) $(TOPLEVEL_INCLUDES) \
495 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(EXTRA_CXX_FLAGS)
497 LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
499 # 3) We'd have a problem when building the shared libstdc++ object if
500 # the rules automake generates would be used. We cannot allow g++ to
501 # be used since this would add -lstdc++ to the link line which of
502 # course is problematic at this point. So, we get the top-level
503 # directory to configure libstdc++-v3 to use gcc as the C++
504 # compilation driver.
505 CXXLINK = \
506 $(LIBTOOL) --tag CXX --tag disable-shared \
507 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
508 --mode=link $(CXX) \
509 $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LTLDFLAGS) -o $@
512 # Install notes
513 # We have to have rules modified from the default to counteract SUN make
514 # prepending each of $(*_HEADERS) with VPATH below.
515 stddir = $(gxx_include_dir)
516 bitsdir = $(gxx_include_dir)/bits
518 # By adding these files here, automake will remove them for 'make clean'
519 CLEANFILES = stamp-*
520 all: all-am
522 .SUFFIXES:
523 .SUFFIXES: .c .cc .lo .o .obj
524 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/fragment.am $(am__configure_deps)
525 @for dep in $?; do \
526 case '$(am__configure_deps)' in \
527 *$$dep*) \
528 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
529 && { if test -f $@; then exit 0; else break; fi; }; \
530 exit 1;; \
531 esac; \
532 done; \
533 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps libsupc++/Makefile'; \
534 $(am__cd) $(top_srcdir) && \
535 $(AUTOMAKE) --foreign --ignore-deps libsupc++/Makefile
536 .PRECIOUS: Makefile
537 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
538 @case '$?' in \
539 *config.status*) \
540 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
541 *) \
542 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
543 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
544 esac;
546 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
547 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
549 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
550 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
551 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
552 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
553 $(am__aclocal_m4_deps):
555 clean-noinstLTLIBRARIES:
556 -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
557 @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
558 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
559 test "$$dir" != "$$p" || dir=.; \
560 echo "rm -f \"$${dir}/so_locations\""; \
561 rm -f "$${dir}/so_locations"; \
562 done
563 install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
564 @$(NORMAL_INSTALL)
565 test -z "$(toolexeclibdir)" || $(MKDIR_P) "$(DESTDIR)$(toolexeclibdir)"
566 @list='$(toolexeclib_LTLIBRARIES)'; test -n "$(toolexeclibdir)" || list=; \
567 list2=; for p in $$list; do \
568 if test -f $$p; then \
569 list2="$$list2 $$p"; \
570 else :; fi; \
571 done; \
572 test -z "$$list2" || { \
573 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(toolexeclibdir)'"; \
574 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(toolexeclibdir)"; \
577 uninstall-toolexeclibLTLIBRARIES:
578 @$(NORMAL_UNINSTALL)
579 @list='$(toolexeclib_LTLIBRARIES)'; test -n "$(toolexeclibdir)" || list=; \
580 for p in $$list; do \
581 $(am__strip_dir) \
582 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(toolexeclibdir)/$$f'"; \
583 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(toolexeclibdir)/$$f"; \
584 done
586 clean-toolexeclibLTLIBRARIES:
587 -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
588 @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
589 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
590 test "$$dir" != "$$p" || dir=.; \
591 echo "rm -f \"$${dir}/so_locations\""; \
592 rm -f "$${dir}/so_locations"; \
593 done
594 libsupc++.la: $(libsupc___la_OBJECTS) $(libsupc___la_DEPENDENCIES)
595 $(CXXLINK) -rpath $(toolexeclibdir) $(libsupc___la_OBJECTS) $(libsupc___la_LIBADD) $(LIBS)
596 libsupc++convenience.la: $(libsupc__convenience_la_OBJECTS) $(libsupc__convenience_la_DEPENDENCIES)
597 $(CXXLINK) $(libsupc__convenience_la_OBJECTS) $(libsupc__convenience_la_LIBADD) $(LIBS)
599 mostlyclean-compile:
600 -rm -f *.$(OBJEXT)
602 distclean-compile:
603 -rm -f *.tab.c
605 .c.o:
606 $(COMPILE) -c $<
608 .c.obj:
609 $(COMPILE) -c `$(CYGPATH_W) '$<'`
611 .c.lo:
612 $(LTCOMPILE) -c -o $@ $<
614 .cc.o:
615 $(CXXCOMPILE) -c -o $@ $<
617 .cc.obj:
618 $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
620 .cc.lo:
621 $(LTCXXCOMPILE) -c -o $@ $<
623 mostlyclean-libtool:
624 -rm -f *.lo
626 clean-libtool:
627 -rm -rf .libs _libs
629 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
630 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
631 unique=`for i in $$list; do \
632 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
633 done | \
634 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
635 END { if (nonempty) { for (i in files) print i; }; }'`; \
636 mkid -fID $$unique
637 tags: TAGS
639 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
640 $(TAGS_FILES) $(LISP)
641 set x; \
642 here=`pwd`; \
643 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
644 unique=`for i in $$list; do \
645 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
646 done | \
647 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
648 END { if (nonempty) { for (i in files) print i; }; }'`; \
649 shift; \
650 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
651 test -n "$$unique" || unique=$$empty_fix; \
652 if test $$# -gt 0; then \
653 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
654 "$$@" $$unique; \
655 else \
656 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
657 $$unique; \
658 fi; \
660 ctags: CTAGS
661 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
662 $(TAGS_FILES) $(LISP)
663 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
664 unique=`for i in $$list; do \
665 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
666 done | \
667 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
668 END { if (nonempty) { for (i in files) print i; }; }'`; \
669 test -z "$(CTAGS_ARGS)$$unique" \
670 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
671 $$unique
673 GTAGS:
674 here=`$(am__cd) $(top_builddir) && pwd` \
675 && $(am__cd) $(top_srcdir) \
676 && gtags -i $(GTAGS_ARGS) "$$here"
678 distclean-tags:
679 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
680 check-am: all-am
681 check: check-am
682 all-am: Makefile $(LTLIBRARIES) $(HEADERS)
683 installdirs:
684 for dir in "$(DESTDIR)$(toolexeclibdir)" "$(DESTDIR)$(bitsdir)" "$(DESTDIR)$(stddir)"; do \
685 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
686 done
687 install: install-am
688 install-exec: install-exec-am
689 install-data: install-data-am
690 uninstall: uninstall-am
692 install-am: all-am
693 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
695 installcheck: installcheck-am
696 install-strip:
697 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
698 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
699 `test -z '$(STRIP)' || \
700 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
701 mostlyclean-generic:
703 clean-generic:
704 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
706 distclean-generic:
707 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
708 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
710 maintainer-clean-generic:
711 @echo "This command is intended for maintainers to use"
712 @echo "it deletes files that may require special tools to rebuild."
713 clean: clean-am
715 clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
716 clean-toolexeclibLTLIBRARIES mostlyclean-am
718 distclean: distclean-am
719 -rm -f Makefile
720 distclean-am: clean-am distclean-compile distclean-generic \
721 distclean-tags
723 dvi: dvi-am
725 dvi-am:
727 html: html-am
729 html-am:
731 info: info-am
733 info-am:
735 install-data-am: install-bitsHEADERS install-stdHEADERS
737 install-dvi: install-dvi-am
739 install-dvi-am:
741 install-exec-am: install-toolexeclibLTLIBRARIES
743 install-html: install-html-am
745 install-html-am:
747 install-info: install-info-am
749 install-info-am:
751 install-man:
753 install-pdf: install-pdf-am
755 install-pdf-am:
757 install-ps: install-ps-am
759 install-ps-am:
761 installcheck-am:
763 maintainer-clean: maintainer-clean-am
764 -rm -f Makefile
765 maintainer-clean-am: distclean-am maintainer-clean-generic
767 mostlyclean: mostlyclean-am
769 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
770 mostlyclean-libtool
772 pdf: pdf-am
774 pdf-am:
776 ps: ps-am
778 ps-am:
780 uninstall-am: uninstall-bitsHEADERS uninstall-stdHEADERS \
781 uninstall-toolexeclibLTLIBRARIES
783 .MAKE: install-am install-strip
785 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
786 clean-libtool clean-noinstLTLIBRARIES \
787 clean-toolexeclibLTLIBRARIES ctags distclean distclean-compile \
788 distclean-generic distclean-libtool distclean-tags dvi dvi-am \
789 html html-am info info-am install install-am \
790 install-bitsHEADERS install-data install-data-am install-dvi \
791 install-dvi-am install-exec install-exec-am install-html \
792 install-html-am install-info install-info-am install-man \
793 install-pdf install-pdf-am install-ps install-ps-am \
794 install-stdHEADERS install-strip \
795 install-toolexeclibLTLIBRARIES installcheck installcheck-am \
796 installdirs maintainer-clean maintainer-clean-generic \
797 mostlyclean mostlyclean-compile mostlyclean-generic \
798 mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
799 uninstall-am uninstall-bitsHEADERS uninstall-stdHEADERS \
800 uninstall-toolexeclibLTLIBRARIES
803 cp-demangle.c:
804 rm -f $@
805 $(LN_S) $(toplevel_srcdir)/libiberty/cp-demangle.c $@
806 cp-demangle.lo: cp-demangle.c
807 $(LTCOMPILE) -DIN_GLIBCPP_V3 -Wno-error -c $<
808 cp-demangle.o: cp-demangle.c
809 $(C_COMPILE) -DIN_GLIBCPP_V3 -Wno-error -c $<
811 # Use special rules for the C++11 sources so that the proper flags are passed.
812 bad_array_length.lo: bad_array_length.cc
813 $(LTCXXCOMPILE) -std=gnu++11 -c $<
814 bad_array_length.o: bad_array_length.cc
815 $(CXXCOMPILE) -std=gnu++11 -c $<
817 bad_array_new.lo: bad_array_new.cc
818 $(LTCXXCOMPILE) -std=gnu++11 -c $<
819 bad_array_new.o: bad_array_new.cc
820 $(CXXCOMPILE) -std=gnu++11 -c $<
822 eh_aux_runtime.lo: eh_aux_runtime.cc
823 $(LTCXXCOMPILE) -std=gnu++11 -c $<
824 eh_aux_runtime.o: eh_aux_runtime.cc
825 $(CXXCOMPILE) -std=gnu++11 -c $<
827 eh_ptr.lo: eh_ptr.cc
828 $(LTCXXCOMPILE) -std=gnu++11 -c $<
829 eh_ptr.o: eh_ptr.cc
830 $(CXXCOMPILE) -std=gnu++11 -c $<
832 eh_terminate.lo: eh_terminate.cc
833 $(LTCXXCOMPILE) -std=gnu++11 -c $<
834 eh_terminate.o: eh_terminate.cc
835 $(CXXCOMPILE) -std=gnu++11 -c $<
837 eh_throw.lo: eh_throw.cc
838 $(LTCXXCOMPILE) -std=gnu++11 -c $<
839 eh_throw.o: eh_throw.cc
840 $(CXXCOMPILE) -std=gnu++11 -c $<
842 guard.lo: guard.cc
843 $(LTCXXCOMPILE) -std=gnu++11 -c $<
844 guard.o: guard.cc
845 $(CXXCOMPILE) -std=gnu++11 -c $<
847 atexit_thread.lo: atexit_thread.cc
848 $(LTCXXCOMPILE) -std=gnu++11 -c $<
849 atexit_thread.o: atexit_thread.cc
850 $(CXXCOMPILE) -std=gnu++11 -c $<
852 nested_exception.lo: nested_exception.cc
853 $(LTCXXCOMPILE) -std=gnu++11 -c $<
854 nested_exception.o: nested_exception.cc
855 $(CXXCOMPILE) -std=gnu++11 -c $<
857 new_handler.lo: new_handler.cc
858 $(LTCXXCOMPILE) -std=gnu++11 -c $<
859 new_handler.o: new_handler.cc
860 $(CXXCOMPILE) -std=gnu++11 -c $<
862 new_op.lo: new_op.cc
863 $(LTCXXCOMPILE) -std=gnu++11 -c $<
864 new_op.o: new_op.cc
865 $(CXXCOMPILE) -std=gnu++11 -c $<
867 new_opnt.lo: new_opnt.cc
868 $(LTCXXCOMPILE) -std=gnu++11 -c $<
869 new_opnt.o: new_opnt.cc
870 $(CXXCOMPILE) -std=gnu++11 -c $<
872 install-stdHEADERS: $(std_HEADERS)
873 @$(NORMAL_INSTALL)
874 $(mkinstalldirs) $(DESTDIR)$(stddir)
875 @list='$(std_HEADERS)'; for p in $$list; do \
876 q=`echo $$p | sed -e 's,.*/,,'`; \
877 if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
878 echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(stddir)/$$q"; \
879 $(INSTALL_DATA) $$d$$p $(DESTDIR)$(stddir)/$$q; \
880 done
882 install-bitsHEADERS: $(bits_HEADERS)
883 @$(NORMAL_INSTALL)
884 $(mkinstalldirs) $(DESTDIR)$(bitsdir)
885 @list='$(bits_HEADERS)'; for p in $$list; do \
886 q=`echo $$p | sed -e 's,.*/,,'`; \
887 if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
888 echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(bitsdir)/$$q"; \
889 $(INSTALL_DATA) $$d$$p $(DESTDIR)$(bitsdir)/$$q; \
890 done
892 uninstall-stdHEADERS:
893 @$(NORMAL_UNINSTALL)
894 list='$(std_HEADERS)'; for p in $$list; do \
895 q=`echo $$p | sed -e 's,.*/,,'`; \
896 rm -f $(DESTDIR)$(stddir)/$$q; \
897 done
899 uninstall-bitsHEADERS:
900 @$(NORMAL_UNINSTALL)
901 list='$(bits_HEADERS)'; for p in $$list; do \
902 q=`echo $$p | sed -e 's,.*/,,'`; \
903 rm -f $(DESTDIR)$(bitsdir)/$$q; \
904 done
906 # Tell versions [3.59,3.63) of GNU make to not export all variables.
907 # Otherwise a system limit (for SysV at least) may be exceeded.
908 .NOEXPORT: