gcc/
[official-gcc.git] / libstdc++-v3 / libsupc++ / Makefile.in
blob88b237e1275e3759a26e75ba4f06b9b6ec72078e
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_opnt.lo \
97 del_opv.lo del_opvnt.lo dyncast.lo eh_alloc.lo eh_arm.lo \
98 eh_aux_runtime.lo eh_call.lo eh_catch.lo eh_exception.lo \
99 eh_globals.lo eh_personality.lo eh_ptr.lo eh_term_handler.lo \
100 eh_terminate.lo eh_tm.lo eh_throw.lo eh_type.lo \
101 eh_unex_handler.lo enum_type_info.lo function_type_info.lo \
102 fundamental_type_info.lo guard.lo guard_error.lo hash_bytes.lo \
103 nested_exception.lo new_handler.lo new_op.lo new_opnt.lo \
104 new_opv.lo new_opvnt.lo pbase_type_info.lo pmem_type_info.lo \
105 pointer_type_info.lo pure.lo si_class_type_info.lo tinfo.lo \
106 tinfo2.lo vec.lo vmi_class_type_info.lo vterminate.lo
107 @GLIBCXX_HOSTED_TRUE@am__objects_2 = cp-demangle.lo
108 @ENABLE_VTABLE_VERIFY_TRUE@am__objects_3 = vtv_stubs.lo
109 am_libsupc___la_OBJECTS = $(am__objects_1) $(am__objects_2) \
110 $(am__objects_3)
111 libsupc___la_OBJECTS = $(am_libsupc___la_OBJECTS)
112 libsupc__convenience_la_LIBADD =
113 am_libsupc__convenience_la_OBJECTS = $(am__objects_1) $(am__objects_2) \
114 $(am__objects_3)
115 libsupc__convenience_la_OBJECTS = \
116 $(am_libsupc__convenience_la_OBJECTS)
117 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
118 depcomp =
119 am__depfiles_maybe =
120 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
121 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
122 CCLD = $(CC)
123 LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
124 --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
125 $(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 HEADERS = $(bits_HEADERS) $(std_HEADERS)
131 ETAGS = etags
132 CTAGS = ctags
133 ABI_TWEAKS_SRCDIR = @ABI_TWEAKS_SRCDIR@
134 ACLOCAL = @ACLOCAL@
135 ALLOCATOR_H = @ALLOCATOR_H@
136 ALLOCATOR_NAME = @ALLOCATOR_NAME@
137 AMTAR = @AMTAR@
138 AR = @AR@
139 AS = @AS@
140 ATOMICITY_SRCDIR = @ATOMICITY_SRCDIR@
141 ATOMIC_FLAGS = @ATOMIC_FLAGS@
142 ATOMIC_WORD_SRCDIR = @ATOMIC_WORD_SRCDIR@
143 AUTOCONF = @AUTOCONF@
144 AUTOHEADER = @AUTOHEADER@
145 AUTOMAKE = @AUTOMAKE@
146 AWK = @AWK@
147 BASIC_FILE_CC = @BASIC_FILE_CC@
148 BASIC_FILE_H = @BASIC_FILE_H@
149 CC = @CC@
150 CCODECVT_CC = @CCODECVT_CC@
151 CCOLLATE_CC = @CCOLLATE_CC@
152 CCTYPE_CC = @CCTYPE_CC@
153 CFLAGS = @CFLAGS@
154 CLOCALE_CC = @CLOCALE_CC@
155 CLOCALE_H = @CLOCALE_H@
156 CLOCALE_INTERNAL_H = @CLOCALE_INTERNAL_H@
157 CMESSAGES_CC = @CMESSAGES_CC@
158 CMESSAGES_H = @CMESSAGES_H@
159 CMONEY_CC = @CMONEY_CC@
160 CNUMERIC_CC = @CNUMERIC_CC@
161 CPP = @CPP@
162 CPPFLAGS = @CPPFLAGS@
163 CPU_DEFINES_SRCDIR = @CPU_DEFINES_SRCDIR@
164 CPU_OPT_BITS_RANDOM = @CPU_OPT_BITS_RANDOM@
165 CPU_OPT_EXT_RANDOM = @CPU_OPT_EXT_RANDOM@
166 CSTDIO_H = @CSTDIO_H@
167 CTIME_CC = @CTIME_CC@
168 CTIME_H = @CTIME_H@
169 CXX = @CXX@
170 CXXCPP = @CXXCPP@
171 CXXFILT = @CXXFILT@
172 CXXFLAGS = @CXXFLAGS@
173 CYGPATH_W = @CYGPATH_W@
174 C_INCLUDE_DIR = @C_INCLUDE_DIR@
175 DBLATEX = @DBLATEX@
176 DEBUG_FLAGS = @DEBUG_FLAGS@
177 DEFS = @DEFS@
178 DOT = @DOT@
179 DOXYGEN = @DOXYGEN@
180 DSYMUTIL = @DSYMUTIL@
181 DUMPBIN = @DUMPBIN@
182 ECHO_C = @ECHO_C@
183 ECHO_N = @ECHO_N@
184 ECHO_T = @ECHO_T@
185 EGREP = @EGREP@
186 ERROR_CONSTANTS_SRCDIR = @ERROR_CONSTANTS_SRCDIR@
187 EXEEXT = @EXEEXT@
188 EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
189 FGREP = @FGREP@
190 GLIBCXX_INCLUDES = @GLIBCXX_INCLUDES@
191 GLIBCXX_LIBS = @GLIBCXX_LIBS@
192 GREP = @GREP@
193 HWCAP_FLAGS = @HWCAP_FLAGS@
194 INSTALL = @INSTALL@
195 INSTALL_DATA = @INSTALL_DATA@
196 INSTALL_PROGRAM = @INSTALL_PROGRAM@
197 INSTALL_SCRIPT = @INSTALL_SCRIPT@
198 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
199 LD = @LD@
200 LDFLAGS = @LDFLAGS@
201 LIBICONV = @LIBICONV@
202 LIBOBJS = @LIBOBJS@
203 LIBS = @LIBS@
204 LIBTOOL = @LIBTOOL@
205 LIPO = @LIPO@
206 LN_S = @LN_S@
207 LTLIBICONV = @LTLIBICONV@
208 LTLIBOBJS = @LTLIBOBJS@
209 MAINT = @MAINT@
210 MAKEINFO = @MAKEINFO@
211 MKDIR_P = @MKDIR_P@
212 NM = @NM@
213 NMEDIT = @NMEDIT@
214 OBJDUMP = @OBJDUMP@
215 OBJEXT = @OBJEXT@
216 OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
217 OPT_LDFLAGS = @OPT_LDFLAGS@
218 OS_INC_SRCDIR = @OS_INC_SRCDIR@
219 OTOOL = @OTOOL@
220 OTOOL64 = @OTOOL64@
221 PACKAGE = @PACKAGE@
222 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
223 PACKAGE_NAME = @PACKAGE_NAME@
224 PACKAGE_STRING = @PACKAGE_STRING@
225 PACKAGE_TARNAME = @PACKAGE_TARNAME@
226 PACKAGE_URL = @PACKAGE_URL@
227 PACKAGE_VERSION = @PACKAGE_VERSION@
228 PATH_SEPARATOR = @PATH_SEPARATOR@
229 PDFLATEX = @PDFLATEX@
230 RANLIB = @RANLIB@
231 SECTION_FLAGS = @SECTION_FLAGS@
232 SECTION_LDFLAGS = @SECTION_LDFLAGS@
233 SED = @SED@
234 SET_MAKE = @SET_MAKE@
235 SHELL = @SHELL@
236 STRIP = @STRIP@
237 SYMVER_FILE = @SYMVER_FILE@
238 TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
239 USE_NLS = @USE_NLS@
240 VERSION = @VERSION@
241 VTV_CXXFLAGS = @VTV_CXXFLAGS@
242 VTV_CXXLINKFLAGS = @VTV_CXXLINKFLAGS@
243 VTV_PCH_CXXFLAGS = @VTV_PCH_CXXFLAGS@
244 WARN_FLAGS = @WARN_FLAGS@
245 WERROR = @WERROR@
246 XMLLINT = @XMLLINT@
247 XSLTPROC = @XSLTPROC@
248 XSL_STYLE_DIR = @XSL_STYLE_DIR@
249 abs_builddir = @abs_builddir@
250 abs_srcdir = @abs_srcdir@
251 abs_top_builddir = @abs_top_builddir@
252 abs_top_srcdir = @abs_top_srcdir@
253 ac_ct_CC = @ac_ct_CC@
254 ac_ct_CXX = @ac_ct_CXX@
255 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
256 am__leading_dot = @am__leading_dot@
257 am__tar = @am__tar@
258 am__untar = @am__untar@
259 baseline_dir = @baseline_dir@
260 baseline_subdir_switch = @baseline_subdir_switch@
261 bindir = @bindir@
262 build = @build@
263 build_alias = @build_alias@
264 build_cpu = @build_cpu@
265 build_os = @build_os@
266 build_vendor = @build_vendor@
267 builddir = @builddir@
268 check_msgfmt = @check_msgfmt@
269 datadir = @datadir@
270 datarootdir = @datarootdir@
271 docdir = @docdir@
272 dvidir = @dvidir@
273 enable_shared = @enable_shared@
274 enable_static = @enable_static@
275 exec_prefix = @exec_prefix@
276 glibcxx_MOFILES = @glibcxx_MOFILES@
277 glibcxx_PCHFLAGS = @glibcxx_PCHFLAGS@
278 glibcxx_POFILES = @glibcxx_POFILES@
279 glibcxx_builddir = @glibcxx_builddir@
280 glibcxx_compiler_pic_flag = @glibcxx_compiler_pic_flag@
281 glibcxx_compiler_shared_flag = @glibcxx_compiler_shared_flag@
282 glibcxx_localedir = @glibcxx_localedir@
283 glibcxx_lt_pic_flag = @glibcxx_lt_pic_flag@
284 glibcxx_prefixdir = @glibcxx_prefixdir@
285 glibcxx_srcdir = @glibcxx_srcdir@
286 glibcxx_toolexecdir = @glibcxx_toolexecdir@
287 glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@
288 gxx_include_dir = @gxx_include_dir@
289 host = @host@
290 host_alias = @host_alias@
291 host_cpu = @host_cpu@
292 host_os = @host_os@
293 host_vendor = @host_vendor@
294 htmldir = @htmldir@
295 includedir = @includedir@
296 infodir = @infodir@
297 install_sh = @install_sh@
298 libdir = @libdir@
299 libexecdir = @libexecdir@
300 libtool_VERSION = @libtool_VERSION@
301 localedir = @localedir@
302 localstatedir = @localstatedir@
303 lt_host_flags = @lt_host_flags@
304 mandir = @mandir@
305 mkdir_p = @mkdir_p@
306 multi_basedir = @multi_basedir@
307 oldincludedir = @oldincludedir@
308 pdfdir = @pdfdir@
309 port_specific_symbol_files = @port_specific_symbol_files@
310 prefix = @prefix@
311 program_transform_name = @program_transform_name@
312 psdir = @psdir@
313 python_mod_dir = @python_mod_dir@
314 sbindir = @sbindir@
315 sharedstatedir = @sharedstatedir@
316 srcdir = @srcdir@
317 sysconfdir = @sysconfdir@
318 target = @target@
319 target_alias = @target_alias@
320 target_cpu = @target_cpu@
321 target_os = @target_os@
322 target_vendor = @target_vendor@
323 thread_header = @thread_header@
324 top_build_prefix = @top_build_prefix@
325 top_builddir = @top_builddir@
326 top_srcdir = @top_srcdir@
327 toplevel_builddir = @toplevel_builddir@
328 toplevel_srcdir = @toplevel_srcdir@
330 # May be used by various substitution variables.
331 gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
332 MAINT_CHARSET = latin1
333 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
334 PWD_COMMAND = $${PWDCMD-pwd}
335 STAMP = echo timestamp >
336 toolexecdir = $(glibcxx_toolexecdir)
337 toolexeclibdir = $(glibcxx_toolexeclibdir)
338 @ENABLE_WERROR_FALSE@WERROR_FLAG =
339 @ENABLE_WERROR_TRUE@WERROR_FLAG = $(WERROR)
340 @ENABLE_EXTERN_TEMPLATE_FALSE@XTEMPLATE_FLAGS =
341 @ENABLE_EXTERN_TEMPLATE_TRUE@XTEMPLATE_FLAGS = -fno-implicit-templates
343 # These bits are all figured out from configure. Look in acinclude.m4
344 # or configure.ac to see how they are set. See GLIBCXX_EXPORT_FLAGS.
345 CONFIG_CXXFLAGS = \
346 $(SECTION_FLAGS) $(HWCAP_FLAGS) -frandom-seed=$@
348 WARN_CXXFLAGS = \
349 $(WARN_FLAGS) $(WERROR_FLAG) -fdiagnostics-show-location=once
352 # -I/-D flags to pass when compiling.
353 AM_CPPFLAGS = $(GLIBCXX_INCLUDES)
355 # Need this library to both be part of libstdc++.a, and installed
356 # separately too.
357 # 1) separate libsupc++.la
358 toolexeclib_LTLIBRARIES = libsupc++.la
360 # 2) integrated libsupc++convenience.la that is to be a part of libstdc++.a
361 noinst_LTLIBRARIES = libsupc++convenience.la
362 std_HEADERS = \
363 cxxabi.h exception initializer_list new typeinfo
365 bits_HEADERS = \
366 atomic_lockfree_defines.h cxxabi_forced.h \
367 exception_defines.h exception_ptr.h hash_bytes.h nested_exception.h
369 headers = $(std_HEADERS) $(bits_HEADERS)
370 @GLIBCXX_HOSTED_TRUE@c_sources = \
371 @GLIBCXX_HOSTED_TRUE@ cp-demangle.c
373 sources = \
374 array_type_info.cc \
375 atexit_arm.cc \
376 atexit_thread.cc \
377 bad_alloc.cc \
378 bad_array_length.cc \
379 bad_array_new.cc \
380 bad_cast.cc \
381 bad_typeid.cc \
382 class_type_info.cc \
383 del_op.cc \
384 del_opnt.cc \
385 del_opv.cc \
386 del_opvnt.cc \
387 dyncast.cc \
388 eh_alloc.cc \
389 eh_arm.cc \
390 eh_aux_runtime.cc \
391 eh_call.cc \
392 eh_catch.cc \
393 eh_exception.cc \
394 eh_globals.cc \
395 eh_personality.cc \
396 eh_ptr.cc \
397 eh_term_handler.cc \
398 eh_terminate.cc \
399 eh_tm.cc \
400 eh_throw.cc \
401 eh_type.cc \
402 eh_unex_handler.cc \
403 enum_type_info.cc \
404 function_type_info.cc \
405 fundamental_type_info.cc \
406 guard.cc \
407 guard_error.cc \
408 hash_bytes.cc \
409 nested_exception.cc \
410 new_handler.cc \
411 new_op.cc \
412 new_opnt.cc \
413 new_opv.cc \
414 new_opvnt.cc \
415 pbase_type_info.cc \
416 pmem_type_info.cc \
417 pointer_type_info.cc \
418 pure.cc \
419 si_class_type_info.cc \
420 tinfo.cc \
421 tinfo2.cc \
422 vec.cc \
423 vmi_class_type_info.cc \
424 vterminate.cc
426 @ENABLE_VTABLE_VERIFY_TRUE@vtv_sources = \
427 @ENABLE_VTABLE_VERIFY_TRUE@ vtv_stubs.cc
429 libsupc___la_SOURCES = $(sources) $(c_sources) $(vtv_sources)
430 libsupc__convenience_la_SOURCES = $(sources) $(c_sources) $(vtv_sources)
432 # AM_CXXFLAGS needs to be in each subdirectory so that it can be
433 # modified in a per-library or per-sub-library way. Need to manually
434 # set this option because CONFIG_CXXFLAGS has to be after
435 # OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden
436 # as the occasion call for it.
437 AM_CXXFLAGS = \
438 $(glibcxx_lt_pic_flag) $(glibcxx_compiler_shared_flag) \
439 $(XTEMPLATE_FLAGS) \
440 $(WARN_CXXFLAGS) $(OPTIMIZE_CXXFLAGS) $(CONFIG_CXXFLAGS)
442 AM_MAKEFLAGS = \
443 "gxx_include_dir=$(gxx_include_dir)"
446 # Use special rules for pulling things out of libiberty. These
447 # objects should be compiled with the "C" compiler, not the C++
448 # compiler, and also should not use the C++ includes.
449 C_INCLUDES = -I.. -I$(toplevel_srcdir)/libiberty -I$(toplevel_srcdir)/include
450 C_COMPILE = \
451 $(CC) $(DEFS) $(C_INCLUDES) \
452 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
455 # LTCOMPILE is copied from LTCXXCOMPILE below.
456 LTCOMPILE = $(LIBTOOL) --tag CC --tag disable-shared $(LIBTOOLFLAGS) --mode=compile \
457 $(CC) $(DEFS) $(C_INCLUDES) \
458 $(glibcxx_lt_pic_flag) $(glibcxx_compiler_shared_flag) \
459 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
462 # Libtool notes
464 # 1) In general, libtool expects an argument such as `--tag=CXX' when
465 # using the C++ compiler, because that will enable the settings
466 # detected when C++ support was being configured. However, when no
467 # such flag is given in the command line, libtool attempts to figure
468 # it out by matching the compiler name in each configuration section
469 # against a prefix of the command line. The problem is that, if the
470 # compiler name and its initial flags stored in the libtool
471 # configuration file don't match those in the command line, libtool
472 # can't decide which configuration to use, and it gives up. The
473 # correct solution is to add `--tag CXX' to LTCXXCOMPILE and maybe
474 # CXXLINK, just after $(LIBTOOL), so that libtool doesn't have to
475 # attempt to infer which configuration to use.
477 # The second tag argument, `--tag disable-shared` means that libtool
478 # only compiles each source once, for static objects. In actuality,
479 # glibcxx_lt_pic_flag and glibcxx_compiler_shared_flag are added to
480 # the libtool command that is used create the object, which is
481 # suitable for shared libraries. The `--tag disable-shared` must be
482 # placed after --tag CXX lest things CXX undo the affect of
483 # disable-shared.
485 # 2) Need to explicitly set LTCXXCOMPILE so that EXTRA_CXX_FLAGS is
486 # last. (That way, things like -O2 passed down from the toplevel can
487 # be overridden by --enable-debug.)
488 LTCXXCOMPILE = \
489 $(LIBTOOL) --tag CXX --tag disable-shared \
490 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
491 --mode=compile $(CXX) $(TOPLEVEL_INCLUDES) \
492 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(EXTRA_CXX_FLAGS)
494 LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
496 # 3) We'd have a problem when building the shared libstdc++ object if
497 # the rules automake generates would be used. We cannot allow g++ to
498 # be used since this would add -lstdc++ to the link line which of
499 # course is problematic at this point. So, we get the top-level
500 # directory to configure libstdc++-v3 to use gcc as the C++
501 # compilation driver.
502 CXXLINK = \
503 $(LIBTOOL) --tag CXX --tag disable-shared \
504 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
505 --mode=link $(CXX) \
506 $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LTLDFLAGS) -o $@
509 # Install notes
510 # We have to have rules modified from the default to counteract SUN make
511 # prepending each of $(*_HEADERS) with VPATH below.
512 stddir = $(gxx_include_dir)
513 bitsdir = $(gxx_include_dir)/bits
515 # By adding these files here, automake will remove them for 'make clean'
516 CLEANFILES = stamp-*
517 all: all-am
519 .SUFFIXES:
520 .SUFFIXES: .c .cc .lo .o .obj
521 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/fragment.am $(am__configure_deps)
522 @for dep in $?; do \
523 case '$(am__configure_deps)' in \
524 *$$dep*) \
525 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
526 && { if test -f $@; then exit 0; else break; fi; }; \
527 exit 1;; \
528 esac; \
529 done; \
530 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps libsupc++/Makefile'; \
531 $(am__cd) $(top_srcdir) && \
532 $(AUTOMAKE) --foreign --ignore-deps libsupc++/Makefile
533 .PRECIOUS: Makefile
534 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
535 @case '$?' in \
536 *config.status*) \
537 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
538 *) \
539 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
540 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
541 esac;
543 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
544 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
546 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
547 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
548 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
549 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
550 $(am__aclocal_m4_deps):
552 clean-noinstLTLIBRARIES:
553 -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
554 @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
555 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
556 test "$$dir" != "$$p" || dir=.; \
557 echo "rm -f \"$${dir}/so_locations\""; \
558 rm -f "$${dir}/so_locations"; \
559 done
560 install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
561 @$(NORMAL_INSTALL)
562 test -z "$(toolexeclibdir)" || $(MKDIR_P) "$(DESTDIR)$(toolexeclibdir)"
563 @list='$(toolexeclib_LTLIBRARIES)'; test -n "$(toolexeclibdir)" || list=; \
564 list2=; for p in $$list; do \
565 if test -f $$p; then \
566 list2="$$list2 $$p"; \
567 else :; fi; \
568 done; \
569 test -z "$$list2" || { \
570 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(toolexeclibdir)'"; \
571 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(toolexeclibdir)"; \
574 uninstall-toolexeclibLTLIBRARIES:
575 @$(NORMAL_UNINSTALL)
576 @list='$(toolexeclib_LTLIBRARIES)'; test -n "$(toolexeclibdir)" || list=; \
577 for p in $$list; do \
578 $(am__strip_dir) \
579 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(toolexeclibdir)/$$f'"; \
580 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(toolexeclibdir)/$$f"; \
581 done
583 clean-toolexeclibLTLIBRARIES:
584 -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
585 @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
586 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
587 test "$$dir" != "$$p" || dir=.; \
588 echo "rm -f \"$${dir}/so_locations\""; \
589 rm -f "$${dir}/so_locations"; \
590 done
591 libsupc++.la: $(libsupc___la_OBJECTS) $(libsupc___la_DEPENDENCIES)
592 $(CXXLINK) -rpath $(toolexeclibdir) $(libsupc___la_OBJECTS) $(libsupc___la_LIBADD) $(LIBS)
593 libsupc++convenience.la: $(libsupc__convenience_la_OBJECTS) $(libsupc__convenience_la_DEPENDENCIES)
594 $(CXXLINK) $(libsupc__convenience_la_OBJECTS) $(libsupc__convenience_la_LIBADD) $(LIBS)
596 mostlyclean-compile:
597 -rm -f *.$(OBJEXT)
599 distclean-compile:
600 -rm -f *.tab.c
602 .c.o:
603 $(COMPILE) -c $<
605 .c.obj:
606 $(COMPILE) -c `$(CYGPATH_W) '$<'`
608 .c.lo:
609 $(LTCOMPILE) -c -o $@ $<
611 .cc.o:
612 $(CXXCOMPILE) -c -o $@ $<
614 .cc.obj:
615 $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
617 .cc.lo:
618 $(LTCXXCOMPILE) -c -o $@ $<
620 mostlyclean-libtool:
621 -rm -f *.lo
623 clean-libtool:
624 -rm -rf .libs _libs
626 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
627 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
628 unique=`for i in $$list; do \
629 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
630 done | \
631 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
632 END { if (nonempty) { for (i in files) print i; }; }'`; \
633 mkid -fID $$unique
634 tags: TAGS
636 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
637 $(TAGS_FILES) $(LISP)
638 set x; \
639 here=`pwd`; \
640 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
641 unique=`for i in $$list; do \
642 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
643 done | \
644 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
645 END { if (nonempty) { for (i in files) print i; }; }'`; \
646 shift; \
647 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
648 test -n "$$unique" || unique=$$empty_fix; \
649 if test $$# -gt 0; then \
650 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
651 "$$@" $$unique; \
652 else \
653 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
654 $$unique; \
655 fi; \
657 ctags: CTAGS
658 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
659 $(TAGS_FILES) $(LISP)
660 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
661 unique=`for i in $$list; do \
662 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
663 done | \
664 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
665 END { if (nonempty) { for (i in files) print i; }; }'`; \
666 test -z "$(CTAGS_ARGS)$$unique" \
667 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
668 $$unique
670 GTAGS:
671 here=`$(am__cd) $(top_builddir) && pwd` \
672 && $(am__cd) $(top_srcdir) \
673 && gtags -i $(GTAGS_ARGS) "$$here"
675 distclean-tags:
676 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
677 check-am: all-am
678 check: check-am
679 all-am: Makefile $(LTLIBRARIES) $(HEADERS)
680 installdirs:
681 for dir in "$(DESTDIR)$(toolexeclibdir)" "$(DESTDIR)$(bitsdir)" "$(DESTDIR)$(stddir)"; do \
682 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
683 done
684 install: install-am
685 install-exec: install-exec-am
686 install-data: install-data-am
687 uninstall: uninstall-am
689 install-am: all-am
690 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
692 installcheck: installcheck-am
693 install-strip:
694 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
695 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
696 `test -z '$(STRIP)' || \
697 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
698 mostlyclean-generic:
700 clean-generic:
701 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
703 distclean-generic:
704 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
705 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
707 maintainer-clean-generic:
708 @echo "This command is intended for maintainers to use"
709 @echo "it deletes files that may require special tools to rebuild."
710 clean: clean-am
712 clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
713 clean-toolexeclibLTLIBRARIES mostlyclean-am
715 distclean: distclean-am
716 -rm -f Makefile
717 distclean-am: clean-am distclean-compile distclean-generic \
718 distclean-tags
720 dvi: dvi-am
722 dvi-am:
724 html: html-am
726 html-am:
728 info: info-am
730 info-am:
732 install-data-am: install-bitsHEADERS install-stdHEADERS
734 install-dvi: install-dvi-am
736 install-dvi-am:
738 install-exec-am: install-toolexeclibLTLIBRARIES
740 install-html: install-html-am
742 install-html-am:
744 install-info: install-info-am
746 install-info-am:
748 install-man:
750 install-pdf: install-pdf-am
752 install-pdf-am:
754 install-ps: install-ps-am
756 install-ps-am:
758 installcheck-am:
760 maintainer-clean: maintainer-clean-am
761 -rm -f Makefile
762 maintainer-clean-am: distclean-am maintainer-clean-generic
764 mostlyclean: mostlyclean-am
766 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
767 mostlyclean-libtool
769 pdf: pdf-am
771 pdf-am:
773 ps: ps-am
775 ps-am:
777 uninstall-am: uninstall-bitsHEADERS uninstall-stdHEADERS \
778 uninstall-toolexeclibLTLIBRARIES
780 .MAKE: install-am install-strip
782 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
783 clean-libtool clean-noinstLTLIBRARIES \
784 clean-toolexeclibLTLIBRARIES ctags distclean distclean-compile \
785 distclean-generic distclean-libtool distclean-tags dvi dvi-am \
786 html html-am info info-am install install-am \
787 install-bitsHEADERS install-data install-data-am install-dvi \
788 install-dvi-am install-exec install-exec-am install-html \
789 install-html-am install-info install-info-am install-man \
790 install-pdf install-pdf-am install-ps install-ps-am \
791 install-stdHEADERS install-strip \
792 install-toolexeclibLTLIBRARIES installcheck installcheck-am \
793 installdirs maintainer-clean maintainer-clean-generic \
794 mostlyclean mostlyclean-compile mostlyclean-generic \
795 mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
796 uninstall-am uninstall-bitsHEADERS uninstall-stdHEADERS \
797 uninstall-toolexeclibLTLIBRARIES
800 cp-demangle.c:
801 rm -f $@
802 $(LN_S) $(toplevel_srcdir)/libiberty/cp-demangle.c $@
803 cp-demangle.lo: cp-demangle.c
804 $(LTCOMPILE) -DIN_GLIBCPP_V3 -Wno-error -c $<
805 cp-demangle.o: cp-demangle.c
806 $(C_COMPILE) -DIN_GLIBCPP_V3 -Wno-error -c $<
808 # Use special rules for the C++11 sources so that the proper flags are passed.
809 bad_array_length.lo: bad_array_length.cc
810 $(LTCXXCOMPILE) -std=gnu++11 -c $<
811 bad_array_length.o: bad_array_length.cc
812 $(CXXCOMPILE) -std=gnu++11 -c $<
814 bad_array_new.lo: bad_array_new.cc
815 $(LTCXXCOMPILE) -std=gnu++11 -c $<
816 bad_array_new.o: bad_array_new.cc
817 $(CXXCOMPILE) -std=gnu++11 -c $<
819 eh_aux_runtime.lo: eh_aux_runtime.cc
820 $(LTCXXCOMPILE) -std=gnu++11 -c $<
821 eh_aux_runtime.o: eh_aux_runtime.cc
822 $(CXXCOMPILE) -std=gnu++11 -c $<
824 eh_ptr.lo: eh_ptr.cc
825 $(LTCXXCOMPILE) -std=gnu++11 -c $<
826 eh_ptr.o: eh_ptr.cc
827 $(CXXCOMPILE) -std=gnu++11 -c $<
829 eh_terminate.lo: eh_terminate.cc
830 $(LTCXXCOMPILE) -std=gnu++11 -c $<
831 eh_terminate.o: eh_terminate.cc
832 $(CXXCOMPILE) -std=gnu++11 -c $<
834 eh_throw.lo: eh_throw.cc
835 $(LTCXXCOMPILE) -std=gnu++11 -c $<
836 eh_throw.o: eh_throw.cc
837 $(CXXCOMPILE) -std=gnu++11 -c $<
839 guard.lo: guard.cc
840 $(LTCXXCOMPILE) -std=gnu++11 -c $<
841 guard.o: guard.cc
842 $(CXXCOMPILE) -std=gnu++11 -c $<
844 atexit_thread.lo: atexit_thread.cc
845 $(LTCXXCOMPILE) -std=gnu++11 -c $<
846 atexit_thread.o: atexit_thread.cc
847 $(CXXCOMPILE) -std=gnu++11 -c $<
849 nested_exception.lo: nested_exception.cc
850 $(LTCXXCOMPILE) -std=gnu++11 -c $<
851 nested_exception.o: nested_exception.cc
852 $(CXXCOMPILE) -std=gnu++11 -c $<
854 new_handler.lo: new_handler.cc
855 $(LTCXXCOMPILE) -std=gnu++11 -c $<
856 new_handler.o: new_handler.cc
857 $(CXXCOMPILE) -std=gnu++11 -c $<
859 new_op.lo: new_op.cc
860 $(LTCXXCOMPILE) -std=gnu++11 -c $<
861 new_op.o: new_op.cc
862 $(CXXCOMPILE) -std=gnu++11 -c $<
864 new_opnt.lo: new_opnt.cc
865 $(LTCXXCOMPILE) -std=gnu++11 -c $<
866 new_opnt.o: new_opnt.cc
867 $(CXXCOMPILE) -std=gnu++11 -c $<
869 install-stdHEADERS: $(std_HEADERS)
870 @$(NORMAL_INSTALL)
871 $(mkinstalldirs) $(DESTDIR)$(stddir)
872 @list='$(std_HEADERS)'; for p in $$list; do \
873 q=`echo $$p | sed -e 's,.*/,,'`; \
874 if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
875 echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(stddir)/$$q"; \
876 $(INSTALL_DATA) $$d$$p $(DESTDIR)$(stddir)/$$q; \
877 done
879 install-bitsHEADERS: $(bits_HEADERS)
880 @$(NORMAL_INSTALL)
881 $(mkinstalldirs) $(DESTDIR)$(bitsdir)
882 @list='$(bits_HEADERS)'; for p in $$list; do \
883 q=`echo $$p | sed -e 's,.*/,,'`; \
884 if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
885 echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(bitsdir)/$$q"; \
886 $(INSTALL_DATA) $$d$$p $(DESTDIR)$(bitsdir)/$$q; \
887 done
889 uninstall-stdHEADERS:
890 @$(NORMAL_UNINSTALL)
891 list='$(std_HEADERS)'; for p in $$list; do \
892 q=`echo $$p | sed -e 's,.*/,,'`; \
893 rm -f $(DESTDIR)$(stddir)/$$q; \
894 done
896 uninstall-bitsHEADERS:
897 @$(NORMAL_UNINSTALL)
898 list='$(bits_HEADERS)'; for p in $$list; do \
899 q=`echo $$p | sed -e 's,.*/,,'`; \
900 rm -f $(DESTDIR)$(bitsdir)/$$q; \
901 done
903 # Tell versions [3.59,3.63) of GNU make to not export all variables.
904 # Otherwise a system limit (for SysV at least) may be exceeded.
905 .NOEXPORT: