2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / libstdc++-v3 / src / Makefile.in
blobc599363b45892366f4fa654c45692548f6e06d88
1 # Makefile.in generated by automake 1.7.8 from Makefile.am.
2 # @configure_input@
4 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
5 # Free Software Foundation, Inc.
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.
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.
15 @SET_MAKE@
17 srcdir = @srcdir@
18 top_srcdir = @top_srcdir@
19 pkgdatadir = $(datadir)/@PACKAGE@
20 pkglibdir = $(libdir)/@PACKAGE@
21 pkgincludedir = $(includedir)/@PACKAGE@
22 top_builddir = ..
24 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
25 INSTALL = @INSTALL@
26 install_sh_DATA = $(install_sh) -c -m 644
27 install_sh_PROGRAM = $(install_sh) -c
28 install_sh_SCRIPT = $(install_sh) -c
29 INSTALL_HEADER = $(INSTALL_DATA)
30 transform = $(program_transform_name)
31 NORMAL_INSTALL = :
32 PRE_INSTALL = :
33 POST_INSTALL = :
34 NORMAL_UNINSTALL = :
35 PRE_UNINSTALL = :
36 POST_UNINSTALL = :
37 build_triplet = @build@
38 host_triplet = @host@
39 target_triplet = @target@
41 VPATH = $(top_srcdir)/src:$(top_srcdir)
42 ACLOCAL = @ACLOCAL@
43 AMTAR = @AMTAR@
44 AR = @AR@
45 AS = @AS@
46 ATOMICITY_INC_SRCDIR = @ATOMICITY_INC_SRCDIR@
47 AUTOCONF = @AUTOCONF@
48 AUTOHEADER = @AUTOHEADER@
49 AUTOMAKE = @AUTOMAKE@
50 AWK = @AWK@
51 BASIC_FILE_CC = @BASIC_FILE_CC@
52 BASIC_FILE_H = @BASIC_FILE_H@
53 CC = @CC@
54 CCODECVT_CC = @CCODECVT_CC@
55 CCODECVT_H = @CCODECVT_H@
56 CCOLLATE_CC = @CCOLLATE_CC@
57 CCTYPE_CC = @CCTYPE_CC@
58 CFLAGS = @CFLAGS@
59 CLOCALE_CC = @CLOCALE_CC@
60 CLOCALE_H = @CLOCALE_H@
61 CLOCALE_INTERNAL_H = @CLOCALE_INTERNAL_H@
62 CMESSAGES_CC = @CMESSAGES_CC@
63 CMESSAGES_H = @CMESSAGES_H@
64 CMONEY_CC = @CMONEY_CC@
65 CNUMERIC_CC = @CNUMERIC_CC@
66 CPP = @CPP@
67 CPPFLAGS = @CPPFLAGS@
68 CSTDIO_H = @CSTDIO_H@
69 CTIME_CC = @CTIME_CC@
70 CTIME_H = @CTIME_H@
71 CXX = @CXX@
72 CXXCPP = @CXXCPP@
73 CXXFLAGS = @CXXFLAGS@
74 CYGPATH_W = @CYGPATH_W@
75 C_INCLUDE_DIR = @C_INCLUDE_DIR@
76 DEBUG_FLAGS = @DEBUG_FLAGS@
77 DEFS = @DEFS@
78 ECHO_C = @ECHO_C@
79 ECHO_N = @ECHO_N@
80 ECHO_T = @ECHO_T@
81 EGREP = @EGREP@
82 EXEEXT = @EXEEXT@
83 EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
84 GLIBCXX_BUILD_DEBUG_FALSE = @GLIBCXX_BUILD_DEBUG_FALSE@
85 GLIBCXX_BUILD_DEBUG_TRUE = @GLIBCXX_BUILD_DEBUG_TRUE@
86 GLIBCXX_BUILD_PCH_FALSE = @GLIBCXX_BUILD_PCH_FALSE@
87 GLIBCXX_BUILD_PCH_TRUE = @GLIBCXX_BUILD_PCH_TRUE@
88 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE = @GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@
89 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE = @GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@
90 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE = @GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@
91 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE = @GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@
92 GLIBCXX_C_HEADERS_C_FALSE = @GLIBCXX_C_HEADERS_C_FALSE@
93 GLIBCXX_C_HEADERS_C_STD_FALSE = @GLIBCXX_C_HEADERS_C_STD_FALSE@
94 GLIBCXX_C_HEADERS_C_STD_TRUE = @GLIBCXX_C_HEADERS_C_STD_TRUE@
95 GLIBCXX_C_HEADERS_C_TRUE = @GLIBCXX_C_HEADERS_C_TRUE@
96 GLIBCXX_HOSTED_FALSE = @GLIBCXX_HOSTED_FALSE@
97 GLIBCXX_HOSTED_TRUE = @GLIBCXX_HOSTED_TRUE@
98 GLIBCXX_INCLUDES = @GLIBCXX_INCLUDES@
99 GLIBCXX_TEST_ABI_FALSE = @GLIBCXX_TEST_ABI_FALSE@
100 GLIBCXX_TEST_ABI_TRUE = @GLIBCXX_TEST_ABI_TRUE@
101 GLIBCXX_TEST_WCHAR_T_FALSE = @GLIBCXX_TEST_WCHAR_T_FALSE@
102 GLIBCXX_TEST_WCHAR_T_TRUE = @GLIBCXX_TEST_WCHAR_T_TRUE@
103 INSTALL_DATA = @INSTALL_DATA@
104 INSTALL_PROGRAM = @INSTALL_PROGRAM@
105 INSTALL_SCRIPT = @INSTALL_SCRIPT@
106 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
107 LIBMATHOBJS = @LIBMATHOBJS@
108 LIBOBJS = @LIBOBJS@
109 LIBS = @LIBS@
110 LIBSUPCXX_PICFLAGS = @LIBSUPCXX_PICFLAGS@
111 LIBTOOL = @LIBTOOL@
112 LN_S = @LN_S@
113 LTLIBOBJS = @LTLIBOBJS@
114 MAINT = @MAINT@
115 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
116 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
117 MAKEINFO = @MAKEINFO@
118 OBJEXT = @OBJEXT@
119 OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
120 OPT_LDFLAGS = @OPT_LDFLAGS@
121 OS_INC_SRCDIR = @OS_INC_SRCDIR@
122 PACKAGE = @PACKAGE@
123 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
124 PACKAGE_NAME = @PACKAGE_NAME@
125 PACKAGE_STRING = @PACKAGE_STRING@
126 PACKAGE_TARNAME = @PACKAGE_TARNAME@
127 PACKAGE_VERSION = @PACKAGE_VERSION@
128 PATH_SEPARATOR = @PATH_SEPARATOR@
129 RANLIB = @RANLIB@
130 SECTION_FLAGS = @SECTION_FLAGS@
131 SECTION_LDFLAGS = @SECTION_LDFLAGS@
132 SET_MAKE = @SET_MAKE@
133 SHELL = @SHELL@
134 STRIP = @STRIP@
135 SYMVER_MAP = @SYMVER_MAP@
136 TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
137 USE_NLS = @USE_NLS@
138 VERSION = @VERSION@
139 WARN_FLAGS = @WARN_FLAGS@
140 WERROR = @WERROR@
141 ac_ct_AR = @ac_ct_AR@
142 ac_ct_AS = @ac_ct_AS@
143 ac_ct_CC = @ac_ct_CC@
144 ac_ct_CXX = @ac_ct_CXX@
145 ac_ct_RANLIB = @ac_ct_RANLIB@
146 ac_ct_STRIP = @ac_ct_STRIP@
147 am__leading_dot = @am__leading_dot@
148 baseline_dir = @baseline_dir@
149 bindir = @bindir@
150 build = @build@
151 build_alias = @build_alias@
152 build_cpu = @build_cpu@
153 build_os = @build_os@
154 build_vendor = @build_vendor@
155 check_msgfmt = @check_msgfmt@
156 datadir = @datadir@
157 enable_shared = @enable_shared@
158 enable_static = @enable_static@
159 exec_prefix = @exec_prefix@
160 glibcxx_MOFILES = @glibcxx_MOFILES@
161 glibcxx_PCHFLAGS = @glibcxx_PCHFLAGS@
162 glibcxx_POFILES = @glibcxx_POFILES@
163 glibcxx_builddir = @glibcxx_builddir@
164 glibcxx_localedir = @glibcxx_localedir@
165 glibcxx_prefixdir = @glibcxx_prefixdir@
166 glibcxx_srcdir = @glibcxx_srcdir@
167 glibcxx_thread_h = @glibcxx_thread_h@
168 glibcxx_toolexecdir = @glibcxx_toolexecdir@
169 glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@
170 gxx_include_dir = @gxx_include_dir@
171 host = @host@
172 host_alias = @host_alias@
173 host_cpu = @host_cpu@
174 host_os = @host_os@
175 host_vendor = @host_vendor@
176 includedir = @includedir@
177 infodir = @infodir@
178 install_sh = @install_sh@
179 libdir = @libdir@
180 libexecdir = @libexecdir@
181 libtool_VERSION = @libtool_VERSION@
182 localstatedir = @localstatedir@
183 mandir = @mandir@
184 multi_basedir = @multi_basedir@
185 oldincludedir = @oldincludedir@
186 port_specific_symbol_files = @port_specific_symbol_files@
187 prefix = @prefix@
188 program_transform_name = @program_transform_name@
189 sbindir = @sbindir@
190 sharedstatedir = @sharedstatedir@
191 sysconfdir = @sysconfdir@
192 target = @target@
193 target_alias = @target_alias@
194 target_cpu = @target_cpu@
195 target_os = @target_os@
196 target_vendor = @target_vendor@
197 toplevel_srcdir = @toplevel_srcdir@
199 MAINT_CHARSET = latin1
201 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
202 PWD_COMMAND = $${PWDCMD-pwd}
203 STAMP = echo timestamp >
205 toolexecdir = $(glibcxx_toolexecdir)
206 toolexeclibdir = $(glibcxx_toolexeclibdir)
208 # These bits are all figured out from configure. Look in acinclude.m4
209 # or configure.ac to see how they are set. See GLIBCXX_EXPORT_FLAGS.
210 CONFIG_CXXFLAGS = \
211 $(SECTION_FLAGS) $(EXTRA_CXX_FLAGS)
213 WARN_CXXFLAGS = \
214 $(WARN_FLAGS) $(WERROR) -fdiagnostics-show-location=once
217 # -I/-D flags to pass when compiling.
218 AM_CPPFLAGS = $(GLIBCXX_INCLUDES)
220 # Cross compiler support.
221 toolexeclib_LTLIBRARIES = libstdc++.la
222 @GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@version_arg =
224 # Symbol versioning for shared libraries.
225 @GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@version_arg = -Wl,--version-script=libstdc++-symbol.ver
226 @GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@version_dep =
227 @GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@version_dep = libstdc++-symbol.ver
229 # Source files linked in via configuration/make substitution for a
230 # particular host.
231 host_sources = \
232 codecvt_members.cc \
233 collate_members.cc \
234 ctype_members.cc \
235 messages_members.cc \
236 monetary_members.cc \
237 numeric_members.cc \
238 time_members.cc
241 # Source files linked in via configuration/make substitution for a
242 # particular host, but with ad hoc naming rules.
243 host_sources_extra = \
244 basic_file.cc \
245 c++locale.cc
248 # Sources present in the src directory.
249 sources = \
250 codecvt.cc \
251 complex_io.cc \
252 ctype.cc \
253 debug.cc \
254 demangle.cc \
255 functexcept.cc \
256 globals_locale.cc \
257 globals_io.cc \
258 ios.cc \
259 ios_failure.cc \
260 ios_init.cc \
261 ios_locale.cc \
262 limits.cc \
263 locale.cc \
264 locale_init.cc \
265 locale_facets.cc \
266 localename.cc \
267 stdexcept.cc \
268 stl_tree.cc \
269 strstream.cc \
270 allocator-inst.cc \
271 concept-inst.cc \
272 fstream-inst.cc \
273 ext-inst.cc \
274 io-inst.cc \
275 istream-inst.cc \
276 locale-inst.cc \
277 locale-misc-inst.cc \
278 misc-inst.cc \
279 ostream-inst.cc \
280 sstream-inst.cc \
281 streambuf-inst.cc \
282 string-inst.cc \
283 valarray-inst.cc \
284 wlocale-inst.cc \
285 wstring-inst.cc \
286 ${host_sources} \
287 ${host_sources_extra}
290 libstdc___la_SOURCES = $(sources)
292 libstdc___la_LIBADD = \
293 $(top_builddir)/libmath/libmath.la \
294 $(top_builddir)/libsupc++/libsupc++convenience.la
297 libstdc___la_DEPENDENCIES = ${version_dep} $(libstdc___la_LIBADD)
299 libstdc___la_LDFLAGS = \
300 -version-info $(libtool_VERSION) ${version_arg} -lm
303 # Use special rules for the deprecated source files so that they find
304 # deprecated include files.
305 GLIBCXX_INCLUDE_DIR = $(glibcxx_builddir)/include
307 # AM_CXXFLAGS needs to be in each subdirectory so that it can be
308 # modified in a per-library or per-sub-library way. Need to manually
309 # set this option because CONFIG_CXXFLAGS has to be after
310 # OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden
311 # as the occasion calls for it.
312 AM_CXXFLAGS = \
313 -fno-implicit-templates \
314 $(WARN_CXXFLAGS) \
315 $(OPTIMIZE_CXXFLAGS) \
316 $(CONFIG_CXXFLAGS)
319 # libstdc++ libtool notes
321 # 1) Need to explicitly set LTCXXCOMPILE so that AM_CXXFLAGS is
322 # last. (That way, things like -O2 passed down from the toplevel can
323 # be overridden by --enable-debug.)
325 # 2) In general, libtool expects an argument such as `--tag=CXX' when
326 # using the C++ compiler, because that will enable the settings
327 # detected when C++ support was being configured. However, when no
328 # such flag is given in the command line, libtool attempts to figure
329 # it out by matching the compiler name in each configuration section
330 # against a prefix of the command line. The problem is that, if the
331 # compiler name and its initial flags stored in the libtool
332 # configuration file don't match those in the command line, libtool
333 # can't decide which configuration to use, and it gives up. The
334 # correct solution is to add `--tag CXX' to LTCXXCOMPILE and maybe
335 # CXXLINK, just after $(LIBTOOL), so that libtool doesn't have to
336 # attempt to infer which configuration to use
337 LTCXXCOMPILE = $(LIBTOOL) --tag CXX --mode=compile $(CXX) $(INCLUDES) \
338 $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(AM_CXXFLAGS)
341 # 3) We'd have a problem when building the shared libstdc++ object if
342 # the rules automake generates would be used. We cannot allow g++ to
343 # be used since this would add -lstdc++ to the link line which of
344 # course is problematic at this point. So, we get the top-level
345 # directory to configure libstdc++-v3 to use gcc as the C++
346 # compilation driver.
347 CXXLINK = $(LIBTOOL) --tag CXX --mode=link $(CXX) \
348 $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LDFLAGS) -o $@
351 debugdir = debug
352 subdir = src
353 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
354 CONFIG_HEADER = $(top_builddir)/config.h
355 CONFIG_CLEAN_FILES =
356 LTLIBRARIES = $(toolexeclib_LTLIBRARIES)
358 am__objects_1 = codecvt_members.lo collate_members.lo ctype_members.lo \
359 messages_members.lo monetary_members.lo numeric_members.lo \
360 time_members.lo
361 am__objects_2 = basic_file.lo c++locale.lo
362 am__objects_3 = codecvt.lo complex_io.lo ctype.lo debug.lo demangle.lo \
363 functexcept.lo globals_locale.lo globals_io.lo ios.lo \
364 ios_failure.lo ios_init.lo ios_locale.lo limits.lo locale.lo \
365 locale_init.lo locale_facets.lo localename.lo stdexcept.lo \
366 stl_tree.lo strstream.lo allocator-inst.lo concept-inst.lo \
367 fstream-inst.lo ext-inst.lo io-inst.lo istream-inst.lo \
368 locale-inst.lo locale-misc-inst.lo misc-inst.lo ostream-inst.lo \
369 sstream-inst.lo streambuf-inst.lo string-inst.lo \
370 valarray-inst.lo wlocale-inst.lo wstring-inst.lo \
371 $(am__objects_1) $(am__objects_2)
372 am_libstdc___la_OBJECTS = $(am__objects_3)
373 libstdc___la_OBJECTS = $(am_libstdc___la_OBJECTS)
375 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
376 depcomp =
377 am__depfiles_maybe =
378 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
379 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
380 CXXLD = $(CXX)
381 DIST_SOURCES = $(libstdc___la_SOURCES)
382 DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/fragment.am \
383 Makefile.am
384 SOURCES = $(libstdc___la_SOURCES)
386 all: all-am
388 .SUFFIXES:
389 .SUFFIXES: .cc .lo .o .obj
390 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/fragment.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
391 cd $(top_srcdir) && \
392 $(AUTOMAKE) --foreign src/Makefile
393 Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
394 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
395 toolexeclibLTLIBRARIES_INSTALL = $(INSTALL)
396 install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
397 @$(NORMAL_INSTALL)
398 $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
399 @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
400 if test -f $$p; then \
401 f="`echo $$p | sed -e 's|^.*/||'`"; \
402 echo " $(LIBTOOL) --mode=install $(toolexeclibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(toolexeclibdir)/$$f"; \
403 $(LIBTOOL) --mode=install $(toolexeclibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(toolexeclibdir)/$$f; \
404 else :; fi; \
405 done
407 uninstall-toolexeclibLTLIBRARIES:
408 @$(NORMAL_UNINSTALL)
409 @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
410 p="`echo $$p | sed -e 's|^.*/||'`"; \
411 echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(toolexeclibdir)/$$p"; \
412 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(toolexeclibdir)/$$p; \
413 done
415 clean-toolexeclibLTLIBRARIES:
416 -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
417 @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
418 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
419 test "$$dir" = "$$p" && dir=.; \
420 echo "rm -f \"$${dir}/so_locations\""; \
421 rm -f "$${dir}/so_locations"; \
422 done
423 libstdc++.la: $(libstdc___la_OBJECTS) $(libstdc___la_DEPENDENCIES)
424 $(CXXLINK) -rpath $(toolexeclibdir) $(libstdc___la_LDFLAGS) $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD) $(LIBS)
426 mostlyclean-compile:
427 -rm -f *.$(OBJEXT) core *.core
429 distclean-compile:
430 -rm -f *.tab.c
432 .cc.o:
433 $(CXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
435 .cc.obj:
436 $(CXXCOMPILE) -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
438 .cc.lo:
439 $(LTCXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
441 mostlyclean-libtool:
442 -rm -f *.lo
444 clean-libtool:
445 -rm -rf .libs _libs
447 distclean-libtool:
448 -rm -f libtool
449 uninstall-info-am:
451 ETAGS = etags
452 ETAGSFLAGS =
454 CTAGS = ctags
455 CTAGSFLAGS =
457 tags: TAGS
459 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
460 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
461 unique=`for i in $$list; do \
462 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
463 done | \
464 $(AWK) ' { files[$$0] = 1; } \
465 END { for (i in files) print i; }'`; \
466 mkid -fID $$unique
468 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
469 $(TAGS_FILES) $(LISP)
470 tags=; \
471 here=`pwd`; \
472 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
473 unique=`for i in $$list; do \
474 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
475 done | \
476 $(AWK) ' { files[$$0] = 1; } \
477 END { for (i in files) print i; }'`; \
478 test -z "$(ETAGS_ARGS)$$tags$$unique" \
479 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
480 $$tags $$unique
482 ctags: CTAGS
483 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
484 $(TAGS_FILES) $(LISP)
485 tags=; \
486 here=`pwd`; \
487 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
488 unique=`for i in $$list; do \
489 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
490 done | \
491 $(AWK) ' { files[$$0] = 1; } \
492 END { for (i in files) print i; }'`; \
493 test -z "$(CTAGS_ARGS)$$tags$$unique" \
494 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
495 $$tags $$unique
497 GTAGS:
498 here=`$(am__cd) $(top_builddir) && pwd` \
499 && cd $(top_srcdir) \
500 && gtags -i $(GTAGS_ARGS) $$here
502 distclean-tags:
503 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
504 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
506 top_distdir = ..
507 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
509 distdir: $(DISTFILES)
510 $(mkinstalldirs) $(distdir)/..
511 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
512 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
513 list='$(DISTFILES)'; for file in $$list; do \
514 case $$file in \
515 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
516 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
517 esac; \
518 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
519 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
520 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
521 dir="/$$dir"; \
522 $(mkinstalldirs) "$(distdir)$$dir"; \
523 else \
524 dir=''; \
525 fi; \
526 if test -d $$d/$$file; then \
527 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
528 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
529 fi; \
530 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
531 else \
532 test -f $(distdir)/$$file \
533 || cp -p $$d/$$file $(distdir)/$$file \
534 || exit 1; \
535 fi; \
536 done
537 check-am: all-am
538 check: check-am
539 all-am: Makefile $(LTLIBRARIES) all-local
541 installdirs:
542 $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
543 install: install-am
544 install-exec: install-exec-am
545 install-data: install-data-am
546 uninstall: uninstall-am
548 install-am: all-am
549 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
551 installcheck: installcheck-am
552 install-strip:
553 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
554 INSTALL_STRIP_FLAG=-s \
555 `test -z '$(STRIP)' || \
556 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
557 mostlyclean-generic:
559 clean-generic:
561 distclean-generic:
562 -rm -f $(CONFIG_CLEAN_FILES)
564 maintainer-clean-generic:
565 @echo "This command is intended for maintainers to use"
566 @echo "it deletes files that may require special tools to rebuild."
567 clean: clean-am
569 clean-am: clean-generic clean-libtool clean-toolexeclibLTLIBRARIES \
570 mostlyclean-am
572 distclean: distclean-am
573 -rm -f Makefile
574 distclean-am: clean-am distclean-compile distclean-generic \
575 distclean-libtool distclean-tags
577 dvi: dvi-am
579 dvi-am:
581 info: info-am
583 info-am:
585 install-data-am: install-data-local
587 install-exec-am: install-toolexeclibLTLIBRARIES
589 install-info: install-info-am
591 install-man:
593 installcheck-am:
595 maintainer-clean: maintainer-clean-am
596 -rm -f Makefile
597 maintainer-clean-am: distclean-am maintainer-clean-generic
599 mostlyclean: mostlyclean-am
601 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
602 mostlyclean-libtool
604 pdf: pdf-am
606 pdf-am:
608 ps: ps-am
610 ps-am:
612 uninstall-am: uninstall-info-am uninstall-toolexeclibLTLIBRARIES
614 .PHONY: CTAGS GTAGS all all-am all-local check check-am clean \
615 clean-generic clean-libtool clean-toolexeclibLTLIBRARIES ctags \
616 distclean distclean-compile distclean-generic distclean-libtool \
617 distclean-tags distdir dvi dvi-am info info-am install \
618 install-am install-data install-data-am install-data-local \
619 install-exec install-exec-am install-info install-info-am \
620 install-man install-strip install-toolexeclibLTLIBRARIES \
621 installcheck installcheck-am installdirs maintainer-clean \
622 maintainer-clean-generic mostlyclean mostlyclean-compile \
623 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
624 tags uninstall uninstall-am uninstall-info-am \
625 uninstall-toolexeclibLTLIBRARIES
627 @GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@libstdc++-symbol.ver: ${glibcxx_srcdir}/$(SYMVER_MAP)
628 @GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@ cp ${glibcxx_srcdir}/$(SYMVER_MAP) ./libstdc++-symbol.ver
629 @GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@ if test "x$(port_specific_symbol_files)" != x; then \
630 @GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@ sed -n '1,/DO NOT DELETE/p' $@ > tmp.top; \
631 @GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@ sed -n '/DO NOT DELETE/,$$p' $@ > tmp.bottom; \
632 @GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@ cat tmp.top $(port_specific_symbol_files) tmp.bottom > $@; \
633 @GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@ rm tmp.top tmp.bottom; \
634 @GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@ fi
636 codecvt_members.cc: ${glibcxx_srcdir}/$(CCODECVT_CC)
637 $(LN_S) ${glibcxx_srcdir}/$(CCODECVT_CC) . || true
639 collate_members.cc: ${glibcxx_srcdir}/$(CCOLLATE_CC)
640 $(LN_S) ${glibcxx_srcdir}/$(CCOLLATE_CC) . || true
642 ctype_members.cc: ${glibcxx_srcdir}/$(CCTYPE_CC)
643 $(LN_S) ${glibcxx_srcdir}/$(CCTYPE_CC) . || true
645 messages_members.cc: ${glibcxx_srcdir}/$(CMESSAGES_CC)
646 $(LN_S) ${glibcxx_srcdir}/$(CMESSAGES_CC) . || true
648 monetary_members.cc: ${glibcxx_srcdir}/$(CMONEY_CC)
649 $(LN_S) ${glibcxx_srcdir}/$(CMONEY_CC) . || true
651 numeric_members.cc: ${glibcxx_srcdir}/$(CNUMERIC_CC)
652 $(LN_S) ${glibcxx_srcdir}/$(CNUMERIC_CC) . || true
654 time_members.cc: ${glibcxx_srcdir}/$(CTIME_CC)
655 $(LN_S) ${glibcxx_srcdir}/$(CTIME_CC) . || true
657 c++locale.cc: ${glibcxx_srcdir}/$(CLOCALE_CC)
658 $(LN_S) ${glibcxx_srcdir}/$(CLOCALE_CC) ./$@ || true
660 basic_file.cc: ${glibcxx_srcdir}/$(BASIC_FILE_CC)
661 $(LN_S) ${glibcxx_srcdir}/$(BASIC_FILE_CC) ./$@ || true
662 strstream.lo: strstream.cc
663 $(LTCXXCOMPILE) -I$(GLIBCXX_INCLUDE_DIR)/backward -Wno-deprecated -c $<
664 strstream.o: strstream.cc
665 $(CXXCOMPILE) -I$(GLIBCXX_INCLUDE_DIR)/backward -Wno-deprecated -c $<
667 # Use special rules for the concept-checking instantiations so that all
668 # the generated template functions are also instantiated. Force the checks
669 # to be on so that the instantiations are actually seen.
670 concept-inst.lo: concept-inst.cc
671 $(LTCXXCOMPILE) -D_GLIBCXX_CONCEPT_CHECKS -fimplicit-templates -c $<
672 concept-inst.o: concept-inst.cc
673 $(CXXCOMPILE) -D_GLIBCXX_CONCEPT_CHECKS -fimplicit-templates -c $<
675 # Use special rules for the demangler, so that an additional implicit
676 # instantiation file is not necessary.
677 demangle.lo: demangle.cc
678 $(LTCXXCOMPILE) -fimplicit-templates -c $<
679 demangle.o: demangle.cc
680 $(CXXCOMPILE) -fimplicit-templates -c $<
682 # Added bits to build debug library.
683 @GLIBCXX_BUILD_DEBUG_TRUE@all-local: build_debug
684 @GLIBCXX_BUILD_DEBUG_TRUE@install-data-local: install_debug
685 @GLIBCXX_BUILD_DEBUG_FALSE@all-local:
686 @GLIBCXX_BUILD_DEBUG_FALSE@install-data-local:
688 # Build parallel set of debug objects here.
689 stamp-debug:
690 if test ! -d ${debugdir}; then \
691 mkdir -p ${debugdir}; \
692 (cd ${debugdir}; \
693 sed -e 's/top_builddir = \.\./top_builddir = ..\/../' \
694 -e 's/srcdir = \.\./srcdir = ..\/../' \
695 -e 's/glibcxx_basedir = \.\./glibcxx_basedir = ..\/../' \
696 -e 's/all-local: build_debug/all-local:/' \
697 -e 's/install-data-local: install_debug/install-data-local:/' \
698 < ../Makefile > Makefile) ; \
699 fi; \
700 echo `date` > stamp-debug;
702 build_debug: stamp-debug
703 (cd ${debugdir} && $(MAKE) CXXFLAGS='$(DEBUG_FLAGS)' all)
705 # Install debug library here.
706 install_debug:
707 (cd ${debugdir} && $(MAKE) \
708 toolexeclibdir=$(glibcxx_toolexeclibdir)/debug install)
709 # Tell versions [3.59,3.63) of GNU make to not export all variables.
710 # Otherwise a system limit (for SysV at least) may be exceeded.
711 .NOEXPORT: