2003-10-10 Eric Christopher <echristo@redhat.com>
[official-gcc.git] / libstdc++-v3 / src / Makefile.in
blob7a10f85535238f81b9136581e7c2fc18ade287e9
1 # Makefile.in generated by automake 1.7.6 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 FPOS_H = @FPOS_H@
85 FPOS_INC_SRCDIR = @FPOS_INC_SRCDIR@
86 GLIBCXX_BUILD_DEBUG_FALSE = @GLIBCXX_BUILD_DEBUG_FALSE@
87 GLIBCXX_BUILD_DEBUG_TRUE = @GLIBCXX_BUILD_DEBUG_TRUE@
88 GLIBCXX_BUILD_PCH_FALSE = @GLIBCXX_BUILD_PCH_FALSE@
89 GLIBCXX_BUILD_PCH_TRUE = @GLIBCXX_BUILD_PCH_TRUE@
90 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE = @GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@
91 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE = @GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@
92 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE = @GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@
93 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE = @GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@
94 GLIBCXX_C_HEADERS_C_FALSE = @GLIBCXX_C_HEADERS_C_FALSE@
95 GLIBCXX_C_HEADERS_C_STD_FALSE = @GLIBCXX_C_HEADERS_C_STD_FALSE@
96 GLIBCXX_C_HEADERS_C_STD_TRUE = @GLIBCXX_C_HEADERS_C_STD_TRUE@
97 GLIBCXX_C_HEADERS_C_TRUE = @GLIBCXX_C_HEADERS_C_TRUE@
98 GLIBCXX_HOSTED_FALSE = @GLIBCXX_HOSTED_FALSE@
99 GLIBCXX_HOSTED_TRUE = @GLIBCXX_HOSTED_TRUE@
100 GLIBCXX_INCLUDES = @GLIBCXX_INCLUDES@
101 GLIBCXX_TEST_ABI_FALSE = @GLIBCXX_TEST_ABI_FALSE@
102 GLIBCXX_TEST_ABI_TRUE = @GLIBCXX_TEST_ABI_TRUE@
103 GLIBCXX_TEST_WCHAR_T_FALSE = @GLIBCXX_TEST_WCHAR_T_FALSE@
104 GLIBCXX_TEST_WCHAR_T_TRUE = @GLIBCXX_TEST_WCHAR_T_TRUE@
105 INSTALL_DATA = @INSTALL_DATA@
106 INSTALL_PROGRAM = @INSTALL_PROGRAM@
107 INSTALL_SCRIPT = @INSTALL_SCRIPT@
108 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
109 LIBMATHOBJS = @LIBMATHOBJS@
110 LIBOBJS = @LIBOBJS@
111 LIBS = @LIBS@
112 LIBSUPCXX_PICFLAGS = @LIBSUPCXX_PICFLAGS@
113 LIBTOOL = @LIBTOOL@
114 LIBUNWIND_FLAG = @LIBUNWIND_FLAG@
115 LN_S = @LN_S@
116 LTLIBOBJS = @LTLIBOBJS@
117 MAINT = @MAINT@
118 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
119 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
120 MAKEINFO = @MAKEINFO@
121 OBJEXT = @OBJEXT@
122 OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
123 OPT_LDFLAGS = @OPT_LDFLAGS@
124 OS_INC_SRCDIR = @OS_INC_SRCDIR@
125 PACKAGE = @PACKAGE@
126 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
127 PACKAGE_NAME = @PACKAGE_NAME@
128 PACKAGE_STRING = @PACKAGE_STRING@
129 PACKAGE_TARNAME = @PACKAGE_TARNAME@
130 PACKAGE_VERSION = @PACKAGE_VERSION@
131 PATH_SEPARATOR = @PATH_SEPARATOR@
132 RANLIB = @RANLIB@
133 SECTION_FLAGS = @SECTION_FLAGS@
134 SECTION_LDFLAGS = @SECTION_LDFLAGS@
135 SET_MAKE = @SET_MAKE@
136 SHELL = @SHELL@
137 STRIP = @STRIP@
138 SYMVER_MAP = @SYMVER_MAP@
139 TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
140 USE_NLS = @USE_NLS@
141 VERSION = @VERSION@
142 WARN_FLAGS = @WARN_FLAGS@
143 WERROR = @WERROR@
144 ac_ct_AR = @ac_ct_AR@
145 ac_ct_AS = @ac_ct_AS@
146 ac_ct_CC = @ac_ct_CC@
147 ac_ct_CXX = @ac_ct_CXX@
148 ac_ct_RANLIB = @ac_ct_RANLIB@
149 ac_ct_STRIP = @ac_ct_STRIP@
150 am__leading_dot = @am__leading_dot@
151 baseline_dir = @baseline_dir@
152 bindir = @bindir@
153 build = @build@
154 build_alias = @build_alias@
155 build_cpu = @build_cpu@
156 build_os = @build_os@
157 build_vendor = @build_vendor@
158 check_msgfmt = @check_msgfmt@
159 datadir = @datadir@
160 enable_shared = @enable_shared@
161 enable_static = @enable_static@
162 exec_prefix = @exec_prefix@
163 glibcxx_MOFILES = @glibcxx_MOFILES@
164 glibcxx_PCHFLAGS = @glibcxx_PCHFLAGS@
165 glibcxx_POFILES = @glibcxx_POFILES@
166 glibcxx_builddir = @glibcxx_builddir@
167 glibcxx_localedir = @glibcxx_localedir@
168 glibcxx_prefixdir = @glibcxx_prefixdir@
169 glibcxx_srcdir = @glibcxx_srcdir@
170 glibcxx_thread_h = @glibcxx_thread_h@
171 glibcxx_toolexecdir = @glibcxx_toolexecdir@
172 glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@
173 gxx_include_dir = @gxx_include_dir@
174 host = @host@
175 host_alias = @host_alias@
176 host_cpu = @host_cpu@
177 host_os = @host_os@
178 host_vendor = @host_vendor@
179 includedir = @includedir@
180 infodir = @infodir@
181 install_sh = @install_sh@
182 libdir = @libdir@
183 libexecdir = @libexecdir@
184 libtool_VERSION = @libtool_VERSION@
185 localstatedir = @localstatedir@
186 mandir = @mandir@
187 multi_basedir = @multi_basedir@
188 oldincludedir = @oldincludedir@
189 port_specific_symbol_files = @port_specific_symbol_files@
190 prefix = @prefix@
191 program_transform_name = @program_transform_name@
192 sbindir = @sbindir@
193 sharedstatedir = @sharedstatedir@
194 sysconfdir = @sysconfdir@
195 target = @target@
196 target_alias = @target_alias@
197 target_cpu = @target_cpu@
198 target_os = @target_os@
199 target_vendor = @target_vendor@
200 toplevel_srcdir = @toplevel_srcdir@
202 MAINT_CHARSET = latin1
204 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
205 PWD_COMMAND = $${PWDCMD-pwd}
206 STAMP = echo timestamp >
208 toolexecdir = $(glibcxx_toolexecdir)
209 toolexeclibdir = $(glibcxx_toolexeclibdir)
211 # These bits are all figured out from configure. Look in acinclude.m4
212 # or configure.ac to see how they are set. See GLIBCXX_EXPORT_FLAGS.
213 CONFIG_CXXFLAGS = \
214 $(SECTION_FLAGS) $(EXTRA_CXX_FLAGS)
216 WARN_CXXFLAGS = \
217 $(WARN_FLAGS) $(WERROR) -fdiagnostics-show-location=once
220 # -I/-D flags to pass when compiling.
221 AM_CPPFLAGS = $(GLIBCXX_INCLUDES)
223 # Cross compiler support.
224 toolexeclib_LTLIBRARIES = libstdc++.la
226 # Symbol versioning for shared libraries.
227 @GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@version_arg = -Wl,--version-script=libstdc++-symbol.ver
228 @GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@version_arg =
229 @GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@version_dep = libstdc++-symbol.ver
230 @GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@version_dep =
232 # Source files linked in via configuration/make substitution for a
233 # particular host.
234 host_sources = \
235 codecvt_members.cc \
236 collate_members.cc \
237 ctype_members.cc \
238 messages_members.cc \
239 monetary_members.cc \
240 numeric_members.cc \
241 time_members.cc
244 # Source files linked in via configuration/make substitution for a
245 # particular host, but with ad hoc naming rules.
246 host_sources_extra = \
247 basic_file.cc \
248 c++locale.cc
251 # Sources present in the src directory.
252 sources = \
253 allocator-inst.cc \
254 codecvt.cc \
255 complex_io.cc \
256 concept-inst.cc \
257 ctype.cc \
258 demangle.cc \
259 ext-inst.cc \
260 fstream-inst.cc \
261 functexcept.cc \
262 globals.cc \
263 io-inst.cc \
264 ios.cc \
265 ios_failure.cc \
266 istream-inst.cc \
267 limits.cc \
268 locale.cc \
269 locale-inst.cc \
270 localename.cc \
271 misc-inst.cc \
272 ostream-inst.cc \
273 sstream-inst.cc \
274 stdexcept.cc \
275 stl_tree.cc \
276 streambuf-inst.cc \
277 string-inst.cc \
278 strstream.cc \
279 valarray-inst.cc \
280 wstring-inst.cc \
281 ${host_sources} \
282 ${host_sources_extra}
285 libstdc___la_SOURCES = $(sources)
287 libstdc___la_LIBADD = \
288 $(top_builddir)/libmath/libmath.la \
289 $(top_builddir)/libsupc++/libsupc++convenience.la
292 libstdc___la_DEPENDENCIES = ${version_dep} $(libstdc___la_LIBADD)
294 libstdc___la_LDFLAGS = \
295 -version-info $(libtool_VERSION) ${version_arg} \
296 -lm $(LIBUNWIND_FLAG)
299 # Use special rules for the deprecated source files so that they find
300 # deprecated include files.
301 GLIBCXX_INCLUDE_DIR = $(glibcxx_builddir)/include
303 # AM_CXXFLAGS needs to be in each subdirectory so that it can be
304 # modified in a per-library or per-sub-library way. Need to manually
305 # set this option because CONFIG_CXXFLAGS has to be after
306 # OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden
307 # as the occasion calls for it.
308 AM_CXXFLAGS = \
309 -fno-implicit-templates \
310 $(WARN_CXXFLAGS) \
311 $(OPTIMIZE_CXXFLAGS) \
312 $(CONFIG_CXXFLAGS)
315 # libstdc++ libtool notes
317 # 1) Need to explicitly set LTCXXCOMPILE so that AM_CXXFLAGS is
318 # last. (That way, things like -O2 passed down from the toplevel can
319 # be overridden by --enable-debug.)
321 # 2) In general, libtool expects an argument such as `--tag=CXX' when
322 # using the C++ compiler, because that will enable the settings
323 # detected when C++ support was being configured. However, when no
324 # such flag is given in the command line, libtool attempts to figure
325 # it out by matching the compiler name in each configuration section
326 # against a prefix of the command line. The problem is that, if the
327 # compiler name and its initial flags stored in the libtool
328 # configuration file don't match those in the command line, libtool
329 # can't decide which configuration to use, and it gives up. The
330 # correct solution is to add `--tag CXX' to LTCXXCOMPILE and maybe
331 # CXXLINK, just after $(LIBTOOL), so that libtool doesn't have to
332 # attempt to infer which configuration to use
333 LTCXXCOMPILE = $(LIBTOOL) --tag CXX --mode=compile $(CXX) $(INCLUDES) \
334 $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(AM_CXXFLAGS)
337 # 3) We'd have a problem when building the shared libstdc++ object if
338 # the rules automake generates would be used. We cannot allow g++ to
339 # be used since this would add -lstdc++ to the link line which of
340 # course is problematic at this point. So, we get the top-level
341 # directory to configure libstdc++-v3 to use gcc as the C++
342 # compilation driver.
343 CXXLINK = $(LIBTOOL) --tag CXX --mode=link $(CXX) \
344 $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LDFLAGS) -o $@
347 debugdir = debug
348 subdir = src
349 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
350 CONFIG_HEADER = $(top_builddir)/config.h
351 CONFIG_CLEAN_FILES =
352 LTLIBRARIES = $(toolexeclib_LTLIBRARIES)
354 am__objects_1 = codecvt_members.lo collate_members.lo ctype_members.lo \
355 messages_members.lo monetary_members.lo numeric_members.lo \
356 time_members.lo
357 am__objects_2 = basic_file.lo c++locale.lo
358 am__objects_3 = allocator-inst.lo codecvt.lo complex_io.lo \
359 concept-inst.lo ctype.lo demangle.lo ext-inst.lo \
360 fstream-inst.lo functexcept.lo globals.lo io-inst.lo ios.lo \
361 ios_failure.lo istream-inst.lo limits.lo locale.lo locale-inst.lo \
362 localename.lo misc-inst.lo ostream-inst.lo sstream-inst.lo \
363 stdexcept.lo stl_tree.lo streambuf-inst.lo string-inst.lo \
364 strstream.lo valarray-inst.lo wstring-inst.lo $(am__objects_1) \
365 $(am__objects_2)
366 am_libstdc___la_OBJECTS = $(am__objects_3)
367 libstdc___la_OBJECTS = $(am_libstdc___la_OBJECTS)
369 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
370 depcomp =
371 am__depfiles_maybe =
372 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
373 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
374 CXXLD = $(CXX)
375 DIST_SOURCES = $(libstdc___la_SOURCES)
376 DIST_COMMON = $(top_srcdir)/fragment.am Makefile.am Makefile.in
377 SOURCES = $(libstdc___la_SOURCES)
379 all: all-am
381 .SUFFIXES:
382 .SUFFIXES: .cc .lo .o .obj
383 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/fragment.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
384 cd $(top_srcdir) && \
385 $(AUTOMAKE) --foreign src/Makefile
386 Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
387 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
388 toolexeclibLTLIBRARIES_INSTALL = $(INSTALL)
389 install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
390 @$(NORMAL_INSTALL)
391 $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
392 @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
393 if test -f $$p; then \
394 f="`echo $$p | sed -e 's|^.*/||'`"; \
395 echo " $(LIBTOOL) --mode=install $(toolexeclibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(toolexeclibdir)/$$f"; \
396 $(LIBTOOL) --mode=install $(toolexeclibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(toolexeclibdir)/$$f; \
397 else :; fi; \
398 done
400 uninstall-toolexeclibLTLIBRARIES:
401 @$(NORMAL_UNINSTALL)
402 @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
403 p="`echo $$p | sed -e 's|^.*/||'`"; \
404 echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(toolexeclibdir)/$$p"; \
405 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(toolexeclibdir)/$$p; \
406 done
408 clean-toolexeclibLTLIBRARIES:
409 -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
410 @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
411 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
412 test "$$dir" = "$$p" && dir=.; \
413 echo "rm -f \"$${dir}/so_locations\""; \
414 rm -f "$${dir}/so_locations"; \
415 done
416 libstdc++.la: $(libstdc___la_OBJECTS) $(libstdc___la_DEPENDENCIES)
417 $(CXXLINK) -rpath $(toolexeclibdir) $(libstdc___la_LDFLAGS) $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD) $(LIBS)
419 mostlyclean-compile:
420 -rm -f *.$(OBJEXT) core *.core
422 distclean-compile:
423 -rm -f *.tab.c
425 .cc.o:
426 $(CXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
428 .cc.obj:
429 $(CXXCOMPILE) -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
431 .cc.lo:
432 $(LTCXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
434 mostlyclean-libtool:
435 -rm -f *.lo
437 clean-libtool:
438 -rm -rf .libs _libs
440 distclean-libtool:
441 -rm -f libtool
442 uninstall-info-am:
444 ETAGS = etags
445 ETAGSFLAGS =
447 CTAGS = ctags
448 CTAGSFLAGS =
450 tags: TAGS
452 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
453 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
454 unique=`for i in $$list; do \
455 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
456 done | \
457 $(AWK) ' { files[$$0] = 1; } \
458 END { for (i in files) print i; }'`; \
459 mkid -fID $$unique
461 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
462 $(TAGS_FILES) $(LISP)
463 tags=; \
464 here=`pwd`; \
465 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
466 unique=`for i in $$list; do \
467 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
468 done | \
469 $(AWK) ' { files[$$0] = 1; } \
470 END { for (i in files) print i; }'`; \
471 test -z "$(ETAGS_ARGS)$$tags$$unique" \
472 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
473 $$tags $$unique
475 ctags: CTAGS
476 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
477 $(TAGS_FILES) $(LISP)
478 tags=; \
479 here=`pwd`; \
480 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
481 unique=`for i in $$list; do \
482 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
483 done | \
484 $(AWK) ' { files[$$0] = 1; } \
485 END { for (i in files) print i; }'`; \
486 test -z "$(CTAGS_ARGS)$$tags$$unique" \
487 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
488 $$tags $$unique
490 GTAGS:
491 here=`$(am__cd) $(top_builddir) && pwd` \
492 && cd $(top_srcdir) \
493 && gtags -i $(GTAGS_ARGS) $$here
495 distclean-tags:
496 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
497 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
499 top_distdir = ..
500 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
502 distdir: $(DISTFILES)
503 $(mkinstalldirs) $(distdir)/..
504 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
505 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
506 list='$(DISTFILES)'; for file in $$list; do \
507 case $$file in \
508 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
509 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
510 esac; \
511 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
512 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
513 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
514 dir="/$$dir"; \
515 $(mkinstalldirs) "$(distdir)$$dir"; \
516 else \
517 dir=''; \
518 fi; \
519 if test -d $$d/$$file; then \
520 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
521 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
522 fi; \
523 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
524 else \
525 test -f $(distdir)/$$file \
526 || cp -p $$d/$$file $(distdir)/$$file \
527 || exit 1; \
528 fi; \
529 done
530 check-am: all-am
531 check: check-am
532 all-am: Makefile $(LTLIBRARIES) all-local
534 installdirs:
535 $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
536 install: install-am
537 install-exec: install-exec-am
538 install-data: install-data-am
539 uninstall: uninstall-am
541 install-am: all-am
542 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
544 installcheck: installcheck-am
545 install-strip:
546 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
547 INSTALL_STRIP_FLAG=-s \
548 `test -z '$(STRIP)' || \
549 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
550 mostlyclean-generic:
552 clean-generic:
554 distclean-generic:
555 -rm -f Makefile $(CONFIG_CLEAN_FILES)
557 maintainer-clean-generic:
558 @echo "This command is intended for maintainers to use"
559 @echo "it deletes files that may require special tools to rebuild."
560 clean: clean-am
562 clean-am: clean-generic clean-libtool clean-toolexeclibLTLIBRARIES \
563 mostlyclean-am
565 distclean: distclean-am
567 distclean-am: clean-am distclean-compile distclean-generic \
568 distclean-libtool distclean-tags
570 dvi: dvi-am
572 dvi-am:
574 info: info-am
576 info-am:
578 install-data-am: install-data-local
580 install-exec-am: install-toolexeclibLTLIBRARIES
582 install-info: install-info-am
584 install-man:
586 installcheck-am:
588 maintainer-clean: maintainer-clean-am
590 maintainer-clean-am: distclean-am maintainer-clean-generic
592 mostlyclean: mostlyclean-am
594 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
595 mostlyclean-libtool
597 pdf: pdf-am
599 pdf-am:
601 ps: ps-am
603 ps-am:
605 uninstall-am: uninstall-info-am uninstall-toolexeclibLTLIBRARIES
607 .PHONY: CTAGS GTAGS all all-am all-local check check-am clean \
608 clean-generic clean-libtool clean-toolexeclibLTLIBRARIES ctags \
609 distclean distclean-compile distclean-generic distclean-libtool \
610 distclean-tags distdir dvi dvi-am info info-am install \
611 install-am install-data install-data-am install-data-local \
612 install-exec install-exec-am install-info install-info-am \
613 install-man install-strip install-toolexeclibLTLIBRARIES \
614 installcheck installcheck-am installdirs maintainer-clean \
615 maintainer-clean-generic mostlyclean mostlyclean-compile \
616 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
617 tags uninstall uninstall-am uninstall-info-am \
618 uninstall-toolexeclibLTLIBRARIES
620 @GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@libstdc++-symbol.ver: ${glibcxx_srcdir}/$(SYMVER_MAP)
621 @GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@ cp ${glibcxx_srcdir}/$(SYMVER_MAP) ./libstdc++-symbol.ver
622 @GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@ if test "x$(port_specific_symbol_files)" != x; then \
623 @GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@ sed -n '1,/DO NOT DELETE/p' $@ > tmp.top; \
624 @GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@ sed -n '/DO NOT DELETE/,$$p' $@ > tmp.bottom; \
625 @GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@ cat tmp.top $(port_specific_symbol_files) tmp.bottom > $@; \
626 @GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@ rm tmp.top tmp.bottom; \
627 @GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@ fi
629 codecvt_members.cc: ${glibcxx_srcdir}/$(CCODECVT_CC)
630 $(LN_S) ${glibcxx_srcdir}/$(CCODECVT_CC) . || true
632 collate_members.cc: ${glibcxx_srcdir}/$(CCOLLATE_CC)
633 $(LN_S) ${glibcxx_srcdir}/$(CCOLLATE_CC) . || true
635 ctype_members.cc: ${glibcxx_srcdir}/$(CCTYPE_CC)
636 $(LN_S) ${glibcxx_srcdir}/$(CCTYPE_CC) . || true
638 messages_members.cc: ${glibcxx_srcdir}/$(CMESSAGES_CC)
639 $(LN_S) ${glibcxx_srcdir}/$(CMESSAGES_CC) . || true
641 monetary_members.cc: ${glibcxx_srcdir}/$(CMONEY_CC)
642 $(LN_S) ${glibcxx_srcdir}/$(CMONEY_CC) . || true
644 numeric_members.cc: ${glibcxx_srcdir}/$(CNUMERIC_CC)
645 $(LN_S) ${glibcxx_srcdir}/$(CNUMERIC_CC) . || true
647 time_members.cc: ${glibcxx_srcdir}/$(CTIME_CC)
648 $(LN_S) ${glibcxx_srcdir}/$(CTIME_CC) . || true
650 c++locale.cc: ${glibcxx_srcdir}/$(CLOCALE_CC)
651 $(LN_S) ${glibcxx_srcdir}/$(CLOCALE_CC) ./$@ || true
653 basic_file.cc: ${glibcxx_srcdir}/$(BASIC_FILE_CC)
654 $(LN_S) ${glibcxx_srcdir}/$(BASIC_FILE_CC) ./$@ || true
655 strstream.lo: strstream.cc
656 $(LTCXXCOMPILE) -I$(GLIBCXX_INCLUDE_DIR)/backward -Wno-deprecated -c $<
657 strstream.o: strstream.cc
658 $(CXXCOMPILE) -I$(GLIBCXX_INCLUDE_DIR)/backward -Wno-deprecated -c $<
660 # Use special rules for the concept-checking instantiations so that all
661 # the generated template functions are also instantiated. Force the checks
662 # to be on so that the instantiations are actually seen.
663 concept-inst.lo: concept-inst.cc
664 $(LTCXXCOMPILE) -D_GLIBCXX_CONCEPT_CHECKS -fimplicit-templates -c $<
665 concept-inst.o: concept-inst.cc
666 $(CXXCOMPILE) -D_GLIBCXX_CONCEPT_CHECKS -fimplicit-templates -c $<
668 # Use special rules for the demangler, so that an additional implicit
669 # instantiation file is not necessary.
670 demangle.lo: demangle.cc
671 $(LTCXXCOMPILE) -fimplicit-templates -c $<
672 demangle.o: demangle.cc
673 $(CXXCOMPILE) -fimplicit-templates -c $<
675 # Added bits to build debug library.
676 @GLIBCXX_BUILD_DEBUG_TRUE@all-local: build_debug
677 @GLIBCXX_BUILD_DEBUG_TRUE@install-data-local: install_debug
678 @GLIBCXX_BUILD_DEBUG_FALSE@all-local:
679 @GLIBCXX_BUILD_DEBUG_FALSE@install-data-local:
681 # Build parallel set of debug objects here.
682 stamp-debug:
683 if test ! -d ${debugdir}; then \
684 mkdir -p ${debugdir}; \
685 (cd ${debugdir}; \
686 sed -e 's/top_builddir = \.\./top_builddir = ..\/../' \
687 -e 's/srcdir = \.\./srcdir = ..\/../' \
688 -e 's/glibcxx_basedir = \.\./glibcxx_basedir = ..\/../' \
689 -e 's/all-local: build_debug/all-local:/' \
690 -e 's/install-data-local: install_debug/install-data-local:/' \
691 < ../Makefile > Makefile) ; \
692 fi; \
693 echo `date` > stamp-debug;
695 build_debug: stamp-debug
696 (cd ${debugdir} && $(MAKE) CXXFLAGS='$(DEBUG_FLAGS)' all)
698 # Install debug library here.
699 install_debug:
700 (cd ${debugdir} && $(MAKE) \
701 toolexeclibdir=$(glibcxx_toolexeclibdir)/debug install)
702 # Tell versions [3.59,3.63) of GNU make to not export all variables.
703 # Otherwise a system limit (for SysV at least) may be exceeded.
704 .NOEXPORT: