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