1 # Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
3 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
4 # This Makefile.in is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
17 top_srcdir = @top_srcdir@
20 exec_prefix = @exec_prefix@
24 libexecdir = @libexecdir@
26 sysconfdir = @sysconfdir@
27 sharedstatedir = @sharedstatedir@
28 localstatedir = @localstatedir@
32 includedir = @includedir@
33 oldincludedir = /usr/include
37 pkgdatadir = $(datadir)/@PACKAGE@
38 pkglibdir = $(libdir)/@PACKAGE@
39 pkgincludedir = $(includedir)/@PACKAGE@
46 AUTOHEADER = @AUTOHEADER@
49 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
50 INSTALL_DATA = @INSTALL_DATA@
51 INSTALL_SCRIPT = @INSTALL_SCRIPT@
52 transform = @program_transform_name@
60 build_alias = @build_alias@
61 build_triplet = @build@
62 host_alias = @host_alias@
64 target_alias = @target_alias@
65 target_triplet = @target@
68 ATOMICITY_INC_SRCDIR = @ATOMICITY_INC_SRCDIR@
70 BASIC_FILE_H = @BASIC_FILE_H@
71 CCODECVT_C = @CCODECVT_C@
72 CCODECVT_H = @CCODECVT_H@
73 CLOCALE_H = @CLOCALE_H@
74 CMESSAGES_H = @CMESSAGES_H@
76 CPU_LIMITS_INC_SRCDIR = @CPU_LIMITS_INC_SRCDIR@
79 C_INCLUDE_DIR = @C_INCLUDE_DIR@
80 DEBUG_FLAGS = @DEBUG_FLAGS@
83 EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
86 GLIBCPP_IS_CROSS_COMPILING = @GLIBCPP_IS_CROSS_COMPILING@
87 LIBIO_INCLUDES = @LIBIO_INCLUDES@
88 LIBMATHOBJS = @LIBMATHOBJS@
89 LIBMATH_INCLUDES = @LIBMATH_INCLUDES@
90 LIBSUPCXX_PICFLAGS = @LIBSUPCXX_PICFLAGS@
92 LIBUNWIND_FLAG = @LIBUNWIND_FLAG@
98 OPT_LDFLAGS = @OPT_LDFLAGS@
99 OS_INC_SRCDIR = @OS_INC_SRCDIR@
102 SECTION_FLAGS = @SECTION_FLAGS@
103 SECTION_LDFLAGS = @SECTION_LDFLAGS@
105 TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
108 WARN_FLAGS = @WARN_FLAGS@
110 check_msgfmt = @check_msgfmt@
111 enable_shared = @enable_shared@
112 enable_static = @enable_static@
113 glibcpp_CXX = @glibcpp_CXX@
114 glibcpp_MOFILES = @glibcpp_MOFILES@
115 glibcpp_POFILES = @glibcpp_POFILES@
116 glibcpp_basedir = @glibcpp_basedir@
117 glibcpp_builddir = @glibcpp_builddir@
118 glibcpp_localedir = @glibcpp_localedir@
119 glibcpp_prefixdir = @glibcpp_prefixdir@
120 glibcpp_srcdir = @glibcpp_srcdir@
121 glibcpp_thread_h = @glibcpp_thread_h@
122 glibcpp_toolexecdir = @glibcpp_toolexecdir@
123 glibcpp_toolexeclibdir = @glibcpp_toolexeclibdir@
124 gxx_include_dir = @gxx_include_dir@
125 ifGNUmake = @ifGNUmake@
126 libio_la = @libio_la@
127 libtool_VERSION = @libtool_VERSION@
128 toplevel_srcdir = @toplevel_srcdir@
130 AUTOMAKE_OPTIONS = 1.3 cygnus
131 MAINT_CHARSET = latin1
133 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
135 # Cross compiler and multilib support.
138 toolexecdir = @glibcpp_toolexecdir@
139 toolexeclibdir = @glibcpp_toolexeclibdir@
141 # Need this library to both be part of libstdc++.a, and installed
143 # 1) separate libsupc++.la
144 toolexeclib_LTLIBRARIES = libsupc++.la
145 # 2) integrated libsupc++convenience.la that is to be a part of libstdc++.a
146 noinst_LTLIBRARIES = libsupc++convenience.la
148 # Compile flags that should be constant throughout the build, both for
149 # SUBDIRS and for libstdc++-v3 in general.
150 OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
152 # These bits are all figured out from configure. Look in acinclude.m4
153 # or configure.in to see how they are set. See GLIBCPP_EXPORT_FLAGS
154 # NB: DEBUGFLAGS have to be at the end so that -O2 can be overridden.
156 @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@ @DEBUG_FLAGS@
159 # Warning flags to use.
161 @WARN_FLAGS@ $(WERROR) -fdiagnostics-show-location=once
164 # Use common includes from acinclude.m4/GLIBCPP_EXPORT_INCLUDES
165 GLIBCPP_INCLUDES = @GLIBCPP_INCLUDES@
166 LIBSUPCXX_INCLUDES = @LIBSUPCXX_INCLUDES@
167 GCC_INCLUDES = -I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include
170 $(GCC_INCLUDES) $(GLIBCPP_INCLUDES) $(LIBSUPCXX_INCLUDES)
174 exception new typeinfo cxxabi.h exception_defines.h
207 libsupc___la_SOURCES = $(sources) $(c_sources)
208 libsupc__convenience_la_SOURCES = $(sources) $(c_sources)
210 glibcppinstalldir = @gxx_include_dir@
211 glibcppinstall_HEADERS = $(headers)
213 LIBSUPCXX_CXXFLAGS = $(LIBSUPCXX_PICFLAGS)
215 # Use special rules for pulling things out of libiberty. These
216 # objects should be compiled with the "C" compiler, not the C++
217 # compiler, and also should not use the C++ includes.
219 $(CC) $(DEFS) $(GCC_INCLUDES) \
220 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
223 # LTCOMPILE is copied from LTCXXCOMPILE below.
224 LTCOMPILE = $(LIBTOOL) --tag CC --tag disable-shared --mode=compile $(CC) \
225 $(DEFS) $(GCC_INCLUDES) \
226 $(AM_CPPFLAGS) $(CPPFLAGS)
229 # AM_CXXFLAGS needs to be in each subdirectory so that it can be
230 # modified in a per-library or per-sub-library way. Need to manually
231 # set this option because CONFIG_CXXFLAGS has to be after
232 # OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden
233 # as the occasion call for it. (ie, --enable-debug)
235 -fno-implicit-templates \
236 $(LIBSUPCXX_CXXFLAGS) \
238 $(OPTIMIZE_CXXFLAGS) \
242 # libstdc++ libtool notes
244 # 1) Need to explicitly set LTCXXCOMPILE so that AM_CXXFLAGS is
245 # last. (That way, things like -O2 passed down from the toplevel can
246 # be overridden by --enable-debug.)
248 # 2) In general, libtool expects an argument such as `--tag=CXX' when
249 # using the C++ compiler, because that will enable the settings
250 # detected when C++ support was being configured. However, when no
251 # such flag is given in the command line, libtool attempts to figure
252 # it out by matching the compiler name in each configuration section
253 # against a prefix of the command line. The problem is that, if the
254 # compiler name and its initial flags stored in the libtool
255 # configuration file don't match those in the command line, libtool
256 # can't decide which configuration to use, and it gives up. The
257 # correct solution is to add `--tag CXX' to LTCXXCOMPILE and maybe
258 # CXXLINK, just after $(LIBTOOL), so that libtool doesn't have to
259 # attempt to infer which configuration to use.
261 # We have to put --tag disable-shared after --tag CXX lest things
262 # CXX undo the affect of disable-shared.
263 LTCXXCOMPILE = $(LIBTOOL) --tag CXX --tag disable-shared \
264 --mode=compile $(CXX) $(INCLUDES) \
265 $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(AM_CXXFLAGS)
268 # 3) We'd have a problem when building the shared libstdc++ object if
269 # the rules automake generates would be used. We cannot allow g++ to
270 # be used since this would add -lstdc++ to the link line which of
271 # course is problematic at this point. So, we get the top-level
272 # directory to configure libstdc++-v3 to use gcc as the C++
273 # compilation driver.
274 CXXLINK = $(LIBTOOL) --tag CXX --tag disable-shared \
276 @OPT_LDFLAGS@ @SECTION_LDFLAGS@ $(AM_CXXFLAGS) $(LDFLAGS) -o $@
278 CONFIG_HEADER = ../config.h
280 LTLIBRARIES = $(noinst_LTLIBRARIES) $(toolexeclib_LTLIBRARIES)
283 DEFS = @DEFS@ -I. -I$(srcdir) -I..
284 CPPFLAGS = @CPPFLAGS@
287 libsupc__convenience_la_LDFLAGS =
288 libsupc__convenience_la_LIBADD =
289 libsupc__convenience_la_OBJECTS = del_op.lo del_opnt.lo del_opv.lo \
290 del_opvnt.lo eh_alloc.lo eh_aux_runtime.lo eh_catch.lo eh_exception.lo \
291 eh_globals.lo eh_personality.lo eh_terminate.lo eh_throw.lo eh_type.lo \
292 new_handler.lo new_op.lo new_opnt.lo new_opv.lo new_opvnt.lo pure.lo \
293 tinfo.lo tinfo2.lo vec.lo cxa_demangle.lo dyn-string.lo
294 libsupc___la_LDFLAGS =
295 libsupc___la_LIBADD =
296 libsupc___la_OBJECTS = del_op.lo del_opnt.lo del_opv.lo del_opvnt.lo \
297 eh_alloc.lo eh_aux_runtime.lo eh_catch.lo eh_exception.lo eh_globals.lo \
298 eh_personality.lo eh_terminate.lo eh_throw.lo eh_type.lo new_handler.lo \
299 new_op.lo new_opnt.lo new_opv.lo new_opvnt.lo pure.lo tinfo.lo \
300 tinfo2.lo vec.lo cxa_demangle.lo dyn-string.lo
301 CXXFLAGS = @CXXFLAGS@
302 CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
305 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
307 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
308 HEADERS = $(glibcppinstall_HEADERS)
310 DIST_COMMON = Makefile.am Makefile.in
313 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
317 SOURCES = $(libsupc__convenience_la_SOURCES) $(libsupc___la_SOURCES)
318 OBJECTS = $(libsupc__convenience_la_OBJECTS) $(libsupc___la_OBJECTS)
322 .SUFFIXES: .S .c .cc .lo .o .obj .s
323 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
324 cd $(top_srcdir) && $(AUTOMAKE) --cygnus libsupc++/Makefile
326 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
328 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
331 mostlyclean-noinstLTLIBRARIES:
333 clean-noinstLTLIBRARIES:
334 -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
336 distclean-noinstLTLIBRARIES:
338 maintainer-clean-noinstLTLIBRARIES:
340 mostlyclean-toolexeclibLTLIBRARIES:
342 clean-toolexeclibLTLIBRARIES:
343 -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
345 distclean-toolexeclibLTLIBRARIES:
347 maintainer-clean-toolexeclibLTLIBRARIES:
349 install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
351 $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
352 @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
353 if test -f $$p; then \
354 echo "$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p"; \
355 $(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p; \
359 uninstall-toolexeclibLTLIBRARIES:
361 list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
362 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(toolexeclibdir)/$$p; \
368 # FIXME: We should only use cygpath when building on Windows,
369 # and only if it is available.
371 $(COMPILE) -c `cygpath -w $<`
380 -rm -f *.o core *.core
388 maintainer-clean-compile:
391 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
394 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
397 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
407 maintainer-clean-libtool:
409 libsupc++convenience.la: $(libsupc__convenience_la_OBJECTS) $(libsupc__convenience_la_DEPENDENCIES)
410 $(CXXLINK) $(libsupc__convenience_la_LDFLAGS) $(libsupc__convenience_la_OBJECTS) $(libsupc__convenience_la_LIBADD) $(LIBS)
412 libsupc++.la: $(libsupc___la_OBJECTS) $(libsupc___la_DEPENDENCIES)
413 $(CXXLINK) -rpath $(toolexeclibdir) $(libsupc___la_LDFLAGS) $(libsupc___la_OBJECTS) $(libsupc___la_LIBADD) $(LIBS)
417 $(CXXCOMPILE) -c `cygpath -w $<`
419 $(LTCXXCOMPILE) -c $<
423 ID: $(HEADERS) $(SOURCES) $(LISP)
424 list='$(SOURCES) $(HEADERS)'; \
425 unique=`for i in $$list; do echo $$i; done | \
426 awk ' { files[$$0] = 1; } \
427 END { for (i in files) print i; }'`; \
428 here=`pwd` && cd $(srcdir) \
429 && mkid -f$$here/ID $$unique $(LISP)
431 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
434 list='$(SOURCES) $(HEADERS)'; \
435 unique=`for i in $$list; do echo $$i; done | \
436 awk ' { files[$$0] = 1; } \
437 END { for (i in files) print i; }'`; \
438 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
439 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
448 maintainer-clean-tags:
450 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
454 distdir: $(DISTFILES)
455 @for file in $(DISTFILES); do \
456 if test -f $$file; then d=.; else d=$(srcdir); fi; \
457 if test -d $$d/$$file; then \
458 cp -pr $$d/$$file $(distdir)/$$file; \
460 test -f $(distdir)/$$file \
461 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
462 || cp -p $$d/$$file $(distdir)/$$file || :; \
472 installcheck: installcheck-am
474 install-info: install-info-am
475 install-exec-am: install-toolexeclibLTLIBRARIES
476 install-exec: install-exec-am
478 install-data-am: install-glibcppinstallHEADERS
479 install-data: install-data-am
482 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
484 uninstall-am: uninstall-toolexeclibLTLIBRARIES \
485 uninstall-glibcppinstallHEADERS
486 uninstall: uninstall-am
487 all-am: Makefile $(LTLIBRARIES) $(HEADERS)
490 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
492 $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir) \
493 $(DESTDIR)$(glibcppinstalldir)
501 -rm -f Makefile $(CONFIG_CLEAN_FILES)
502 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
504 maintainer-clean-generic:
505 mostlyclean-am: mostlyclean-noinstLTLIBRARIES \
506 mostlyclean-toolexeclibLTLIBRARIES mostlyclean-compile \
507 mostlyclean-libtool mostlyclean-tags \
510 mostlyclean: mostlyclean-am
512 clean-am: clean-noinstLTLIBRARIES clean-toolexeclibLTLIBRARIES \
513 clean-compile clean-libtool clean-tags clean-generic \
518 distclean-am: distclean-noinstLTLIBRARIES \
519 distclean-toolexeclibLTLIBRARIES distclean-compile \
520 distclean-libtool distclean-tags distclean-generic \
524 distclean: distclean-am
526 maintainer-clean-am: maintainer-clean-noinstLTLIBRARIES \
527 maintainer-clean-toolexeclibLTLIBRARIES \
528 maintainer-clean-compile maintainer-clean-libtool \
529 maintainer-clean-tags maintainer-clean-generic \
531 @echo "This command is intended for maintainers to use;"
532 @echo "it deletes files that may require special tools to rebuild."
534 maintainer-clean: maintainer-clean-am
536 .PHONY: mostlyclean-noinstLTLIBRARIES distclean-noinstLTLIBRARIES \
537 clean-noinstLTLIBRARIES maintainer-clean-noinstLTLIBRARIES \
538 mostlyclean-toolexeclibLTLIBRARIES distclean-toolexeclibLTLIBRARIES \
539 clean-toolexeclibLTLIBRARIES maintainer-clean-toolexeclibLTLIBRARIES \
540 uninstall-toolexeclibLTLIBRARIES install-toolexeclibLTLIBRARIES \
541 mostlyclean-compile distclean-compile clean-compile \
542 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
543 clean-libtool maintainer-clean-libtool uninstall-glibcppinstallHEADERS \
544 install-glibcppinstallHEADERS tags mostlyclean-tags distclean-tags \
545 clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \
546 check-am installcheck-am installcheck install-info-am install-info \
547 install-exec-am install-exec install-data-am install-data install-am \
548 install uninstall-am uninstall all-redirect all-am all installdirs \
549 mostlyclean-generic distclean-generic clean-generic \
550 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
555 $(LN_S) $(toplevel_srcdir)/libiberty/cp-demangle.c $@
556 cxa_demangle.lo: cxa_demangle.c
557 $(LTCOMPILE) -DIN_GLIBCPP_V3 -Wno-error -c $<
558 cxa_demangle.o: cxa_demangle.c
559 $(C_COMPILE) -DIN_GLIBCPP_V3 -Wno-error -c $<
562 $(LN_S) $(toplevel_srcdir)/libiberty/dyn-string.c $@
563 dyn-string.lo: dyn-string.c
564 $(LTCOMPILE) -DIN_GLIBCPP_V3 -Wno-error -c $<
565 dyn-string.o: dyn-string.c
566 $(C_COMPILE) -DIN_GLIBCPP_V3 -Wno-error -c $<
568 # We have to have rules modified from the default to counteract SUN make
569 # prepending each of $(glibcppinstall_HEADERS) with VPATH below.
570 install-glibcppinstallHEADERS: $(glibcppinstall_HEADERS)
572 $(mkinstalldirs) $(DESTDIR)$(glibcppinstalldir)
573 @list='$(glibcppinstall_HEADERS)'; for p in $$list; do \
574 q=`echo $$p | sed -e 's,.*/,,'`; \
575 if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
576 echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(glibcppinstalldir)/$$q"; \
577 $(INSTALL_DATA) $$d$$p $(DESTDIR)$(glibcppinstalldir)/$$q; \
580 uninstall-glibcppinstallHEADERS:
582 list='$(glibcppinstall_HEADERS)'; for p in $$list; do \
583 q=`echo $$p | sed -e 's,.*/,,'`; \
584 rm -f $(DESTDIR)$(glibcppinstalldir)/$$q; \
587 # Tell versions [3.59,3.63) of GNU make to not export all variables.
588 # Otherwise a system limit (for SysV at least) may be exceeded.