]> git.ipfire.org Git - thirdparty/gcc.git/blame - libstdc++-v3/libsupc++/Makefile.in
c-decl.c (pop_scope): Move warning control into warning call.
[thirdparty/gcc.git] / libstdc++-v3 / libsupc++ / Makefile.in
CommitLineData
3a24bf5d 1# Makefile.in generated by automake 1.9.3 from Makefile.am.
ff66d28f 2# @configure_input@
06bd10fb 3
7eaf73d7
KC
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5# 2003, 2004 Free Software Foundation, Inc.
06bd10fb
BK
6# This Makefile.in is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.
9
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13# PARTICULAR PURPOSE.
14
ff66d28f 15@SET_MAKE@
06bd10fb 16
7eaf73d7
KC
17
18SOURCES = $(libsupc___la_SOURCES) $(libsupc__convenience_la_SOURCES)
19
06bd10fb
BK
20srcdir = @srcdir@
21top_srcdir = @top_srcdir@
22VPATH = @srcdir@
06bd10fb
BK
23pkgdatadir = $(datadir)/@PACKAGE@
24pkglibdir = $(libdir)/@PACKAGE@
25pkgincludedir = $(includedir)/@PACKAGE@
06bd10fb 26top_builddir = ..
ff66d28f 27am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
06bd10fb 28INSTALL = @INSTALL@
ff66d28f
PE
29install_sh_DATA = $(install_sh) -c -m 644
30install_sh_PROGRAM = $(install_sh) -c
31install_sh_SCRIPT = $(install_sh) -c
32INSTALL_HEADER = $(INSTALL_DATA)
33transform = $(program_transform_name)
06bd10fb
BK
34NORMAL_INSTALL = :
35PRE_INSTALL = :
36POST_INSTALL = :
37NORMAL_UNINSTALL = :
38PRE_UNINSTALL = :
39POST_UNINSTALL = :
06bd10fb 40build_triplet = @build@
06bd10fb 41host_triplet = @host@
06bd10fb 42target_triplet = @target@
7eaf73d7
KC
43DIST_COMMON = $(glibcxxinstall_HEADERS) $(srcdir)/Makefile.am \
44 $(srcdir)/Makefile.in $(top_srcdir)/fragment.am
45subdir = libsupc++
46ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
cd111813
TT
47am__aclocal_m4_deps = $(top_srcdir)/../config/lead-dot.m4 \
48 $(top_srcdir)/../config/no-executables.m4 \
3a24bf5d
KC
49 $(top_srcdir)/../libtool.m4 $(top_srcdir)/crossconfig.m4 \
50 $(top_srcdir)/linkage.m4 $(top_srcdir)/acinclude.m4 \
51 $(top_srcdir)/configure.ac
7eaf73d7
KC
52am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
53 $(ACLOCAL_M4)
54CONFIG_HEADER = $(top_builddir)/config.h
55CONFIG_CLEAN_FILES =
a60945f8
PC
56am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
57am__vpath_adj = case $$p in \
58 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
59 *) f=$$p;; \
60 esac;
61am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
62am__installdirs = "$(DESTDIR)$(toolexeclibdir)" \
63 "$(DESTDIR)$(glibcxxinstalldir)"
7eaf73d7
KC
64toolexeclibLTLIBRARIES_INSTALL = $(INSTALL)
65LTLIBRARIES = $(noinst_LTLIBRARIES) $(toolexeclib_LTLIBRARIES)
66libsupc___la_LIBADD =
67am__libsupc___la_SOURCES_DIST = del_op.cc del_opnt.cc del_opv.cc \
68 del_opvnt.cc eh_alloc.cc eh_aux_runtime.cc eh_catch.cc \
69 eh_exception.cc eh_globals.cc eh_personality.cc \
70 eh_term_handler.cc eh_terminate.cc eh_throw.cc eh_type.cc \
71 eh_unex_handler.cc guard.cc new_handler.cc new_op.cc \
72 new_opnt.cc new_opv.cc new_opvnt.cc pure.cc tinfo.cc tinfo2.cc \
73 vec.cc vterminate.cc cp-demangle.c
74am__objects_1 = del_op.lo del_opnt.lo del_opv.lo del_opvnt.lo \
75 eh_alloc.lo eh_aux_runtime.lo eh_catch.lo eh_exception.lo \
76 eh_globals.lo eh_personality.lo eh_term_handler.lo \
77 eh_terminate.lo eh_throw.lo eh_type.lo eh_unex_handler.lo \
78 guard.lo new_handler.lo new_op.lo new_opnt.lo new_opv.lo \
79 new_opvnt.lo pure.lo tinfo.lo tinfo2.lo vec.lo vterminate.lo
80@GLIBCXX_HOSTED_TRUE@am__objects_2 = cp-demangle.lo
81am_libsupc___la_OBJECTS = $(am__objects_1) $(am__objects_2)
82libsupc___la_OBJECTS = $(am_libsupc___la_OBJECTS)
83libsupc__convenience_la_LIBADD =
84am__libsupc__convenience_la_SOURCES_DIST = del_op.cc del_opnt.cc \
85 del_opv.cc del_opvnt.cc eh_alloc.cc eh_aux_runtime.cc \
86 eh_catch.cc eh_exception.cc eh_globals.cc eh_personality.cc \
87 eh_term_handler.cc eh_terminate.cc eh_throw.cc eh_type.cc \
88 eh_unex_handler.cc guard.cc new_handler.cc new_op.cc \
89 new_opnt.cc new_opv.cc new_opvnt.cc pure.cc tinfo.cc tinfo2.cc \
90 vec.cc vterminate.cc cp-demangle.c
91am_libsupc__convenience_la_OBJECTS = $(am__objects_1) $(am__objects_2)
92libsupc__convenience_la_OBJECTS = \
93 $(am_libsupc__convenience_la_OBJECTS)
94DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
95depcomp =
96am__depfiles_maybe =
97COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
98 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
99CCLD = $(CC)
100LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
101 $(AM_LDFLAGS) $(LDFLAGS) -o $@
102CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
103 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
104CXXLD = $(CXX)
105SOURCES = $(libsupc___la_SOURCES) $(libsupc__convenience_la_SOURCES)
106DIST_SOURCES = $(am__libsupc___la_SOURCES_DIST) \
107 $(am__libsupc__convenience_la_SOURCES_DIST)
108glibcxxinstallHEADERS_INSTALL = $(INSTALL_HEADER)
109HEADERS = $(glibcxxinstall_HEADERS)
110ETAGS = etags
111CTAGS = ctags
112DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
1568430f 113ABI_TWEAKS_SRCDIR = @ABI_TWEAKS_SRCDIR@
ff66d28f 114ACLOCAL = @ACLOCAL@
8b0d6051
BK
115ALLOCATOR_H = @ALLOCATOR_H@
116ALLOCATOR_NAME = @ALLOCATOR_NAME@
ff66d28f 117AMTAR = @AMTAR@
06bd10fb
BK
118AR = @AR@
119AS = @AS@
40fcf31b
BK
120ATOMICITY_SRCDIR = @ATOMICITY_SRCDIR@
121ATOMIC_WORD_SRCDIR = @ATOMIC_WORD_SRCDIR@
ff66d28f
PE
122AUTOCONF = @AUTOCONF@
123AUTOHEADER = @AUTOHEADER@
124AUTOMAKE = @AUTOMAKE@
ab3bc736 125AWK = @AWK@
6aa43d99 126BASIC_FILE_CC = @BASIC_FILE_CC@
4a9d5109 127BASIC_FILE_H = @BASIC_FILE_H@
ff66d28f 128CC = @CC@
6aa43d99 129CCODECVT_CC = @CCODECVT_CC@
6aa43d99
BK
130CCOLLATE_CC = @CCOLLATE_CC@
131CCTYPE_CC = @CCTYPE_CC@
ff66d28f 132CFLAGS = @CFLAGS@
6aa43d99 133CLOCALE_CC = @CLOCALE_CC@
4a9d5109 134CLOCALE_H = @CLOCALE_H@
6aa43d99
BK
135CLOCALE_INTERNAL_H = @CLOCALE_INTERNAL_H@
136CMESSAGES_CC = @CMESSAGES_CC@
33590f13 137CMESSAGES_H = @CMESSAGES_H@
6aa43d99
BK
138CMONEY_CC = @CMONEY_CC@
139CNUMERIC_CC = @CNUMERIC_CC@
06bd10fb 140CPP = @CPP@
ff66d28f 141CPPFLAGS = @CPPFLAGS@
4a9d5109 142CSTDIO_H = @CSTDIO_H@
6aa43d99 143CTIME_CC = @CTIME_CC@
1c26d8fd 144CTIME_H = @CTIME_H@
ff66d28f 145CXX = @CXX@
06bd10fb 146CXXCPP = @CXXCPP@
ff66d28f
PE
147CXXFLAGS = @CXXFLAGS@
148CYGPATH_W = @CYGPATH_W@
4a9d5109 149C_INCLUDE_DIR = @C_INCLUDE_DIR@
06bd10fb 150DEBUG_FLAGS = @DEBUG_FLAGS@
ff66d28f
PE
151DEFS = @DEFS@
152ECHO_C = @ECHO_C@
153ECHO_N = @ECHO_N@
154ECHO_T = @ECHO_T@
155EGREP = @EGREP@
06bd10fb
BK
156EXEEXT = @EXEEXT@
157EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
ff66d28f
PE
158GLIBCXX_BUILD_DEBUG_FALSE = @GLIBCXX_BUILD_DEBUG_FALSE@
159GLIBCXX_BUILD_DEBUG_TRUE = @GLIBCXX_BUILD_DEBUG_TRUE@
ff66d28f
PE
160GLIBCXX_BUILD_PCH_FALSE = @GLIBCXX_BUILD_PCH_FALSE@
161GLIBCXX_BUILD_PCH_TRUE = @GLIBCXX_BUILD_PCH_TRUE@
162GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE = @GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@
163GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE = @GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@
164GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE = @GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@
165GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE = @GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@
166GLIBCXX_C_HEADERS_C_FALSE = @GLIBCXX_C_HEADERS_C_FALSE@
167GLIBCXX_C_HEADERS_C_STD_FALSE = @GLIBCXX_C_HEADERS_C_STD_FALSE@
168GLIBCXX_C_HEADERS_C_STD_TRUE = @GLIBCXX_C_HEADERS_C_STD_TRUE@
169GLIBCXX_C_HEADERS_C_TRUE = @GLIBCXX_C_HEADERS_C_TRUE@
92eabea2
PE
170GLIBCXX_HOSTED_FALSE = @GLIBCXX_HOSTED_FALSE@
171GLIBCXX_HOSTED_TRUE = @GLIBCXX_HOSTED_TRUE@
ff66d28f 172GLIBCXX_INCLUDES = @GLIBCXX_INCLUDES@
ff66d28f
PE
173INSTALL_DATA = @INSTALL_DATA@
174INSTALL_PROGRAM = @INSTALL_PROGRAM@
175INSTALL_SCRIPT = @INSTALL_SCRIPT@
176INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
d54bc1d8 177LIBICONV = @LIBICONV@
06bd10fb 178LIBMATHOBJS = @LIBMATHOBJS@
ff66d28f
PE
179LIBOBJS = @LIBOBJS@
180LIBS = @LIBS@
f8e4b51d 181LIBSUPCXX_PICFLAGS = @LIBSUPCXX_PICFLAGS@
400f4e55 182LIBTOOL = @LIBTOOL@
06bd10fb 183LN_S = @LN_S@
ff66d28f 184LTLIBOBJS = @LTLIBOBJS@
06bd10fb 185MAINT = @MAINT@
ff66d28f
PE
186MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
187MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
06bd10fb 188MAKEINFO = @MAKEINFO@
06bd10fb 189OBJEXT = @OBJEXT@
ff66d28f 190OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
06bd10fb 191OPT_LDFLAGS = @OPT_LDFLAGS@
4a9d5109 192OS_INC_SRCDIR = @OS_INC_SRCDIR@
06bd10fb 193PACKAGE = @PACKAGE@
ff66d28f
PE
194PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
195PACKAGE_NAME = @PACKAGE_NAME@
196PACKAGE_STRING = @PACKAGE_STRING@
197PACKAGE_TARNAME = @PACKAGE_TARNAME@
198PACKAGE_VERSION = @PACKAGE_VERSION@
199PATH_SEPARATOR = @PATH_SEPARATOR@
06bd10fb
BK
200RANLIB = @RANLIB@
201SECTION_FLAGS = @SECTION_FLAGS@
202SECTION_LDFLAGS = @SECTION_LDFLAGS@
ff66d28f
PE
203SET_MAKE = @SET_MAKE@
204SHELL = @SHELL@
06bd10fb 205STRIP = @STRIP@
6aa43d99 206SYMVER_MAP = @SYMVER_MAP@
4a9d5109 207TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
33590f13 208USE_NLS = @USE_NLS@
06bd10fb 209VERSION = @VERSION@
e466dc8a 210WARN_FLAGS = @WARN_FLAGS@
06bd10fb 211WERROR = @WERROR@
ff66d28f
PE
212ac_ct_AR = @ac_ct_AR@
213ac_ct_AS = @ac_ct_AS@
214ac_ct_CC = @ac_ct_CC@
215ac_ct_CXX = @ac_ct_CXX@
216ac_ct_RANLIB = @ac_ct_RANLIB@
217ac_ct_STRIP = @ac_ct_STRIP@
218am__leading_dot = @am__leading_dot@
a60945f8
PC
219am__tar = @am__tar@
220am__untar = @am__untar@
44f0760e 221baseline_dir = @baseline_dir@
ff66d28f
PE
222bindir = @bindir@
223build = @build@
224build_alias = @build_alias@
225build_cpu = @build_cpu@
226build_os = @build_os@
227build_vendor = @build_vendor@
501e321e 228check_msgfmt = @check_msgfmt@
ff66d28f 229datadir = @datadir@
34791641
PE
230enable_shared = @enable_shared@
231enable_static = @enable_static@
ff66d28f 232exec_prefix = @exec_prefix@
3d7c150e
BK
233glibcxx_MOFILES = @glibcxx_MOFILES@
234glibcxx_PCHFLAGS = @glibcxx_PCHFLAGS@
235glibcxx_POFILES = @glibcxx_POFILES@
3d7c150e
BK
236glibcxx_builddir = @glibcxx_builddir@
237glibcxx_localedir = @glibcxx_localedir@
238glibcxx_prefixdir = @glibcxx_prefixdir@
239glibcxx_srcdir = @glibcxx_srcdir@
240glibcxx_thread_h = @glibcxx_thread_h@
241glibcxx_toolexecdir = @glibcxx_toolexecdir@
242glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@
1fd2f510 243gxx_include_dir = @gxx_include_dir@
ff66d28f
PE
244host = @host@
245host_alias = @host_alias@
246host_cpu = @host_cpu@
247host_os = @host_os@
248host_vendor = @host_vendor@
249includedir = @includedir@
250infodir = @infodir@
251install_sh = @install_sh@
252libdir = @libdir@
253libexecdir = @libexecdir@
4e10943d 254libtool_VERSION = @libtool_VERSION@
ff66d28f
PE
255localstatedir = @localstatedir@
256mandir = @mandir@
7eaf73d7 257mkdir_p = @mkdir_p@
ff66d28f
PE
258multi_basedir = @multi_basedir@
259oldincludedir = @oldincludedir@
260port_specific_symbol_files = @port_specific_symbol_files@
261prefix = @prefix@
262program_transform_name = @program_transform_name@
263sbindir = @sbindir@
264sharedstatedir = @sharedstatedir@
265sysconfdir = @sysconfdir@
266target = @target@
267target_alias = @target_alias@
268target_cpu = @target_cpu@
269target_os = @target_os@
270target_vendor = @target_vendor@
e2c20fae 271toplevel_srcdir = @toplevel_srcdir@
47194af4
ZW
272
273# May be used by various substitution variables.
274gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
06bd10fb 275MAINT_CHARSET = latin1
ae9dc931 276mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
0df3f383 277PWD_COMMAND = $${PWDCMD-pwd}
82ba99d5 278STAMP = echo timestamp >
0df3f383
PE
279toolexecdir = $(glibcxx_toolexecdir)
280toolexeclibdir = $(glibcxx_toolexeclibdir)
06bd10fb 281
0df3f383
PE
282# These bits are all figured out from configure. Look in acinclude.m4
283# or configure.ac to see how they are set. See GLIBCXX_EXPORT_FLAGS.
58ac1d7f 284CONFIG_CXXFLAGS = \
0df3f383 285 $(SECTION_FLAGS) $(EXTRA_CXX_FLAGS)
e466dc8a 286
58ac1d7f 287WARN_CXXFLAGS = \
0df3f383 288 $(WARN_FLAGS) $(WERROR) -fdiagnostics-show-location=once
e466dc8a
BK
289
290
0df3f383
PE
291# -I/-D flags to pass when compiling.
292AM_CPPFLAGS = $(GLIBCXX_INCLUDES)
d27bba5e 293
0df3f383
PE
294# Need this library to both be part of libstdc++.a, and installed
295# separately too.
ca618b60 296# 1) separate libsupc++.la
0df3f383
PE
297toolexeclib_LTLIBRARIES = libsupc++.la
298# 2) integrated libsupc++convenience.la that is to be a part of libstdc++.a
299noinst_LTLIBRARIES = libsupc++convenience.la
58ac1d7f 300headers = \
ca618b60 301 exception new typeinfo cxxabi.h exception_defines.h
58ac1d7f 302
4c24b21a
MM
303@GLIBCXX_HOSTED_TRUE@c_sources = \
304@GLIBCXX_HOSTED_TRUE@ cp-demangle.c
305
58ac1d7f
BK
306sources = \
307 del_op.cc \
308 del_opnt.cc \
309 del_opv.cc \
310 del_opvnt.cc \
311 eh_alloc.cc \
312 eh_aux_runtime.cc \
313 eh_catch.cc \
314 eh_exception.cc \
315 eh_globals.cc \
316 eh_personality.cc \
317 eh_term_handler.cc \
318 eh_terminate.cc \
319 eh_throw.cc \
320 eh_type.cc \
321 eh_unex_handler.cc \
322 guard.cc \
323 new_handler.cc \
324 new_op.cc \
325 new_opnt.cc \
326 new_opv.cc \
327 new_opvnt.cc \
328 pure.cc \
329 tinfo.cc \
330 tinfo2.cc \
331 vec.cc \
332 vterminate.cc
06bd10fb 333
40fcf31b
BK
334libsupc___la_SOURCES = $(sources) $(c_sources)
335libsupc__convenience_la_SOURCES = $(sources) $(c_sources)
3d7c150e
BK
336glibcxxinstalldir = $(gxx_include_dir)
337glibcxxinstall_HEADERS = $(headers)
a6863e25 338
c7053b70 339# AM_CXXFLAGS needs to be in each subdirectory so that it can be
a9117427
BK
340# modified in a per-library or per-sub-library way. Need to manually
341# set this option because CONFIG_CXXFLAGS has to be after
342# OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden
ca618b60 343# as the occasion call for it.
58ac1d7f
BK
344AM_CXXFLAGS = \
345 -fno-implicit-templates \
82ba99d5 346 $(LIBSUPCXX_PICFLAGS) \
58ac1d7f
BK
347 $(WARN_CXXFLAGS) \
348 $(OPTIMIZE_CXXFLAGS) \
ca618b60 349 $(CONFIG_CXXFLAGS)
3bf74da2 350
58ac1d7f
BK
351AM_MAKEFLAGS = \
352 "gxx_include_dir=$(gxx_include_dir)"
06bd10fb
BK
353
354
40fcf31b
BK
355# Use special rules for pulling things out of libiberty. These
356# objects should be compiled with the "C" compiler, not the C++
357# compiler, and also should not use the C++ includes.
358C_INCLUDES = -I.. -I$(toplevel_srcdir)/libiberty -I$(toplevel_srcdir)/include
359C_COMPILE = \
360 $(CC) $(DEFS) $(C_INCLUDES) \
361 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
362
363
364# LTCOMPILE is copied from LTCXXCOMPILE below.
365LTCOMPILE = $(LIBTOOL) --tag CC --tag disable-shared --mode=compile $(CC) \
366 $(DEFS) $(C_INCLUDES) $(LIBSUPCXX_PICFLAGS) \
367 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
368
369
a9117427 370# libstdc++ libtool notes
06bd10fb 371
a9117427
BK
372# 1) Need to explicitly set LTCXXCOMPILE so that AM_CXXFLAGS is
373# last. (That way, things like -O2 passed down from the toplevel can
374# be overridden by --enable-debug.)
375
376# 2) In general, libtool expects an argument such as `--tag=CXX' when
377# using the C++ compiler, because that will enable the settings
378# detected when C++ support was being configured. However, when no
379# such flag is given in the command line, libtool attempts to figure
380# it out by matching the compiler name in each configuration section
381# against a prefix of the command line. The problem is that, if the
382# compiler name and its initial flags stored in the libtool
383# configuration file don't match those in the command line, libtool
384# can't decide which configuration to use, and it gives up. The
385# correct solution is to add `--tag CXX' to LTCXXCOMPILE and maybe
386# CXXLINK, just after $(LIBTOOL), so that libtool doesn't have to
20b11783
MM
387# attempt to infer which configuration to use.
388#
389# We have to put --tag disable-shared after --tag CXX lest things
390# CXX undo the affect of disable-shared.
58ac1d7f 391LTCXXCOMPILE = $(LIBTOOL) --tag CXX --tag disable-shared \
ca618b60
PE
392 --mode=compile $(CXX) $(TOPLEVEL_INCLUDES) \
393 $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(AM_CXXFLAGS)
a9117427
BK
394
395
787d2fb7
AO
396# 3) We'd have a problem when building the shared libstdc++ object if
397# the rules automake generates would be used. We cannot allow g++ to
398# be used since this would add -lstdc++ to the link line which of
399# course is problematic at this point. So, we get the top-level
400# directory to configure libstdc++-v3 to use gcc as the C++
401# compilation driver.
58ac1d7f 402CXXLINK = $(LIBTOOL) --tag CXX --tag disable-shared \
ca618b60
PE
403 --mode=link $(CXX) \
404 $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LDFLAGS) -o $@
06bd10fb 405
ff66d28f 406all: all-am
06bd10fb 407
06bd10fb 408.SUFFIXES:
40fcf31b 409.SUFFIXES: .c .cc .lo .o .obj
7eaf73d7
KC
410$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/fragment.am $(am__configure_deps)
411 @for dep in $?; do \
412 case '$(am__configure_deps)' in \
413 *$$dep*) \
414 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
415 && exit 0; \
416 exit 1;; \
417 esac; \
418 done; \
419 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps libsupc++/Makefile'; \
ff66d28f 420 cd $(top_srcdir) && \
7eaf73d7
KC
421 $(AUTOMAKE) --foreign --ignore-deps libsupc++/Makefile
422.PRECIOUS: Makefile
423Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
424 @case '$?' in \
425 *config.status*) \
426 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
427 *) \
428 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
429 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
430 esac;
431
432$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
433 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
434
435$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
436 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
437$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
438 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
06bd10fb
BK
439
440clean-noinstLTLIBRARIES:
441 -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
ff66d28f
PE
442 @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
443 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
7eaf73d7 444 test "$$dir" != "$$p" || dir=.; \
ff66d28f
PE
445 echo "rm -f \"$${dir}/so_locations\""; \
446 rm -f "$${dir}/so_locations"; \
447 done
06bd10fb
BK
448install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
449 @$(NORMAL_INSTALL)
7eaf73d7 450 test -z "$(toolexeclibdir)" || $(mkdir_p) "$(DESTDIR)$(toolexeclibdir)"
06bd10fb
BK
451 @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
452 if test -f $$p; then \
a60945f8 453 f=$(am__strip_dir) \
7eaf73d7
KC
454 echo " $(LIBTOOL) --mode=install $(toolexeclibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(toolexeclibdir)/$$f'"; \
455 $(LIBTOOL) --mode=install $(toolexeclibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(toolexeclibdir)/$$f"; \
06bd10fb
BK
456 else :; fi; \
457 done
458
459uninstall-toolexeclibLTLIBRARIES:
460 @$(NORMAL_UNINSTALL)
a60945f8
PC
461 @set -x; list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
462 p=$(am__strip_dir) \
7eaf73d7
KC
463 echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(toolexeclibdir)/$$p'"; \
464 $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(toolexeclibdir)/$$p"; \
06bd10fb
BK
465 done
466
ff66d28f
PE
467clean-toolexeclibLTLIBRARIES:
468 -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
469 @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
470 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
7eaf73d7 471 test "$$dir" != "$$p" || dir=.; \
ff66d28f
PE
472 echo "rm -f \"$${dir}/so_locations\""; \
473 rm -f "$${dir}/so_locations"; \
474 done
475libsupc++.la: $(libsupc___la_OBJECTS) $(libsupc___la_DEPENDENCIES)
476 $(CXXLINK) -rpath $(toolexeclibdir) $(libsupc___la_LDFLAGS) $(libsupc___la_OBJECTS) $(libsupc___la_LIBADD) $(LIBS)
477libsupc++convenience.la: $(libsupc__convenience_la_OBJECTS) $(libsupc__convenience_la_DEPENDENCIES)
478 $(CXXLINK) $(libsupc__convenience_la_LDFLAGS) $(libsupc__convenience_la_OBJECTS) $(libsupc__convenience_la_LIBADD) $(LIBS)
06bd10fb
BK
479
480mostlyclean-compile:
7eaf73d7 481 -rm -f *.$(OBJEXT)
06bd10fb
BK
482
483distclean-compile:
484 -rm -f *.tab.c
485
40fcf31b 486.c.o:
7eaf73d7 487 $(COMPILE) -c $<
40fcf31b
BK
488
489.c.obj:
7eaf73d7 490 $(COMPILE) -c `$(CYGPATH_W) '$<'`
40fcf31b
BK
491
492.c.lo:
7eaf73d7 493 $(LTCOMPILE) -c -o $@ $<
40fcf31b 494
ff66d28f 495.cc.o:
7eaf73d7 496 $(CXXCOMPILE) -c -o $@ $<
06bd10fb 497
ff66d28f 498.cc.obj:
7eaf73d7 499 $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
06bd10fb 500
ff66d28f 501.cc.lo:
7eaf73d7 502 $(LTCXXCOMPILE) -c -o $@ $<
06bd10fb
BK
503
504mostlyclean-libtool:
505 -rm -f *.lo
506
507clean-libtool:
508 -rm -rf .libs _libs
509
510distclean-libtool:
ff66d28f
PE
511 -rm -f libtool
512uninstall-info-am:
06bd10fb 513
ff66d28f
PE
514ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
515 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
516 unique=`for i in $$list; do \
517 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
518 done | \
519 $(AWK) ' { files[$$0] = 1; } \
06bd10fb 520 END { for (i in files) print i; }'`; \
ff66d28f 521 mkid -fID $$unique
7eaf73d7 522tags: TAGS
06bd10fb 523
ff66d28f
PE
524TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
525 $(TAGS_FILES) $(LISP)
06bd10fb
BK
526 tags=; \
527 here=`pwd`; \
ff66d28f
PE
528 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
529 unique=`for i in $$list; do \
530 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
531 done | \
532 $(AWK) ' { files[$$0] = 1; } \
06bd10fb 533 END { for (i in files) print i; }'`; \
7eaf73d7
KC
534 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
535 test -n "$$unique" || unique=$$empty_fix; \
536 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
537 $$tags $$unique; \
538 fi
ff66d28f
PE
539ctags: CTAGS
540CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
541 $(TAGS_FILES) $(LISP)
542 tags=; \
543 here=`pwd`; \
544 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
545 unique=`for i in $$list; do \
546 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
547 done | \
548 $(AWK) ' { files[$$0] = 1; } \
549 END { for (i in files) print i; }'`; \
550 test -z "$(CTAGS_ARGS)$$tags$$unique" \
551 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
552 $$tags $$unique
06bd10fb 553
ff66d28f
PE
554GTAGS:
555 here=`$(am__cd) $(top_builddir) && pwd` \
556 && cd $(top_srcdir) \
557 && gtags -i $(GTAGS_ARGS) $$here
06bd10fb
BK
558
559distclean-tags:
ff66d28f 560 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
06bd10fb
BK
561
562distdir: $(DISTFILES)
7eaf73d7 563 $(mkdir_p) $(distdir)/..
ff66d28f
PE
564 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
565 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
566 list='$(DISTFILES)'; for file in $$list; do \
567 case $$file in \
568 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
569 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
570 esac; \
571 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
572 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
573 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
574 dir="/$$dir"; \
7eaf73d7 575 $(mkdir_p) "$(distdir)$$dir"; \
ff66d28f
PE
576 else \
577 dir=''; \
578 fi; \
06bd10fb 579 if test -d $$d/$$file; then \
ff66d28f
PE
580 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
581 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
582 fi; \
583 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
06bd10fb
BK
584 else \
585 test -f $(distdir)/$$file \
ff66d28f
PE
586 || cp -p $$d/$$file $(distdir)/$$file \
587 || exit 1; \
06bd10fb
BK
588 fi; \
589 done
ff66d28f 590check-am: all-am
06bd10fb 591check: check-am
ff66d28f 592all-am: Makefile $(LTLIBRARIES) $(HEADERS)
ff66d28f 593installdirs:
7eaf73d7
KC
594 for dir in "$(DESTDIR)$(toolexeclibdir)" "$(DESTDIR)$(glibcxxinstalldir)"; do \
595 test -z "$$dir" || $(mkdir_p) "$$dir"; \
596 done
ff66d28f
PE
597install: install-am
598install-exec: install-exec-am
06bd10fb 599install-data: install-data-am
ff66d28f 600uninstall: uninstall-am
06bd10fb
BK
601
602install-am: all-am
603 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
06bd10fb 604
ff66d28f
PE
605installcheck: installcheck-am
606install-strip:
607 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
ec2075e9 608 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
ff66d28f
PE
609 `test -z '$(STRIP)' || \
610 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
06bd10fb
BK
611mostlyclean-generic:
612
613clean-generic:
614
615distclean-generic:
a60945f8 616 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
06bd10fb
BK
617
618maintainer-clean-generic:
ff66d28f
PE
619 @echo "This command is intended for maintainers to use"
620 @echo "it deletes files that may require special tools to rebuild."
621clean: clean-am
06bd10fb 622
ff66d28f
PE
623clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
624 clean-toolexeclibLTLIBRARIES mostlyclean-am
06bd10fb 625
ff66d28f 626distclean: distclean-am
82fa4538 627 -rm -f Makefile
ff66d28f
PE
628distclean-am: clean-am distclean-compile distclean-generic \
629 distclean-libtool distclean-tags
06bd10fb 630
ff66d28f 631dvi: dvi-am
06bd10fb 632
ff66d28f 633dvi-am:
06bd10fb 634
7eaf73d7
KC
635html: html-am
636
ff66d28f
PE
637info: info-am
638
639info-am:
640
641install-data-am: install-glibcxxinstallHEADERS
642
643install-exec-am: install-toolexeclibLTLIBRARIES
644
645install-info: install-info-am
646
647install-man:
648
649installcheck-am:
06bd10fb
BK
650
651maintainer-clean: maintainer-clean-am
82fa4538 652 -rm -f Makefile
ff66d28f
PE
653maintainer-clean-am: distclean-am maintainer-clean-generic
654
655mostlyclean: mostlyclean-am
656
657mostlyclean-am: mostlyclean-compile mostlyclean-generic \
658 mostlyclean-libtool
659
660pdf: pdf-am
661
662pdf-am:
663
664ps: ps-am
665
666ps-am:
667
668uninstall-am: uninstall-glibcxxinstallHEADERS uninstall-info-am \
669 uninstall-toolexeclibLTLIBRARIES
670
671.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
672 clean-libtool clean-noinstLTLIBRARIES \
673 clean-toolexeclibLTLIBRARIES ctags distclean distclean-compile \
674 distclean-generic distclean-libtool distclean-tags distdir dvi \
7eaf73d7
KC
675 dvi-am html html-am info info-am install install-am \
676 install-data install-data-am install-exec install-exec-am \
ff66d28f
PE
677 install-glibcxxinstallHEADERS install-info install-info-am \
678 install-man install-strip install-toolexeclibLTLIBRARIES \
679 installcheck installcheck-am installdirs maintainer-clean \
680 maintainer-clean-generic mostlyclean mostlyclean-compile \
681 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
682 tags uninstall uninstall-am uninstall-glibcxxinstallHEADERS \
683 uninstall-info-am uninstall-toolexeclibLTLIBRARIES
06bd10fb
BK
684
685
40fcf31b
BK
686cp-demangle.c:
687 rm -f $@
688 $(LN_S) $(toplevel_srcdir)/libiberty/cp-demangle.c $@
689cp-demangle.lo: cp-demangle.c
690 $(LTCOMPILE) -DIN_GLIBCPP_V3 -Wno-error -c $<
691cp-demangle.o: cp-demangle.c
692 $(C_COMPILE) -DIN_GLIBCPP_V3 -Wno-error -c $<
693
38fae3e3 694# We have to have rules modified from the default to counteract SUN make
3d7c150e
BK
695# prepending each of $(glibcxxinstall_HEADERS) with VPATH below.
696install-glibcxxinstallHEADERS: $(glibcxxinstall_HEADERS)
38fae3e3 697 @$(NORMAL_INSTALL)
3d7c150e
BK
698 $(mkinstalldirs) $(DESTDIR)$(glibcxxinstalldir)
699 @list='$(glibcxxinstall_HEADERS)'; for p in $$list; do \
38fae3e3
HPN
700 q=`echo $$p | sed -e 's,.*/,,'`; \
701 if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
3d7c150e
BK
702 echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(glibcxxinstalldir)/$$q"; \
703 $(INSTALL_DATA) $$d$$p $(DESTDIR)$(glibcxxinstalldir)/$$q; \
38fae3e3
HPN
704 done
705
3d7c150e 706uninstall-glibcxxinstallHEADERS:
38fae3e3 707 @$(NORMAL_UNINSTALL)
3d7c150e 708 list='$(glibcxxinstall_HEADERS)'; for p in $$list; do \
38fae3e3 709 q=`echo $$p | sed -e 's,.*/,,'`; \
3d7c150e 710 rm -f $(DESTDIR)$(glibcxxinstalldir)/$$q; \
38fae3e3 711 done
06bd10fb
BK
712# Tell versions [3.59,3.63) of GNU make to not export all variables.
713# Otherwise a system limit (for SysV at least) may be exceeded.
714.NOEXPORT: