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