]> git.ipfire.org Git - thirdparty/gcc.git/blob - libstdc++-v3/libsupc++/Makefile.in
[multiple changes]
[thirdparty/gcc.git] / libstdc++-v3 / libsupc++ / Makefile.in
1 # Makefile.in generated automatically by automake 1.4 from Makefile.am
2
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.
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 CC = @CC@
69 CPP = @CPP@
70 CSHADOW_FLAGS = @CSHADOW_FLAGS@
71 CXX = @CXX@
72 CXXCPP = @CXXCPP@
73 CXX_libstdcxx = @CXX_libstdcxx@
74 DEBUG_FLAGS = @DEBUG_FLAGS@
75 DLLTOOL = @DLLTOOL@
76 EXEEXT = @EXEEXT@
77 EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
78 GCJ = @GCJ@
79 GCJFLAGS = @GCJFLAGS@
80 LIBMATHOBJS = @LIBMATHOBJS@
81 LIBSTRINGOBJS = @LIBSTRINGOBJS@
82 LN_S = @LN_S@
83 MAINT = @MAINT@
84 MAKEINFO = @MAKEINFO@
85 OBJDUMP = @OBJDUMP@
86 OBJEXT = @OBJEXT@
87 OPT_LDFLAGS = @OPT_LDFLAGS@
88 PACKAGE = @PACKAGE@
89 RANLIB = @RANLIB@
90 SECTION_FLAGS = @SECTION_FLAGS@
91 SECTION_LDFLAGS = @SECTION_LDFLAGS@
92 STRIP = @STRIP@
93 USE_COMPLEX_LONG_DOUBLE = @USE_COMPLEX_LONG_DOUBLE@
94 VERSION = @VERSION@
95 WARN_FLAGS = @WARN_FLAGS@
96 WERROR = @WERROR@
97 enable_shared = @enable_shared@
98 enable_static = @enable_static@
99 glibcpp_basedir = @glibcpp_basedir@
100 glibcpp_toolexecdir = @glibcpp_toolexecdir@
101 glibcpp_toolexeclibdir = @glibcpp_toolexeclibdir@
102 gxx_include_dir = @gxx_include_dir@
103 ifGNUmake = @ifGNUmake@
104 libio_la = @libio_la@
105 toplevel_srcdir = @toplevel_srcdir@
106
107 AUTOMAKE_OPTIONS = 1.3 cygnus
108 MAINT_CHARSET = latin1
109
110 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
111
112 # Cross compiler and multilib support.
113 toolexecdir = @glibcpp_toolexecdir@
114 toolexeclibdir = @glibcpp_toolexeclibdir@
115
116 # Need this library to both be part of libstdc++.a, and installed
117 # separately too.
118 # 1) separate libsupc++.la
119 toolexeclib_LTLIBRARIES = libsupc++.la
120 # 2) integrated libsupc++convenience.la that is to be a part of libstdc++.a
121 noinst_LTLIBRARIES = libsupc++convenience.la
122
123 # Compile flags that should be constant throughout the build, both for
124 # SUBDIRS and for libstdc++-v3 in general.
125 OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
126
127 # These bits are all figured out from configure. Look in acinclude.m4
128 # or configure.in to see how they are set. See GLIBCPP_EXPORT_FLAGS
129 # NB: DEBUGFLAGS have to be at the end so that -O2 can be overridden.
130 CONFIG_CXXFLAGS = @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@ @CSHADOW_FLAGS@ @DEBUG_FLAGS@
131
132
133 # Warning flags to use.
134 WARN_CXXFLAGS = @WARN_FLAGS@ $(WERROR) -fdiagnostics-show-location=once
135
136
137 # Use common includes from acinclude.m4/GLIBCPP_EXPORT_INCLUDES
138 GLIBCPP_INCLUDE_DIR = @GLIBCPP_INCLUDE_DIR@
139 C_INCLUDE_DIR = @C_INCLUDE_DIR@
140 CSTD_INCLUDES = @CSTD_INCLUDES@
141 LIBMATH_INCLUDES = @LIBMATH_INCLUDES@
142 LIBSUPCXX_INCLUDES = @LIBSUPCXX_INCLUDES@
143 LIBIO_INCLUDES = @LIBIO_INCLUDES@
144 TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
145
146 INCLUDES = -I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include -I$(GLIBCPP_INCLUDE_DIR) $(CSTD_INCLUDES) -I$(top_builddir)/include $(LIBSUPCXX_INCLUDES)
147
148
149 headers = exception new typeinfo cxxabi.h exception_defines.h
150
151
152 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
153
154
155 libsupc___la_SOURCES = $(sources)
156 libsupc__convenience_la_SOURCES = $(sources)
157
158 glibcppinstalldir = @gxx_include_dir@
159 glibcppinstall_HEADERS = $(headers)
160
161 # Flags to force separate libtool library to be static only.
162 LIBTOOL = @LIBTOOL@ --tag disable-shared
163 LIBSUPCXX_CXXFLAGS = -prefer-pic
164
165 # AM_CXXFLAGS needs to be in each subdirectory so that it can be
166 # modified in a per-library or per-sub-library way. Need to manually
167 # set this option because CONFIG_CXXFLAGS has to be after
168 # OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden
169 # as the occasion call for it. (ie, --enable-debug)
170 AM_CXXFLAGS = -fno-implicit-templates $(LIBSUPCXX_CXXFLAGS) $(WARN_CXXFLAGS) $(OPTIMIZE_CXXFLAGS) $(CONFIG_CXXFLAGS)
171
172
173 # libstdc++ libtool notes
174
175 # 1) Need to explicitly set LTCXXCOMPILE so that AM_CXXFLAGS is
176 # last. (That way, things like -O2 passed down from the toplevel can
177 # be overridden by --enable-debug.)
178
179 # 2) In general, libtool expects an argument such as `--tag=CXX' when
180 # using the C++ compiler, because that will enable the settings
181 # detected when C++ support was being configured. However, when no
182 # such flag is given in the command line, libtool attempts to figure
183 # it out by matching the compiler name in each configuration section
184 # against a prefix of the command line. The problem is that, if the
185 # compiler name and its initial flags stored in the libtool
186 # configuration file don't match those in the command line, libtool
187 # can't decide which configuration to use, and it gives up. The
188 # correct solution is to add `--tag CXX' to LTCXXCOMPILE and maybe
189 # CXXLINK, just after $(LIBTOOL), so that libtool doesn't have to
190 # attempt to infer which configuration to use.
191 #
192 # We have to put --tag disable-shared after --tag CXX lest things
193 # CXX undo the affect of disable-shared.
194 LTCXXCOMPILE = $(LIBTOOL) --tag CXX --tag disable-shared --mode=compile $(CXX) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(AM_CXXFLAGS)
195
196
197 # 3) We have a problem when building the shared libstdc++ object if
198 # the rules automake generates would be used. We cannot allow CXX to
199 # be used in libtool since this would add -lstdc++ to the link line
200 # which of course is problematic at this point.
201 CXXLINK = $(LIBTOOL) --mode=link "$(CC)" @OPT_LDFLAGS@ @SECTION_LDFLAGS@ $(AM_CXXFLAGS) $(LDFLAGS) -o $@
202
203 CONFIG_HEADER = ../config.h
204 CONFIG_CLEAN_FILES =
205 LTLIBRARIES = $(noinst_LTLIBRARIES) $(toolexeclib_LTLIBRARIES)
206
207
208 DEFS = @DEFS@ -I. -I$(srcdir) -I..
209 CPPFLAGS = @CPPFLAGS@
210 LDFLAGS = @LDFLAGS@
211 LIBS = @LIBS@
212 libsupc__convenience_la_LDFLAGS =
213 libsupc__convenience_la_LIBADD =
214 libsupc__convenience_la_OBJECTS = del_op.lo del_opnt.lo del_opv.lo \
215 del_opvnt.lo exception_support.lo new_handler.lo new_op.lo new_opnt.lo \
216 new_opv.lo new_opvnt.lo pure.lo tinfo.lo tinfo2.lo vec.lo
217 libsupc___la_LDFLAGS =
218 libsupc___la_LIBADD =
219 libsupc___la_OBJECTS = del_op.lo del_opnt.lo del_opv.lo del_opvnt.lo \
220 exception_support.lo new_handler.lo new_op.lo new_opnt.lo new_opv.lo \
221 new_opvnt.lo pure.lo tinfo.lo tinfo2.lo vec.lo
222 CXXFLAGS = @CXXFLAGS@
223 CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
224 CXXLD = $(CXX)
225 HEADERS = $(glibcppinstall_HEADERS)
226
227 DIST_COMMON = Makefile.am Makefile.in
228
229
230 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
231
232 TAR = gtar
233 GZIP_ENV = --best
234 SOURCES = $(libsupc__convenience_la_SOURCES) $(libsupc___la_SOURCES)
235 OBJECTS = $(libsupc__convenience_la_OBJECTS) $(libsupc___la_OBJECTS)
236
237 all: all-redirect
238 .SUFFIXES:
239 .SUFFIXES: .S .c .cc .lo .o .obj .s
240 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
241 cd $(top_srcdir) && $(AUTOMAKE) --cygnus libsupc++/Makefile
242
243 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
244 cd $(top_builddir) \
245 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
246
247
248 mostlyclean-noinstLTLIBRARIES:
249
250 clean-noinstLTLIBRARIES:
251 -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
252
253 distclean-noinstLTLIBRARIES:
254
255 maintainer-clean-noinstLTLIBRARIES:
256
257 mostlyclean-toolexeclibLTLIBRARIES:
258
259 clean-toolexeclibLTLIBRARIES:
260 -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
261
262 distclean-toolexeclibLTLIBRARIES:
263
264 maintainer-clean-toolexeclibLTLIBRARIES:
265
266 install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
267 @$(NORMAL_INSTALL)
268 $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
269 @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
270 if test -f $$p; then \
271 echo "$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p"; \
272 $(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p; \
273 else :; fi; \
274 done
275
276 uninstall-toolexeclibLTLIBRARIES:
277 @$(NORMAL_UNINSTALL)
278 list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
279 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(toolexeclibdir)/$$p; \
280 done
281
282 .c.o:
283 $(COMPILE) -c $<
284
285 # FIXME: We should only use cygpath when building on Windows,
286 # and only if it is available.
287 .c.obj:
288 $(COMPILE) -c `cygpath -w $<`
289
290 .s.o:
291 $(COMPILE) -c $<
292
293 .S.o:
294 $(COMPILE) -c $<
295
296 mostlyclean-compile:
297 -rm -f *.o core *.core
298 -rm -f *.$(OBJEXT)
299
300 clean-compile:
301
302 distclean-compile:
303 -rm -f *.tab.c
304
305 maintainer-clean-compile:
306
307 .c.lo:
308 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
309
310 .s.lo:
311 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
312
313 .S.lo:
314 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
315
316 mostlyclean-libtool:
317 -rm -f *.lo
318
319 clean-libtool:
320 -rm -rf .libs _libs
321
322 distclean-libtool:
323
324 maintainer-clean-libtool:
325
326 libsupc++convenience.la: $(libsupc__convenience_la_OBJECTS) $(libsupc__convenience_la_DEPENDENCIES)
327 $(CXXLINK) $(libsupc__convenience_la_LDFLAGS) $(libsupc__convenience_la_OBJECTS) $(libsupc__convenience_la_LIBADD) $(LIBS)
328
329 libsupc++.la: $(libsupc___la_OBJECTS) $(libsupc___la_DEPENDENCIES)
330 $(CXXLINK) -rpath $(toolexeclibdir) $(libsupc___la_LDFLAGS) $(libsupc___la_OBJECTS) $(libsupc___la_LIBADD) $(LIBS)
331 .cc.o:
332 $(CXXCOMPILE) -c $<
333 .cc.obj:
334 $(CXXCOMPILE) -c `cygpath -w $<`
335 .cc.lo:
336 $(LTCXXCOMPILE) -c $<
337
338 install-glibcppinstallHEADERS: $(glibcppinstall_HEADERS)
339 @$(NORMAL_INSTALL)
340 $(mkinstalldirs) $(DESTDIR)$(glibcppinstalldir)
341 @list='$(glibcppinstall_HEADERS)'; for p in $$list; do \
342 if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
343 echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(glibcppinstalldir)/$$p"; \
344 $(INSTALL_DATA) $$d$$p $(DESTDIR)$(glibcppinstalldir)/$$p; \
345 done
346
347 uninstall-glibcppinstallHEADERS:
348 @$(NORMAL_UNINSTALL)
349 list='$(glibcppinstall_HEADERS)'; for p in $$list; do \
350 rm -f $(DESTDIR)$(glibcppinstalldir)/$$p; \
351 done
352
353 tags: TAGS
354
355 ID: $(HEADERS) $(SOURCES) $(LISP)
356 list='$(SOURCES) $(HEADERS)'; \
357 unique=`for i in $$list; do echo $$i; done | \
358 awk ' { files[$$0] = 1; } \
359 END { for (i in files) print i; }'`; \
360 here=`pwd` && cd $(srcdir) \
361 && mkid -f$$here/ID $$unique $(LISP)
362
363 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
364 tags=; \
365 here=`pwd`; \
366 list='$(SOURCES) $(HEADERS)'; \
367 unique=`for i in $$list; do echo $$i; done | \
368 awk ' { files[$$0] = 1; } \
369 END { for (i in files) print i; }'`; \
370 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
371 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
372
373 mostlyclean-tags:
374
375 clean-tags:
376
377 distclean-tags:
378 -rm -f TAGS ID
379
380 maintainer-clean-tags:
381
382 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
383
384 subdir = libsupc++
385
386 distdir: $(DISTFILES)
387 @for file in $(DISTFILES); do \
388 if test -f $$file; then d=.; else d=$(srcdir); fi; \
389 if test -d $$d/$$file; then \
390 cp -pr $$d/$$file $(distdir)/$$file; \
391 else \
392 test -f $(distdir)/$$file \
393 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
394 || cp -p $$d/$$file $(distdir)/$$file || :; \
395 fi; \
396 done
397 info-am:
398 info: info-am
399 dvi-am:
400 dvi: dvi-am
401 check-am:
402 check: check-am
403 installcheck-am:
404 installcheck: installcheck-am
405 install-info-am:
406 install-info: install-info-am
407 install-exec-am: install-toolexeclibLTLIBRARIES
408 install-exec: install-exec-am
409
410 install-data-am: install-glibcppinstallHEADERS
411 install-data: install-data-am
412
413 install-am: all-am
414 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
415 install: install-am
416 uninstall-am: uninstall-toolexeclibLTLIBRARIES \
417 uninstall-glibcppinstallHEADERS
418 uninstall: uninstall-am
419 all-am: Makefile $(LTLIBRARIES) $(HEADERS)
420 all-redirect: all-am
421 install-strip:
422 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
423 installdirs:
424 $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir) \
425 $(DESTDIR)$(glibcppinstalldir)
426
427
428 mostlyclean-generic:
429
430 clean-generic:
431
432 distclean-generic:
433 -rm -f Makefile $(CONFIG_CLEAN_FILES)
434 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
435
436 maintainer-clean-generic:
437 mostlyclean-am: mostlyclean-noinstLTLIBRARIES \
438 mostlyclean-toolexeclibLTLIBRARIES mostlyclean-compile \
439 mostlyclean-libtool mostlyclean-tags \
440 mostlyclean-generic
441
442 mostlyclean: mostlyclean-am
443
444 clean-am: clean-noinstLTLIBRARIES clean-toolexeclibLTLIBRARIES \
445 clean-compile clean-libtool clean-tags clean-generic \
446 mostlyclean-am
447
448 clean: clean-am
449
450 distclean-am: distclean-noinstLTLIBRARIES \
451 distclean-toolexeclibLTLIBRARIES distclean-compile \
452 distclean-libtool distclean-tags distclean-generic \
453 clean-am
454 -rm -f libtool
455
456 distclean: distclean-am
457
458 maintainer-clean-am: maintainer-clean-noinstLTLIBRARIES \
459 maintainer-clean-toolexeclibLTLIBRARIES \
460 maintainer-clean-compile maintainer-clean-libtool \
461 maintainer-clean-tags maintainer-clean-generic \
462 distclean-am
463 @echo "This command is intended for maintainers to use;"
464 @echo "it deletes files that may require special tools to rebuild."
465
466 maintainer-clean: maintainer-clean-am
467
468 .PHONY: mostlyclean-noinstLTLIBRARIES distclean-noinstLTLIBRARIES \
469 clean-noinstLTLIBRARIES maintainer-clean-noinstLTLIBRARIES \
470 mostlyclean-toolexeclibLTLIBRARIES distclean-toolexeclibLTLIBRARIES \
471 clean-toolexeclibLTLIBRARIES maintainer-clean-toolexeclibLTLIBRARIES \
472 uninstall-toolexeclibLTLIBRARIES install-toolexeclibLTLIBRARIES \
473 mostlyclean-compile distclean-compile clean-compile \
474 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
475 clean-libtool maintainer-clean-libtool uninstall-glibcppinstallHEADERS \
476 install-glibcppinstallHEADERS tags mostlyclean-tags distclean-tags \
477 clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \
478 check-am installcheck-am installcheck install-info-am install-info \
479 install-exec-am install-exec install-data-am install-data install-am \
480 install uninstall-am uninstall all-redirect all-am all installdirs \
481 mostlyclean-generic distclean-generic clean-generic \
482 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
483
484
485 # Tell versions [3.59,3.63) of GNU make to not export all variables.
486 # Otherwise a system limit (for SysV at least) may be exceeded.
487 .NOEXPORT: