]> git.ipfire.org Git - thirdparty/gcc.git/blame - libstdc++-v3/libsupc++/Makefile.in
Makefile.am (LTCOMPILE): Add LIBSUPCXX_PICFLAGS.
[thirdparty/gcc.git] / libstdc++-v3 / libsupc++ / Makefile.in
CommitLineData
501e321e 1# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
06bd10fb 2
501e321e 3# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
06bd10fb
BK
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@
4a9d5109 68ATOMICITY_INC_SRCDIR = @ATOMICITY_INC_SRCDIR@
ab3bc736 69AWK = @AWK@
4a9d5109 70BASIC_FILE_H = @BASIC_FILE_H@
4a9d5109 71CCODECVT_C = @CCODECVT_C@
33590f13 72CCODECVT_H = @CCODECVT_H@
4a9d5109 73CLOCALE_H = @CLOCALE_H@
33590f13 74CMESSAGES_H = @CMESSAGES_H@
06bd10fb 75CPP = @CPP@
f295ecef 76CPU_LIMITS_INC_SRCDIR = @CPU_LIMITS_INC_SRCDIR@
4a9d5109 77CSTDIO_H = @CSTDIO_H@
06bd10fb 78CXXCPP = @CXXCPP@
4a9d5109 79C_INCLUDE_DIR = @C_INCLUDE_DIR@
06bd10fb
BK
80DEBUG_FLAGS = @DEBUG_FLAGS@
81DLLTOOL = @DLLTOOL@
82EXEEXT = @EXEEXT@
83EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
06bd10fb
BK
84GCJ = @GCJ@
85GCJFLAGS = @GCJFLAGS@
4a9d5109
SW
86GLIBCPP_IS_CROSS_COMPILING = @GLIBCPP_IS_CROSS_COMPILING@
87LIBIO_INCLUDES = @LIBIO_INCLUDES@
06bd10fb 88LIBMATHOBJS = @LIBMATHOBJS@
4a9d5109 89LIBMATH_INCLUDES = @LIBMATH_INCLUDES@
f8e4b51d 90LIBSUPCXX_PICFLAGS = @LIBSUPCXX_PICFLAGS@
400f4e55 91LIBTOOL = @LIBTOOL@
263c6fa8 92LIBUNWIND_FLAG = @LIBUNWIND_FLAG@
06bd10fb
BK
93LN_S = @LN_S@
94MAINT = @MAINT@
95MAKEINFO = @MAKEINFO@
96OBJDUMP = @OBJDUMP@
97OBJEXT = @OBJEXT@
98OPT_LDFLAGS = @OPT_LDFLAGS@
4a9d5109 99OS_INC_SRCDIR = @OS_INC_SRCDIR@
06bd10fb
BK
100PACKAGE = @PACKAGE@
101RANLIB = @RANLIB@
102SECTION_FLAGS = @SECTION_FLAGS@
103SECTION_LDFLAGS = @SECTION_LDFLAGS@
104STRIP = @STRIP@
4a9d5109 105TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
33590f13 106USE_NLS = @USE_NLS@
06bd10fb 107VERSION = @VERSION@
e466dc8a 108WARN_FLAGS = @WARN_FLAGS@
06bd10fb 109WERROR = @WERROR@
501e321e 110check_msgfmt = @check_msgfmt@
34791641
PE
111enable_shared = @enable_shared@
112enable_static = @enable_static@
46840bcd 113glibcpp_CXX = @glibcpp_CXX@
33590f13 114glibcpp_MOFILES = @glibcpp_MOFILES@
4e10943d 115glibcpp_POFILES = @glibcpp_POFILES@
06bd10fb 116glibcpp_basedir = @glibcpp_basedir@
c6192d88 117glibcpp_builddir = @glibcpp_builddir@
33590f13 118glibcpp_localedir = @glibcpp_localedir@
c6192d88
BK
119glibcpp_prefixdir = @glibcpp_prefixdir@
120glibcpp_srcdir = @glibcpp_srcdir@
4a9d5109 121glibcpp_thread_h = @glibcpp_thread_h@
72ed2836
BK
122glibcpp_toolexecdir = @glibcpp_toolexecdir@
123glibcpp_toolexeclibdir = @glibcpp_toolexeclibdir@
1fd2f510 124gxx_include_dir = @gxx_include_dir@
06bd10fb 125ifGNUmake = @ifGNUmake@
c4d3f801 126libio_la = @libio_la@
4e10943d 127libtool_VERSION = @libtool_VERSION@
e2c20fae 128toplevel_srcdir = @toplevel_srcdir@
06bd10fb
BK
129
130AUTOMAKE_OPTIONS = 1.3 cygnus
131MAINT_CHARSET = latin1
5e53dba6 132
ae9dc931
BK
133mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
134
5e53dba6 135# Cross compiler and multilib support.
76f6aa8b 136CC = @CC@
46840bcd 137CXX = @glibcpp_CXX@
72ed2836
BK
138toolexecdir = @glibcpp_toolexecdir@
139toolexeclibdir = @glibcpp_toolexeclibdir@
06bd10fb
BK
140
141# Need this library to both be part of libstdc++.a, and installed
142# separately too.
143# 1) separate libsupc++.la
144toolexeclib_LTLIBRARIES = libsupc++.la
145# 2) integrated libsupc++convenience.la that is to be a part of libstdc++.a
146noinst_LTLIBRARIES = libsupc++convenience.la
147
e466dc8a
BK
148# Compile flags that should be constant throughout the build, both for
149# SUBDIRS and for libstdc++-v3 in general.
150OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
151
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.
a98b7b28 155CONFIG_CXXFLAGS = @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@ @DEBUG_FLAGS@
e466dc8a
BK
156
157
158# Warning flags to use.
a98b7b28 159WARN_CXXFLAGS = @WARN_FLAGS@ $(WERROR) -fdiagnostics-show-location=once
e466dc8a
BK
160
161
162# Use common includes from acinclude.m4/GLIBCPP_EXPORT_INCLUDES
4a9d5109 163GLIBCPP_INCLUDES = @GLIBCPP_INCLUDES@
e466dc8a 164LIBSUPCXX_INCLUDES = @LIBSUPCXX_INCLUDES@
e01c9849 165GCC_INCLUDES = -I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include
d27bba5e 166
a98b7b28 167INCLUDES = $(GCC_INCLUDES) $(GLIBCPP_INCLUDES) $(LIBSUPCXX_INCLUDES)
e08138aa
BK
168
169
a98b7b28 170headers = exception new typeinfo cxxabi.h exception_defines.h
e08138aa
BK
171
172
a98b7b28 173c_sources = cxa_demangle.c dyn-string.c
e01c9849
BK
174
175
a98b7b28 176sources = del_op.cc del_opnt.cc del_opv.cc del_opvnt.cc eh_alloc.cc eh_aux_runtime.cc eh_catch.cc eh_exception.cc eh_globals.cc eh_personality.cc eh_terminate.cc eh_throw.cc eh_type.cc new_handler.cc new_op.cc new_opnt.cc new_opv.cc new_opvnt.cc pure.cc tinfo.cc tinfo2.cc vec.cc
06bd10fb
BK
177
178
e01c9849 179libsupc___la_SOURCES = $(sources) $(c_sources)
5ab23d80 180libsupc__convenience_la_SOURCES = $(sources) $(c_sources)
06bd10fb 181
43ba4a58 182glibcppinstalldir = @gxx_include_dir@
a6863e25
BK
183glibcppinstall_HEADERS = $(headers)
184
f8e4b51d 185LIBSUPCXX_CXXFLAGS = $(LIBSUPCXX_PICFLAGS)
06bd10fb 186
e01c9849
BK
187# Use special rules for pulling things out of libiberty. These
188# objects should be compiled with the "C" compiler, not the C++
189# compiler, and also should not use the C++ includes.
a98b7b28 190C_COMPILE = $(CC) $(DEFS) $(GCC_INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
e01c9849
BK
191
192
76f6aa8b 193# LTCOMPILE is copied from LTCXXCOMPILE below.
a98b7b28 194LTCOMPILE = $(LIBTOOL) --tag CC --tag disable-shared --mode=compile $(CC) $(DEFS) $(GCC_INCLUDES) $(LIBSUPCXX_PICFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS)
76f6aa8b
PE
195
196
c7053b70 197# AM_CXXFLAGS needs to be in each subdirectory so that it can be
a9117427
BK
198# modified in a per-library or per-sub-library way. Need to manually
199# set this option because CONFIG_CXXFLAGS has to be after
200# OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden
201# as the occasion call for it. (ie, --enable-debug)
a98b7b28 202AM_CXXFLAGS = -fno-implicit-templates $(LIBSUPCXX_CXXFLAGS) $(WARN_CXXFLAGS) $(OPTIMIZE_CXXFLAGS) $(CONFIG_CXXFLAGS)
06bd10fb
BK
203
204
a9117427 205# libstdc++ libtool notes
06bd10fb 206
a9117427
BK
207# 1) Need to explicitly set LTCXXCOMPILE so that AM_CXXFLAGS is
208# last. (That way, things like -O2 passed down from the toplevel can
209# be overridden by --enable-debug.)
210
211# 2) In general, libtool expects an argument such as `--tag=CXX' when
212# using the C++ compiler, because that will enable the settings
213# detected when C++ support was being configured. However, when no
214# such flag is given in the command line, libtool attempts to figure
215# it out by matching the compiler name in each configuration section
216# against a prefix of the command line. The problem is that, if the
217# compiler name and its initial flags stored in the libtool
218# configuration file don't match those in the command line, libtool
219# can't decide which configuration to use, and it gives up. The
220# correct solution is to add `--tag CXX' to LTCXXCOMPILE and maybe
221# CXXLINK, just after $(LIBTOOL), so that libtool doesn't have to
20b11783
MM
222# attempt to infer which configuration to use.
223#
224# We have to put --tag disable-shared after --tag CXX lest things
225# CXX undo the affect of disable-shared.
a98b7b28 226LTCXXCOMPILE = $(LIBTOOL) --tag CXX --tag disable-shared --mode=compile $(CXX) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(AM_CXXFLAGS)
a9117427
BK
227
228
787d2fb7
AO
229# 3) We'd have a problem when building the shared libstdc++ object if
230# the rules automake generates would be used. We cannot allow g++ to
231# be used since this would add -lstdc++ to the link line which of
232# course is problematic at this point. So, we get the top-level
233# directory to configure libstdc++-v3 to use gcc as the C++
234# compilation driver.
a98b7b28 235CXXLINK = $(LIBTOOL) --tag CXX --tag disable-shared --mode=link $(CXX) @OPT_LDFLAGS@ @SECTION_LDFLAGS@ $(AM_CXXFLAGS) $(LDFLAGS) -o $@
06bd10fb 236
58b08ac3 237CONFIG_HEADER = ../config.h
06bd10fb
BK
238CONFIG_CLEAN_FILES =
239LTLIBRARIES = $(noinst_LTLIBRARIES) $(toolexeclib_LTLIBRARIES)
240
241
58b08ac3 242DEFS = @DEFS@ -I. -I$(srcdir) -I..
06bd10fb
BK
243CPPFLAGS = @CPPFLAGS@
244LDFLAGS = @LDFLAGS@
245LIBS = @LIBS@
246libsupc__convenience_la_LDFLAGS =
247libsupc__convenience_la_LIBADD =
e01c9849
BK
248libsupc__convenience_la_OBJECTS = del_op.lo del_opnt.lo del_opv.lo \
249del_opvnt.lo eh_alloc.lo eh_aux_runtime.lo eh_catch.lo eh_exception.lo \
250eh_globals.lo eh_personality.lo eh_terminate.lo eh_throw.lo eh_type.lo \
251new_handler.lo new_op.lo new_opnt.lo new_opv.lo new_opvnt.lo pure.lo \
5ab23d80 252tinfo.lo tinfo2.lo vec.lo cxa_demangle.lo dyn-string.lo
06bd10fb
BK
253libsupc___la_LDFLAGS =
254libsupc___la_LIBADD =
e01c9849
BK
255libsupc___la_OBJECTS = del_op.lo del_opnt.lo del_opv.lo del_opvnt.lo \
256eh_alloc.lo eh_aux_runtime.lo eh_catch.lo eh_exception.lo eh_globals.lo \
257eh_personality.lo eh_terminate.lo eh_throw.lo eh_type.lo new_handler.lo \
258new_op.lo new_opnt.lo new_opv.lo new_opvnt.lo pure.lo tinfo.lo \
259tinfo2.lo vec.lo cxa_demangle.lo dyn-string.lo
06bd10fb 260CXXFLAGS = @CXXFLAGS@
b1e53318 261CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
06bd10fb 262CXXLD = $(CXX)
76f6aa8b
PE
263CFLAGS = @CFLAGS@
264COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
265CCLD = $(CC)
266LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
a6863e25
BK
267HEADERS = $(glibcppinstall_HEADERS)
268
ae9dc931 269DIST_COMMON = Makefile.am Makefile.in
06bd10fb
BK
270
271
272DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
273
a98b7b28 274TAR = tar
06bd10fb
BK
275GZIP_ENV = --best
276SOURCES = $(libsupc__convenience_la_SOURCES) $(libsupc___la_SOURCES)
277OBJECTS = $(libsupc__convenience_la_OBJECTS) $(libsupc___la_OBJECTS)
278
279all: all-redirect
280.SUFFIXES:
281.SUFFIXES: .S .c .cc .lo .o .obj .s
282$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
283 cd $(top_srcdir) && $(AUTOMAKE) --cygnus libsupc++/Makefile
284
285Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
286 cd $(top_builddir) \
287 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
288
289
290mostlyclean-noinstLTLIBRARIES:
291
292clean-noinstLTLIBRARIES:
293 -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
294
295distclean-noinstLTLIBRARIES:
296
297maintainer-clean-noinstLTLIBRARIES:
298
299mostlyclean-toolexeclibLTLIBRARIES:
300
301clean-toolexeclibLTLIBRARIES:
302 -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
303
304distclean-toolexeclibLTLIBRARIES:
305
306maintainer-clean-toolexeclibLTLIBRARIES:
307
308install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
309 @$(NORMAL_INSTALL)
310 $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
311 @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
312 if test -f $$p; then \
313 echo "$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p"; \
314 $(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p; \
315 else :; fi; \
316 done
317
318uninstall-toolexeclibLTLIBRARIES:
319 @$(NORMAL_UNINSTALL)
320 list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
321 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(toolexeclibdir)/$$p; \
322 done
323
324.c.o:
325 $(COMPILE) -c $<
326
327# FIXME: We should only use cygpath when building on Windows,
328# and only if it is available.
329.c.obj:
330 $(COMPILE) -c `cygpath -w $<`
331
332.s.o:
333 $(COMPILE) -c $<
334
335.S.o:
336 $(COMPILE) -c $<
337
338mostlyclean-compile:
339 -rm -f *.o core *.core
340 -rm -f *.$(OBJEXT)
341
342clean-compile:
343
344distclean-compile:
345 -rm -f *.tab.c
346
347maintainer-clean-compile:
348
349.c.lo:
350 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
351
352.s.lo:
353 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
354
355.S.lo:
356 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
357
358mostlyclean-libtool:
359 -rm -f *.lo
360
361clean-libtool:
362 -rm -rf .libs _libs
363
364distclean-libtool:
365
366maintainer-clean-libtool:
367
368libsupc++convenience.la: $(libsupc__convenience_la_OBJECTS) $(libsupc__convenience_la_DEPENDENCIES)
369 $(CXXLINK) $(libsupc__convenience_la_LDFLAGS) $(libsupc__convenience_la_OBJECTS) $(libsupc__convenience_la_LIBADD) $(LIBS)
370
371libsupc++.la: $(libsupc___la_OBJECTS) $(libsupc___la_DEPENDENCIES)
372 $(CXXLINK) -rpath $(toolexeclibdir) $(libsupc___la_LDFLAGS) $(libsupc___la_OBJECTS) $(libsupc___la_LIBADD) $(LIBS)
373.cc.o:
374 $(CXXCOMPILE) -c $<
375.cc.obj:
376 $(CXXCOMPILE) -c `cygpath -w $<`
377.cc.lo:
378 $(LTCXXCOMPILE) -c $<
379
380tags: TAGS
381
382ID: $(HEADERS) $(SOURCES) $(LISP)
383 list='$(SOURCES) $(HEADERS)'; \
384 unique=`for i in $$list; do echo $$i; done | \
385 awk ' { files[$$0] = 1; } \
386 END { for (i in files) print i; }'`; \
387 here=`pwd` && cd $(srcdir) \
388 && mkid -f$$here/ID $$unique $(LISP)
389
390TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
391 tags=; \
392 here=`pwd`; \
393 list='$(SOURCES) $(HEADERS)'; \
394 unique=`for i in $$list; do echo $$i; done | \
395 awk ' { files[$$0] = 1; } \
396 END { for (i in files) print i; }'`; \
397 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
398 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
399
400mostlyclean-tags:
401
402clean-tags:
403
404distclean-tags:
405 -rm -f TAGS ID
406
407maintainer-clean-tags:
408
409distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
410
411subdir = libsupc++
412
413distdir: $(DISTFILES)
414 @for file in $(DISTFILES); do \
415 if test -f $$file; then d=.; else d=$(srcdir); fi; \
416 if test -d $$d/$$file; then \
400f4e55 417 cp -pr $$d/$$file $(distdir)/$$file; \
06bd10fb
BK
418 else \
419 test -f $(distdir)/$$file \
420 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
421 || cp -p $$d/$$file $(distdir)/$$file || :; \
422 fi; \
423 done
424info-am:
425info: info-am
426dvi-am:
427dvi: dvi-am
428check-am:
429check: check-am
430installcheck-am:
431installcheck: installcheck-am
432install-info-am:
433install-info: install-info-am
434install-exec-am: install-toolexeclibLTLIBRARIES
435install-exec: install-exec-am
436
a6863e25 437install-data-am: install-glibcppinstallHEADERS
06bd10fb
BK
438install-data: install-data-am
439
440install-am: all-am
441 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
442install: install-am
a6863e25
BK
443uninstall-am: uninstall-toolexeclibLTLIBRARIES \
444 uninstall-glibcppinstallHEADERS
06bd10fb 445uninstall: uninstall-am
a6863e25 446all-am: Makefile $(LTLIBRARIES) $(HEADERS)
06bd10fb
BK
447all-redirect: all-am
448install-strip:
449 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
450installdirs:
a6863e25
BK
451 $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir) \
452 $(DESTDIR)$(glibcppinstalldir)
06bd10fb
BK
453
454
455mostlyclean-generic:
456
457clean-generic:
458
459distclean-generic:
460 -rm -f Makefile $(CONFIG_CLEAN_FILES)
461 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
462
463maintainer-clean-generic:
464mostlyclean-am: mostlyclean-noinstLTLIBRARIES \
465 mostlyclean-toolexeclibLTLIBRARIES mostlyclean-compile \
466 mostlyclean-libtool mostlyclean-tags \
467 mostlyclean-generic
468
469mostlyclean: mostlyclean-am
470
471clean-am: clean-noinstLTLIBRARIES clean-toolexeclibLTLIBRARIES \
472 clean-compile clean-libtool clean-tags clean-generic \
473 mostlyclean-am
474
475clean: clean-am
476
477distclean-am: distclean-noinstLTLIBRARIES \
478 distclean-toolexeclibLTLIBRARIES distclean-compile \
479 distclean-libtool distclean-tags distclean-generic \
480 clean-am
481 -rm -f libtool
482
483distclean: distclean-am
484
485maintainer-clean-am: maintainer-clean-noinstLTLIBRARIES \
486 maintainer-clean-toolexeclibLTLIBRARIES \
487 maintainer-clean-compile maintainer-clean-libtool \
488 maintainer-clean-tags maintainer-clean-generic \
489 distclean-am
490 @echo "This command is intended for maintainers to use;"
491 @echo "it deletes files that may require special tools to rebuild."
492
493maintainer-clean: maintainer-clean-am
494
495.PHONY: mostlyclean-noinstLTLIBRARIES distclean-noinstLTLIBRARIES \
496clean-noinstLTLIBRARIES maintainer-clean-noinstLTLIBRARIES \
497mostlyclean-toolexeclibLTLIBRARIES distclean-toolexeclibLTLIBRARIES \
498clean-toolexeclibLTLIBRARIES maintainer-clean-toolexeclibLTLIBRARIES \
499uninstall-toolexeclibLTLIBRARIES install-toolexeclibLTLIBRARIES \
500mostlyclean-compile distclean-compile clean-compile \
501maintainer-clean-compile mostlyclean-libtool distclean-libtool \
a6863e25
BK
502clean-libtool maintainer-clean-libtool uninstall-glibcppinstallHEADERS \
503install-glibcppinstallHEADERS tags mostlyclean-tags distclean-tags \
504clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \
505check-am installcheck-am installcheck install-info-am install-info \
506install-exec-am install-exec install-data-am install-data install-am \
507install uninstall-am uninstall all-redirect all-am all installdirs \
508mostlyclean-generic distclean-generic clean-generic \
06bd10fb
BK
509maintainer-clean-generic clean mostlyclean distclean maintainer-clean
510
511
76f6aa8b
PE
512cxa_demangle.c:
513 rm -f $@
514 $(LN_S) $(toplevel_srcdir)/libiberty/cp-demangle.c $@
515cxa_demangle.lo: cxa_demangle.c
516 $(LTCOMPILE) -DIN_GLIBCPP_V3 -Wno-error -c $<
517cxa_demangle.o: cxa_demangle.c
e01c9849 518 $(C_COMPILE) -DIN_GLIBCPP_V3 -Wno-error -c $<
76f6aa8b
PE
519dyn-string.c:
520 rm -f $@
521 $(LN_S) $(toplevel_srcdir)/libiberty/dyn-string.c $@
522dyn-string.lo: dyn-string.c
523 $(LTCOMPILE) -DIN_GLIBCPP_V3 -Wno-error -c $<
524dyn-string.o: dyn-string.c
e01c9849 525 $(C_COMPILE) -DIN_GLIBCPP_V3 -Wno-error -c $<
76f6aa8b 526
38fae3e3
HPN
527# We have to have rules modified from the default to counteract SUN make
528# prepending each of $(glibcppinstall_HEADERS) with VPATH below.
529install-glibcppinstallHEADERS: $(glibcppinstall_HEADERS)
530 @$(NORMAL_INSTALL)
531 $(mkinstalldirs) $(DESTDIR)$(glibcppinstalldir)
532 @list='$(glibcppinstall_HEADERS)'; for p in $$list; do \
533 q=`echo $$p | sed -e 's,.*/,,'`; \
534 if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
535 echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(glibcppinstalldir)/$$q"; \
536 $(INSTALL_DATA) $$d$$p $(DESTDIR)$(glibcppinstalldir)/$$q; \
537 done
538
539uninstall-glibcppinstallHEADERS:
540 @$(NORMAL_UNINSTALL)
541 list='$(glibcppinstall_HEADERS)'; for p in $$list; do \
542 q=`echo $$p | sed -e 's,.*/,,'`; \
543 rm -f $(DESTDIR)$(glibcppinstalldir)/$$q; \
544 done
545
06bd10fb
BK
546# Tell versions [3.59,3.63) of GNU make to not export all variables.
547# Otherwise a system limit (for SysV at least) may be exceeded.
548.NOEXPORT: