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