]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/libstdc++/Makefile.in
This commit was generated by cvs2svn to compensate for changes in r158417,
[FreeBSD/FreeBSD.git] / contrib / libstdc++ / Makefile.in
1 # Makefile.in generated by automake 1.7.8 from Makefile.am.
2 # @configure_input@
3
4 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
5 # Free Software Foundation, Inc.
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
9
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 # PARTICULAR PURPOSE.
14
15 @SET_MAKE@
16
17 srcdir = @srcdir@
18 top_srcdir = @top_srcdir@
19 VPATH = @srcdir@
20 pkgdatadir = $(datadir)/@PACKAGE@
21 pkglibdir = $(libdir)/@PACKAGE@
22 pkgincludedir = $(includedir)/@PACKAGE@
23 top_builddir = .
24
25 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
26 INSTALL = @INSTALL@
27 install_sh_DATA = $(install_sh) -c -m 644
28 install_sh_PROGRAM = $(install_sh) -c
29 install_sh_SCRIPT = $(install_sh) -c
30 INSTALL_HEADER = $(INSTALL_DATA)
31 transform = $(program_transform_name)
32 NORMAL_INSTALL = :
33 PRE_INSTALL = :
34 POST_INSTALL = :
35 NORMAL_UNINSTALL = :
36 PRE_UNINSTALL = :
37 POST_UNINSTALL = :
38 build_triplet = @build@
39 host_triplet = @host@
40 target_triplet = @target@
41 ACLOCAL = @ACLOCAL@
42 ALLOCATOR_H = @ALLOCATOR_H@
43 ALLOCATOR_NAME = @ALLOCATOR_NAME@
44 AMTAR = @AMTAR@
45 AR = @AR@
46 AS = @AS@
47 ATOMICITY_SRCDIR = @ATOMICITY_SRCDIR@
48 ATOMIC_WORD_SRCDIR = @ATOMIC_WORD_SRCDIR@
49 AUTOCONF = @AUTOCONF@
50 AUTOHEADER = @AUTOHEADER@
51 AUTOMAKE = @AUTOMAKE@
52 AWK = @AWK@
53 BASIC_FILE_CC = @BASIC_FILE_CC@
54 BASIC_FILE_H = @BASIC_FILE_H@
55 CC = @CC@
56 CCODECVT_CC = @CCODECVT_CC@
57 CCODECVT_H = @CCODECVT_H@
58 CCOLLATE_CC = @CCOLLATE_CC@
59 CCTYPE_CC = @CCTYPE_CC@
60 CFLAGS = @CFLAGS@
61 CLOCALE_CC = @CLOCALE_CC@
62 CLOCALE_H = @CLOCALE_H@
63 CLOCALE_INTERNAL_H = @CLOCALE_INTERNAL_H@
64 CMESSAGES_CC = @CMESSAGES_CC@
65 CMESSAGES_H = @CMESSAGES_H@
66 CMONEY_CC = @CMONEY_CC@
67 CNUMERIC_CC = @CNUMERIC_CC@
68 CPP = @CPP@
69 CPPFLAGS = @CPPFLAGS@
70 CSTDIO_H = @CSTDIO_H@
71 CTIME_CC = @CTIME_CC@
72 CTIME_H = @CTIME_H@
73 CXX = @CXX@
74 CXXCPP = @CXXCPP@
75 CXXFLAGS = @CXXFLAGS@
76 CYGPATH_W = @CYGPATH_W@
77 C_INCLUDE_DIR = @C_INCLUDE_DIR@
78 DEBUG_FLAGS = @DEBUG_FLAGS@
79 DEFS = @DEFS@
80 ECHO_C = @ECHO_C@
81 ECHO_N = @ECHO_N@
82 ECHO_T = @ECHO_T@
83 EGREP = @EGREP@
84 EXEEXT = @EXEEXT@
85 EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
86 GLIBCXX_BUILD_DEBUG_FALSE = @GLIBCXX_BUILD_DEBUG_FALSE@
87 GLIBCXX_BUILD_DEBUG_TRUE = @GLIBCXX_BUILD_DEBUG_TRUE@
88 GLIBCXX_BUILD_PCH_FALSE = @GLIBCXX_BUILD_PCH_FALSE@
89 GLIBCXX_BUILD_PCH_TRUE = @GLIBCXX_BUILD_PCH_TRUE@
90 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE = @GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@
91 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE = @GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@
92 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE = @GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@
93 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE = @GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@
94 GLIBCXX_C_HEADERS_C_FALSE = @GLIBCXX_C_HEADERS_C_FALSE@
95 GLIBCXX_C_HEADERS_C_STD_FALSE = @GLIBCXX_C_HEADERS_C_STD_FALSE@
96 GLIBCXX_C_HEADERS_C_STD_TRUE = @GLIBCXX_C_HEADERS_C_STD_TRUE@
97 GLIBCXX_C_HEADERS_C_TRUE = @GLIBCXX_C_HEADERS_C_TRUE@
98 GLIBCXX_HOSTED_FALSE = @GLIBCXX_HOSTED_FALSE@
99 GLIBCXX_HOSTED_TRUE = @GLIBCXX_HOSTED_TRUE@
100 GLIBCXX_INCLUDES = @GLIBCXX_INCLUDES@
101 GLIBCXX_TEST_ABI_FALSE = @GLIBCXX_TEST_ABI_FALSE@
102 GLIBCXX_TEST_ABI_TRUE = @GLIBCXX_TEST_ABI_TRUE@
103 GLIBCXX_TEST_WCHAR_T_FALSE = @GLIBCXX_TEST_WCHAR_T_FALSE@
104 GLIBCXX_TEST_WCHAR_T_TRUE = @GLIBCXX_TEST_WCHAR_T_TRUE@
105 INSTALL_DATA = @INSTALL_DATA@
106 INSTALL_PROGRAM = @INSTALL_PROGRAM@
107 INSTALL_SCRIPT = @INSTALL_SCRIPT@
108 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
109 LIBMATHOBJS = @LIBMATHOBJS@
110 LIBOBJS = @LIBOBJS@
111 LIBS = @LIBS@
112 LIBSUPCXX_PICFLAGS = @LIBSUPCXX_PICFLAGS@
113 LIBTOOL = @LIBTOOL@
114 LN_S = @LN_S@
115 LTLIBOBJS = @LTLIBOBJS@
116 MAINT = @MAINT@
117 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
118 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
119 MAKEINFO = @MAKEINFO@
120 OBJEXT = @OBJEXT@
121 OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
122 OPT_LDFLAGS = @OPT_LDFLAGS@
123 OS_INC_SRCDIR = @OS_INC_SRCDIR@
124 PACKAGE = @PACKAGE@
125 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
126 PACKAGE_NAME = @PACKAGE_NAME@
127 PACKAGE_STRING = @PACKAGE_STRING@
128 PACKAGE_TARNAME = @PACKAGE_TARNAME@
129 PACKAGE_VERSION = @PACKAGE_VERSION@
130 PATH_SEPARATOR = @PATH_SEPARATOR@
131 RANLIB = @RANLIB@
132 SECTION_FLAGS = @SECTION_FLAGS@
133 SECTION_LDFLAGS = @SECTION_LDFLAGS@
134 SET_MAKE = @SET_MAKE@
135 SHELL = @SHELL@
136 STRIP = @STRIP@
137 SYMVER_MAP = @SYMVER_MAP@
138 TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
139 USE_NLS = @USE_NLS@
140 VERSION = @VERSION@
141 WARN_FLAGS = @WARN_FLAGS@
142 WERROR = @WERROR@
143 ac_ct_AR = @ac_ct_AR@
144 ac_ct_AS = @ac_ct_AS@
145 ac_ct_CC = @ac_ct_CC@
146 ac_ct_CXX = @ac_ct_CXX@
147 ac_ct_RANLIB = @ac_ct_RANLIB@
148 ac_ct_STRIP = @ac_ct_STRIP@
149 am__leading_dot = @am__leading_dot@
150 baseline_dir = @baseline_dir@
151 bindir = @bindir@
152 build = @build@
153 build_alias = @build_alias@
154 build_cpu = @build_cpu@
155 build_os = @build_os@
156 build_vendor = @build_vendor@
157 check_msgfmt = @check_msgfmt@
158 datadir = @datadir@
159 enable_shared = @enable_shared@
160 enable_static = @enable_static@
161 exec_prefix = @exec_prefix@
162 glibcxx_MOFILES = @glibcxx_MOFILES@
163 glibcxx_PCHFLAGS = @glibcxx_PCHFLAGS@
164 glibcxx_POFILES = @glibcxx_POFILES@
165 glibcxx_builddir = @glibcxx_builddir@
166 glibcxx_localedir = @glibcxx_localedir@
167 glibcxx_prefixdir = @glibcxx_prefixdir@
168 glibcxx_srcdir = @glibcxx_srcdir@
169 glibcxx_thread_h = @glibcxx_thread_h@
170 glibcxx_toolexecdir = @glibcxx_toolexecdir@
171 glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@
172 gxx_include_dir = @gxx_include_dir@
173 host = @host@
174 host_alias = @host_alias@
175 host_cpu = @host_cpu@
176 host_os = @host_os@
177 host_vendor = @host_vendor@
178 includedir = @includedir@
179 infodir = @infodir@
180 install_sh = @install_sh@
181 libdir = @libdir@
182 libexecdir = @libexecdir@
183 libtool_VERSION = @libtool_VERSION@
184 localstatedir = @localstatedir@
185 mandir = @mandir@
186 multi_basedir = @multi_basedir@
187 oldincludedir = @oldincludedir@
188 port_specific_symbol_files = @port_specific_symbol_files@
189 prefix = @prefix@
190 program_transform_name = @program_transform_name@
191 sbindir = @sbindir@
192 sharedstatedir = @sharedstatedir@
193 sysconfdir = @sysconfdir@
194 target = @target@
195 target_alias = @target_alias@
196 target_cpu = @target_cpu@
197 target_os = @target_os@
198 target_vendor = @target_vendor@
199 toplevel_srcdir = @toplevel_srcdir@
200
201 MAINT_CHARSET = latin1
202
203 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
204 PWD_COMMAND = $${PWDCMD-pwd}
205 STAMP = echo timestamp >
206
207 toolexecdir = $(glibcxx_toolexecdir)
208 toolexeclibdir = $(glibcxx_toolexeclibdir)
209
210 # These bits are all figured out from configure.  Look in acinclude.m4
211 # or configure.ac to see how they are set.  See GLIBCXX_EXPORT_FLAGS.
212 CONFIG_CXXFLAGS = \
213         $(SECTION_FLAGS) $(EXTRA_CXX_FLAGS)
214
215 WARN_CXXFLAGS = \
216         $(WARN_FLAGS) $(WERROR) -fdiagnostics-show-location=once
217
218
219 # -I/-D flags to pass when compiling.
220 AM_CPPFLAGS = $(GLIBCXX_INCLUDES)
221 @GLIBCXX_HOSTED_TRUE@hosted_source = src po
222 SUBDIRS = include libmath libsupc++ $(hosted_source) testsuite
223
224 # Multilib support.
225 MAKEOVERRIDES = 
226
227 # Multilib support variables.
228 MULTISRCTOP = 
229 MULTIBUILDTOP = 
230 MULTIDIRS = 
231 MULTISUBDIR = 
232 MULTIDO = true
233 MULTICLEAN = true
234
235 # Work around what appears to be a GNU make bug handling MAKEFLAGS
236 # values defined in terms of make variables, as is the case for CC and
237 # friends when we are called from the top level Makefile.
238 AM_MAKEFLAGS = \
239         "AR_FLAGS=$(AR_FLAGS)" \
240         "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
241         "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
242         "CFLAGS=$(CFLAGS)" \
243         "CXXFLAGS=$(CXXFLAGS)" \
244         "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
245         "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
246         "INSTALL=$(INSTALL)" \
247         "INSTALL_DATA=$(INSTALL_DATA)" \
248         "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
249         "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
250         "LDFLAGS=$(LDFLAGS)" \
251         "LIBCFLAGS=$(LIBCFLAGS)" \
252         "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
253         "MAKE=$(MAKE)" \
254         "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
255         "PICFLAG=$(PICFLAG)" \
256         "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
257         "SHELL=$(SHELL)" \
258         "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
259         "exec_prefix=$(exec_prefix)" \
260         "infodir=$(infodir)" \
261         "libdir=$(libdir)" \
262         "includedir=$(includedir)" \
263         "prefix=$(prefix)" \
264         "tooldir=$(tooldir)" \
265         "gxx_include_dir=$(gxx_include_dir)" \
266         "AR=$(AR)" \
267         "AS=$(AS)" \
268         "LD=$(LD)" \
269         "LIBCFLAGS=$(LIBCFLAGS)" \
270         "PICFLAG=$(PICFLAG)" \
271         "RANLIB=$(RANLIB)" \
272         "NM=$(NM)" \
273         "NM_FOR_BUILD=$(NM_FOR_BUILD)" \
274         "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
275         "DESTDIR=$(DESTDIR)" \
276         "WERROR=$(WERROR)"
277
278
279 # Subdir rules rely on $(FLAGS_TO_PASS)
280 FLAGS_TO_PASS = $(AM_MAKEFLAGS)
281 subdir = .
282 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
283 CONFIG_HEADER = config.h
284 CONFIG_CLEAN_FILES = scripts/check_survey scripts/testsuite_flags
285 depcomp =
286 am__depfiles_maybe =
287 DIST_SOURCES =
288
289 RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
290         ps-recursive install-info-recursive uninstall-info-recursive \
291         all-recursive install-data-recursive install-exec-recursive \
292         installdirs-recursive install-recursive uninstall-recursive \
293         check-recursive installcheck-recursive
294 DIST_COMMON = README $(srcdir)/Makefile.in $(srcdir)/configure \
295         $(top_srcdir)/fragment.am ../ABOUT-NLS ../COPYING \
296         ../COPYING.LIB ../ChangeLog ../README ../config.guess \
297         ../config.rpath ../config.sub ../configure ../configure.in \
298         ../install-sh ../ltcf-c.sh ../ltcf-cxx.sh ../ltcf-gcj.sh \
299         ../ltconfig ../ltmain.sh ../missing ../mkinstalldirs ../ylwrap \
300         ChangeLog Makefile.am acconfig.h acinclude.m4 aclocal.m4 \
301         config.h.in configure configure.ac
302 DIST_SUBDIRS = include libmath libsupc++ src po testsuite
303 all: config.h
304         $(MAKE) $(AM_MAKEFLAGS) all-recursive
305
306 .SUFFIXES:
307
308 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
309  configure.lineno
310 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/fragment.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
311         cd $(top_srcdir) && \
312           $(AUTOMAKE) --foreign  Makefile
313 Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
314         cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
315
316 $(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
317         $(SHELL) ./config.status --recheck
318 $(srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
319         cd $(srcdir) && $(AUTOCONF)
320
321 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.ac acinclude.m4
322         cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
323
324 config.h: stamp-h1
325         @if test ! -f $@; then \
326           rm -f stamp-h1; \
327           $(MAKE) stamp-h1; \
328         else :; fi
329
330 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
331         @rm -f stamp-h1
332         cd $(top_builddir) && $(SHELL) ./config.status config.h
333
334 $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(top_srcdir)/configure.ac $(ACLOCAL_M4) $(top_srcdir)/acconfig.h
335         cd $(top_srcdir) && $(AUTOHEADER)
336         touch $(srcdir)/config.h.in
337
338 distclean-hdr:
339         -rm -f config.h stamp-h1
340 scripts/check_survey: $(top_builddir)/config.status $(top_srcdir)/scripts/check_survey.in
341         cd $(top_builddir) && $(SHELL) ./config.status $@
342 scripts/testsuite_flags: $(top_builddir)/config.status $(top_srcdir)/scripts/testsuite_flags.in
343         cd $(top_builddir) && $(SHELL) ./config.status $@
344
345 mostlyclean-libtool:
346         -rm -f *.lo
347
348 clean-libtool:
349         -rm -rf .libs _libs
350
351 distclean-libtool:
352         -rm -f libtool
353 uninstall-info-am:
354
355 # This directory's subdirectories are mostly independent; you can cd
356 # into them and run `make' without going through this Makefile.
357 # To change the values of `make' variables: instead of editing Makefiles,
358 # (1) if the variable is set in `config.status', edit `config.status'
359 #     (which will cause the Makefiles to be regenerated when you run `make');
360 # (2) otherwise, pass the desired values on the `make' command line.
361 $(RECURSIVE_TARGETS):
362         @set fnord $$MAKEFLAGS; amf=$$2; \
363         dot_seen=no; \
364         target=`echo $@ | sed s/-recursive//`; \
365         list='$(SUBDIRS)'; for subdir in $$list; do \
366           echo "Making $$target in $$subdir"; \
367           if test "$$subdir" = "."; then \
368             dot_seen=yes; \
369             local_target="$$target-am"; \
370           else \
371             local_target="$$target"; \
372           fi; \
373           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
374            || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
375         done; \
376         if test "$$dot_seen" = "no"; then \
377           $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
378         fi; test -z "$$fail"
379
380 mostlyclean-recursive clean-recursive distclean-recursive \
381 maintainer-clean-recursive:
382         @set fnord $$MAKEFLAGS; amf=$$2; \
383         dot_seen=no; \
384         case "$@" in \
385           distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
386           *) list='$(SUBDIRS)' ;; \
387         esac; \
388         rev=''; for subdir in $$list; do \
389           if test "$$subdir" = "."; then :; else \
390             rev="$$subdir $$rev"; \
391           fi; \
392         done; \
393         rev="$$rev ."; \
394         target=`echo $@ | sed s/-recursive//`; \
395         for subdir in $$rev; do \
396           echo "Making $$target in $$subdir"; \
397           if test "$$subdir" = "."; then \
398             local_target="$$target-am"; \
399           else \
400             local_target="$$target"; \
401           fi; \
402           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
403            || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
404         done && test -z "$$fail"
405 tags-recursive:
406         list='$(SUBDIRS)'; for subdir in $$list; do \
407           test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
408         done
409 ctags-recursive:
410         list='$(SUBDIRS)'; for subdir in $$list; do \
411           test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
412         done
413
414 ETAGS = etags
415 ETAGSFLAGS =
416
417 CTAGS = ctags
418 CTAGSFLAGS =
419
420 tags: TAGS
421
422 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
423         list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
424         unique=`for i in $$list; do \
425             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
426           done | \
427           $(AWK) '    { files[$$0] = 1; } \
428                END { for (i in files) print i; }'`; \
429         mkid -fID $$unique
430
431 ctags: CTAGS
432 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
433                 $(TAGS_FILES) $(LISP)
434         tags=; \
435         here=`pwd`; \
436         list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
437         unique=`for i in $$list; do \
438             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
439           done | \
440           $(AWK) '    { files[$$0] = 1; } \
441                END { for (i in files) print i; }'`; \
442         test -z "$(CTAGS_ARGS)$$tags$$unique" \
443           || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
444              $$tags $$unique
445
446 GTAGS:
447         here=`$(am__cd) $(top_builddir) && pwd` \
448           && cd $(top_srcdir) \
449           && gtags -i $(GTAGS_ARGS) $$here
450
451 distclean-tags:
452         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
453 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
454
455 top_distdir = .
456 distdir = $(PACKAGE)-$(VERSION)
457
458 am__remove_distdir = \
459   { test ! -d $(distdir) \
460     || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
461          && rm -fr $(distdir); }; }
462
463 GZIP_ENV = --best
464 distuninstallcheck_listfiles = find . -type f -print
465 distcleancheck_listfiles = find . -type f -print
466
467 distdir: $(DISTFILES)
468         $(am__remove_distdir)
469         mkdir $(distdir)
470         $(mkinstalldirs) $(distdir)/.. $(distdir)/scripts
471         @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
472         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
473         list='$(DISTFILES)'; for file in $$list; do \
474           case $$file in \
475             $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
476             $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
477           esac; \
478           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
479           dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
480           if test "$$dir" != "$$file" && test "$$dir" != "."; then \
481             dir="/$$dir"; \
482             $(mkinstalldirs) "$(distdir)$$dir"; \
483           else \
484             dir=''; \
485           fi; \
486           if test -d $$d/$$file; then \
487             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
488               cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
489             fi; \
490             cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
491           else \
492             test -f $(distdir)/$$file \
493             || cp -p $$d/$$file $(distdir)/$$file \
494             || exit 1; \
495           fi; \
496         done
497         list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
498           if test "$$subdir" = .; then :; else \
499             test -d $(distdir)/$$subdir \
500             || mkdir $(distdir)/$$subdir \
501             || exit 1; \
502             (cd $$subdir && \
503               $(MAKE) $(AM_MAKEFLAGS) \
504                 top_distdir="$(top_distdir)" \
505                 distdir=../$(distdir)/$$subdir \
506                 distdir) \
507               || exit 1; \
508           fi; \
509         done
510         -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
511           ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
512           ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
513           ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
514         || chmod -R a+r $(distdir)
515 dist-gzip: distdir
516         $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
517         $(am__remove_distdir)
518
519 dist dist-all: distdir
520         $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
521         $(am__remove_distdir)
522
523 # This target untars the dist file and tries a VPATH configuration.  Then
524 # it guarantees that the distribution is self-contained by making another
525 # tarfile.
526 distcheck: dist
527         $(am__remove_distdir)
528         GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
529         chmod -R a-w $(distdir); chmod a+w $(distdir)
530         mkdir $(distdir)/_build
531         mkdir $(distdir)/_inst
532         chmod a-w $(distdir)
533         dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
534           && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
535           && cd $(distdir)/_build \
536           && ../configure --srcdir=.. --prefix="$$dc_install_base" \
537             $(DISTCHECK_CONFIGURE_FLAGS) \
538           && $(MAKE) $(AM_MAKEFLAGS) \
539           && $(MAKE) $(AM_MAKEFLAGS) dvi \
540           && $(MAKE) $(AM_MAKEFLAGS) check \
541           && $(MAKE) $(AM_MAKEFLAGS) install \
542           && $(MAKE) $(AM_MAKEFLAGS) installcheck \
543           && $(MAKE) $(AM_MAKEFLAGS) uninstall \
544           && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
545                 distuninstallcheck \
546           && chmod -R a-w "$$dc_install_base" \
547           && ({ \
548                (cd ../.. && $(mkinstalldirs) "$$dc_destdir") \
549                && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
550                && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
551                && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
552                     distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
553               } || { rm -rf "$$dc_destdir"; exit 1; }) \
554           && rm -rf "$$dc_destdir" \
555           && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
556           && rm -f $(distdir).tar.gz \
557           && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
558         $(am__remove_distdir)
559         @echo "$(distdir).tar.gz is ready for distribution" | \
560           sed 'h;s/./=/g;p;x;p;x'
561 distuninstallcheck:
562         @cd $(distuninstallcheck_dir) \
563         && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
564            || { echo "ERROR: files left after uninstall:" ; \
565                 if test -n "$(DESTDIR)"; then \
566                   echo "  (check DESTDIR support)"; \
567                 fi ; \
568                 $(distuninstallcheck_listfiles) ; \
569                 exit 1; } >&2
570 distcleancheck: distclean
571         @if test '$(srcdir)' = . ; then \
572           echo "ERROR: distcleancheck can only run from a VPATH build" ; \
573           exit 1 ; \
574         fi
575         @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
576           || { echo "ERROR: files left in build directory after distclean:" ; \
577                $(distcleancheck_listfiles) ; \
578                exit 1; } >&2
579 check-am: all-am
580 check: check-recursive
581 all-am: Makefile all-multi config.h
582 installdirs: installdirs-recursive
583 installdirs-am:
584
585 install: install-recursive
586 install-exec: install-exec-recursive
587 install-data: install-data-recursive
588 uninstall: uninstall-recursive
589
590 install-am: all-am
591         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
592
593 installcheck: installcheck-recursive
594 install-strip:
595         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
596           INSTALL_STRIP_FLAG=-s \
597           `test -z '$(STRIP)' || \
598             echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
599 mostlyclean-generic:
600
601 clean-generic:
602
603 distclean-generic:
604         -rm -f $(CONFIG_CLEAN_FILES)
605
606 maintainer-clean-generic:
607         @echo "This command is intended for maintainers to use"
608         @echo "it deletes files that may require special tools to rebuild."
609 clean: clean-multi clean-recursive
610
611 clean-am: clean-generic clean-libtool mostlyclean-am
612
613 distclean: distclean-multi distclean-recursive
614         -rm -f $(am__CONFIG_DISTCLEAN_FILES)
615         -rm -f Makefile
616 distclean-am: clean-am distclean-generic distclean-hdr distclean-libtool \
617         distclean-tags
618
619 dvi: dvi-recursive
620
621 dvi-am:
622
623 info: info-recursive
624
625 info-am:
626
627 install-data-am:
628
629 install-exec-am: install-multi
630
631 install-info: install-info-recursive
632
633 install-man:
634
635 installcheck-am:
636
637 maintainer-clean: maintainer-clean-multi maintainer-clean-recursive
638         -rm -f $(am__CONFIG_DISTCLEAN_FILES)
639         -rm -rf $(top_srcdir)/autom4te.cache
640         -rm -f Makefile
641 maintainer-clean-am: distclean-am maintainer-clean-generic
642
643 mostlyclean: mostlyclean-multi mostlyclean-recursive
644
645 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
646
647 pdf: pdf-recursive
648
649 pdf-am:
650
651 ps: ps-recursive
652
653 ps-am:
654
655 uninstall-am: uninstall-info-am
656
657 uninstall-info: uninstall-info-recursive
658
659 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am all-multi check \
660         check-am clean clean-generic clean-libtool clean-multi \
661         clean-recursive ctags ctags-recursive dist dist-all dist-gzip \
662         distcheck distclean distclean-generic distclean-hdr \
663         distclean-libtool distclean-multi distclean-recursive \
664         distclean-tags distcleancheck distdir distuninstallcheck dvi \
665         dvi-am dvi-recursive info info-am info-recursive install \
666         install-am install-data install-data-am install-data-recursive \
667         install-exec install-exec-am install-exec-recursive \
668         install-info install-info-am install-info-recursive install-man \
669         install-multi install-recursive install-strip installcheck \
670         installcheck-am installdirs installdirs-am \
671         installdirs-recursive maintainer-clean maintainer-clean-generic \
672         maintainer-clean-multi maintainer-clean-recursive mostlyclean \
673         mostlyclean-generic mostlyclean-libtool mostlyclean-multi \
674         mostlyclean-recursive pdf pdf-am pdf-recursive ps ps-am \
675         ps-recursive tags tags-recursive uninstall uninstall-am \
676         uninstall-info-am uninstall-info-recursive uninstall-recursive
677
678
679 @GLIBCXX_HOSTED_TRUE@  # Possibly libmath as well...
680
681 # These rules are messy, but are hella worth it.
682 doxygen:
683         -(srcdir=`cd ${top_srcdir}; ${PWD_COMMAND}`; \
684           builddir=`${PWD_COMMAND}`; \
685           ${SHELL} ${srcdir}/docs/doxygen/run_doxygen \
686                     --mode=user $${srcdir} $${builddir})
687
688 doxygen-maint:
689         -(srcdir=`cd ${top_srcdir}; ${PWD_COMMAND}`; \
690           builddir=`${PWD_COMMAND}`; \
691           ${SHELL} ${srcdir}/docs/doxygen/run_doxygen \
692                     --mode=maint $${srcdir} $${builddir})
693
694 doxygen-man:
695         -(srcdir=`cd ${top_srcdir}; ${PWD_COMMAND}`; \
696           builddir=`${PWD_COMMAND}`; \
697           ${SHELL} ${srcdir}/docs/doxygen/run_doxygen \
698                     --mode=man $${srcdir} $${builddir})
699
700 .PHONY: doxygen doxygen-maint doxygen-man
701
702 # Handy forwarding targets.
703 check-%:
704         cd testsuite && $(MAKE) $@
705
706 # Multilib support.
707 .PHONY: all-multi mostlyclean-multi clean-multi distclean-multi \
708         maintainer-clean-multi
709
710 all-recursive: all-multi
711 install-recursive: install-multi
712 mostlyclean-recursive: mostlyclean-multi
713 clean-recursive: clean-multi
714 distclean-recursive: distclean-multi
715 maintainer-clean-recursive: maintainer-clean-multi
716
717 all-multi:
718         : $(MAKE) ; exec $(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do
719 install-multi:
720         $(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do
721 mostlyclean-multi:
722         $(MULTICLEAN) $(AM_MAKEFLAGS) DO=mostlyclean multi-clean
723 clean-multi:
724         $(MULTICLEAN) $(AM_MAKEFLAGS) DO=clean multi-clean
725 distclean-multi:
726         $(MULTICLEAN) $(AM_MAKEFLAGS) DO=distclean multi-clean
727 maintainer-clean-multi:
728         $(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean
729
730 # All the machinations with string instantiations messes up the
731 # automake-generated TAGS rule. Make a simple one here.
732 TAGS: tags-recursive $(LISP)
733 # Tell versions [3.59,3.63) of GNU make to not export all variables.
734 # Otherwise a system limit (for SysV at least) may be exceeded.
735 .NOEXPORT: