* m4/mkdirp.m4 (AM_PROG_MKDIR_P): Rewrite using AC_PROG_MKDIR_P.
[platform/upstream/automake.git] / Makefile.in
1 # Makefile.in generated by automake 1.9a from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006  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 VPATH = @srcdir@
18 pkgdatadir = $(datadir)/@PACKAGE@
19 pkglibdir = $(libdir)/@PACKAGE@
20 pkgincludedir = $(includedir)/@PACKAGE@
21 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
22 install_sh_DATA = $(install_sh) -c -m 644
23 install_sh_PROGRAM = $(install_sh) -c
24 install_sh_SCRIPT = $(install_sh) -c
25 INSTALL_HEADER = $(INSTALL_DATA)
26 transform = $(program_transform_name)
27 NORMAL_INSTALL = :
28 PRE_INSTALL = :
29 POST_INSTALL = :
30 NORMAL_UNINSTALL = :
31 PRE_UNINSTALL = :
32 POST_UNINSTALL = :
33 build_triplet = @build@
34 subdir = .
35 DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
36         $(srcdir)/Makefile.in $(top_srcdir)/configure AUTHORS COPYING \
37         ChangeLog INSTALL NEWS THANKS TODO
38 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
39 am__aclocal_m4_deps = $(top_srcdir)/m4/amversion.m4 \
40         $(top_srcdir)/m4/auxdir.m4 $(top_srcdir)/m4/init.m4 \
41         $(top_srcdir)/m4/install-sh.m4 $(top_srcdir)/m4/lead-dot.m4 \
42         $(top_srcdir)/m4/missing.m4 $(top_srcdir)/m4/mkdirp.m4 \
43         $(top_srcdir)/m4/options.m4 $(top_srcdir)/m4/runlog.m4 \
44         $(top_srcdir)/m4/sanity.m4 $(top_srcdir)/m4/strip.m4 \
45         $(top_srcdir)/m4/tar.m4 $(top_srcdir)/configure.ac
46 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
47         $(ACLOCAL_M4)
48 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
49  configure.lineno configure.status.lineno
50 mkinstalldirs = $(SHELL) $(top_srcdir)/lib/mkinstalldirs
51 CONFIG_CLEAN_FILES =
52 am__installdirs = "$(DESTDIR)$(bindir)"
53 binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
54 SCRIPTS = $(bin_SCRIPTS)
55 SOURCES =
56 DIST_SOURCES =
57 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
58         html-recursive info-recursive install-data-recursive \
59         install-dvi-recursive install-exec-recursive \
60         install-html-recursive install-info-recursive \
61         install-pdf-recursive install-ps-recursive install-recursive \
62         installcheck-recursive installdirs-recursive pdf-recursive \
63         ps-recursive uninstall-recursive
64 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
65   distclean-recursive maintainer-clean-recursive
66 ETAGS = etags
67 CTAGS = ctags
68 DIST_SUBDIRS = $(SUBDIRS)
69 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
70 distdir = $(PACKAGE)-$(VERSION)
71 top_distdir = $(distdir)
72 am__remove_distdir = \
73   { test ! -d $(distdir) \
74     || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
75          && rm -fr $(distdir); }; }
76 DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
77 GZIP_ENV = --best
78 distuninstallcheck_listfiles = find . -type f -print
79 distcleancheck_listfiles = find . -type f -print
80 ACLOCAL = @ACLOCAL@
81 AMTAR = @AMTAR@
82 APIVERSION = @APIVERSION@
83 AUTOCONF = @AUTOCONF@
84 AUTOHEADER = @AUTOHEADER@
85 AUTOMAKE = @AUTOMAKE@
86 AWK = @AWK@
87 CYGPATH_W = @CYGPATH_W@
88 DEFS = @DEFS@
89 ECHO_C = @ECHO_C@
90 ECHO_N = @ECHO_N@
91 ECHO_T = @ECHO_T@
92 EGREP = @EGREP@
93 FGREP = @FGREP@
94 GREP = @GREP@
95 INSTALL = @INSTALL@
96 INSTALL_DATA = @INSTALL_DATA@
97 INSTALL_PROGRAM = @INSTALL_PROGRAM@
98 INSTALL_SCRIPT = @INSTALL_SCRIPT@
99 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
100 LIBOBJS = @LIBOBJS@
101 LIBS = @LIBS@
102 LN = @LN@
103 LTLIBOBJS = @LTLIBOBJS@
104 MAKEINFO = @MAKEINFO@
105 MKDIR_P = @MKDIR_P@
106 MODIFICATION_DELAY = @MODIFICATION_DELAY@
107 PACKAGE = @PACKAGE@
108 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
109 PACKAGE_NAME = @PACKAGE_NAME@
110 PACKAGE_STRING = @PACKAGE_STRING@
111 PACKAGE_TARNAME = @PACKAGE_TARNAME@
112 PACKAGE_VERSION = @PACKAGE_VERSION@
113 PATH_SEPARATOR = @PATH_SEPARATOR@
114 PERL = @PERL@
115 SET_MAKE = @SET_MAKE@
116 SHELL = @SHELL@
117 STRIP = @STRIP@
118 TEX = @TEX@
119 VERSION = @VERSION@
120 abs_builddir = @abs_builddir@
121 abs_srcdir = @abs_srcdir@
122 abs_top_builddir = @abs_top_builddir@
123 abs_top_srcdir = @abs_top_srcdir@
124 am_AUTOCONF = @am_AUTOCONF@
125 am__leading_dot = @am__leading_dot@
126 am__tar = @am__tar@
127 am__untar = @am__untar@
128 bindir = @bindir@
129 build = @build@
130 build_alias = @build_alias@
131 build_cpu = @build_cpu@
132 build_os = @build_os@
133 build_vendor = @build_vendor@
134 builddir = @builddir@
135 datadir = @datadir@
136 datarootdir = @datarootdir@
137 docdir = @docdir@
138 dvidir = @dvidir@
139 exec_prefix = @exec_prefix@
140 host_alias = @host_alias@
141 htmldir = @htmldir@
142 includedir = @includedir@
143 infodir = @infodir@
144 install_sh = @install_sh@
145 libdir = @libdir@
146 libexecdir = @libexecdir@
147 localedir = @localedir@
148 localstatedir = @localstatedir@
149 mandir = @mandir@
150 mkdir_p = @mkdir_p@
151 oldincludedir = @oldincludedir@
152 pdfdir = @pdfdir@
153 pkgvdatadir = @pkgvdatadir@
154 prefix = @prefix@
155 program_transform_name = @program_transform_name@
156 psdir = @psdir@
157 sbindir = @sbindir@
158 sharedstatedir = @sharedstatedir@
159 srcdir = @srcdir@
160 sysconfdir = @sysconfdir@
161 target_alias = @target_alias@
162 top_builddir = @top_builddir@
163 top_srcdir = @top_srcdir@
164 SUBDIRS = . doc m4 lib tests
165 bin_SCRIPTS = automake aclocal
166 CLEANFILES = $(bin_SCRIPTS)
167 AUTOMAKESOURCES = automake.in aclocal.in
168 TAGS_FILES = $(AUTOMAKESOURCES)
169 EXTRA_DIST = \
170   ChangeLog.96 \
171   ChangeLog.98 \
172   ChangeLog.00 \
173   ChangeLog.01 \
174   ChangeLog.02 \
175   ChangeLog.03 \
176   ChangeLog.04 \
177   $(AUTOMAKESOURCES)
178
179 do_subst = sed \
180   -e 's,[@]APIVERSION[@],$(APIVERSION),g' \
181   -e 's,[@]PACKAGE[@],$(PACKAGE),g' \
182   -e 's,[@]PATH_SEPARATOR[@],$(PATH_SEPARATOR),g' \
183   -e 's,[@]PERL[@],$(PERL),g' \
184   -e 's,[@]SHELL[@],$(SHELL),g' \
185   -e 's,[@]VERSION[@],$(VERSION),g' \
186   -e 's,[@]configure_input[@],Generated from $@.in; do not edit by hand.,g' \
187   -e 's,[@]datadir[@],$(datadir),g'
188
189 WGET = wget
190 WGETSGO = $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~
191 FETCHFILES = \
192 INSTALL \
193 config-ml.in \
194 config.guess \
195 config.sub \
196 symlink-tree \
197 texinfo.tex
198
199 all: all-recursive
200
201 .SUFFIXES:
202 am--refresh:
203         @:
204 $(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
205         @for dep in $?; do \
206           case '$(am__configure_deps)' in \
207             *$$dep*) \
208               echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
209               cd $(srcdir) && $(AUTOMAKE) --gnu  \
210                 && exit 0; \
211               exit 1;; \
212           esac; \
213         done; \
214         echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  Makefile'; \
215         cd $(top_srcdir) && \
216           $(AUTOMAKE) --gnu  Makefile
217 .PRECIOUS: Makefile
218 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
219         @case '$?' in \
220           *config.status*) \
221             echo ' $(SHELL) ./config.status'; \
222             $(SHELL) ./config.status;; \
223           *) \
224             echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
225             cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
226         esac;
227
228 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
229         $(SHELL) ./config.status --recheck
230
231 $(top_srcdir)/configure:  $(am__configure_deps)
232         cd $(srcdir) && $(AUTOCONF)
233 $(ACLOCAL_M4):  $(am__aclocal_m4_deps)
234         cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
235 install-binSCRIPTS: $(bin_SCRIPTS)
236         @$(NORMAL_INSTALL)
237         test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
238         @list='$(bin_SCRIPTS)'; for p in $$list; do \
239           if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
240           if test -f $$d$$p; then \
241             f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
242             echo " $(binSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(bindir)/$$f'"; \
243             $(binSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(bindir)/$$f"; \
244           else :; fi; \
245         done
246
247 uninstall-binSCRIPTS:
248         @$(NORMAL_UNINSTALL)
249         @list='$(bin_SCRIPTS)'; for p in $$list; do \
250           f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
251           echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
252           rm -f "$(DESTDIR)$(bindir)/$$f"; \
253         done
254
255 # This directory's subdirectories are mostly independent; you can cd
256 # into them and run `make' without going through this Makefile.
257 # To change the values of `make' variables: instead of editing Makefiles,
258 # (1) if the variable is set in `config.status', edit `config.status'
259 #     (which will cause the Makefiles to be regenerated when you run `make');
260 # (2) otherwise, pass the desired values on the `make' command line.
261 $(RECURSIVE_TARGETS):
262         @failcom='exit 1'; \
263         for f in x $$MAKEFLAGS; do \
264           case $$f in \
265             *=* | --[!k]*);; \
266             *k*) failcom='fail=yes';; \
267           esac; \
268         done; \
269         dot_seen=no; \
270         target=`echo $@ | sed s/-recursive//`; \
271         list='$(SUBDIRS)'; for subdir in $$list; do \
272           echo "Making $$target in $$subdir"; \
273           if test "$$subdir" = "."; then \
274             dot_seen=yes; \
275             local_target="$$target-am"; \
276           else \
277             local_target="$$target"; \
278           fi; \
279           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
280           || eval $$failcom; \
281         done; \
282         if test "$$dot_seen" = "no"; then \
283           $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
284         fi; test -z "$$fail"
285
286 $(RECURSIVE_CLEAN_TARGETS):
287         @failcom='exit 1'; \
288         for f in x $$MAKEFLAGS; do \
289           case $$f in \
290             *=* | --[!k]*);; \
291             *k*) failcom='fail=yes';; \
292           esac; \
293         done; \
294         dot_seen=no; \
295         case "$@" in \
296           distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
297           *) list='$(SUBDIRS)' ;; \
298         esac; \
299         rev=''; for subdir in $$list; do \
300           if test "$$subdir" = "."; then :; else \
301             rev="$$subdir $$rev"; \
302           fi; \
303         done; \
304         rev="$$rev ."; \
305         target=`echo $@ | sed s/-recursive//`; \
306         for subdir in $$rev; do \
307           echo "Making $$target in $$subdir"; \
308           if test "$$subdir" = "."; then \
309             local_target="$$target-am"; \
310           else \
311             local_target="$$target"; \
312           fi; \
313           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
314           || eval $$failcom; \
315         done && test -z "$$fail"
316 tags-recursive:
317         list='$(SUBDIRS)'; for subdir in $$list; do \
318           test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
319         done
320 ctags-recursive:
321         list='$(SUBDIRS)'; for subdir in $$list; do \
322           test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
323         done
324
325 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
326         list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
327         unique=`for i in $$list; do \
328             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
329           done | \
330           $(AWK) '    { files[$$0] = 1; } \
331                END { for (i in files) print i; }'`; \
332         mkid -fID $$unique
333 tags: TAGS
334
335 TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
336                 $(TAGS_FILES) $(LISP)
337         tags=; \
338         here=`pwd`; \
339         if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
340           include_option=--etags-include; \
341           empty_fix=.; \
342         else \
343           include_option=--include; \
344           empty_fix=; \
345         fi; \
346         list='$(SUBDIRS)'; for subdir in $$list; do \
347           if test "$$subdir" = .; then :; else \
348             test ! -f $$subdir/TAGS || \
349               tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
350           fi; \
351         done; \
352         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
353         unique=`for i in $$list; do \
354             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
355           done | \
356           $(AWK) '    { files[$$0] = 1; } \
357                END { for (i in files) print i; }'`; \
358         if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
359           test -n "$$unique" || unique=$$empty_fix; \
360           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
361             $$tags $$unique; \
362         fi
363 ctags: CTAGS
364 CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
365                 $(TAGS_FILES) $(LISP)
366         tags=; \
367         here=`pwd`; \
368         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
369         unique=`for i in $$list; do \
370             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
371           done | \
372           $(AWK) '    { files[$$0] = 1; } \
373                END { for (i in files) print i; }'`; \
374         test -z "$(CTAGS_ARGS)$$tags$$unique" \
375           || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
376              $$tags $$unique
377
378 GTAGS:
379         here=`$(am__cd) $(top_builddir) && pwd` \
380           && cd $(top_srcdir) \
381           && gtags -i $(GTAGS_ARGS) $$here
382
383 distclean-tags:
384         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
385
386 distdir: $(DISTFILES)
387         $(am__remove_distdir)
388         test -d $(distdir) || mkdir $(distdir)
389         $(mkdir_p) $(distdir)/m4 $(distdir)/tests
390         @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
391         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
392         list='$(DISTFILES)'; \
393           dist_files=`for file in $$list; do echo $$file; done | \
394           sed -e "s|^$$srcdirstrip/||;t" \
395               -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
396         case $$dist_files in \
397           */*) ( cd "$(distdir)" && \
398                 $(mkdir_p) `echo "$$dist_files" | \
399                             sed -n 's,/[^/]*$$,,p' | sort -u`) ;; \
400         esac; \
401         for file in $$dist_files; do \
402           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
403           if test -d $$d/$$file; then \
404             dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
405             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
406               cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
407             fi; \
408             cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
409           else \
410             test -f $(distdir)/$$file \
411             || cp -p $$d/$$file $(distdir)/$$file \
412             || exit 1; \
413           fi; \
414         done
415         list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
416           if test "$$subdir" = .; then :; else \
417             test -d "$(distdir)/$$subdir" \
418             || $(mkdir_p) "$(distdir)/$$subdir" \
419             || exit 1; \
420             distdir=`$(am__cd) $(distdir) && pwd`; \
421             top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
422             (cd $$subdir && \
423               $(MAKE) $(AM_MAKEFLAGS) \
424                 top_distdir="$$top_distdir" \
425                 distdir="$$distdir/$$subdir" \
426                 am__remove_distdir=: \
427                 distdir) \
428               || exit 1; \
429           fi; \
430         done
431         -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
432           ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
433           ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
434           ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
435         || chmod -R a+r $(distdir)
436         @if find $(distdir) -type f -print | \
437           grep '^...................................................................................................' 1>&2; then \
438           echo 'error: the above filenames are too long' 1>&2; \
439           exit 1; \
440         else :; fi
441 dist-gzip: distdir
442         tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
443         $(am__remove_distdir)
444 dist-bzip2: distdir
445         tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
446         $(am__remove_distdir)
447
448 dist-tarZ: distdir
449         tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
450         $(am__remove_distdir)
451
452 dist-shar: distdir
453         shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
454         $(am__remove_distdir)
455
456 dist-zip: distdir
457         -rm -f $(distdir).zip
458         zip -rq $(distdir).zip $(distdir)
459         $(am__remove_distdir)
460
461 dist dist-all: distdir
462         tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
463         tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
464         $(am__remove_distdir)
465
466 # This target untars the dist file and tries a VPATH configuration.  Then
467 # it guarantees that the distribution is self-contained by making another
468 # tarfile.
469 distcheck: dist
470         case '$(DIST_ARCHIVES)' in \
471         *.tar.gz*) \
472           GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
473         *.tar.bz2*) \
474           bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
475         *.tar.Z*) \
476           uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
477         *.shar.gz*) \
478           GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
479         *.zip*) \
480           unzip $(distdir).zip ;;\
481         esac
482         chmod -R a-w $(distdir); chmod a+w $(distdir)
483         mkdir $(distdir)/_build
484         mkdir $(distdir)/_inst
485         chmod a-w $(distdir)
486         dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
487           && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
488           && cd $(distdir)/_build \
489           && ../configure --srcdir=.. --prefix="$$dc_install_base" \
490             $(DISTCHECK_CONFIGURE_FLAGS) \
491           && $(MAKE) $(AM_MAKEFLAGS) \
492           && $(MAKE) $(AM_MAKEFLAGS) dvi \
493           && $(MAKE) $(AM_MAKEFLAGS) check \
494           && $(MAKE) $(AM_MAKEFLAGS) install \
495           && $(MAKE) $(AM_MAKEFLAGS) installcheck \
496           && $(MAKE) $(AM_MAKEFLAGS) uninstall \
497           && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
498                 distuninstallcheck \
499           && chmod -R a-w "$$dc_install_base" \
500           && ({ \
501                (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
502                && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
503                && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
504                && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
505                     distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
506               } || { rm -rf "$$dc_destdir"; exit 1; }) \
507           && rm -rf "$$dc_destdir" \
508           && $(MAKE) $(AM_MAKEFLAGS) dist \
509           && rm -rf $(DIST_ARCHIVES) \
510           && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
511         $(am__remove_distdir)
512         @(echo "$(distdir) archives ready for distribution: "; \
513           list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
514           sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
515 distuninstallcheck:
516         @cd $(distuninstallcheck_dir) \
517         && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
518            || { echo "ERROR: files left after uninstall:" ; \
519                 if test -n "$(DESTDIR)"; then \
520                   echo "  (check DESTDIR support)"; \
521                 fi ; \
522                 $(distuninstallcheck_listfiles) ; \
523                 exit 1; } >&2
524 distcleancheck: distclean
525         @if test '$(srcdir)' = . ; then \
526           echo "ERROR: distcleancheck can only run from a VPATH build" ; \
527           exit 1 ; \
528         fi
529         @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
530           || { echo "ERROR: files left in build directory after distclean:" ; \
531                $(distcleancheck_listfiles) ; \
532                exit 1; } >&2
533 check-am: all-am
534 check: check-recursive
535 all-am: Makefile $(SCRIPTS)
536 installdirs: installdirs-recursive
537 installdirs-am:
538         for dir in "$(DESTDIR)$(bindir)"; do \
539           test -z "$$dir" || $(mkdir_p) "$$dir"; \
540         done
541 install: install-recursive
542 install-exec: install-exec-recursive
543 install-data: install-data-recursive
544 uninstall: uninstall-recursive
545
546 install-am: all-am
547         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
548
549 installcheck: installcheck-recursive
550 install-strip:
551         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
552           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
553           `test -z '$(STRIP)' || \
554             echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
555 mostlyclean-generic:
556
557 clean-generic:
558         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
559
560 distclean-generic:
561         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
562
563 maintainer-clean-generic:
564         @echo "This command is intended for maintainers to use"
565         @echo "it deletes files that may require special tools to rebuild."
566 clean: clean-recursive
567
568 clean-am: clean-generic mostlyclean-am
569
570 distclean: distclean-recursive
571         -rm -f $(am__CONFIG_DISTCLEAN_FILES)
572         -rm -f Makefile
573 distclean-am: clean-am distclean-generic distclean-tags
574
575 dvi: dvi-recursive
576
577 dvi-am:
578
579 html: html-recursive
580
581 info: info-recursive
582
583 info-am:
584
585 install-data-am:
586
587 install-dvi: install-dvi-recursive
588
589 install-exec-am: install-binSCRIPTS
590         @$(NORMAL_INSTALL)
591         $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
592
593 install-html: install-html-recursive
594
595 install-info: install-info-recursive
596
597 install-man:
598
599 install-pdf: install-pdf-recursive
600
601 install-ps: install-ps-recursive
602
603 installcheck-am:
604
605 maintainer-clean: maintainer-clean-recursive
606         -rm -f $(am__CONFIG_DISTCLEAN_FILES)
607         -rm -rf $(top_srcdir)/autom4te.cache
608         -rm -f Makefile
609 maintainer-clean-am: distclean-am maintainer-clean-generic
610
611 mostlyclean: mostlyclean-recursive
612
613 mostlyclean-am: mostlyclean-generic
614
615 pdf: pdf-recursive
616
617 pdf-am:
618
619 ps: ps-recursive
620
621 ps-am:
622
623 uninstall-am: uninstall-binSCRIPTS
624         @$(NORMAL_INSTALL)
625         $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
626
627 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
628         install-exec-am install-strip uninstall-am
629
630 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
631         all all-am am--refresh check check-am clean clean-generic \
632         ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
633         dist-shar dist-tarZ dist-zip distcheck distclean \
634         distclean-generic distclean-tags distcleancheck distdir \
635         distuninstallcheck dvi dvi-am html html-am info info-am \
636         install install-am install-binSCRIPTS install-data \
637         install-data-am install-dvi install-dvi-am install-exec \
638         install-exec-am install-exec-hook install-html install-html-am \
639         install-info install-info-am install-man install-pdf \
640         install-pdf-am install-ps install-ps-am install-strip \
641         installcheck installcheck-am installdirs installdirs-am \
642         maintainer-clean maintainer-clean-generic mostlyclean \
643         mostlyclean-generic pdf pdf-am ps ps-am tags tags-recursive \
644         uninstall uninstall-am uninstall-binSCRIPTS uninstall-hook
645
646
647 install-exec-hook:
648         @$(POST_INSTALL)
649         @for p in $(bin_SCRIPTS); do \
650           f="`echo $$p|sed '$(transform)'`"; \
651           fv="$$f-$(APIVERSION)"; \
652           rm -f $(DESTDIR)$(bindir)/$$fv; \
653           echo " $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv"; \
654           $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv; \
655         done
656
657 uninstall-hook:
658         @for p in $(bin_SCRIPTS); do \
659           f="`echo $$p|sed '$(transform)'`"; \
660           fv="$$f-$(APIVERSION)"; \
661           rm -f $(DESTDIR)$(bindir)/$$fv; \
662         done
663
664 automake: automake.in
665 aclocal: aclocal.in
666 automake aclocal: Makefile
667         rm -f $@ $@.tmp
668         $(do_subst) $(srcdir)/$@.in >$@.tmp
669         chmod +x $@.tmp
670         chmod a-w $@.tmp
671         mv -f $@.tmp $@
672
673 INSTALL: lib/INSTALL
674         cp $(srcdir)/lib/INSTALL $@
675
676 ################################################################
677
678 # Some simple checks, and then ordinary check.  These are only really
679 # guaranteed to work on my machine.
680 maintainer-check: automake aclocal
681         @if test `diff $(srcdir)/automake.in automake | wc -l` -ne 22; then \
682           echo "found too many diffs between automake.in and automake"; 1>&2; \
683           diff -c $(srcdir)/automake.in automake; \
684           exit 1; \
685         fi
686         perllibdir="./lib$(PATH_SEPARATOR)$(srcdir)/lib" $(PERL) -c -w automake
687         perllibdir="./lib$(PATH_SEPARATOR)$(srcdir)/lib" $(PERL) -c -w aclocal
688         @if grep -F '$${' $(srcdir)/lib/am/[a-z]*.am | \
689                grep -F -v '$$$$'; then \
690           echo "Found too many uses of '\$${' in the lines above." 1>&2; \
691           exit 1;                               \
692         else :; fi
693         @if grep -v '^#' $(srcdir)/lib/am/[a-z]*.am $(srcdir)/tests/*.test | \
694             grep -E '\<rm ([^-]|\-[^f ]*\>)'; then \
695           echo "Suspicious 'rm' invocation." 1>&2; \
696           exit 1;                               \
697         else :; fi
698         @if grep 'for .* in \$$(' $(srcdir)/lib/am/[a-z]*.am; then \
699           echo 'Use "list=$$(mumble); for var in $$$$list".' 1>&2 ; \
700           exit 1; \
701         else :; fi
702         @if grep -n 'mkinstalldirs' $(srcdir)/lib/am/[a-z]*.am | \
703               grep -F -v '$$(mkinstalldirs)'; then \
704           echo "Found incorrect use of mkinstalldirs in the lines above" 1>&2; \
705           exit 1; \
706         else :; fi
707         @if grep -E -n '\((PRE|NORMAL|POST)_(|UN)INSTALL\)' \
708                  $(srcdir)/lib/am/[a-z]*.am | \
709               grep -v ':##' | grep -v ':        @\$$('; then \
710           echo "Found incorrect use of PRE/NORMAL/POST_INSTALL/UNINSTALL in the lines above" 1>&2; \
711           exit 1; \
712         else :; fi
713         @if grep -n -w 'undef ' $(srcdir)/automake.in | \
714               grep -F -v 'undef $$/'; then \
715           echo "Found undef in automake.in; use delete instead" 1>&2; \
716           exit 1; \
717         fi
718         @if grep -n 'split (/ /' $(srcdir)/automake.in; then \
719           echo "Found bad split in the lines above." 1>&2; \
720           exit 1; \
721         fi
722         @if grep -n '^[^#]*` *cd ' $(srcdir)/automake.in \
723               $(srcdir)/lib/am/*.am; then \
724           echo "Consider using $$$$(am__cd) in the line above." 1>&2; \
725           exit 1; \
726         fi
727         @if grep -Hn '[^@_A-Za-z0-9][_A-Za-z0-9]*[^) ] *= *@_' $(srcdir)/automake.in; then \
728           echo "Using @_ in a scalar context in the lines above." 1>&2; \
729           exit 1; \
730         fi
731         @if grep '^[ \t]*local *(' $(srcdir)/automake.in; then \
732           echo "Don't use \`local' with parens: use several \`local' above." >&2; \
733           exit 1; \
734         fi
735         @if grep -v '^[ \t]*local \$$_;' $(srcdir)/automake.in | \
736                 grep '^[ \t]*local [^*]'; then \
737           echo "Please avoid \`local'." 1>&2; \
738           exit 1; \
739         fi
740         @if grep '@AMDEP''_TRUE@' $(srcdir)/automake.in; then \
741           echo "Don't put AMDEP_TRUE substitution in automake.in" 1>&2; \
742           exit 1; \
743         fi
744         @if grep '^[^#].*(MAKE) ' $(srcdir)/lib/am/*.am $(srcdir)/automake.in |\
745                 grep -v 'AM_MAKEFLAGS'; then \
746           echo 'Use $$(MAKE) $$(AM_MAKEFLAGS).' 1>&2; \
747           exit 1; \
748         fi
749         @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[      ]*make'; then \
750           echo 'Do not run "make" in the above tests.  Use "$$MAKE" instead.' 1>&2; \
751           exit 1; \
752         fi
753         @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[      ]*autoconf'; then \
754           echo 'Do not run "autoconf" in the above tests.  Use "$$AUTOCONF" instead.' 1>&2; \
755           exit 1; \
756         fi
757         @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[      ]*autoupdate'; then \
758           echo 'Do not run "autoupdate" in the above tests.  Use "$$AUTOUPDATE" instead.' 1>&2; \
759           exit 1; \
760         fi
761         @if grep -v '^#' $(srcdir)/tests/*.test | grep -E ':[   ]*automake([^:]|$$)'; then \
762           echo 'Do not run "automake" in the above tests.  Use "$$AUTOMAKE" instead.' 1>&2;  \
763           exit 1; \
764         fi
765         @if grep -v '^#' $(srcdir)/tests/*.test | grep '\$$AUTOMAKE.*&&.*exit'; then \
766           echo 'Use AUTOMAKE_fails + grep to catch automake failures in the above tests.' 1>&2;  \
767           exit 1; \
768         fi
769         @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[      ]*aclocal'; then \
770           echo 'Do not run "aclocal" in the above tests.  Use "$$ACLOCAL" instead.' 1>&2;  \
771           exit 1; \
772         fi
773         @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[      ]*perl'; then \
774           echo 'Do not run "perl" in the above tests.  Use "$$PERL" instead.' 1>&2; \
775           exit 1; \
776         fi
777         @for file in $(srcdir)/tests/*.test; do \
778           if out=`sed -n '/defs/,$${/required=/p;}' $$file`; test -n "$$out"; then \
779             echo 'Do not set "required" after sourcing "defs" in '"$$file: $$out" 1>&2; \
780             exit 1; \
781           fi; \
782         done
783         @if grep -E '\$$MAKE .*(SHELL=.*=|=.*SHELL=)' $(srcdir)/tests/*.test; then \
784           echo 'Rewrite "$$MAKE foo=bar SHELL=$$SHELL" as "foo=bar $$MAKE -e SHELL=$$SHELL"' 1>&2; \
785           echo ' in the above lines, it is more portable.' 1>&2; \
786           exit 1; \
787         fi
788         @if grep -v SHELL $(srcdir)/tests/*.test | grep '\$$MAKE .*=' ; then \
789           echo 'Rewrite "$$MAKE foo=bar" as "foo=bar $$MAKE -e" in the above lines,' 1>&2; \
790           echo 'it is more portable.' 1>&2; \
791           exit 1; \
792         fi
793         @if grep 'SHELL=.*\$$MAKE' $(srcdir)/tests/*.test; then \
794           echo '$$MAKE ignores the SHELL envvar, use "$$MAKE SHELL=$$SHELL" in' 1>&2; \
795           echo 'the above lines.' 1>&2; \
796           exit 1; \
797         fi
798         @if grep -E '\bsleep +[12345]\b' $(srcdir)/tests/*.test; then \
799           echo 'Do not use "sleep x" in the above tests.  Use "$$sleep" instead.' 1>&2; \
800           exit 1; \
801         fi
802         @if grep -E '\b[ef]grep\b' $(srcdir)/tests/*.test ; then \
803           echo 'Do not use egrep or fgrep in test cases.  Use $$FGREP or $$EGREP.' 1>&2; \
804           exit 1; \
805         fi
806         @if grep -E '\b[ef]grep\b' $(srcdir)/lib/am/*.am $(srcdir)/m4/*.m4; then \
807           echo 'Do not use egrep or fgrep in the above files, they are not portable.' 1>&2; \
808           exit 1; \
809         fi
810         @if test `grep -E '^[^#]*@[A-Za-z_0-9]+@' aclocal | wc -l` -ne 0; then \
811           echo "Unresolved @...@ substitution in aclocal" 1>&2; \
812           exit 1; \
813         fi
814         @if test `grep -E '^[^#]*@[A-Za-z_0-9]+@' automake | wc -l` -ne 0; then \
815           echo "Unresolved @...@ substitution in automake" 1>&2; \
816           exit 1; \
817         fi; \
818         if grep -E "[^\'\"]\\\$$\(DESTDIR" $(srcdir)/lib/am/*.am; then \
819           echo 'Suspicious unquoted DESTDIR uses.' 1>&2 ; \
820           exit 1; \
821         fi
822         @if grep '      ' $(srcdir)/doc/automake.texi; then \
823           echo 'Do not use tabs in the manual.' 1>&2; \
824           exit 1; \
825         fi
826         @if grep -E '([^@]|^)@([         ]|$$)' $(srcdir)/doc/automake.texi; \
827         then \
828           echo 'Unescaped @.' 1>&2; \
829           exit 1; \
830         fi
831
832 cvs-dist: maintainer-check
833         @if (clcommit --version)>/dev/null 2>/dev/null; then :; else \
834           echo "Get clcommit from module cvs-utils on Savannah."; \
835           exit 1; \
836         fi
837         @if sed 1q $(srcdir)/NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
838           echo "NEWS not updated; not releasing" 1>&2; \
839           exit 1;                               \
840         fi
841         $(MAKE) distcheck
842         cd $(srcdir) && clcommit && \
843           cvs -q tag -c `echo "Release-$(VERSION)" | sed 's/\./-/g'`
844
845 cvs-release: cvs-dist
846         case $(VERSION) in \
847           *[a-z]) dest=alpha;; \
848           *)      dest=ftp;; \
849         esac; \
850         $(srcdir)/lib/gnupload $(GNUPLOADFLAGS) \
851           --to sources.redhat.com:~ftp/pub/automake \
852           --to $$dest.gnu.org:automake $(DIST_ARCHIVES)
853
854 cvs-diff:
855         thisver=`echo "Release-$(VERSION)" | sed 's/\./-/g'`; \
856         if test -z "$$OLDVERSION"; then \
857           prevno=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
858         else prevno="$$OLDVERSION"; fi; \
859         prevver=Release-`echo $$prevno | sed 's/\./-/g'`; \
860         cvs -f rdiff -c -r $$prevver -r $$thisver $(PACKAGE) \
861             > $(PACKAGE)-$$prevno-$(VERSION).diff
862
863 path-check: distdir
864         (cd $(distdir) && \
865           find . -print | xargs pathchk -p); \
866           status=$$?; \
867           chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir); \
868           exit $$status
869
870 fetch:
871         rm -rf Fetchdir > /dev/null 2>&1
872         mkdir Fetchdir
873         (cd Fetchdir && \
874         $(WGETSGO)/config/config/config.guess; \
875         $(WGETSGO)/config/config/config.sub; \
876         $(WGETSGO)/texinfo/texinfo/doc/texinfo.tex; \
877         $(WGETSGO)/autoconf/autoconf/INSTALL; \
878         $(WGETSGO)/gcc/gcc/config-ml.in; \
879         $(WGETSGO)/gcc/gcc/symlink-tree)
880         @stat=0; for file in $(FETCHFILES); do \
881           if diff -u $(srcdir)/lib/$$file Fetchdir/$$file \
882                   >>Fetchdir/update.patch 2>/dev/null; then :; \
883           else \
884             stat=1; \
885             echo "Updating $(srcdir)/lib/$$file..."; \
886             cp Fetchdir/$$file $(srcdir)/lib/$$file; \
887           fi; \
888         done; \
889         test $$stat = 0 || \
890           echo "See Fetchdir/update.patch for a log of the changes."; \
891         exit $$stat
892 # Tell versions [3.59,3.63) of GNU make to not export all variables.
893 # Otherwise a system limit (for SysV at least) may be exceeded.
894 .NOEXPORT: