]> git.ipfire.org Git - thirdparty/gcc.git/blob - libstdc++-v3/libsupc++/Makefile.in
acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Remove size-specific macros.
[thirdparty/gcc.git] / libstdc++-v3 / libsupc++ / Makefile.in
1 # Makefile.in generated by automake 1.11.1 from Makefile.am.
2 # @configure_input@
3
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.
10
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.
15
16 @SET_MAKE@
17
18
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 CSTDIO_H = @CSTDIO_H@
161 CTIME_CC = @CTIME_CC@
162 CTIME_H = @CTIME_H@
163 CXX = @CXX@
164 CXXCPP = @CXXCPP@
165 CXXFILT = @CXXFILT@
166 CXXFLAGS = @CXXFLAGS@
167 CYGPATH_W = @CYGPATH_W@
168 C_INCLUDE_DIR = @C_INCLUDE_DIR@
169 DBLATEX = @DBLATEX@
170 DBTOEPUB = @DBTOEPUB@
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 INSTALL = @INSTALL@
189 INSTALL_DATA = @INSTALL_DATA@
190 INSTALL_PROGRAM = @INSTALL_PROGRAM@
191 INSTALL_SCRIPT = @INSTALL_SCRIPT@
192 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
193 LD = @LD@
194 LDFLAGS = @LDFLAGS@
195 LIBICONV = @LIBICONV@
196 LIBOBJS = @LIBOBJS@
197 LIBS = @LIBS@
198 LIBSUPCXX_PICFLAGS = @LIBSUPCXX_PICFLAGS@
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 RUBY = @RUBY@
227 SECTION_FLAGS = @SECTION_FLAGS@
228 SECTION_LDFLAGS = @SECTION_LDFLAGS@
229 SED = @SED@
230 SET_MAKE = @SET_MAKE@
231 SHELL = @SHELL@
232 STRIP = @STRIP@
233 SYMVER_FILE = @SYMVER_FILE@
234 TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
235 USE_NLS = @USE_NLS@
236 VERSION = @VERSION@
237 WARN_FLAGS = @WARN_FLAGS@
238 WERROR = @WERROR@
239 XMLLINT = @XMLLINT@
240 XSLTPROC = @XSLTPROC@
241 XSL_STYLE_DIR = @XSL_STYLE_DIR@
242 abs_builddir = @abs_builddir@
243 abs_srcdir = @abs_srcdir@
244 abs_top_builddir = @abs_top_builddir@
245 abs_top_srcdir = @abs_top_srcdir@
246 ac_ct_CC = @ac_ct_CC@
247 ac_ct_CXX = @ac_ct_CXX@
248 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
249 am__leading_dot = @am__leading_dot@
250 am__tar = @am__tar@
251 am__untar = @am__untar@
252 baseline_dir = @baseline_dir@
253 baseline_subdir_switch = @baseline_subdir_switch@
254 bindir = @bindir@
255 build = @build@
256 build_alias = @build_alias@
257 build_cpu = @build_cpu@
258 build_os = @build_os@
259 build_vendor = @build_vendor@
260 builddir = @builddir@
261 check_msgfmt = @check_msgfmt@
262 datadir = @datadir@
263 datarootdir = @datarootdir@
264 docdir = @docdir@
265 dvidir = @dvidir@
266 enable_shared = @enable_shared@
267 enable_static = @enable_static@
268 exec_prefix = @exec_prefix@
269 glibcxx_MOFILES = @glibcxx_MOFILES@
270 glibcxx_PCHFLAGS = @glibcxx_PCHFLAGS@
271 glibcxx_POFILES = @glibcxx_POFILES@
272 glibcxx_builddir = @glibcxx_builddir@
273 glibcxx_localedir = @glibcxx_localedir@
274 glibcxx_prefixdir = @glibcxx_prefixdir@
275 glibcxx_srcdir = @glibcxx_srcdir@
276 glibcxx_toolexecdir = @glibcxx_toolexecdir@
277 glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@
278 gxx_include_dir = @gxx_include_dir@
279 host = @host@
280 host_alias = @host_alias@
281 host_cpu = @host_cpu@
282 host_os = @host_os@
283 host_vendor = @host_vendor@
284 htmldir = @htmldir@
285 includedir = @includedir@
286 infodir = @infodir@
287 install_sh = @install_sh@
288 libdir = @libdir@
289 libexecdir = @libexecdir@
290 libtool_VERSION = @libtool_VERSION@
291 localedir = @localedir@
292 localstatedir = @localstatedir@
293 lt_host_flags = @lt_host_flags@
294 mandir = @mandir@
295 mkdir_p = @mkdir_p@
296 multi_basedir = @multi_basedir@
297 oldincludedir = @oldincludedir@
298 pdfdir = @pdfdir@
299 port_specific_symbol_files = @port_specific_symbol_files@
300 prefix = @prefix@
301 program_transform_name = @program_transform_name@
302 psdir = @psdir@
303 sbindir = @sbindir@
304 sharedstatedir = @sharedstatedir@
305 srcdir = @srcdir@
306 sysconfdir = @sysconfdir@
307 target = @target@
308 target_alias = @target_alias@
309 target_cpu = @target_cpu@
310 target_os = @target_os@
311 target_vendor = @target_vendor@
312 top_build_prefix = @top_build_prefix@
313 top_builddir = @top_builddir@
314 top_srcdir = @top_srcdir@
315 toplevel_builddir = @toplevel_builddir@
316 toplevel_srcdir = @toplevel_srcdir@
317
318 # May be used by various substitution variables.
319 gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
320 MAINT_CHARSET = latin1
321 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
322 PWD_COMMAND = $${PWDCMD-pwd}
323 STAMP = echo timestamp >
324 toolexecdir = $(glibcxx_toolexecdir)
325 toolexeclibdir = $(glibcxx_toolexeclibdir)
326
327 # These bits are all figured out from configure. Look in acinclude.m4
328 # or configure.ac to see how they are set. See GLIBCXX_EXPORT_FLAGS.
329 CONFIG_CXXFLAGS = \
330 $(SECTION_FLAGS) $(EXTRA_CXX_FLAGS) -frandom-seed=$@
331
332 WARN_CXXFLAGS = \
333 $(WARN_FLAGS) $(WERROR) -fdiagnostics-show-location=once
334
335
336 # -I/-D flags to pass when compiling.
337 AM_CPPFLAGS = $(GLIBCXX_INCLUDES)
338
339 # Need this library to both be part of libstdc++.a, and installed
340 # separately too.
341 # 1) separate libsupc++.la
342 toolexeclib_LTLIBRARIES = libsupc++.la
343 # 2) integrated libsupc++convenience.la that is to be a part of libstdc++.a
344 noinst_LTLIBRARIES = libsupc++convenience.la
345 std_HEADERS = \
346 cxxabi.h exception initializer_list new typeinfo
347
348 bits_HEADERS = \
349 atomic_lockfree_defines.h cxxabi_forced.h \
350 exception_defines.h exception_ptr.h hash_bytes.h nested_exception.h
351
352 headers = $(std_HEADERS) $(bits_HEADERS)
353 @GLIBCXX_HOSTED_TRUE@c_sources = \
354 @GLIBCXX_HOSTED_TRUE@ cp-demangle.c
355
356 sources = \
357 array_type_info.cc \
358 atexit_arm.cc \
359 bad_alloc.cc \
360 bad_cast.cc \
361 bad_typeid.cc \
362 class_type_info.cc \
363 del_op.cc \
364 del_opnt.cc \
365 del_opv.cc \
366 del_opvnt.cc \
367 dyncast.cc \
368 eh_alloc.cc \
369 eh_arm.cc \
370 eh_aux_runtime.cc \
371 eh_call.cc \
372 eh_catch.cc \
373 eh_exception.cc \
374 eh_globals.cc \
375 eh_personality.cc \
376 eh_ptr.cc \
377 eh_term_handler.cc \
378 eh_terminate.cc \
379 eh_tm.cc \
380 eh_throw.cc \
381 eh_type.cc \
382 eh_unex_handler.cc \
383 enum_type_info.cc \
384 function_type_info.cc \
385 fundamental_type_info.cc \
386 guard.cc \
387 guard_error.cc \
388 hash_bytes.cc \
389 nested_exception.cc \
390 new_handler.cc \
391 new_op.cc \
392 new_opnt.cc \
393 new_opv.cc \
394 new_opvnt.cc \
395 pbase_type_info.cc \
396 pmem_type_info.cc \
397 pointer_type_info.cc \
398 pure.cc \
399 si_class_type_info.cc \
400 tinfo.cc \
401 tinfo2.cc \
402 vec.cc \
403 vmi_class_type_info.cc \
404 vterminate.cc
405
406 libsupc___la_SOURCES = $(sources) $(c_sources)
407 libsupc__convenience_la_SOURCES = $(sources) $(c_sources)
408
409 # AM_CXXFLAGS needs to be in each subdirectory so that it can be
410 # modified in a per-library or per-sub-library way. Need to manually
411 # set this option because CONFIG_CXXFLAGS has to be after
412 # OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden
413 # as the occasion call for it.
414 AM_CXXFLAGS = \
415 -fno-implicit-templates \
416 $(LIBSUPCXX_PICFLAGS) \
417 $(WARN_CXXFLAGS) \
418 $(OPTIMIZE_CXXFLAGS) \
419 $(CONFIG_CXXFLAGS)
420
421 AM_MAKEFLAGS = \
422 "gxx_include_dir=$(gxx_include_dir)"
423
424
425 # Use special rules for pulling things out of libiberty. These
426 # objects should be compiled with the "C" compiler, not the C++
427 # compiler, and also should not use the C++ includes.
428 C_INCLUDES = -I.. -I$(toplevel_srcdir)/libiberty -I$(toplevel_srcdir)/include
429 C_COMPILE = \
430 $(CC) $(DEFS) $(C_INCLUDES) \
431 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
432
433
434 # LTCOMPILE is copied from LTCXXCOMPILE below.
435 LTCOMPILE = $(LIBTOOL) --tag CC --tag disable-shared $(LIBTOOLFLAGS) --mode=compile \
436 $(CC) $(DEFS) $(C_INCLUDES) $(LIBSUPCXX_PICFLAGS) \
437 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
438
439
440 # Libtool notes
441
442 # 1) Need to explicitly set LTCXXCOMPILE so that AM_CXXFLAGS is
443 # last. (That way, things like -O2 passed down from the toplevel can
444 # be overridden by --enable-debug.)
445
446 # 2) 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.
458 #
459 # We have to put --tag disable-shared after --tag CXX lest things
460 # CXX undo the affect of disable-shared.
461 LTCXXCOMPILE = $(LIBTOOL) --tag CXX --tag disable-shared $(LIBTOOLFLAGS) \
462 --mode=compile $(CXX) $(TOPLEVEL_INCLUDES) \
463 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
464
465 LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
466
467 # 3) We'd have a problem when building the shared libstdc++ object if
468 # the rules automake generates would be used. We cannot allow g++ to
469 # be used since this would add -lstdc++ to the link line which of
470 # course is problematic at this point. So, we get the top-level
471 # directory to configure libstdc++-v3 to use gcc as the C++
472 # compilation driver.
473 CXXLINK = $(LIBTOOL) --tag CXX --tag disable-shared $(LIBTOOLFLAGS) \
474 --mode=link $(CXX) \
475 $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LTLDFLAGS) -o $@
476
477
478 # Install notes
479 # We have to have rules modified from the default to counteract SUN make
480 # prepending each of $(*_HEADERS) with VPATH below.
481 stddir = $(gxx_include_dir)
482 bitsdir = $(gxx_include_dir)/bits
483 all: all-am
484
485 .SUFFIXES:
486 .SUFFIXES: .c .cc .lo .o .obj
487 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/fragment.am $(am__configure_deps)
488 @for dep in $?; do \
489 case '$(am__configure_deps)' in \
490 *$$dep*) \
491 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
492 && { if test -f $@; then exit 0; else break; fi; }; \
493 exit 1;; \
494 esac; \
495 done; \
496 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps libsupc++/Makefile'; \
497 $(am__cd) $(top_srcdir) && \
498 $(AUTOMAKE) --foreign --ignore-deps libsupc++/Makefile
499 .PRECIOUS: Makefile
500 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
501 @case '$?' in \
502 *config.status*) \
503 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
504 *) \
505 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
506 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
507 esac;
508
509 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
510 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
511
512 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
513 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
514 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
515 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
516 $(am__aclocal_m4_deps):
517
518 clean-noinstLTLIBRARIES:
519 -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
520 @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
521 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
522 test "$$dir" != "$$p" || dir=.; \
523 echo "rm -f \"$${dir}/so_locations\""; \
524 rm -f "$${dir}/so_locations"; \
525 done
526 install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
527 @$(NORMAL_INSTALL)
528 test -z "$(toolexeclibdir)" || $(MKDIR_P) "$(DESTDIR)$(toolexeclibdir)"
529 @list='$(toolexeclib_LTLIBRARIES)'; test -n "$(toolexeclibdir)" || list=; \
530 list2=; for p in $$list; do \
531 if test -f $$p; then \
532 list2="$$list2 $$p"; \
533 else :; fi; \
534 done; \
535 test -z "$$list2" || { \
536 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(toolexeclibdir)'"; \
537 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(toolexeclibdir)"; \
538 }
539
540 uninstall-toolexeclibLTLIBRARIES:
541 @$(NORMAL_UNINSTALL)
542 @list='$(toolexeclib_LTLIBRARIES)'; test -n "$(toolexeclibdir)" || list=; \
543 for p in $$list; do \
544 $(am__strip_dir) \
545 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(toolexeclibdir)/$$f'"; \
546 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(toolexeclibdir)/$$f"; \
547 done
548
549 clean-toolexeclibLTLIBRARIES:
550 -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
551 @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
552 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
553 test "$$dir" != "$$p" || dir=.; \
554 echo "rm -f \"$${dir}/so_locations\""; \
555 rm -f "$${dir}/so_locations"; \
556 done
557 libsupc++.la: $(libsupc___la_OBJECTS) $(libsupc___la_DEPENDENCIES)
558 $(CXXLINK) -rpath $(toolexeclibdir) $(libsupc___la_OBJECTS) $(libsupc___la_LIBADD) $(LIBS)
559 libsupc++convenience.la: $(libsupc__convenience_la_OBJECTS) $(libsupc__convenience_la_DEPENDENCIES)
560 $(CXXLINK) $(libsupc__convenience_la_OBJECTS) $(libsupc__convenience_la_LIBADD) $(LIBS)
561
562 mostlyclean-compile:
563 -rm -f *.$(OBJEXT)
564
565 distclean-compile:
566 -rm -f *.tab.c
567
568 .c.o:
569 $(COMPILE) -c $<
570
571 .c.obj:
572 $(COMPILE) -c `$(CYGPATH_W) '$<'`
573
574 .c.lo:
575 $(LTCOMPILE) -c -o $@ $<
576
577 .cc.o:
578 $(CXXCOMPILE) -c -o $@ $<
579
580 .cc.obj:
581 $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
582
583 .cc.lo:
584 $(LTCXXCOMPILE) -c -o $@ $<
585
586 mostlyclean-libtool:
587 -rm -f *.lo
588
589 clean-libtool:
590 -rm -rf .libs _libs
591
592 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
593 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
594 unique=`for i in $$list; do \
595 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
596 done | \
597 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
598 END { if (nonempty) { for (i in files) print i; }; }'`; \
599 mkid -fID $$unique
600 tags: TAGS
601
602 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
603 $(TAGS_FILES) $(LISP)
604 set x; \
605 here=`pwd`; \
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 shift; \
613 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
614 test -n "$$unique" || unique=$$empty_fix; \
615 if test $$# -gt 0; then \
616 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
617 "$$@" $$unique; \
618 else \
619 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
620 $$unique; \
621 fi; \
622 fi
623 ctags: CTAGS
624 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
625 $(TAGS_FILES) $(LISP)
626 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
627 unique=`for i in $$list; do \
628 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
629 done | \
630 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
631 END { if (nonempty) { for (i in files) print i; }; }'`; \
632 test -z "$(CTAGS_ARGS)$$unique" \
633 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
634 $$unique
635
636 GTAGS:
637 here=`$(am__cd) $(top_builddir) && pwd` \
638 && $(am__cd) $(top_srcdir) \
639 && gtags -i $(GTAGS_ARGS) "$$here"
640
641 distclean-tags:
642 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
643 check-am: all-am
644 check: check-am
645 all-am: Makefile $(LTLIBRARIES) $(HEADERS)
646 installdirs:
647 for dir in "$(DESTDIR)$(toolexeclibdir)" "$(DESTDIR)$(bitsdir)" "$(DESTDIR)$(stddir)"; do \
648 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
649 done
650 install: install-am
651 install-exec: install-exec-am
652 install-data: install-data-am
653 uninstall: uninstall-am
654
655 install-am: all-am
656 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
657
658 installcheck: installcheck-am
659 install-strip:
660 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
661 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
662 `test -z '$(STRIP)' || \
663 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
664 mostlyclean-generic:
665
666 clean-generic:
667
668 distclean-generic:
669 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
670 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
671
672 maintainer-clean-generic:
673 @echo "This command is intended for maintainers to use"
674 @echo "it deletes files that may require special tools to rebuild."
675 clean: clean-am
676
677 clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
678 clean-toolexeclibLTLIBRARIES mostlyclean-am
679
680 distclean: distclean-am
681 -rm -f Makefile
682 distclean-am: clean-am distclean-compile distclean-generic \
683 distclean-tags
684
685 dvi: dvi-am
686
687 dvi-am:
688
689 html: html-am
690
691 html-am:
692
693 info: info-am
694
695 info-am:
696
697 install-data-am: install-bitsHEADERS install-stdHEADERS
698
699 install-dvi: install-dvi-am
700
701 install-dvi-am:
702
703 install-exec-am: install-toolexeclibLTLIBRARIES
704
705 install-html: install-html-am
706
707 install-html-am:
708
709 install-info: install-info-am
710
711 install-info-am:
712
713 install-man:
714
715 install-pdf: install-pdf-am
716
717 install-pdf-am:
718
719 install-ps: install-ps-am
720
721 install-ps-am:
722
723 installcheck-am:
724
725 maintainer-clean: maintainer-clean-am
726 -rm -f Makefile
727 maintainer-clean-am: distclean-am maintainer-clean-generic
728
729 mostlyclean: mostlyclean-am
730
731 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
732 mostlyclean-libtool
733
734 pdf: pdf-am
735
736 pdf-am:
737
738 ps: ps-am
739
740 ps-am:
741
742 uninstall-am: uninstall-bitsHEADERS uninstall-stdHEADERS \
743 uninstall-toolexeclibLTLIBRARIES
744
745 .MAKE: install-am install-strip
746
747 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
748 clean-libtool clean-noinstLTLIBRARIES \
749 clean-toolexeclibLTLIBRARIES ctags distclean distclean-compile \
750 distclean-generic distclean-libtool distclean-tags dvi dvi-am \
751 html html-am info info-am install install-am \
752 install-bitsHEADERS install-data install-data-am install-dvi \
753 install-dvi-am install-exec install-exec-am install-html \
754 install-html-am install-info install-info-am install-man \
755 install-pdf install-pdf-am install-ps install-ps-am \
756 install-stdHEADERS install-strip \
757 install-toolexeclibLTLIBRARIES installcheck installcheck-am \
758 installdirs maintainer-clean maintainer-clean-generic \
759 mostlyclean mostlyclean-compile mostlyclean-generic \
760 mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
761 uninstall-am uninstall-bitsHEADERS uninstall-stdHEADERS \
762 uninstall-toolexeclibLTLIBRARIES
763
764
765 cp-demangle.c:
766 rm -f $@
767 $(LN_S) $(toplevel_srcdir)/libiberty/cp-demangle.c $@
768 cp-demangle.lo: cp-demangle.c
769 $(LTCOMPILE) -DIN_GLIBCPP_V3 -Wno-error -c $<
770 cp-demangle.o: cp-demangle.c
771 $(C_COMPILE) -DIN_GLIBCPP_V3 -Wno-error -c $<
772
773 # Use special rules for the C++0x sources so that the proper flags are passed.
774 eh_ptr.lo: eh_ptr.cc
775 $(LTCXXCOMPILE) -std=gnu++0x -c $<
776 eh_ptr.o: eh_ptr.cc
777 $(CXXCOMPILE) -std=gnu++0x -c $<
778
779 eh_throw.lo: eh_throw.cc
780 $(LTCXXCOMPILE) -std=gnu++0x -c $<
781 eh_throw.o: eh_throw.cc
782 $(CXXCOMPILE) -std=gnu++0x -c $<
783
784 guard.lo: guard.cc
785 $(LTCXXCOMPILE) -std=gnu++0x -c $<
786 guard.o: guard.cc
787 $(CXXCOMPILE) -std=gnu++0x -c $<
788
789 nested_exception.lo: nested_exception.cc
790 $(LTCXXCOMPILE) -std=gnu++0x -c $<
791 nested_exception.o: nested_exception.cc
792 $(CXXCOMPILE) -std=gnu++0x -c $<
793
794 install-stdHEADERS: $(std_HEADERS)
795 @$(NORMAL_INSTALL)
796 $(mkinstalldirs) $(DESTDIR)$(stddir)
797 @list='$(std_HEADERS)'; for p in $$list; do \
798 q=`echo $$p | sed -e 's,.*/,,'`; \
799 if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
800 echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(stddir)/$$q"; \
801 $(INSTALL_DATA) $$d$$p $(DESTDIR)$(stddir)/$$q; \
802 done
803
804 install-bitsHEADERS: $(bits_HEADERS)
805 @$(NORMAL_INSTALL)
806 $(mkinstalldirs) $(DESTDIR)$(bitsdir)
807 @list='$(bits_HEADERS)'; for p in $$list; do \
808 q=`echo $$p | sed -e 's,.*/,,'`; \
809 if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
810 echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(bitsdir)/$$q"; \
811 $(INSTALL_DATA) $$d$$p $(DESTDIR)$(bitsdir)/$$q; \
812 done
813
814 uninstall-stdHEADERS:
815 @$(NORMAL_UNINSTALL)
816 list='$(std_HEADERS)'; for p in $$list; do \
817 q=`echo $$p | sed -e 's,.*/,,'`; \
818 rm -f $(DESTDIR)$(stddir)/$$q; \
819 done
820
821 uninstall-bitsHEADERS:
822 @$(NORMAL_UNINSTALL)
823 list='$(bits_HEADERS)'; for p in $$list; do \
824 q=`echo $$p | sed -e 's,.*/,,'`; \
825 rm -f $(DESTDIR)$(bitsdir)/$$q; \
826 done
827
828 # Tell versions [3.59,3.63) of GNU make to not export all variables.
829 # Otherwise a system limit (for SysV at least) may be exceeded.
830 .NOEXPORT: