]> git.ipfire.org Git - thirdparty/gcc.git/blob - libstdc++-v3/libsupc++/Makefile.in
Makefile.am (LTCOMPILE): Add LIBSUPCXX_PICFLAGS.
[thirdparty/gcc.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_H = @BASIC_FILE_H@
71 CCODECVT_C = @CCODECVT_C@
72 CCODECVT_H = @CCODECVT_H@
73 CLOCALE_H = @CLOCALE_H@
74 CMESSAGES_H = @CMESSAGES_H@
75 CPP = @CPP@
76 CPU_LIMITS_INC_SRCDIR = @CPU_LIMITS_INC_SRCDIR@
77 CSTDIO_H = @CSTDIO_H@
78 CXXCPP = @CXXCPP@
79 C_INCLUDE_DIR = @C_INCLUDE_DIR@
80 DEBUG_FLAGS = @DEBUG_FLAGS@
81 DLLTOOL = @DLLTOOL@
82 EXEEXT = @EXEEXT@
83 EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
84 GCJ = @GCJ@
85 GCJFLAGS = @GCJFLAGS@
86 GLIBCPP_IS_CROSS_COMPILING = @GLIBCPP_IS_CROSS_COMPILING@
87 LIBIO_INCLUDES = @LIBIO_INCLUDES@
88 LIBMATHOBJS = @LIBMATHOBJS@
89 LIBMATH_INCLUDES = @LIBMATH_INCLUDES@
90 LIBSUPCXX_PICFLAGS = @LIBSUPCXX_PICFLAGS@
91 LIBTOOL = @LIBTOOL@
92 LIBUNWIND_FLAG = @LIBUNWIND_FLAG@
93 LN_S = @LN_S@
94 MAINT = @MAINT@
95 MAKEINFO = @MAKEINFO@
96 OBJDUMP = @OBJDUMP@
97 OBJEXT = @OBJEXT@
98 OPT_LDFLAGS = @OPT_LDFLAGS@
99 OS_INC_SRCDIR = @OS_INC_SRCDIR@
100 PACKAGE = @PACKAGE@
101 RANLIB = @RANLIB@
102 SECTION_FLAGS = @SECTION_FLAGS@
103 SECTION_LDFLAGS = @SECTION_LDFLAGS@
104 STRIP = @STRIP@
105 TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
106 USE_NLS = @USE_NLS@
107 VERSION = @VERSION@
108 WARN_FLAGS = @WARN_FLAGS@
109 WERROR = @WERROR@
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@
129
130 AUTOMAKE_OPTIONS = 1.3 cygnus
131 MAINT_CHARSET = latin1
132
133 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
134
135 # Cross compiler and multilib support.
136 CC = @CC@
137 CXX = @glibcpp_CXX@
138 toolexecdir = @glibcpp_toolexecdir@
139 toolexeclibdir = @glibcpp_toolexeclibdir@
140
141 # Need this library to both be part of libstdc++.a, and installed
142 # separately too.
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
147
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@
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.
155 CONFIG_CXXFLAGS = @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@ @DEBUG_FLAGS@
156
157
158 # Warning flags to use.
159 WARN_CXXFLAGS = @WARN_FLAGS@ $(WERROR) -fdiagnostics-show-location=once
160
161
162 # Use common includes from acinclude.m4/GLIBCPP_EXPORT_INCLUDES
163 GLIBCPP_INCLUDES = @GLIBCPP_INCLUDES@
164 LIBSUPCXX_INCLUDES = @LIBSUPCXX_INCLUDES@
165 GCC_INCLUDES = -I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include
166
167 INCLUDES = $(GCC_INCLUDES) $(GLIBCPP_INCLUDES) $(LIBSUPCXX_INCLUDES)
168
169
170 headers = exception new typeinfo cxxabi.h exception_defines.h
171
172
173 c_sources = cxa_demangle.c dyn-string.c
174
175
176 sources = 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
177
178
179 libsupc___la_SOURCES = $(sources) $(c_sources)
180 libsupc__convenience_la_SOURCES = $(sources) $(c_sources)
181
182 glibcppinstalldir = @gxx_include_dir@
183 glibcppinstall_HEADERS = $(headers)
184
185 LIBSUPCXX_CXXFLAGS = $(LIBSUPCXX_PICFLAGS)
186
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.
190 C_COMPILE = $(CC) $(DEFS) $(GCC_INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
191
192
193 # LTCOMPILE is copied from LTCXXCOMPILE below.
194 LTCOMPILE = $(LIBTOOL) --tag CC --tag disable-shared --mode=compile $(CC) $(DEFS) $(GCC_INCLUDES) $(LIBSUPCXX_PICFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS)
195
196
197 # AM_CXXFLAGS needs to be in each subdirectory so that it can be
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)
202 AM_CXXFLAGS = -fno-implicit-templates $(LIBSUPCXX_CXXFLAGS) $(WARN_CXXFLAGS) $(OPTIMIZE_CXXFLAGS) $(CONFIG_CXXFLAGS)
203
204
205 # libstdc++ libtool notes
206
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
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.
226 LTCXXCOMPILE = $(LIBTOOL) --tag CXX --tag disable-shared --mode=compile $(CXX) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(AM_CXXFLAGS)
227
228
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.
235 CXXLINK = $(LIBTOOL) --tag CXX --tag disable-shared --mode=link $(CXX) @OPT_LDFLAGS@ @SECTION_LDFLAGS@ $(AM_CXXFLAGS) $(LDFLAGS) -o $@
236
237 CONFIG_HEADER = ../config.h
238 CONFIG_CLEAN_FILES =
239 LTLIBRARIES = $(noinst_LTLIBRARIES) $(toolexeclib_LTLIBRARIES)
240
241
242 DEFS = @DEFS@ -I. -I$(srcdir) -I..
243 CPPFLAGS = @CPPFLAGS@
244 LDFLAGS = @LDFLAGS@
245 LIBS = @LIBS@
246 libsupc__convenience_la_LDFLAGS =
247 libsupc__convenience_la_LIBADD =
248 libsupc__convenience_la_OBJECTS = del_op.lo del_opnt.lo del_opv.lo \
249 del_opvnt.lo eh_alloc.lo eh_aux_runtime.lo eh_catch.lo eh_exception.lo \
250 eh_globals.lo eh_personality.lo eh_terminate.lo eh_throw.lo eh_type.lo \
251 new_handler.lo new_op.lo new_opnt.lo new_opv.lo new_opvnt.lo pure.lo \
252 tinfo.lo tinfo2.lo vec.lo cxa_demangle.lo dyn-string.lo
253 libsupc___la_LDFLAGS =
254 libsupc___la_LIBADD =
255 libsupc___la_OBJECTS = del_op.lo del_opnt.lo del_opv.lo del_opvnt.lo \
256 eh_alloc.lo eh_aux_runtime.lo eh_catch.lo eh_exception.lo eh_globals.lo \
257 eh_personality.lo eh_terminate.lo eh_throw.lo eh_type.lo new_handler.lo \
258 new_op.lo new_opnt.lo new_opv.lo new_opvnt.lo pure.lo tinfo.lo \
259 tinfo2.lo vec.lo cxa_demangle.lo dyn-string.lo
260 CXXFLAGS = @CXXFLAGS@
261 CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
262 CXXLD = $(CXX)
263 CFLAGS = @CFLAGS@
264 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
265 CCLD = $(CC)
266 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
267 HEADERS = $(glibcppinstall_HEADERS)
268
269 DIST_COMMON = Makefile.am Makefile.in
270
271
272 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
273
274 TAR = tar
275 GZIP_ENV = --best
276 SOURCES = $(libsupc__convenience_la_SOURCES) $(libsupc___la_SOURCES)
277 OBJECTS = $(libsupc__convenience_la_OBJECTS) $(libsupc___la_OBJECTS)
278
279 all: 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
285 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
286 cd $(top_builddir) \
287 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
288
289
290 mostlyclean-noinstLTLIBRARIES:
291
292 clean-noinstLTLIBRARIES:
293 -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
294
295 distclean-noinstLTLIBRARIES:
296
297 maintainer-clean-noinstLTLIBRARIES:
298
299 mostlyclean-toolexeclibLTLIBRARIES:
300
301 clean-toolexeclibLTLIBRARIES:
302 -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
303
304 distclean-toolexeclibLTLIBRARIES:
305
306 maintainer-clean-toolexeclibLTLIBRARIES:
307
308 install-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
318 uninstall-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
338 mostlyclean-compile:
339 -rm -f *.o core *.core
340 -rm -f *.$(OBJEXT)
341
342 clean-compile:
343
344 distclean-compile:
345 -rm -f *.tab.c
346
347 maintainer-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
358 mostlyclean-libtool:
359 -rm -f *.lo
360
361 clean-libtool:
362 -rm -rf .libs _libs
363
364 distclean-libtool:
365
366 maintainer-clean-libtool:
367
368 libsupc++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
371 libsupc++.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
380 tags: TAGS
381
382 ID: $(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
390 TAGS: $(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
400 mostlyclean-tags:
401
402 clean-tags:
403
404 distclean-tags:
405 -rm -f TAGS ID
406
407 maintainer-clean-tags:
408
409 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
410
411 subdir = libsupc++
412
413 distdir: $(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 \
417 cp -pr $$d/$$file $(distdir)/$$file; \
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
424 info-am:
425 info: info-am
426 dvi-am:
427 dvi: dvi-am
428 check-am:
429 check: check-am
430 installcheck-am:
431 installcheck: installcheck-am
432 install-info-am:
433 install-info: install-info-am
434 install-exec-am: install-toolexeclibLTLIBRARIES
435 install-exec: install-exec-am
436
437 install-data-am: install-glibcppinstallHEADERS
438 install-data: install-data-am
439
440 install-am: all-am
441 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
442 install: install-am
443 uninstall-am: uninstall-toolexeclibLTLIBRARIES \
444 uninstall-glibcppinstallHEADERS
445 uninstall: uninstall-am
446 all-am: Makefile $(LTLIBRARIES) $(HEADERS)
447 all-redirect: all-am
448 install-strip:
449 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
450 installdirs:
451 $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir) \
452 $(DESTDIR)$(glibcppinstalldir)
453
454
455 mostlyclean-generic:
456
457 clean-generic:
458
459 distclean-generic:
460 -rm -f Makefile $(CONFIG_CLEAN_FILES)
461 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
462
463 maintainer-clean-generic:
464 mostlyclean-am: mostlyclean-noinstLTLIBRARIES \
465 mostlyclean-toolexeclibLTLIBRARIES mostlyclean-compile \
466 mostlyclean-libtool mostlyclean-tags \
467 mostlyclean-generic
468
469 mostlyclean: mostlyclean-am
470
471 clean-am: clean-noinstLTLIBRARIES clean-toolexeclibLTLIBRARIES \
472 clean-compile clean-libtool clean-tags clean-generic \
473 mostlyclean-am
474
475 clean: clean-am
476
477 distclean-am: distclean-noinstLTLIBRARIES \
478 distclean-toolexeclibLTLIBRARIES distclean-compile \
479 distclean-libtool distclean-tags distclean-generic \
480 clean-am
481 -rm -f libtool
482
483 distclean: distclean-am
484
485 maintainer-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
493 maintainer-clean: maintainer-clean-am
494
495 .PHONY: mostlyclean-noinstLTLIBRARIES distclean-noinstLTLIBRARIES \
496 clean-noinstLTLIBRARIES maintainer-clean-noinstLTLIBRARIES \
497 mostlyclean-toolexeclibLTLIBRARIES distclean-toolexeclibLTLIBRARIES \
498 clean-toolexeclibLTLIBRARIES maintainer-clean-toolexeclibLTLIBRARIES \
499 uninstall-toolexeclibLTLIBRARIES install-toolexeclibLTLIBRARIES \
500 mostlyclean-compile distclean-compile clean-compile \
501 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
502 clean-libtool maintainer-clean-libtool uninstall-glibcppinstallHEADERS \
503 install-glibcppinstallHEADERS tags mostlyclean-tags distclean-tags \
504 clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \
505 check-am installcheck-am installcheck install-info-am install-info \
506 install-exec-am install-exec install-data-am install-data install-am \
507 install uninstall-am uninstall all-redirect all-am all installdirs \
508 mostlyclean-generic distclean-generic clean-generic \
509 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
510
511
512 cxa_demangle.c:
513 rm -f $@
514 $(LN_S) $(toplevel_srcdir)/libiberty/cp-demangle.c $@
515 cxa_demangle.lo: cxa_demangle.c
516 $(LTCOMPILE) -DIN_GLIBCPP_V3 -Wno-error -c $<
517 cxa_demangle.o: cxa_demangle.c
518 $(C_COMPILE) -DIN_GLIBCPP_V3 -Wno-error -c $<
519 dyn-string.c:
520 rm -f $@
521 $(LN_S) $(toplevel_srcdir)/libiberty/dyn-string.c $@
522 dyn-string.lo: dyn-string.c
523 $(LTCOMPILE) -DIN_GLIBCPP_V3 -Wno-error -c $<
524 dyn-string.o: dyn-string.c
525 $(C_COMPILE) -DIN_GLIBCPP_V3 -Wno-error -c $<
526
527 # We have to have rules modified from the default to counteract SUN make
528 # prepending each of $(glibcppinstall_HEADERS) with VPATH below.
529 install-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
539 uninstall-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
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: