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@
78 C_INCLUDE_DIR = @C_INCLUDE_DIR@
79 DEBUG_FLAGS = @DEBUG_FLAGS@
82 EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
85 GLIBCPP_IS_CROSS_COMPILING = @GLIBCPP_IS_CROSS_COMPILING@
86 LIBIO_INCLUDES = @LIBIO_INCLUDES@
87 LIBMATHOBJS = @LIBMATHOBJS@
88 LIBMATH_INCLUDES = @LIBMATH_INCLUDES@
89 LIBSUPCXX_PICFLAGS = @LIBSUPCXX_PICFLAGS@
91 LIBUNWIND_FLAG = @LIBUNWIND_FLAG@
97 OPT_LDFLAGS = @OPT_LDFLAGS@
98 OS_INC_SRCDIR = @OS_INC_SRCDIR@
101 SECTION_FLAGS = @SECTION_FLAGS@
102 SECTION_LDFLAGS = @SECTION_LDFLAGS@
104 TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
107 WARN_FLAGS = @WARN_FLAGS@
109 baseline_file = @baseline_file@
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
208 libsupc___la_SOURCES = $(sources) $(c_sources)
209 libsupc__convenience_la_SOURCES = $(sources) $(c_sources)
211 glibcppinstalldir = @gxx_include_dir@
212 glibcppinstall_HEADERS = $(headers)
214 LIBSUPCXX_CXXFLAGS = $(LIBSUPCXX_PICFLAGS)
216 # Use special rules for pulling things out of libiberty. These
217 # objects should be compiled with the "C" compiler, not the C++
218 # compiler, and also should not use the C++ includes.
220 $(CC) $(DEFS) $(GCC_INCLUDES) \
221 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
224 # LTCOMPILE is copied from LTCXXCOMPILE below.
225 LTCOMPILE = $(LIBTOOL) --tag CC --tag disable-shared --mode=compile $(CC) \
226 $(DEFS) $(GCC_INCLUDES) $(LIBSUPCXX_PICFLAGS) \
227 $(AM_CPPFLAGS) $(CPPFLAGS)
230 # AM_CXXFLAGS needs to be in each subdirectory so that it can be
231 # modified in a per-library or per-sub-library way. Need to manually
232 # set this option because CONFIG_CXXFLAGS has to be after
233 # OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden
234 # as the occasion call for it. (ie, --enable-debug)
236 -fno-implicit-templates \
237 $(LIBSUPCXX_CXXFLAGS) \
239 $(OPTIMIZE_CXXFLAGS) \
243 # libstdc++ libtool notes
245 # 1) Need to explicitly set LTCXXCOMPILE so that AM_CXXFLAGS is
246 # last. (That way, things like -O2 passed down from the toplevel can
247 # be overridden by --enable-debug.)
249 # 2) In general, libtool expects an argument such as `--tag=CXX' when
250 # using the C++ compiler, because that will enable the settings
251 # detected when C++ support was being configured. However, when no
252 # such flag is given in the command line, libtool attempts to figure
253 # it out by matching the compiler name in each configuration section
254 # against a prefix of the command line. The problem is that, if the
255 # compiler name and its initial flags stored in the libtool
256 # configuration file don't match those in the command line, libtool
257 # can't decide which configuration to use, and it gives up. The
258 # correct solution is to add `--tag CXX' to LTCXXCOMPILE and maybe
259 # CXXLINK, just after $(LIBTOOL), so that libtool doesn't have to
260 # attempt to infer which configuration to use.
262 # We have to put --tag disable-shared after --tag CXX lest things
263 # CXX undo the affect of disable-shared.
264 LTCXXCOMPILE = $(LIBTOOL) --tag CXX --tag disable-shared \
265 --mode=compile $(CXX) $(INCLUDES) \
266 $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(AM_CXXFLAGS)
269 # 3) We'd have a problem when building the shared libstdc++ object if
270 # the rules automake generates would be used. We cannot allow g++ to
271 # be used since this would add -lstdc++ to the link line which of
272 # course is problematic at this point. So, we get the top-level
273 # directory to configure libstdc++-v3 to use gcc as the C++
274 # compilation driver.
275 CXXLINK = $(LIBTOOL) --tag CXX --tag disable-shared \
277 @OPT_LDFLAGS@ @SECTION_LDFLAGS@ $(AM_CXXFLAGS) $(LDFLAGS) -o $@
279 CONFIG_HEADER = ../config.h
281 LTLIBRARIES = $(noinst_LTLIBRARIES) $(toolexeclib_LTLIBRARIES)
284 DEFS = @DEFS@ -I. -I$(srcdir) -I..
285 CPPFLAGS = @CPPFLAGS@
288 libsupc__convenience_la_LDFLAGS =
289 libsupc__convenience_la_LIBADD =
290 libsupc__convenience_la_OBJECTS = del_op.lo del_opnt.lo del_opv.lo \
291 del_opvnt.lo eh_alloc.lo eh_aux_runtime.lo eh_catch.lo eh_exception.lo \
292 eh_globals.lo eh_personality.lo eh_terminate.lo eh_throw.lo eh_type.lo \
293 guard.lo new_handler.lo new_op.lo new_opnt.lo new_opv.lo new_opvnt.lo \
294 pure.lo tinfo.lo tinfo2.lo vec.lo cxa_demangle.lo dyn-string.lo
295 libsupc___la_LDFLAGS =
296 libsupc___la_LIBADD =
297 libsupc___la_OBJECTS = del_op.lo del_opnt.lo del_opv.lo del_opvnt.lo \
298 eh_alloc.lo eh_aux_runtime.lo eh_catch.lo eh_exception.lo eh_globals.lo \
299 eh_personality.lo eh_terminate.lo eh_throw.lo eh_type.lo guard.lo \
300 new_handler.lo new_op.lo new_opnt.lo new_opv.lo new_opvnt.lo pure.lo \
301 tinfo.lo tinfo2.lo vec.lo cxa_demangle.lo dyn-string.lo
302 CXXFLAGS = @CXXFLAGS@
303 CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
306 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
308 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
309 HEADERS = $(glibcppinstall_HEADERS)
311 DIST_COMMON = Makefile.am Makefile.in
314 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
318 SOURCES = $(libsupc__convenience_la_SOURCES) $(libsupc___la_SOURCES)
319 OBJECTS = $(libsupc__convenience_la_OBJECTS) $(libsupc___la_OBJECTS)
323 .SUFFIXES: .S .c .cc .lo .o .obj .s
324 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
325 cd $(top_srcdir) && $(AUTOMAKE) --cygnus libsupc++/Makefile
327 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
329 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
332 mostlyclean-noinstLTLIBRARIES:
334 clean-noinstLTLIBRARIES:
335 -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
337 distclean-noinstLTLIBRARIES:
339 maintainer-clean-noinstLTLIBRARIES:
341 mostlyclean-toolexeclibLTLIBRARIES:
343 clean-toolexeclibLTLIBRARIES:
344 -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
346 distclean-toolexeclibLTLIBRARIES:
348 maintainer-clean-toolexeclibLTLIBRARIES:
350 install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
352 $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
353 @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
354 if test -f $$p; then \
355 echo "$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p"; \
356 $(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p; \
360 uninstall-toolexeclibLTLIBRARIES:
362 list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
363 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(toolexeclibdir)/$$p; \
369 # FIXME: We should only use cygpath when building on Windows,
370 # and only if it is available.
372 $(COMPILE) -c `cygpath -w $<`
381 -rm -f *.o core *.core
389 maintainer-clean-compile:
392 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
395 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
398 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
408 maintainer-clean-libtool:
410 libsupc++convenience.la: $(libsupc__convenience_la_OBJECTS) $(libsupc__convenience_la_DEPENDENCIES)
411 $(CXXLINK) $(libsupc__convenience_la_LDFLAGS) $(libsupc__convenience_la_OBJECTS) $(libsupc__convenience_la_LIBADD) $(LIBS)
413 libsupc++.la: $(libsupc___la_OBJECTS) $(libsupc___la_DEPENDENCIES)
414 $(CXXLINK) -rpath $(toolexeclibdir) $(libsupc___la_LDFLAGS) $(libsupc___la_OBJECTS) $(libsupc___la_LIBADD) $(LIBS)
418 $(CXXCOMPILE) -c `cygpath -w $<`
420 $(LTCXXCOMPILE) -c $<
424 ID: $(HEADERS) $(SOURCES) $(LISP)
425 list='$(SOURCES) $(HEADERS)'; \
426 unique=`for i in $$list; do echo $$i; done | \
427 awk ' { files[$$0] = 1; } \
428 END { for (i in files) print i; }'`; \
429 here=`pwd` && cd $(srcdir) \
430 && mkid -f$$here/ID $$unique $(LISP)
432 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
435 list='$(SOURCES) $(HEADERS)'; \
436 unique=`for i in $$list; do echo $$i; done | \
437 awk ' { files[$$0] = 1; } \
438 END { for (i in files) print i; }'`; \
439 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
440 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
449 maintainer-clean-tags:
451 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
455 distdir: $(DISTFILES)
456 @for file in $(DISTFILES); do \
457 if test -f $$file; then d=.; else d=$(srcdir); fi; \
458 if test -d $$d/$$file; then \
459 cp -pr $$d/$$file $(distdir)/$$file; \
461 test -f $(distdir)/$$file \
462 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
463 || cp -p $$d/$$file $(distdir)/$$file || :; \
473 installcheck: installcheck-am
475 install-info: install-info-am
476 install-exec-am: install-toolexeclibLTLIBRARIES
477 install-exec: install-exec-am
479 install-data-am: install-glibcppinstallHEADERS
480 install-data: install-data-am
483 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
485 uninstall-am: uninstall-toolexeclibLTLIBRARIES \
486 uninstall-glibcppinstallHEADERS
487 uninstall: uninstall-am
488 all-am: Makefile $(LTLIBRARIES) $(HEADERS)
491 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
493 $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir) \
494 $(DESTDIR)$(glibcppinstalldir)
502 -rm -f Makefile $(CONFIG_CLEAN_FILES)
503 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
505 maintainer-clean-generic:
506 mostlyclean-am: mostlyclean-noinstLTLIBRARIES \
507 mostlyclean-toolexeclibLTLIBRARIES mostlyclean-compile \
508 mostlyclean-libtool mostlyclean-tags \
511 mostlyclean: mostlyclean-am
513 clean-am: clean-noinstLTLIBRARIES clean-toolexeclibLTLIBRARIES \
514 clean-compile clean-libtool clean-tags clean-generic \
519 distclean-am: distclean-noinstLTLIBRARIES \
520 distclean-toolexeclibLTLIBRARIES distclean-compile \
521 distclean-libtool distclean-tags distclean-generic \
525 distclean: distclean-am
527 maintainer-clean-am: maintainer-clean-noinstLTLIBRARIES \
528 maintainer-clean-toolexeclibLTLIBRARIES \
529 maintainer-clean-compile maintainer-clean-libtool \
530 maintainer-clean-tags maintainer-clean-generic \
532 @echo "This command is intended for maintainers to use;"
533 @echo "it deletes files that may require special tools to rebuild."
535 maintainer-clean: maintainer-clean-am
537 .PHONY: mostlyclean-noinstLTLIBRARIES distclean-noinstLTLIBRARIES \
538 clean-noinstLTLIBRARIES maintainer-clean-noinstLTLIBRARIES \
539 mostlyclean-toolexeclibLTLIBRARIES distclean-toolexeclibLTLIBRARIES \
540 clean-toolexeclibLTLIBRARIES maintainer-clean-toolexeclibLTLIBRARIES \
541 uninstall-toolexeclibLTLIBRARIES install-toolexeclibLTLIBRARIES \
542 mostlyclean-compile distclean-compile clean-compile \
543 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
544 clean-libtool maintainer-clean-libtool uninstall-glibcppinstallHEADERS \
545 install-glibcppinstallHEADERS tags mostlyclean-tags distclean-tags \
546 clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \
547 check-am installcheck-am installcheck install-info-am install-info \
548 install-exec-am install-exec install-data-am install-data install-am \
549 install uninstall-am uninstall all-redirect all-am all installdirs \
550 mostlyclean-generic distclean-generic clean-generic \
551 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
556 $(LN_S) $(toplevel_srcdir)/libiberty/cp-demangle.c $@
557 cxa_demangle.lo: cxa_demangle.c
558 $(LTCOMPILE) -DIN_GLIBCPP_V3 -Wno-error -c $<
559 cxa_demangle.o: cxa_demangle.c
560 $(C_COMPILE) -DIN_GLIBCPP_V3 -Wno-error -c $<
563 $(LN_S) $(toplevel_srcdir)/libiberty/dyn-string.c $@
564 dyn-string.lo: dyn-string.c
565 $(LTCOMPILE) -DIN_GLIBCPP_V3 -Wno-error -c $<
566 dyn-string.o: dyn-string.c
567 $(C_COMPILE) -DIN_GLIBCPP_V3 -Wno-error -c $<
569 # We have to have rules modified from the default to counteract SUN make
570 # prepending each of $(glibcppinstall_HEADERS) with VPATH below.
571 install-glibcppinstallHEADERS: $(glibcppinstall_HEADERS)
573 $(mkinstalldirs) $(DESTDIR)$(glibcppinstalldir)
574 @list='$(glibcppinstall_HEADERS)'; for p in $$list; do \
575 q=`echo $$p | sed -e 's,.*/,,'`; \
576 if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
577 echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(glibcppinstalldir)/$$q"; \
578 $(INSTALL_DATA) $$d$$p $(DESTDIR)$(glibcppinstalldir)/$$q; \
581 uninstall-glibcppinstallHEADERS:
583 list='$(glibcppinstall_HEADERS)'; for p in $$list; do \
584 q=`echo $$p | sed -e 's,.*/,,'`; \
585 rm -f $(DESTDIR)$(glibcppinstalldir)/$$q; \
588 # Tell versions [3.59,3.63) of GNU make to not export all variables.
589 # Otherwise a system limit (for SysV at least) may be exceeded.