1 # Makefile.in generated automatically by automake 1.4 from Makefile.am
3 # Copyright (C) 1994, 1995-8, 1999 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@
70 CSHADOW_FLAGS = @CSHADOW_FLAGS@
73 CXX_libstdcxx = @CXX_libstdcxx@
74 DEBUG_FLAGS = @DEBUG_FLAGS@
77 EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
80 GLIBCPP_CFLAGS = @GLIBCPP_CFLAGS@
81 GLIBCPP_CXXFLAGS = @GLIBCPP_CXXFLAGS@
82 LIBMATHOBJS = @LIBMATHOBJS@
83 LIBSTRINGOBJS = @LIBSTRINGOBJS@
89 OPT_LDFLAGS = @OPT_LDFLAGS@
92 SECTION_FLAGS = @SECTION_FLAGS@
93 SECTION_LDFLAGS = @SECTION_LDFLAGS@
95 USE_COMPLEX_LONG_DOUBLE = @USE_COMPLEX_LONG_DOUBLE@
97 WARN_FLAGS = @WARN_FLAGS@
99 WFMT_FLAGS = @WFMT_FLAGS@
100 enable_shared = @enable_shared@
101 enable_static = @enable_static@
102 glibcpp_basedir = @glibcpp_basedir@
103 glibcpp_toolexecdir = @glibcpp_toolexecdir@
104 glibcpp_toolexeclibdir = @glibcpp_toolexeclibdir@
105 gxx_include_dir = @gxx_include_dir@
106 ifGNUmake = @ifGNUmake@
107 libinst_wstring_la = @libinst_wstring_la@
108 libio_la = @libio_la@
109 toplevel_srcdir = @toplevel_srcdir@
111 AUTOMAKE_OPTIONS = 1.3 cygnus
112 MAINT_CHARSET = latin1
114 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
116 # Cross compiler and multilib support.
117 toolexecdir = @glibcpp_toolexecdir@
118 toolexeclibdir = @glibcpp_toolexeclibdir@
120 # Need this library to both be part of libstdc++.a, and installed
122 # 1) separate libsupc++.la
123 toolexeclib_LTLIBRARIES = libsupc++.la
124 # 2) integrated libsupc++convenience.la that is to be a part of libstdc++.a
125 noinst_LTLIBRARIES = libsupc++convenience.la
127 # Compile flags that should be constant throughout the build, both for
128 # SUBDIRS and for libstdc++-v3 in general.
129 OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
131 # These bits are all figured out from configure. Look in acinclude.m4
132 # or configure.in to see how they are set. See GLIBCPP_EXPORT_FLAGS
133 # NB: DEBUGFLAGS have to be at the end so that -O2 can be overridden.
134 CONFIG_CXXFLAGS = @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@ @CSHADOW_FLAGS@ @DEBUG_FLAGS@
137 # Warning flags to use.
138 WARN_CXXFLAGS = @WARN_FLAGS@ $(WERROR) @WFMT_FLAGS@
141 # Use common includes from acinclude.m4/GLIBCPP_EXPORT_INCLUDES
142 GLIBCPP_INCLUDE_DIR = @GLIBCPP_INCLUDE_DIR@
143 C_INCLUDE_DIR = @C_INCLUDE_DIR@
144 CSTD_INCLUDES = @CSTD_INCLUDES@
145 LIBMATH_INCLUDES = @LIBMATH_INCLUDES@
146 LIBSUPCXX_INCLUDES = @LIBSUPCXX_INCLUDES@
147 LIBIO_INCLUDES = @LIBIO_INCLUDES@
148 TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
150 INCLUDES = -I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include -I$(GLIBCPP_INCLUDE_DIR) $(CSTD_INCLUDES) -I$(top_builddir)/include $(LIBSUPCXX_INCLUDES)
153 headers = cxxabi.h exception new typeinfo
156 sources = del_op.cc del_opnt.cc del_opv.cc del_opvnt.cc exception_support.cc new_handler.cc new_op.cc new_opnt.cc new_opv.cc new_opvnt.cc pure.cc tinfo.cc tinfo2.cc vec.cc
159 libsupc___la_SOURCES = $(sources)
160 libsupc__convenience_la_SOURCES = $(sources)
162 glibcppinstalldir = @gxx_include_dir@
163 glibcppinstall_HEADERS = $(headers)
165 # Flags to force separate libtool library to be static only.
166 LIBTOOL = @LIBTOOL@ --tag disable-shared
167 LIBSUPCXX_CXXFLAGS = -prefer-pic
169 # AM_CXXFLAGS needs to be in each subdirectory so that it can be
170 # modified in a per-library or per-sub-library way. Need to manually
171 # set this option because CONFIG_CXXFLAGS has to be after
172 # OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden
173 # as the occasion call for it. (ie, --enable-debug)
174 AM_CXXFLAGS = -fno-implicit-templates $(LIBSUPCXX_CXXFLAGS) $(WARN_CXXFLAGS) $(OPTIMIZE_CXXFLAGS) $(CONFIG_CXXFLAGS)
177 # libstdc++ libtool notes
179 # 1) Need to explicitly set LTCXXCOMPILE so that AM_CXXFLAGS is
180 # last. (That way, things like -O2 passed down from the toplevel can
181 # be overridden by --enable-debug.)
183 # 2) In general, libtool expects an argument such as `--tag=CXX' when
184 # using the C++ compiler, because that will enable the settings
185 # detected when C++ support was being configured. However, when no
186 # such flag is given in the command line, libtool attempts to figure
187 # it out by matching the compiler name in each configuration section
188 # against a prefix of the command line. The problem is that, if the
189 # compiler name and its initial flags stored in the libtool
190 # configuration file don't match those in the command line, libtool
191 # can't decide which configuration to use, and it gives up. The
192 # correct solution is to add `--tag CXX' to LTCXXCOMPILE and maybe
193 # CXXLINK, just after $(LIBTOOL), so that libtool doesn't have to
194 # attempt to infer which configuration to use.
196 # We have to put --tag disable-shared after --tag CXX lest things
197 # CXX undo the affect of disable-shared.
198 LTCXXCOMPILE = $(LIBTOOL) --tag CXX --tag disable-shared --mode=compile $(CXX) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(AM_CXXFLAGS)
201 # 3) We have a problem when building the shared libstdc++ object if
202 # the rules automake generates would be used. We cannot allow CXX to
203 # be used in libtool since this would add -lstdc++ to the link line
204 # which of course is problematic at this point.
205 CXXLINK = $(LIBTOOL) --mode=link "$(CC)" @OPT_LDFLAGS@ @SECTION_LDFLAGS@ $(AM_CXXFLAGS) $(LDFLAGS) -o $@
207 CONFIG_HEADER = ../config.h
209 LTLIBRARIES = $(noinst_LTLIBRARIES) $(toolexeclib_LTLIBRARIES)
212 DEFS = @DEFS@ -I. -I$(srcdir) -I..
213 CPPFLAGS = @CPPFLAGS@
216 libsupc__convenience_la_LDFLAGS =
217 libsupc__convenience_la_LIBADD =
218 libsupc__convenience_la_OBJECTS = del_op.lo del_opnt.lo del_opv.lo \
219 del_opvnt.lo exception_support.lo new_handler.lo new_op.lo new_opnt.lo \
220 new_opv.lo new_opvnt.lo pure.lo tinfo.lo tinfo2.lo vec.lo
221 libsupc___la_LDFLAGS =
222 libsupc___la_LIBADD =
223 libsupc___la_OBJECTS = del_op.lo del_opnt.lo del_opv.lo del_opvnt.lo \
224 exception_support.lo new_handler.lo new_op.lo new_opnt.lo new_opv.lo \
225 new_opvnt.lo pure.lo tinfo.lo tinfo2.lo vec.lo
226 CXXFLAGS = @CXXFLAGS@
227 CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
229 HEADERS = $(glibcppinstall_HEADERS)
231 DIST_COMMON = Makefile.am Makefile.in
234 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
238 SOURCES = $(libsupc__convenience_la_SOURCES) $(libsupc___la_SOURCES)
239 OBJECTS = $(libsupc__convenience_la_OBJECTS) $(libsupc___la_OBJECTS)
243 .SUFFIXES: .S .c .cc .lo .o .obj .s
244 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
245 cd $(top_srcdir) && $(AUTOMAKE) --cygnus libsupc++/Makefile
247 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
249 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
252 mostlyclean-noinstLTLIBRARIES:
254 clean-noinstLTLIBRARIES:
255 -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
257 distclean-noinstLTLIBRARIES:
259 maintainer-clean-noinstLTLIBRARIES:
261 mostlyclean-toolexeclibLTLIBRARIES:
263 clean-toolexeclibLTLIBRARIES:
264 -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
266 distclean-toolexeclibLTLIBRARIES:
268 maintainer-clean-toolexeclibLTLIBRARIES:
270 install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
272 $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
273 @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
274 if test -f $$p; then \
275 echo "$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p"; \
276 $(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p; \
280 uninstall-toolexeclibLTLIBRARIES:
282 list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
283 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(toolexeclibdir)/$$p; \
289 # FIXME: We should only use cygpath when building on Windows,
290 # and only if it is available.
292 $(COMPILE) -c `cygpath -w $<`
301 -rm -f *.o core *.core
309 maintainer-clean-compile:
312 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
315 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
318 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
328 maintainer-clean-libtool:
330 libsupc++convenience.la: $(libsupc__convenience_la_OBJECTS) $(libsupc__convenience_la_DEPENDENCIES)
331 $(CXXLINK) $(libsupc__convenience_la_LDFLAGS) $(libsupc__convenience_la_OBJECTS) $(libsupc__convenience_la_LIBADD) $(LIBS)
333 libsupc++.la: $(libsupc___la_OBJECTS) $(libsupc___la_DEPENDENCIES)
334 $(CXXLINK) -rpath $(toolexeclibdir) $(libsupc___la_LDFLAGS) $(libsupc___la_OBJECTS) $(libsupc___la_LIBADD) $(LIBS)
338 $(CXXCOMPILE) -c `cygpath -w $<`
340 $(LTCXXCOMPILE) -c $<
342 install-glibcppinstallHEADERS: $(glibcppinstall_HEADERS)
344 $(mkinstalldirs) $(DESTDIR)$(glibcppinstalldir)
345 @list='$(glibcppinstall_HEADERS)'; for p in $$list; do \
346 if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
347 echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(glibcppinstalldir)/$$p"; \
348 $(INSTALL_DATA) $$d$$p $(DESTDIR)$(glibcppinstalldir)/$$p; \
351 uninstall-glibcppinstallHEADERS:
353 list='$(glibcppinstall_HEADERS)'; for p in $$list; do \
354 rm -f $(DESTDIR)$(glibcppinstalldir)/$$p; \
359 ID: $(HEADERS) $(SOURCES) $(LISP)
360 list='$(SOURCES) $(HEADERS)'; \
361 unique=`for i in $$list; do echo $$i; done | \
362 awk ' { files[$$0] = 1; } \
363 END { for (i in files) print i; }'`; \
364 here=`pwd` && cd $(srcdir) \
365 && mkid -f$$here/ID $$unique $(LISP)
367 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
370 list='$(SOURCES) $(HEADERS)'; \
371 unique=`for i in $$list; do echo $$i; done | \
372 awk ' { files[$$0] = 1; } \
373 END { for (i in files) print i; }'`; \
374 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
375 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
384 maintainer-clean-tags:
386 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
390 distdir: $(DISTFILES)
391 @for file in $(DISTFILES); do \
392 if test -f $$file; then d=.; else d=$(srcdir); fi; \
393 if test -d $$d/$$file; then \
394 cp -pr $$d/$$file $(distdir)/$$file; \
396 test -f $(distdir)/$$file \
397 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
398 || cp -p $$d/$$file $(distdir)/$$file || :; \
408 installcheck: installcheck-am
410 install-info: install-info-am
411 install-exec-am: install-toolexeclibLTLIBRARIES
412 install-exec: install-exec-am
414 install-data-am: install-glibcppinstallHEADERS
415 install-data: install-data-am
418 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
420 uninstall-am: uninstall-toolexeclibLTLIBRARIES \
421 uninstall-glibcppinstallHEADERS
422 uninstall: uninstall-am
423 all-am: Makefile $(LTLIBRARIES) $(HEADERS)
426 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
428 $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir) \
429 $(DESTDIR)$(glibcppinstalldir)
437 -rm -f Makefile $(CONFIG_CLEAN_FILES)
438 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
440 maintainer-clean-generic:
441 mostlyclean-am: mostlyclean-noinstLTLIBRARIES \
442 mostlyclean-toolexeclibLTLIBRARIES mostlyclean-compile \
443 mostlyclean-libtool mostlyclean-tags \
446 mostlyclean: mostlyclean-am
448 clean-am: clean-noinstLTLIBRARIES clean-toolexeclibLTLIBRARIES \
449 clean-compile clean-libtool clean-tags clean-generic \
454 distclean-am: distclean-noinstLTLIBRARIES \
455 distclean-toolexeclibLTLIBRARIES distclean-compile \
456 distclean-libtool distclean-tags distclean-generic \
460 distclean: distclean-am
462 maintainer-clean-am: maintainer-clean-noinstLTLIBRARIES \
463 maintainer-clean-toolexeclibLTLIBRARIES \
464 maintainer-clean-compile maintainer-clean-libtool \
465 maintainer-clean-tags maintainer-clean-generic \
467 @echo "This command is intended for maintainers to use;"
468 @echo "it deletes files that may require special tools to rebuild."
470 maintainer-clean: maintainer-clean-am
472 .PHONY: mostlyclean-noinstLTLIBRARIES distclean-noinstLTLIBRARIES \
473 clean-noinstLTLIBRARIES maintainer-clean-noinstLTLIBRARIES \
474 mostlyclean-toolexeclibLTLIBRARIES distclean-toolexeclibLTLIBRARIES \
475 clean-toolexeclibLTLIBRARIES maintainer-clean-toolexeclibLTLIBRARIES \
476 uninstall-toolexeclibLTLIBRARIES install-toolexeclibLTLIBRARIES \
477 mostlyclean-compile distclean-compile clean-compile \
478 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
479 clean-libtool maintainer-clean-libtool uninstall-glibcppinstallHEADERS \
480 install-glibcppinstallHEADERS tags mostlyclean-tags distclean-tags \
481 clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \
482 check-am installcheck-am installcheck install-info-am install-info \
483 install-exec-am install-exec install-data-am install-data install-am \
484 install uninstall-am uninstall all-redirect all-am all installdirs \
485 mostlyclean-generic distclean-generic clean-generic \
486 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
489 # Tell versions [3.59,3.63) of GNU make to not export all variables.
490 # Otherwise a system limit (for SysV at least) may be exceeded.