OSDN Git Service

* src/Makefile.am (CONFIG_CXXFLAGS): Reverse order of
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / libsupc++ / Makefile.in
1 # Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
2
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.
7
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
11 # PARTICULAR PURPOSE.
12
13
14 SHELL = @SHELL@
15
16 srcdir = @srcdir@
17 top_srcdir = @top_srcdir@
18 VPATH = @srcdir@
19 prefix = @prefix@
20 exec_prefix = @exec_prefix@
21
22 bindir = @bindir@
23 sbindir = @sbindir@
24 libexecdir = @libexecdir@
25 datadir = @datadir@
26 sysconfdir = @sysconfdir@
27 sharedstatedir = @sharedstatedir@
28 localstatedir = @localstatedir@
29 libdir = @libdir@
30 infodir = @infodir@
31 mandir = @mandir@
32 includedir = @includedir@
33 oldincludedir = /usr/include
34
35 DESTDIR =
36
37 pkgdatadir = $(datadir)/@PACKAGE@
38 pkglibdir = $(libdir)/@PACKAGE@
39 pkgincludedir = $(includedir)/@PACKAGE@
40
41 top_builddir = ..
42
43 ACLOCAL = @ACLOCAL@
44 AUTOCONF = @AUTOCONF@
45 AUTOMAKE = @AUTOMAKE@
46 AUTOHEADER = @AUTOHEADER@
47
48 INSTALL = @INSTALL@
49 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
50 INSTALL_DATA = @INSTALL_DATA@
51 INSTALL_SCRIPT = @INSTALL_SCRIPT@
52 transform = @program_transform_name@
53
54 NORMAL_INSTALL = :
55 PRE_INSTALL = :
56 POST_INSTALL = :
57 NORMAL_UNINSTALL = :
58 PRE_UNINSTALL = :
59 POST_UNINSTALL = :
60 build_alias = @build_alias@
61 build_triplet = @build@
62 host_alias = @host_alias@
63 host_triplet = @host@
64 target_alias = @target_alias@
65 target_triplet = @target@
66 AR = @AR@
67 AS = @AS@
68 ATOMICITY_INC_SRCDIR = @ATOMICITY_INC_SRCDIR@
69 AWK = @AWK@
70 BASIC_FILE_CC = @BASIC_FILE_CC@
71 BASIC_FILE_H = @BASIC_FILE_H@
72 CCODECVT_C = @CCODECVT_C@
73 CCODECVT_CC = @CCODECVT_CC@
74 CCODECVT_H = @CCODECVT_H@
75 CCOLLATE_CC = @CCOLLATE_CC@
76 CCTYPE_CC = @CCTYPE_CC@
77 CLOCALE_CC = @CLOCALE_CC@
78 CLOCALE_H = @CLOCALE_H@
79 CLOCALE_INTERNAL_H = @CLOCALE_INTERNAL_H@
80 CMESSAGES_CC = @CMESSAGES_CC@
81 CMESSAGES_H = @CMESSAGES_H@
82 CMONEY_CC = @CMONEY_CC@
83 CNUMERIC_CC = @CNUMERIC_CC@
84 CPP = @CPP@
85 CSTDIO_H = @CSTDIO_H@
86 CTIME_CC = @CTIME_CC@
87 CTIME_H = @CTIME_H@
88 CXXCPP = @CXXCPP@
89 C_INCLUDE_DIR = @C_INCLUDE_DIR@
90 DEBUG_FLAGS = @DEBUG_FLAGS@
91 DLLTOOL = @DLLTOOL@
92 EXEEXT = @EXEEXT@
93 EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
94 GCJ = @GCJ@
95 GCJFLAGS = @GCJFLAGS@
96 GLIBCPP_IS_CROSS_COMPILING = @GLIBCPP_IS_CROSS_COMPILING@
97 LIBIO_INCLUDES = @LIBIO_INCLUDES@
98 LIBMATHOBJS = @LIBMATHOBJS@
99 LIBMATH_INCLUDES = @LIBMATH_INCLUDES@
100 LIBSUPCXX_PICFLAGS = @LIBSUPCXX_PICFLAGS@
101 LIBTOOL = @LIBTOOL@
102 LIBUNWIND_FLAG = @LIBUNWIND_FLAG@
103 LN_S = @LN_S@
104 MAINT = @MAINT@
105 MAKEINFO = @MAKEINFO@
106 OBJDUMP = @OBJDUMP@
107 OBJEXT = @OBJEXT@
108 OPT_LDFLAGS = @OPT_LDFLAGS@
109 OS_INC_SRCDIR = @OS_INC_SRCDIR@
110 PACKAGE = @PACKAGE@
111 RANLIB = @RANLIB@
112 SECTION_FLAGS = @SECTION_FLAGS@
113 SECTION_LDFLAGS = @SECTION_LDFLAGS@
114 STRIP = @STRIP@
115 SYMVER_MAP = @SYMVER_MAP@
116 TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
117 USE_NLS = @USE_NLS@
118 VERSION = @VERSION@
119 WARN_FLAGS = @WARN_FLAGS@
120 WERROR = @WERROR@
121 baseline_file = @baseline_file@
122 check_msgfmt = @check_msgfmt@
123 enable_shared = @enable_shared@
124 enable_static = @enable_static@
125 glibcpp_CXX = @glibcpp_CXX@
126 glibcpp_MOFILES = @glibcpp_MOFILES@
127 glibcpp_POFILES = @glibcpp_POFILES@
128 glibcpp_basedir = @glibcpp_basedir@
129 glibcpp_builddir = @glibcpp_builddir@
130 glibcpp_localedir = @glibcpp_localedir@
131 glibcpp_prefixdir = @glibcpp_prefixdir@
132 glibcpp_srcdir = @glibcpp_srcdir@
133 glibcpp_thread_h = @glibcpp_thread_h@
134 glibcpp_toolexecdir = @glibcpp_toolexecdir@
135 glibcpp_toolexeclibdir = @glibcpp_toolexeclibdir@
136 gxx_include_dir = @gxx_include_dir@
137 ifGNUmake = @ifGNUmake@
138 libio_la = @libio_la@
139 libtool_VERSION = @libtool_VERSION@
140 toplevel_srcdir = @toplevel_srcdir@
141
142 AUTOMAKE_OPTIONS = 1.3 cygnus
143 MAINT_CHARSET = latin1
144
145 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
146
147 # Cross compiler and multilib support.
148 CC = @CC@
149 CXX = @glibcpp_CXX@
150 toolexecdir = @glibcpp_toolexecdir@
151 toolexeclibdir = @glibcpp_toolexeclibdir@
152
153 # Need this library to both be part of libstdc++.a, and installed
154 # separately too.
155 # 1) separate libsupc++.la 
156 toolexeclib_LTLIBRARIES = libsupc++.la
157 # 2) integrated libsupc++convenience.la that is to be a part of libstdc++.a
158 noinst_LTLIBRARIES = libsupc++convenience.la
159
160 # Compile flags that should be constant throughout the build, both for
161 # SUBDIRS and for libstdc++-v3 in general.
162 OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
163
164 # These bits are all figured out from configure. Look in acinclude.m4
165 # or configure.in to see how they are set. See GLIBCPP_EXPORT_FLAGS
166 # NB: DEBUGFLAGS have to be at the end so that -O2 can be overridden.
167 CONFIG_CXXFLAGS = \
168         @SECTION_FLAGS@ @EXTRA_CXX_FLAGS@
169
170
171 # Warning flags to use.
172 WARN_CXXFLAGS = \
173         @WARN_FLAGS@ $(WERROR) -fdiagnostics-show-location=once
174
175
176 # Use common includes from acinclude.m4/GLIBCPP_EXPORT_INCLUDES
177 GLIBCPP_INCLUDES = @GLIBCPP_INCLUDES@
178 LIBSUPCXX_INCLUDES = @LIBSUPCXX_INCLUDES@
179 GCC_INCLUDES = -I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include
180
181 INCLUDES = \
182         $(GCC_INCLUDES) $(GLIBCPP_INCLUDES) $(LIBSUPCXX_INCLUDES)
183
184
185 headers = \
186         exception new typeinfo cxxabi.h exception_defines.h 
187
188
189 c_sources = \
190         cxa_demangle.c \
191         dyn-string.c 
192
193
194 sources = \
195         del_op.cc \
196         del_opnt.cc \
197         del_opv.cc \
198         del_opvnt.cc \
199         eh_alloc.cc \
200         eh_aux_runtime.cc \
201         eh_catch.cc \
202         eh_exception.cc \
203         eh_globals.cc \
204         eh_personality.cc \
205         eh_term_handler.cc \
206         eh_terminate.cc \
207         eh_throw.cc \
208         eh_type.cc \
209         eh_unex_handler.cc \
210         guard.cc \
211         new_handler.cc \
212         new_op.cc \
213         new_opnt.cc \
214         new_opv.cc \
215         new_opvnt.cc \
216         pure.cc \
217         tinfo.cc \
218         tinfo2.cc \
219         vec.cc \
220         vterminate.cc
221
222
223 libsupc___la_SOURCES = $(sources) $(c_sources)
224 libsupc__convenience_la_SOURCES = $(sources) $(c_sources)
225
226 glibcppinstalldir = @gxx_include_dir@
227 glibcppinstall_HEADERS = $(headers)
228
229 LIBSUPCXX_CXXFLAGS = $(LIBSUPCXX_PICFLAGS)
230
231 # Use special rules for pulling things out of libiberty.  These
232 # objects should be compiled with the "C" compiler, not the C++
233 # compiler, and also should not use the C++ includes.
234 C_COMPILE = \
235         $(CC) $(DEFS) $(GCC_INCLUDES) \
236         $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
237
238
239 # LTCOMPILE is copied from LTCXXCOMPILE below.
240 LTCOMPILE = $(LIBTOOL) --tag CC --tag disable-shared --mode=compile $(CC) \
241             $(DEFS) $(GCC_INCLUDES) $(LIBSUPCXX_PICFLAGS) \
242             $(AM_CPPFLAGS) $(CPPFLAGS) 
243
244
245 # AM_CXXFLAGS needs to be in each subdirectory so that it can be
246 # modified in a per-library or per-sub-library way.  Need to manually
247 # set this option because CONFIG_CXXFLAGS has to be after
248 # OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden
249 # as the occasion call for it. (ie, --enable-debug)
250 AM_CXXFLAGS = \
251         -fno-implicit-templates \
252         $(LIBSUPCXX_CXXFLAGS) \
253         $(WARN_CXXFLAGS) \
254         $(OPTIMIZE_CXXFLAGS) \
255         $(CONFIG_CXXFLAGS) 
256
257
258 # libstdc++ libtool notes
259
260 # 1) Need to explicitly set LTCXXCOMPILE so that AM_CXXFLAGS is
261 # last. (That way, things like -O2 passed down from the toplevel can
262 # be overridden by --enable-debug.)
263
264 # 2) In general, libtool expects an argument such as `--tag=CXX' when
265 # using the C++ compiler, because that will enable the settings
266 # detected when C++ support was being configured.  However, when no
267 # such flag is given in the command line, libtool attempts to figure
268 # it out by matching the compiler name in each configuration section
269 # against a prefix of the command line.  The problem is that, if the
270 # compiler name and its initial flags stored in the libtool
271 # configuration file don't match those in the command line, libtool
272 # can't decide which configuration to use, and it gives up.  The
273 # correct solution is to add `--tag CXX' to LTCXXCOMPILE and maybe
274 # CXXLINK, just after $(LIBTOOL), so that libtool doesn't have to
275 # attempt to infer which configuration to use.
276 #
277 # We have to put --tag disable-shared after --tag CXX lest things
278 # CXX undo the affect of disable-shared.
279 LTCXXCOMPILE = $(LIBTOOL) --tag CXX --tag disable-shared \
280                --mode=compile $(CXX) $(INCLUDES) \
281                $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(AM_CXXFLAGS) 
282
283
284 # 3) We'd have a problem when building the shared libstdc++ object if
285 # the rules automake generates would be used.  We cannot allow g++ to
286 # be used since this would add -lstdc++ to the link line which of
287 # course is problematic at this point.  So, we get the top-level
288 # directory to configure libstdc++-v3 to use gcc as the C++
289 # compilation driver.
290 CXXLINK = $(LIBTOOL) --tag CXX --tag disable-shared \
291           --mode=link $(CXX) \
292           @OPT_LDFLAGS@ @SECTION_LDFLAGS@ $(AM_CXXFLAGS) $(LDFLAGS) -o $@
293
294 CONFIG_HEADER = ../config.h
295 CONFIG_CLEAN_FILES = 
296 LTLIBRARIES =  $(noinst_LTLIBRARIES) $(toolexeclib_LTLIBRARIES)
297
298
299 DEFS = @DEFS@ -I. -I$(srcdir) -I..
300 CPPFLAGS = @CPPFLAGS@
301 LDFLAGS = @LDFLAGS@
302 LIBS = @LIBS@
303 libsupc__convenience_la_LDFLAGS = 
304 libsupc__convenience_la_LIBADD = 
305 libsupc__convenience_la_OBJECTS =  del_op.lo del_opnt.lo del_opv.lo \
306 del_opvnt.lo eh_alloc.lo eh_aux_runtime.lo eh_catch.lo eh_exception.lo \
307 eh_globals.lo eh_personality.lo eh_term_handler.lo eh_terminate.lo \
308 eh_throw.lo eh_type.lo eh_unex_handler.lo guard.lo new_handler.lo \
309 new_op.lo new_opnt.lo new_opv.lo new_opvnt.lo pure.lo tinfo.lo \
310 tinfo2.lo vec.lo vterminate.lo cxa_demangle.lo dyn-string.lo
311 libsupc___la_LDFLAGS = 
312 libsupc___la_LIBADD = 
313 libsupc___la_OBJECTS =  del_op.lo del_opnt.lo del_opv.lo del_opvnt.lo \
314 eh_alloc.lo eh_aux_runtime.lo eh_catch.lo eh_exception.lo eh_globals.lo \
315 eh_personality.lo eh_term_handler.lo eh_terminate.lo eh_throw.lo \
316 eh_type.lo eh_unex_handler.lo guard.lo new_handler.lo new_op.lo \
317 new_opnt.lo new_opv.lo new_opvnt.lo pure.lo tinfo.lo tinfo2.lo vec.lo \
318 vterminate.lo cxa_demangle.lo dyn-string.lo
319 CXXFLAGS = @CXXFLAGS@
320 CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
321 CXXLD = $(CXX)
322 CFLAGS = @CFLAGS@
323 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
324 CCLD = $(CC)
325 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
326 HEADERS =  $(glibcppinstall_HEADERS)
327
328 DIST_COMMON =  Makefile.am Makefile.in
329
330
331 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
332
333 TAR = gtar
334 GZIP_ENV = --best
335 SOURCES = $(libsupc__convenience_la_SOURCES) $(libsupc___la_SOURCES)
336 OBJECTS = $(libsupc__convenience_la_OBJECTS) $(libsupc___la_OBJECTS)
337
338 all: all-redirect
339 .SUFFIXES:
340 .SUFFIXES: .S .c .cc .lo .o .obj .s
341 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
342         cd $(top_srcdir) && $(AUTOMAKE) --cygnus libsupc++/Makefile
343
344 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
345         cd $(top_builddir) \
346           && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
347
348
349 mostlyclean-noinstLTLIBRARIES:
350
351 clean-noinstLTLIBRARIES:
352         -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
353
354 distclean-noinstLTLIBRARIES:
355
356 maintainer-clean-noinstLTLIBRARIES:
357
358 mostlyclean-toolexeclibLTLIBRARIES:
359
360 clean-toolexeclibLTLIBRARIES:
361         -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
362
363 distclean-toolexeclibLTLIBRARIES:
364
365 maintainer-clean-toolexeclibLTLIBRARIES:
366
367 install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
368         @$(NORMAL_INSTALL)
369         $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
370         @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
371           if test -f $$p; then \
372             echo "$(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p"; \
373             $(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p; \
374           else :; fi; \
375         done
376
377 uninstall-toolexeclibLTLIBRARIES:
378         @$(NORMAL_UNINSTALL)
379         list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
380           $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(toolexeclibdir)/$$p; \
381         done
382
383 .c.o:
384         $(COMPILE) -c $<
385
386 # FIXME: We should only use cygpath when building on Windows,
387 # and only if it is available.
388 .c.obj:
389         $(COMPILE) -c `cygpath -w $<`
390
391 .s.o:
392         $(COMPILE) -c $<
393
394 .S.o:
395         $(COMPILE) -c $<
396
397 mostlyclean-compile:
398         -rm -f *.o core *.core
399         -rm -f *.$(OBJEXT)
400
401 clean-compile:
402
403 distclean-compile:
404         -rm -f *.tab.c
405
406 maintainer-clean-compile:
407
408 .c.lo:
409         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
410
411 .s.lo:
412         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
413
414 .S.lo:
415         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
416
417 mostlyclean-libtool:
418         -rm -f *.lo
419
420 clean-libtool:
421         -rm -rf .libs _libs
422
423 distclean-libtool:
424
425 maintainer-clean-libtool:
426
427 libsupc++convenience.la: $(libsupc__convenience_la_OBJECTS) $(libsupc__convenience_la_DEPENDENCIES)
428         $(CXXLINK)  $(libsupc__convenience_la_LDFLAGS) $(libsupc__convenience_la_OBJECTS) $(libsupc__convenience_la_LIBADD) $(LIBS)
429
430 libsupc++.la: $(libsupc___la_OBJECTS) $(libsupc___la_DEPENDENCIES)
431         $(CXXLINK) -rpath $(toolexeclibdir) $(libsupc___la_LDFLAGS) $(libsupc___la_OBJECTS) $(libsupc___la_LIBADD) $(LIBS)
432 .cc.o:
433         $(CXXCOMPILE) -c $<
434 .cc.obj:
435         $(CXXCOMPILE) -c `cygpath -w $<`
436 .cc.lo:
437         $(LTCXXCOMPILE) -c $<
438
439 tags: TAGS
440
441 ID: $(HEADERS) $(SOURCES) $(LISP)
442         list='$(SOURCES) $(HEADERS)'; \
443         unique=`for i in $$list; do echo $$i; done | \
444           awk '    { files[$$0] = 1; } \
445                END { for (i in files) print i; }'`; \
446         here=`pwd` && cd $(srcdir) \
447           && mkid -f$$here/ID $$unique $(LISP)
448
449 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
450         tags=; \
451         here=`pwd`; \
452         list='$(SOURCES) $(HEADERS)'; \
453         unique=`for i in $$list; do echo $$i; done | \
454           awk '    { files[$$0] = 1; } \
455                END { for (i in files) print i; }'`; \
456         test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
457           || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
458
459 mostlyclean-tags:
460
461 clean-tags:
462
463 distclean-tags:
464         -rm -f TAGS ID
465
466 maintainer-clean-tags:
467
468 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
469
470 subdir = libsupc++
471
472 distdir: $(DISTFILES)
473         @for file in $(DISTFILES); do \
474           if test -f $$file; then d=.; else d=$(srcdir); fi; \
475           if test -d $$d/$$file; then \
476             cp -pr $$d/$$file $(distdir)/$$file; \
477           else \
478             test -f $(distdir)/$$file \
479             || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
480             || cp -p $$d/$$file $(distdir)/$$file || :; \
481           fi; \
482         done
483 info-am:
484 info: info-am
485 dvi-am:
486 dvi: dvi-am
487 check-am:
488 check: check-am
489 installcheck-am:
490 installcheck: installcheck-am
491 install-info-am: 
492 install-info: install-info-am
493 install-exec-am: install-toolexeclibLTLIBRARIES
494 install-exec: install-exec-am
495
496 install-data-am: install-glibcppinstallHEADERS
497 install-data: install-data-am
498
499 install-am: all-am
500         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
501 install: install-am
502 uninstall-am: uninstall-toolexeclibLTLIBRARIES \
503                 uninstall-glibcppinstallHEADERS
504 uninstall: uninstall-am
505 all-am: Makefile $(LTLIBRARIES) $(HEADERS)
506 all-redirect: all-am
507 install-strip:
508         $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
509 installdirs:
510         $(mkinstalldirs)  $(DESTDIR)$(toolexeclibdir) \
511                 $(DESTDIR)$(glibcppinstalldir)
512
513
514 mostlyclean-generic:
515
516 clean-generic:
517
518 distclean-generic:
519         -rm -f Makefile $(CONFIG_CLEAN_FILES)
520         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
521
522 maintainer-clean-generic:
523 mostlyclean-am:  mostlyclean-noinstLTLIBRARIES \
524                 mostlyclean-toolexeclibLTLIBRARIES mostlyclean-compile \
525                 mostlyclean-libtool mostlyclean-tags \
526                 mostlyclean-generic
527
528 mostlyclean: mostlyclean-am
529
530 clean-am:  clean-noinstLTLIBRARIES clean-toolexeclibLTLIBRARIES \
531                 clean-compile clean-libtool clean-tags clean-generic \
532                 mostlyclean-am
533
534 clean: clean-am
535
536 distclean-am:  distclean-noinstLTLIBRARIES \
537                 distclean-toolexeclibLTLIBRARIES distclean-compile \
538                 distclean-libtool distclean-tags distclean-generic \
539                 clean-am
540         -rm -f libtool
541
542 distclean: distclean-am
543
544 maintainer-clean-am:  maintainer-clean-noinstLTLIBRARIES \
545                 maintainer-clean-toolexeclibLTLIBRARIES \
546                 maintainer-clean-compile maintainer-clean-libtool \
547                 maintainer-clean-tags maintainer-clean-generic \
548                 distclean-am
549         @echo "This command is intended for maintainers to use;"
550         @echo "it deletes files that may require special tools to rebuild."
551
552 maintainer-clean: maintainer-clean-am
553
554 .PHONY: mostlyclean-noinstLTLIBRARIES distclean-noinstLTLIBRARIES \
555 clean-noinstLTLIBRARIES maintainer-clean-noinstLTLIBRARIES \
556 mostlyclean-toolexeclibLTLIBRARIES distclean-toolexeclibLTLIBRARIES \
557 clean-toolexeclibLTLIBRARIES maintainer-clean-toolexeclibLTLIBRARIES \
558 uninstall-toolexeclibLTLIBRARIES install-toolexeclibLTLIBRARIES \
559 mostlyclean-compile distclean-compile clean-compile \
560 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
561 clean-libtool maintainer-clean-libtool uninstall-glibcppinstallHEADERS \
562 install-glibcppinstallHEADERS tags mostlyclean-tags distclean-tags \
563 clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \
564 check-am installcheck-am installcheck install-info-am install-info \
565 install-exec-am install-exec install-data-am install-data install-am \
566 install uninstall-am uninstall all-redirect all-am all installdirs \
567 mostlyclean-generic distclean-generic clean-generic \
568 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
569
570
571 cxa_demangle.c:
572         rm -f $@
573         $(LN_S) $(toplevel_srcdir)/libiberty/cp-demangle.c $@
574 cxa_demangle.lo: cxa_demangle.c
575         $(LTCOMPILE) -DIN_GLIBCPP_V3 -Wno-error -c $<
576 cxa_demangle.o: cxa_demangle.c
577         $(C_COMPILE) -DIN_GLIBCPP_V3 -Wno-error -c $<
578 dyn-string.c:
579         rm -f $@
580         $(LN_S) $(toplevel_srcdir)/libiberty/dyn-string.c $@
581 dyn-string.lo: dyn-string.c
582         $(LTCOMPILE) -DIN_GLIBCPP_V3 -Wno-error -c $<
583 dyn-string.o: dyn-string.c
584         $(C_COMPILE) -DIN_GLIBCPP_V3 -Wno-error -c $<
585
586 # We have to have rules modified from the default to counteract SUN make
587 # prepending each of $(glibcppinstall_HEADERS) with VPATH below.
588 install-glibcppinstallHEADERS: $(glibcppinstall_HEADERS)
589         @$(NORMAL_INSTALL)
590         $(mkinstalldirs) $(DESTDIR)$(glibcppinstalldir)
591         @list='$(glibcppinstall_HEADERS)'; for p in $$list; do \
592           q=`echo $$p | sed -e 's,.*/,,'`; \
593           if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
594           echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(glibcppinstalldir)/$$q"; \
595           $(INSTALL_DATA) $$d$$p $(DESTDIR)$(glibcppinstalldir)/$$q; \
596         done
597
598 uninstall-glibcppinstallHEADERS:
599         @$(NORMAL_UNINSTALL)
600         list='$(glibcppinstall_HEADERS)'; for p in $$list; do \
601           q=`echo $$p | sed -e 's,.*/,,'`; \
602           rm -f $(DESTDIR)$(glibcppinstalldir)/$$q; \
603         done
604
605 # Tell versions [3.59,3.63) of GNU make to not export all variables.
606 # Otherwise a system limit (for SysV at least) may be exceeded.
607 .NOEXPORT: