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