Merge branch 'maint'
[platform/upstream/automake.git] / Makefile.in
1 # Makefile.in generated by automake 1.11a from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
6 # Foundation, Inc.
7 # This Makefile.in is free software; the Free Software Foundation
8 # gives unlimited permission to copy and/or distribute it,
9 # with or without modifications, as long as this notice is preserved.
10
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14 # PARTICULAR PURPOSE.
15
16 @SET_MAKE@
17
18 # Copyright (C) 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004,
19 # 2005, 2006, 2007, 2008, 2009, 2010  Free Software Foundation, Inc.
20
21 # This program is free software; you can redistribute it and/or modify
22 # it under the terms of the GNU General Public License as published by
23 # the Free Software Foundation; either version 2, or (at your option)
24 # any later version.
25
26 # This program is distributed in the hope that it will be useful,
27 # but WITHOUT ANY WARRANTY; without even the implied warranty of
28 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
29 # GNU General Public License for more details.
30
31 # You should have received a copy of the GNU General Public License
32 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
33
34 VPATH = @srcdir@
35 pkgdatadir = $(datadir)/@PACKAGE@
36 pkgincludedir = $(includedir)/@PACKAGE@
37 pkglibdir = $(libdir)/@PACKAGE@
38 pkglibexecdir = $(libexecdir)/@PACKAGE@
39 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
40 install_sh_DATA = $(install_sh) -c -m 644
41 install_sh_PROGRAM = $(install_sh) -c
42 install_sh_SCRIPT = $(install_sh) -c
43 INSTALL_HEADER = $(INSTALL_DATA)
44 transform = $(program_transform_name)
45 NORMAL_INSTALL = :
46 PRE_INSTALL = :
47 POST_INSTALL = :
48 NORMAL_UNINSTALL = :
49 PRE_UNINSTALL = :
50 POST_UNINSTALL = :
51 build_triplet = @build@
52 subdir = .
53 DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
54         $(srcdir)/Makefile.in $(top_srcdir)/configure AUTHORS COPYING \
55         ChangeLog INSTALL NEWS THANKS TODO
56 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
57 am__aclocal_m4_deps = $(top_srcdir)/m4/amversion.m4 \
58         $(top_srcdir)/m4/auxdir.m4 $(top_srcdir)/m4/init.m4 \
59         $(top_srcdir)/m4/install-sh.m4 $(top_srcdir)/m4/lead-dot.m4 \
60         $(top_srcdir)/m4/missing.m4 $(top_srcdir)/m4/mkdirp.m4 \
61         $(top_srcdir)/m4/options.m4 $(top_srcdir)/m4/runlog.m4 \
62         $(top_srcdir)/m4/sanity.m4 $(top_srcdir)/m4/silent.m4 \
63         $(top_srcdir)/m4/strip.m4 $(top_srcdir)/m4/substnot.m4 \
64         $(top_srcdir)/m4/tar.m4 $(top_srcdir)/configure.ac
65 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
66         $(ACLOCAL_M4)
67 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
68  configure.lineno config.status.lineno
69 mkinstalldirs = $(SHELL) $(top_srcdir)/lib/mkinstalldirs
70 CONFIG_CLEAN_FILES =
71 CONFIG_CLEAN_VPATH_FILES =
72 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
73 am__vpath_adj = case $$p in \
74     $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
75     *) f=$$p;; \
76   esac;
77 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
78 am__install_max = 40
79 am__nobase_strip_setup = \
80   srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
81 am__nobase_strip = \
82   for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
83 am__nobase_list = $(am__nobase_strip_setup); \
84   for p in $$list; do echo "$$p $$p"; done | \
85   sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
86   $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
87     if (++n[$$2] == $(am__install_max)) \
88       { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
89     END { for (dir in files) print dir, files[dir] }'
90 am__base_list = \
91   sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
92   sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
93 am__installdirs = "$(DESTDIR)$(bindir)"
94 SCRIPTS = $(bin_SCRIPTS)
95 AM_V_GEN = $(am__v_GEN_$(V))
96 am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
97 am__v_GEN_0 = @echo "  GEN     " $@;
98 AM_V_at = $(am__v_at_$(V))
99 am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
100 am__v_at_0 = @
101 SOURCES =
102 DIST_SOURCES =
103 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
104         html-recursive info-recursive install-data-recursive \
105         install-dvi-recursive install-exec-recursive \
106         install-html-recursive install-info-recursive \
107         install-pdf-recursive install-ps-recursive install-recursive \
108         installcheck-recursive installdirs-recursive pdf-recursive \
109         ps-recursive uninstall-recursive
110 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
111   distclean-recursive maintainer-clean-recursive
112 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
113         $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
114         cscope distdir dist dist-all distcheck
115 ETAGS = etags
116 CTAGS = ctags
117 CSCOPE = cscope
118 DIST_SUBDIRS = $(SUBDIRS)
119 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
120 distdir = $(PACKAGE)-$(VERSION)
121 top_distdir = $(distdir)
122 am__remove_distdir = \
123   { test ! -d "$(distdir)" \
124     || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
125          && rm -fr "$(distdir)"; }; }
126 am__post_remove_distdir = $(am__remove_distdir)
127 am__relativize = \
128   dir0=`pwd`; \
129   sed_first='s,^\([^/]*\)/.*$$,\1,'; \
130   sed_rest='s,^[^/]*/*,,'; \
131   sed_last='s,^.*/\([^/]*\)$$,\1,'; \
132   sed_butlast='s,/*[^/]*$$,,'; \
133   while test -n "$$dir1"; do \
134     first=`echo "$$dir1" | sed -e "$$sed_first"`; \
135     if test "$$first" != "."; then \
136       if test "$$first" = ".."; then \
137         dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
138         dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
139       else \
140         first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
141         if test "$$first2" = "$$first"; then \
142           dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
143         else \
144           dir2="../$$dir2"; \
145         fi; \
146         dir0="$$dir0"/"$$first"; \
147       fi; \
148     fi; \
149     dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
150   done; \
151   reldir="$$dir2"
152 DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
153 GZIP_ENV = --best
154 DIST_TARGETS = dist-bzip2 dist-gzip
155 distuninstallcheck_listfiles = find . -type f -print
156 distcleancheck_listfiles = find . -type f -print
157 ACLOCAL = @ACLOCAL@
158 AMTAR = @AMTAR@
159 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
160 APIVERSION = @APIVERSION@
161 AUTOCONF = @AUTOCONF@
162 AUTOHEADER = @AUTOHEADER@
163 AUTOMAKE = @AUTOMAKE@
164 AWK = @AWK@
165 CYGPATH_W = @CYGPATH_W@
166 DEFS = @DEFS@
167 ECHO_C = @ECHO_C@
168 ECHO_N = @ECHO_N@
169 ECHO_T = @ECHO_T@
170 EGREP = @EGREP@
171 FGREP = @FGREP@
172 GREP = @GREP@
173 HELP2MAN = @HELP2MAN@
174 INSTALL = @INSTALL@
175 INSTALL_DATA = @INSTALL_DATA@
176 INSTALL_PROGRAM = @INSTALL_PROGRAM@
177 INSTALL_SCRIPT = @INSTALL_SCRIPT@
178 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
179 LIBOBJS = @LIBOBJS@
180 LIBS = @LIBS@
181 LN = @LN@
182 LTLIBOBJS = @LTLIBOBJS@
183 MAKEINFO = @MAKEINFO@
184 MKDIR_P = @MKDIR_P@
185 MODIFICATION_DELAY = @MODIFICATION_DELAY@
186 PACKAGE = @PACKAGE@
187 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
188 PACKAGE_NAME = @PACKAGE_NAME@
189 PACKAGE_STRING = @PACKAGE_STRING@
190 PACKAGE_TARNAME = @PACKAGE_TARNAME@
191 PACKAGE_URL = @PACKAGE_URL@
192 PACKAGE_VERSION = @PACKAGE_VERSION@
193 PATH_SEPARATOR = @PATH_SEPARATOR@
194 PERL = @PERL@
195 PERL_THREADS = @PERL_THREADS@
196 SET_MAKE = @SET_MAKE@
197 SHELL = @SHELL@
198 STRIP = @STRIP@
199 TEX = @TEX@
200 VERSION = @VERSION@
201 abs_builddir = @abs_builddir@
202 abs_srcdir = @abs_srcdir@
203 abs_top_builddir = @abs_top_builddir@
204 abs_top_srcdir = @abs_top_srcdir@
205 am_AUTOCONF = @am_AUTOCONF@
206 am_AUTOHEADER = @am_AUTOHEADER@
207 am_AUTOM4TE = @am_AUTOM4TE@
208 am_AUTORECONF = @am_AUTORECONF@
209 am_AUTOUPDATE = @am_AUTOUPDATE@
210 am__leading_dot = @am__leading_dot@
211 am__tar = @am__tar@
212 am__untar = @am__untar@
213 bindir = @bindir@
214 build = @build@
215 build_alias = @build_alias@
216 build_cpu = @build_cpu@
217 build_os = @build_os@
218 build_vendor = @build_vendor@
219 builddir = @builddir@
220 datadir = @datadir@
221 datarootdir = @datarootdir@
222 docdir = @docdir@
223 dvidir = @dvidir@
224 exec_prefix = @exec_prefix@
225 host_alias = @host_alias@
226 htmldir = @htmldir@
227 includedir = @includedir@
228 infodir = @infodir@
229 install_sh = @install_sh@
230 libdir = @libdir@
231 libexecdir = @libexecdir@
232 localedir = @localedir@
233 localstatedir = @localstatedir@
234 mandir = @mandir@
235 mkdir_p = @mkdir_p@
236 oldincludedir = @oldincludedir@
237 pdfdir = @pdfdir@
238 pkgvdatadir = @pkgvdatadir@
239 prefix = @prefix@
240 program_transform_name = @program_transform_name@
241 psdir = @psdir@
242 sbindir = @sbindir@
243 sh_errexit_works = @sh_errexit_works@
244 sharedstatedir = @sharedstatedir@
245 srcdir = @srcdir@
246 sysconfdir = @sysconfdir@
247 target_alias = @target_alias@
248 top_build_prefix = @top_build_prefix@
249 top_builddir = @top_builddir@
250 top_srcdir = @top_srcdir@
251 SUBDIRS = lib . doc m4 tests
252 bin_SCRIPTS = automake aclocal
253 CLEANFILES = $(bin_SCRIPTS)
254 AUTOMAKESOURCES = automake.in aclocal.in
255 TAGS_FILES = $(AUTOMAKESOURCES)
256 EXTRA_DIST = \
257   ChangeLog.96 \
258   ChangeLog.98 \
259   ChangeLog.00 \
260   ChangeLog.01 \
261   ChangeLog.02 \
262   ChangeLog.03 \
263   ChangeLog.04 \
264   ChangeLog.09 \
265   bootstrap \
266   $(AUTOMAKESOURCES)
267
268 do_subst = sed \
269   -e 's,[@]APIVERSION[@],$(APIVERSION),g' \
270   -e 's,[@]PACKAGE[@],$(PACKAGE),g' \
271   -e 's,[@]PACKAGE_BUGREPORT[@],$(PACKAGE_BUGREPORT),g' \
272   -e 's,[@]PACKAGE_URL[@],$(PACKAGE_URL),g' \
273   -e 's,[@]PATH_SEPARATOR[@],$(PATH_SEPARATOR),g' \
274   -e 's,[@]PERL[@],$(PERL),g' \
275   -e 's,[@]PERL_THREADS[@],$(PERL_THREADS),g' \
276   -e 's,[@]SHELL[@],$(SHELL),g' \
277   -e 's,[@]am_AUTOCONF[@],$(am_AUTOCONF),g' \
278   -e 's,[@]am_AUTOM4TE[@],$(am_AUTOM4TE),g' \
279   -e 's,[@]VERSION[@],$(VERSION),g' \
280   -e 's,[@]configure_input[@],Generated from $@.in; do not edit by hand.,g' \
281   -e 's,[@]datadir[@],$(datadir),g'
282
283 TEST_SUBDIRS = lib/Automake/tests tests
284
285 # Perl coverage statistics.
286 PERL_COVERAGE_DB = $(abs_top_builddir)/cover_db
287 PERL_COVERAGE_FLAGS = -MDevel::Cover=-db,$(PERL_COVERAGE_DB),-silent,on,-summary,off
288 PERL_COVER = cover
289
290 # Some simple checks, and then ordinary check.  These are only really
291 # guaranteed to work on my machine.
292 syntax_check_rules = \
293 sc_test_names \
294 sc_diff_automake_in_automake \
295 sc_perl_syntax \
296 sc_no_brace_variable_expansions \
297 sc_rm_minus_f \
298 sc_no_for_variable_in_macro \
299 sc_mkinstalldirs \
300 sc_pre_normal_post_install_uninstall \
301 sc_perl_no_undef \
302 sc_perl_no_split_regex_space \
303 sc_cd_in_backquotes \
304 sc_cd_relative_dir \
305 sc_perl_at_uscore_in_scalar_context \
306 sc_perl_local_no_parens \
307 sc_perl_local \
308 sc_AMDEP_TRUE_in_automake_in \
309 sc_tests_make_without_am_makeflags \
310 sc_tests_plain_make \
311 sc_tests_plain_autoconf \
312 sc_tests_plain_autoupdate \
313 sc_tests_plain_automake \
314 sc_tests_here_document_format \
315 sc_tests_Exit_not_exit \
316 sc_tests_automake_fails \
317 sc_tests_plain_aclocal \
318 sc_tests_plain_perl \
319 sc_tests_required_after_defs \
320 sc_tests_overriding_macros_on_cmdline \
321 sc_tests_plain_sleep \
322 sc_tests_plain_egrep_fgrep \
323 sc_tests_PATH_SEPARATOR \
324 sc_tests_logs_duplicate_prefixes \
325 sc_tests_makefile_variable_order \
326 sc_mkdir_p \
327 sc_perl_at_substs \
328 sc_unquoted_DESTDIR \
329 sc_tabs_in_texi \
330 sc_at_in_texi
331
332 m4_builtins = \
333   __gnu__ \
334   __unix__ \
335   bpatsubst \
336   bregexp \
337   builtin \
338   changecom \
339   changequote \
340   changeword \
341   debugfile \
342   debugmode \
343   decr \
344   define \
345   defn \
346   divert \
347   divnum \
348   dnl \
349   dumpdef \
350   errprint \
351   esyscmd \
352   eval \
353   format \
354   ifdef \
355   ifelse \
356   include \
357   incr \
358   index \
359   indir \
360   len \
361   m4exit \
362   m4wrap \
363   maketemp \
364   mkstemp \
365   patsubst \
366   popdef \
367   pushdef \
368   regexp \
369   shift \
370   sinclude \
371   substr \
372   symbols \
373   syscmd \
374   sysval \
375   traceoff \
376   traceon \
377   translit \
378   undefine \
379   undivert
380
381 WGET = wget
382 WGET_SV_CVS = $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/
383 WGET_SV_GIT_CF = $(WGET) 'http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;hb=HEAD;f='
384 WGET_SV_GIT_AC = $(WGET) 'http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=blob_plain;hb=HEAD;f='
385 WGET_SV_GIT_GL = $(WGET) 'http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob_plain;hb=HEAD;f='
386 WGET_GCC = $(WGET) 'http://gcc.gnu.org/viewcvs/*checkout*/trunk/'
387 FETCHFILES = \
388 INSTALL \
389 config-ml.in \
390 config.guess \
391 config.sub \
392 symlink-tree \
393 texinfo.tex
394
395 all: all-recursive
396
397 .SUFFIXES:
398 am--refresh:
399         @:
400 $(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
401         @for dep in $?; do \
402           case '$(am__configure_deps)' in \
403             *$$dep*) \
404               echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
405               $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
406                 && exit 0; \
407               exit 1;; \
408           esac; \
409         done; \
410         echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
411         $(am__cd) $(top_srcdir) && \
412           $(AUTOMAKE) --gnu Makefile
413 .PRECIOUS: Makefile
414 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
415         @case '$?' in \
416           *config.status*) \
417             echo ' $(SHELL) ./config.status'; \
418             $(SHELL) ./config.status;; \
419           *) \
420             echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
421             cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
422         esac;
423
424 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
425         $(SHELL) ./config.status --recheck
426
427 $(top_srcdir)/configure:  $(am__configure_deps)
428         $(am__cd) $(srcdir) && $(AUTOCONF)
429 $(ACLOCAL_M4):  $(am__aclocal_m4_deps)
430         $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
431 $(am__aclocal_m4_deps):
432 install-binSCRIPTS: $(bin_SCRIPTS)
433         @$(NORMAL_INSTALL)
434         test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
435         @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \
436         for p in $$list; do \
437           if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
438           if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
439         done | \
440         sed -e 'p;s,.*/,,;n' \
441             -e 'h;s|.*|.|' \
442             -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
443         $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
444           { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
445             if ($$2 == $$4) { files[d] = files[d] " " $$1; \
446               if (++n[d] == $(am__install_max)) { \
447                 print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
448             else { print "f", d "/" $$4, $$1 } } \
449           END { for (d in files) print "f", d, files[d] }' | \
450         while read type dir files; do \
451              if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
452              test -z "$$files" || { \
453                echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \
454                $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
455              } \
456         ; done
457
458 uninstall-binSCRIPTS:
459         @$(NORMAL_UNINSTALL)
460         @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \
461         files=`for p in $$list; do echo "$$p"; done | \
462                sed -e 's,.*/,,;$(transform)'`; \
463         test -n "$$list" || exit 0; \
464         echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
465         cd "$(DESTDIR)$(bindir)" && rm -f $$files
466
467 # This directory's subdirectories are mostly independent; you can cd
468 # into them and run `make' without going through this Makefile.
469 # To change the values of `make' variables: instead of editing Makefiles,
470 # (1) if the variable is set in `config.status', edit `config.status'
471 #     (which will cause the Makefiles to be regenerated when you run `make');
472 # (2) otherwise, pass the desired values on the `make' command line.
473 $(RECURSIVE_TARGETS):
474         @fail= failcom='exit 1'; \
475         for f in x $$MAKEFLAGS; do \
476           case $$f in \
477             *=* | --[!k]*);; \
478             *k*) failcom='fail=yes';; \
479           esac; \
480         done; \
481         dot_seen=no; \
482         target=`echo $@ | sed s/-recursive//`; \
483         list='$(SUBDIRS)'; for subdir in $$list; do \
484           echo "Making $$target in $$subdir"; \
485           if test "$$subdir" = "."; then \
486             dot_seen=yes; \
487             local_target="$$target-am"; \
488           else \
489             local_target="$$target"; \
490           fi; \
491           ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
492           || eval $$failcom; \
493         done; \
494         if test "$$dot_seen" = "no"; then \
495           $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
496         fi; test -z "$$fail"
497
498 $(RECURSIVE_CLEAN_TARGETS):
499         @fail= failcom='exit 1'; \
500         for f in x $$MAKEFLAGS; do \
501           case $$f in \
502             *=* | --[!k]*);; \
503             *k*) failcom='fail=yes';; \
504           esac; \
505         done; \
506         dot_seen=no; \
507         case "$@" in \
508           distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
509           *) list='$(SUBDIRS)' ;; \
510         esac; \
511         rev=''; for subdir in $$list; do \
512           if test "$$subdir" = "."; then :; else \
513             rev="$$subdir $$rev"; \
514           fi; \
515         done; \
516         rev="$$rev ."; \
517         target=`echo $@ | sed s/-recursive//`; \
518         for subdir in $$rev; do \
519           echo "Making $$target in $$subdir"; \
520           if test "$$subdir" = "."; then \
521             local_target="$$target-am"; \
522           else \
523             local_target="$$target"; \
524           fi; \
525           ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
526           || eval $$failcom; \
527         done && test -z "$$fail"
528 tags-recursive:
529         list='$(SUBDIRS)'; for subdir in $$list; do \
530           test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
531         done
532 ctags-recursive:
533         list='$(SUBDIRS)'; for subdir in $$list; do \
534           test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
535         done
536 cscopelist-recursive:
537         list='$(SUBDIRS)'; for subdir in $$list; do \
538           test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) cscopelist); \
539         done
540
541 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
542         list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
543         unique=`for i in $$list; do \
544             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
545           done | \
546           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
547               END { if (nonempty) { for (i in files) print i; }; }'`; \
548         mkid -fID $$unique
549 tags: TAGS
550
551 TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
552                 $(TAGS_FILES) $(LISP)
553         set x; \
554         here=`pwd`; \
555         if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
556           include_option=--etags-include; \
557           empty_fix=.; \
558         else \
559           include_option=--include; \
560           empty_fix=; \
561         fi; \
562         list='$(SUBDIRS)'; for subdir in $$list; do \
563           if test "$$subdir" = .; then :; else \
564             test ! -f $$subdir/TAGS || \
565               set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
566           fi; \
567         done; \
568         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
569         unique=`for i in $$list; do \
570             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
571           done | \
572           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
573               END { if (nonempty) { for (i in files) print i; }; }'`; \
574         shift; \
575         if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
576           test -n "$$unique" || unique=$$empty_fix; \
577           if test $$# -gt 0; then \
578             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
579               "$$@" $$unique; \
580           else \
581             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
582               $$unique; \
583           fi; \
584         fi
585 ctags: CTAGS
586 CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
587                 $(TAGS_FILES) $(LISP)
588         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
589         unique=`for i in $$list; do \
590             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
591           done | \
592           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
593               END { if (nonempty) { for (i in files) print i; }; }'`; \
594         test -z "$(CTAGS_ARGS)$$unique" \
595           || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
596              $$unique
597
598 GTAGS:
599         here=`$(am__cd) $(top_builddir) && pwd` \
600           && $(am__cd) $(top_srcdir) \
601           && gtags -i $(GTAGS_ARGS) "$$here"
602
603 cscope: cscope.files
604         test ! -s cscope.files \
605           || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
606
607 clean-cscope:
608         -rm -f cscope.files
609
610 cscope.files: clean-cscope cscopelist-recursive cscopelist
611
612 cscopelist: cscopelist-recursive $(HEADERS) $(SOURCES) $(LISP)
613         list='$(SOURCES) $(HEADERS) $(LISP)'; \
614         case "$(srcdir)" in \
615           [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
616           *) sdir=$(subdir)/$(srcdir) ;; \
617         esac; \
618         for i in $$list; do \
619           if test -f "$$i"; then \
620             echo "$(subdir)/$$i"; \
621           else \
622             echo "$$sdir/$$i"; \
623           fi; \
624         done >> $(top_builddir)/cscope.files
625
626 distclean-tags:
627         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
628         -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
629
630 distdir: $(DISTFILES)
631         $(am__remove_distdir)
632         test -d "$(distdir)" || mkdir "$(distdir)"
633         @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
634         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
635         list='$(DISTFILES)'; \
636           dist_files=`for file in $$list; do echo $$file; done | \
637           sed -e "s|^$$srcdirstrip/||;t" \
638               -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
639         case $$dist_files in \
640           */*) $(MKDIR_P) `echo "$$dist_files" | \
641                            sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
642                            sort -u` ;; \
643         esac; \
644         for file in $$dist_files; do \
645           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
646           if test -d $$d/$$file; then \
647             dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
648             if test -d "$(distdir)/$$file"; then \
649               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
650             fi; \
651             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
652               cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
653               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
654             fi; \
655             cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
656           else \
657             test -f "$(distdir)/$$file" \
658             || cp -p $$d/$$file "$(distdir)/$$file" \
659             || exit 1; \
660           fi; \
661         done
662         @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
663           if test "$$subdir" = .; then :; else \
664             test -d "$(distdir)/$$subdir" \
665             || $(MKDIR_P) "$(distdir)/$$subdir" \
666             || exit 1; \
667           fi; \
668         done
669         @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
670           if test "$$subdir" = .; then :; else \
671             dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
672             $(am__relativize); \
673             new_distdir=$$reldir; \
674             dir1=$$subdir; dir2="$(top_distdir)"; \
675             $(am__relativize); \
676             new_top_distdir=$$reldir; \
677             echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
678             echo "     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
679             ($(am__cd) $$subdir && \
680               $(MAKE) $(AM_MAKEFLAGS) \
681                 top_distdir="$$new_top_distdir" \
682                 distdir="$$new_distdir" \
683                 am__remove_distdir=: \
684                 am__skip_length_check=: \
685                 am__skip_mode_fix=: \
686                 distdir) \
687               || exit 1; \
688           fi; \
689         done
690         $(MAKE) $(AM_MAKEFLAGS) \
691           top_distdir="$(top_distdir)" distdir="$(distdir)" \
692           dist-hook
693         -test -n "$(am__skip_mode_fix)" \
694         || find "$(distdir)" -type d ! -perm -755 \
695                 -exec chmod u+rwx,go+rx {} \; -o \
696           ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
697           ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
698           ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
699         || chmod -R a+r "$(distdir)"
700         @if test -z "$(am__skip_length_check)" && find "$(distdir)" -type f -print | \
701           grep '^...................................................................................................' 1>&2; then \
702           echo 'error: the above filenames are too long' 1>&2; \
703           exit 1; \
704         else :; fi
705 dist-gzip: distdir
706         tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
707         $(am__post_remove_distdir)
708 dist-bzip2: distdir
709         tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
710         $(am__post_remove_distdir)
711
712 dist-lzip: distdir
713         tardir=$(distdir) && $(am__tar) | lzip -9 -c >$(distdir).tar.lz
714         $(am__post_remove_distdir)
715
716 dist-lzma: distdir
717         tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
718         $(am__post_remove_distdir)
719
720 dist-xz: distdir
721         tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--9} xz -c >$(distdir).tar.xz
722         $(am__post_remove_distdir)
723
724 dist-tarZ: distdir
725         tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
726         $(am__post_remove_distdir)
727
728 dist-shar: distdir
729         shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
730         $(am__post_remove_distdir)
731
732 dist-zip: distdir
733         -rm -f $(distdir).zip
734         zip -rq $(distdir).zip $(distdir)
735         $(am__post_remove_distdir)
736
737 dist dist-all:
738         $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
739         $(am__post_remove_distdir)
740
741 # This target untars the dist file and tries a VPATH configuration.  Then
742 # it guarantees that the distribution is self-contained by making another
743 # tarfile.
744 distcheck: dist
745         case '$(DIST_ARCHIVES)' in \
746         *.tar.gz*) \
747           GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
748         *.tar.bz2*) \
749           bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
750         *.tar.lzma*) \
751           lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
752         *.tar.lz*) \
753           lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
754         *.tar.xz*) \
755           xz -dc $(distdir).tar.xz | $(am__untar) ;;\
756         *.tar.Z*) \
757           uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
758         *.shar.gz*) \
759           GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
760         *.zip*) \
761           unzip $(distdir).zip ;;\
762         esac
763         chmod -R a-w $(distdir); chmod a+w $(distdir)
764         mkdir $(distdir)/_build
765         mkdir $(distdir)/_inst
766         chmod a-w $(distdir)
767         test -d $(distdir)/_build || exit 0; \
768         dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
769           && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
770           && am__cwd=`pwd` \
771           && $(am__cd) $(distdir)/_build \
772           && ../configure --srcdir=.. --prefix="$$dc_install_base" \
773             $(DISTCHECK_CONFIGURE_FLAGS) \
774           && $(MAKE) $(AM_MAKEFLAGS) \
775           && $(MAKE) $(AM_MAKEFLAGS) dvi \
776           && $(MAKE) $(AM_MAKEFLAGS) check \
777           && $(MAKE) $(AM_MAKEFLAGS) install \
778           && $(MAKE) $(AM_MAKEFLAGS) installcheck \
779           && $(MAKE) $(AM_MAKEFLAGS) uninstall \
780           && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
781                 distuninstallcheck \
782           && chmod -R a-w "$$dc_install_base" \
783           && ({ \
784                (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
785                && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
786                && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
787                && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
788                     distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
789               } || { rm -rf "$$dc_destdir"; exit 1; }) \
790           && rm -rf "$$dc_destdir" \
791           && $(MAKE) $(AM_MAKEFLAGS) dist \
792           && rm -rf $(DIST_ARCHIVES) \
793           && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
794           && cd "$$am__cwd" \
795           || exit 1
796         $(am__post_remove_distdir)
797         @(echo "$(distdir) archives ready for distribution: "; \
798           list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
799           sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
800 distuninstallcheck:
801         @$(am__cd) '$(distuninstallcheck_dir)' \
802         && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
803            || { echo "ERROR: files left after uninstall:" ; \
804                 if test -n "$(DESTDIR)"; then \
805                   echo "  (check DESTDIR support)"; \
806                 fi ; \
807                 $(distuninstallcheck_listfiles) ; \
808                 exit 1; } >&2
809 distcleancheck: distclean
810         @if test '$(srcdir)' = . ; then \
811           echo "ERROR: distcleancheck can only run from a VPATH build" ; \
812           exit 1 ; \
813         fi
814         @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
815           || { echo "ERROR: files left in build directory after distclean:" ; \
816                $(distcleancheck_listfiles) ; \
817                exit 1; } >&2
818 check-am: all-am
819 check: check-recursive
820 all-am: Makefile $(SCRIPTS)
821 installdirs: installdirs-recursive
822 installdirs-am:
823         for dir in "$(DESTDIR)$(bindir)"; do \
824           test -z "$$dir" || $(MKDIR_P) "$$dir"; \
825         done
826 install: install-recursive
827 install-exec: install-exec-recursive
828 install-data: install-data-recursive
829 uninstall: uninstall-recursive
830
831 install-am: all-am
832         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
833
834 installcheck: installcheck-recursive
835 install-strip:
836         if test -z '$(STRIP)'; then \
837           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
838             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
839               install; \
840         else \
841           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
842             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
843             "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
844         fi
845 mostlyclean-generic:
846
847 clean-generic:
848         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
849
850 distclean-generic:
851         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
852         -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
853
854 maintainer-clean-generic:
855         @echo "This command is intended for maintainers to use"
856         @echo "it deletes files that may require special tools to rebuild."
857 clean: clean-recursive
858
859 clean-am: clean-generic clean-local mostlyclean-am
860
861 distclean: distclean-recursive
862         -rm -f $(am__CONFIG_DISTCLEAN_FILES)
863         -rm -f Makefile
864 distclean-am: clean-am distclean-generic distclean-tags
865
866 dvi: dvi-recursive
867
868 dvi-am:
869
870 html: html-recursive
871
872 html-am:
873
874 info: info-recursive
875
876 info-am:
877
878 install-data-am:
879
880 install-dvi: install-dvi-recursive
881
882 install-dvi-am:
883
884 install-exec-am: install-binSCRIPTS
885         @$(NORMAL_INSTALL)
886         $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
887 install-html: install-html-recursive
888
889 install-html-am:
890
891 install-info: install-info-recursive
892
893 install-info-am:
894
895 install-man:
896
897 install-pdf: install-pdf-recursive
898
899 install-pdf-am:
900
901 install-ps: install-ps-recursive
902
903 install-ps-am:
904
905 installcheck-am:
906
907 maintainer-clean: maintainer-clean-recursive
908         -rm -f $(am__CONFIG_DISTCLEAN_FILES)
909         -rm -rf $(top_srcdir)/autom4te.cache
910         -rm -f Makefile
911 maintainer-clean-am: distclean-am maintainer-clean-generic
912
913 mostlyclean: mostlyclean-recursive
914
915 mostlyclean-am: mostlyclean-generic
916
917 pdf: pdf-recursive
918
919 pdf-am:
920
921 ps: ps-recursive
922
923 ps-am:
924
925 uninstall-am: uninstall-binSCRIPTS
926         @$(NORMAL_INSTALL)
927         $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
928 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) \
929         cscopelist-recursive ctags-recursive install-am \
930         install-exec-am install-strip tags-recursive uninstall-am
931
932 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
933         all all-am am--refresh check check-am clean clean-cscope \
934         clean-generic clean-local cscope cscopelist \
935         cscopelist-recursive ctags ctags-recursive dist dist-all \
936         dist-bzip2 dist-gzip dist-hook dist-lzip dist-lzma dist-shar \
937         dist-tarZ dist-xz dist-zip distcheck distclean \
938         distclean-generic distclean-tags distcleancheck distdir \
939         distuninstallcheck dvi dvi-am html html-am info info-am \
940         install install-am install-binSCRIPTS install-data \
941         install-data-am install-dvi install-dvi-am install-exec \
942         install-exec-am install-exec-hook install-html install-html-am \
943         install-info install-info-am install-man install-pdf \
944         install-pdf-am install-ps install-ps-am install-strip \
945         installcheck installcheck-am installdirs installdirs-am \
946         maintainer-clean maintainer-clean-generic mostlyclean \
947         mostlyclean-generic pdf pdf-am ps ps-am tags tags-recursive \
948         uninstall uninstall-am uninstall-binSCRIPTS uninstall-hook
949
950
951 install-exec-hook:
952         @$(POST_INSTALL)
953         @for p in $(bin_SCRIPTS); do \
954           f="`echo $$p|sed '$(transform)'`"; \
955           fv="$$f-$(APIVERSION)"; \
956           rm -f $(DESTDIR)$(bindir)/$$fv; \
957           echo " $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv"; \
958           $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv; \
959         done
960
961 uninstall-hook:
962         @for p in $(bin_SCRIPTS); do \
963           f="`echo $$p|sed '$(transform)'`"; \
964           fv="$$f-$(APIVERSION)"; \
965           rm -f $(DESTDIR)$(bindir)/$$fv; \
966         done
967
968 automake: automake.in
969 aclocal: aclocal.in
970 automake aclocal: Makefile
971         $(AM_V_GEN)rm -f $@ $@.tmp
972         $(AM_V_at)$(do_subst) $(srcdir)/$@.in >$@.tmp
973         $(AM_V_at)chmod +x $@.tmp
974         $(AM_V_at)chmod a-w $@.tmp
975         $(AM_V_at)mv -f $@.tmp $@
976
977 INSTALL: lib/INSTALL
978         $(AM_V_GEN)cp $(srcdir)/lib/INSTALL $@
979
980 .PHONY: recheck
981 recheck:
982         @failcom='exit 1'; \
983         for f in x $$MAKEFLAGS; do \
984           case $$f in \
985             *=* | --[!k]*);; \
986             *k*) failcom='fail=yes';; \
987           esac; \
988         done; \
989         for subdir in $(TEST_SUBDIRS); do \
990           ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@) \
991             || eval $$failcom; \
992         done; \
993         test -z "$$fail"
994
995 ################################################################
996
997 # Ensure tests are world-executable
998 dist-hook:
999         $(am__cd) $(distdir)/tests && chmod a+rx *.test
1000
1001 check-coverage-run recheck-coverage-run: all
1002         $(mkinstalldirs) $(PERL_COVERAGE_DB)
1003         PERL5OPT="$$PERL5OPT $(PERL_COVERAGE_FLAGS)"; export PERL5OPT; \
1004         WANT_NO_THREADS=yes; export WANT_NO_THREADS; unset AUTOMAKE_JOBS; \
1005         $(MAKE) $(AM_MAKEFLAGS) `echo $@ | sed 's/-coverage-run//'`
1006
1007 check-coverage-report:
1008         @if test ! -d "$(PERL_COVERAGE_DB)"; then \
1009           echo "No coverage database found in \`$(PERL_COVERAGE_DB)'." >&2; \
1010           echo "Please run \`make check-coverage' first" >&2; \
1011           exit 1; \
1012         fi
1013         $(PERL_COVER) $(PERL_COVER_FLAGS) "$(PERL_COVERAGE_DB)"
1014
1015 # We don't use direct dependencies here because we'd like to be able
1016 # to invoke the report even after interrupted check-coverage.
1017 check-coverage: check-coverage-run
1018         $(MAKE) $(AM_MAKEFLAGS) check-coverage-report
1019
1020 recheck-coverage: recheck-coverage-run
1021         $(MAKE) $(AM_MAKEFLAGS) check-coverage-report
1022
1023 clean-coverage:
1024         rm -rf "$(PERL_COVERAGE_DB)"
1025 clean-local: clean-coverage
1026
1027 .PHONY: check-coverage recheck-coverage check-coverage-run \
1028         recheck-coverage-run check-coverage-report clean-coverage
1029
1030 .PHONY: $(syntax_check_rules)
1031 $(syntax_check_rules): automake aclocal
1032 maintainer-check: $(syntax_check_rules)
1033 sc_test_names:
1034         @m4_builtin_rx=`echo $(m4_builtins) | sed 's/ /|/g'`; \
1035          m4_macro_rx="\\<($$m4_builtin_rx)\\>|\\<_?(A[CUMHS]|m4)_"; \
1036          if ls tests/*.test | LC_ALL=C grep -E "$$m4_macro_rx"; then \
1037            echo "the names of the tests above can be problematic" 1>&2; \
1038            echo "Avoid test names that contain names of m4 macros" 1>&2; \
1039            exit 1; \
1040          fi
1041
1042 sc_diff_automake_in_automake:
1043         @if test `diff $(srcdir)/automake.in automake | wc -l` -ne 28; then \
1044           echo "found too many diffs between automake.in and automake" 1>&2; \
1045           diff -c $(srcdir)/automake.in automake; \
1046           exit 1; \
1047         fi
1048
1049 sc_perl_syntax:
1050         perllibdir="./lib$(PATH_SEPARATOR)$(srcdir)/lib" $(PERL) -c -w automake
1051         perllibdir="./lib$(PATH_SEPARATOR)$(srcdir)/lib" $(PERL) -c -w aclocal
1052
1053 sc_no_brace_variable_expansions:
1054         @if grep -F '$${' $(srcdir)/lib/am/[a-z]*.am | \
1055                grep -F -v '$$$$'; then \
1056           echo "Found too many uses of '\$${' in the lines above." 1>&2; \
1057           exit 1;                               \
1058         else :; fi
1059
1060 sc_rm_minus_f:
1061         @if grep -v '^#' $(srcdir)/lib/am/[a-z]*.am $(srcdir)/tests/*.test | \
1062             grep -E '\<rm ([^-]|\-[^f ]*\>)'; then \
1063           echo "Suspicious 'rm' invocation." 1>&2; \
1064           exit 1;                               \
1065         else :; fi
1066
1067 sc_no_for_variable_in_macro:
1068         @if grep 'for .* in \$$(' $(srcdir)/lib/am/[a-z]*.am; then \
1069           echo 'Use "list=$$(mumble); for var in $$$$list".' 1>&2 ; \
1070           exit 1; \
1071         else :; fi
1072
1073 sc_mkinstalldirs:
1074         @if grep -n 'mkinstalldirs' $(srcdir)/lib/am/[a-z]*.am | \
1075               grep -F -v '$$(mkinstalldirs)'; then \
1076           echo "Found incorrect use of mkinstalldirs in the lines above" 1>&2; \
1077           exit 1; \
1078         else :; fi
1079
1080 sc_pre_normal_post_install_uninstall:
1081         @if grep -E -n '\((PRE|NORMAL|POST)_(|UN)INSTALL\)' \
1082                  $(srcdir)/lib/am/[a-z]*.am | \
1083               grep -v ':##' | grep -v ':        @\$$('; then \
1084           echo "Found incorrect use of PRE/NORMAL/POST_INSTALL/UNINSTALL in the lines above" 1>&2; \
1085           exit 1; \
1086         else :; fi
1087
1088 sc_perl_no_undef:
1089         @if grep -n -w 'undef ' $(srcdir)/automake.in | \
1090               grep -F -v 'undef $$/'; then \
1091           echo "Found undef in automake.in; use delete instead" 1>&2; \
1092           exit 1; \
1093         fi
1094
1095 sc_perl_no_split_regex_space:
1096         @if grep -n 'split (/ /' $(srcdir)/automake.in; then \
1097           echo "Found bad split in the lines above." 1>&2; \
1098           exit 1; \
1099         fi
1100
1101 sc_cd_in_backquotes:
1102         @if grep -n '^[^#]*` *cd ' $(srcdir)/automake.in \
1103               $(srcdir)/lib/am/*.am; then \
1104           echo "Consider using \$$(am__cd) in the lines above." 1>&2; \
1105           exit 1; \
1106         fi
1107
1108 sc_cd_relative_dir:
1109         @if grep -n '^[^#]*cd ' $(srcdir)/automake.in \
1110               $(srcdir)/lib/am/*.am | \
1111               grep -v 'echo.*cd ' | \
1112               grep -v 'am__cd =' | \
1113               grep -v '^[^#]*cd [./]' | \
1114               grep -v '^[^#]*cd \$$(top_builddir)' | \
1115               grep -v '^[^#]*cd "\$$\$$am__cwd' | \
1116               grep -v '^[^#]*cd \$$(abs' | \
1117               grep -v '^[^#]*cd "\$$(DESTDIR)'; then \
1118           echo "Consider using \$$(am__cd) in the lines above." 1>&2; \
1119           exit 1; \
1120         fi
1121
1122 sc_perl_at_uscore_in_scalar_context:
1123         @if grep -Hn '[^@_A-Za-z0-9][_A-Za-z0-9]*[^) ] *= *@_' $(srcdir)/automake.in; then \
1124           echo "Using @_ in a scalar context in the lines above." 1>&2; \
1125           exit 1; \
1126         fi
1127
1128 sc_perl_local_no_parens:
1129         @if grep '^[ \t]*local *(' $(srcdir)/automake.in; then \
1130           echo "Don't use \`local' with parens: use several \`local' above." >&2; \
1131           exit 1; \
1132         fi
1133
1134 sc_perl_local:
1135         @if grep -v '^[ \t]*local \$$_;' $(srcdir)/automake.in | \
1136                 grep '^[ \t]*local [^*]'; then \
1137           echo "Please avoid \`local'." 1>&2; \
1138           exit 1; \
1139         fi
1140
1141 sc_AMDEP_TRUE_in_automake_in:
1142         @if grep '@AMDEP''_TRUE@' $(srcdir)/automake.in; then \
1143           echo "Don't put AMDEP_TRUE substitution in automake.in" 1>&2; \
1144           exit 1; \
1145         fi
1146
1147 sc_tests_make_without_am_makeflags:
1148         @if grep '^[^#].*(MAKE) ' $(srcdir)/lib/am/*.am $(srcdir)/automake.in |\
1149                 grep -v 'AM_MAKEFLAGS'; then \
1150           echo 'Use $$(MAKE) $$(AM_MAKEFLAGS).' 1>&2; \
1151           exit 1; \
1152         fi
1153
1154 sc_tests_plain_make:
1155         @if grep -v '^#' $(srcdir)/tests/*.test | $(EGREP) ':[  ]*make( |$$)'; then \
1156           echo 'Do not run "make" in the above tests.  Use "$$MAKE" instead.' 1>&2; \
1157           exit 1; \
1158         fi
1159
1160 sc_tests_plain_autoconf:
1161         @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[      ]*autoconf'; then \
1162           echo 'Do not run "autoconf" in the above tests.  Use "$$AUTOCONF" instead.' 1>&2; \
1163           exit 1; \
1164         fi
1165
1166 sc_tests_plain_autoupdate:
1167         @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[      ]*autoupdate'; then \
1168           echo 'Do not run "autoupdate" in the above tests.  Use "$$AUTOUPDATE" instead.' 1>&2; \
1169           exit 1; \
1170         fi
1171
1172 sc_tests_plain_automake:
1173         @if grep -v '^#' $(srcdir)/tests/*.test | grep -E ':[   ]*automake([^:]|$$)'; then \
1174           echo 'Do not run "automake" in the above tests.  Use "$$AUTOMAKE" instead.' 1>&2;  \
1175           exit 1; \
1176         fi
1177
1178 sc_tests_here_document_format:
1179         @if grep '<<' $(srcdir)/tests/*.test | grep -v 'END' | grep -v 'EOF'; then \
1180           echo 'Use here documents with "END" and "EOF" only, for greppability.' 1>&2; \
1181           exit 1; \
1182         fi
1183
1184 sc_tests_Exit_not_exit:
1185         @found=false; for file in $(srcdir)/tests/*.test; do \
1186           res=`sed -n -e '/^#/d; /^\$$PERL/d' -e '/<<.*END/,/^END/b' \
1187                       -e '/<<.*EOF/,/^EOF/b' -e '/exit [$$0-9]/p' $$file`; \
1188           if test -n "$$res"; then \
1189             echo "$$file:$$res"; \
1190             found=true; \
1191           fi; \
1192         done; \
1193         if $$found; then \
1194           echo 'Do not call plain "exit", use "Exit" instead, in above tests.' 1>&2; \
1195           exit 1; \
1196         fi
1197
1198 sc_tests_automake_fails:
1199         @if grep -v '^#' $(srcdir)/tests/*.test | grep '\$$AUTOMAKE.*&&.*[eE]xit'; then \
1200           echo 'Use AUTOMAKE_fails + grep to catch automake failures in the above tests.' 1>&2;  \
1201           exit 1; \
1202         fi
1203
1204 sc_tests_plain_aclocal:
1205         @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[      ]*aclocal'; then \
1206           echo 'Do not run "aclocal" in the above tests.  Use "$$ACLOCAL" instead.' 1>&2;  \
1207           exit 1; \
1208         fi
1209
1210 sc_tests_plain_perl:
1211         @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[      ]*perl'; then \
1212           echo 'Do not run "perl" in the above tests.  Use "$$PERL" instead.' 1>&2; \
1213           exit 1; \
1214         fi
1215
1216 sc_tests_required_after_defs:
1217         @for file in $(srcdir)/tests/*.test; do \
1218           if out=`sed -n '/defs/,$${/required=/p;}' $$file`; test -n "$$out"; then \
1219             echo 'Do not set "required" after sourcing "defs" in '"$$file: $$out" 1>&2; \
1220             exit 1; \
1221           fi; \
1222         done
1223
1224 sc_tests_overriding_macros_on_cmdline:
1225         @if grep -E '\$$MAKE .*(SHELL=.*=|=.*SHELL=)' $(srcdir)/tests/*.test; then \
1226           echo 'Rewrite "$$MAKE foo=bar SHELL=$$SHELL" as "foo=bar $$MAKE -e SHELL=$$SHELL"' 1>&2; \
1227           echo ' in the above lines, it is more portable.' 1>&2; \
1228           exit 1; \
1229         fi
1230         @if sed 's/DESTDIR=[^ ]*//; s/SHELL=[^ ]*//; s/V=[^ ]*//' $(srcdir)/tests/*.test | \
1231             grep '\$$MAKE .*=' ; then \
1232           echo 'Rewrite "$$MAKE foo=bar" as "foo=bar $$MAKE -e" in the above lines,' 1>&2; \
1233           echo 'it is more portable.' 1>&2; \
1234           exit 1; \
1235         fi
1236         @if grep 'SHELL=.*\$$MAKE' $(srcdir)/tests/*.test; then \
1237           echo '$$MAKE ignores the SHELL envvar, use "$$MAKE SHELL=$$SHELL" in' 1>&2; \
1238           echo 'the above lines.' 1>&2; \
1239           exit 1; \
1240         fi
1241
1242 sc_tests_plain_sleep:
1243         @if grep -E '\bsleep +[12345]\b' $(srcdir)/tests/*.test; then \
1244           echo 'Do not use "sleep x" in the above tests.  Use "$$sleep" instead.' 1>&2; \
1245           exit 1; \
1246         fi
1247
1248 sc_tests_plain_egrep_fgrep:
1249         @if grep -E '\b[ef]grep\b' $(srcdir)/tests/*.test ; then \
1250           echo 'Do not use egrep or fgrep in test cases.  Use $$FGREP or $$EGREP.' 1>&2; \
1251           exit 1; \
1252         fi
1253         @if grep -E '\b[ef]grep\b' $(srcdir)/lib/am/*.am $(srcdir)/m4/*.m4; then \
1254           echo 'Do not use egrep or fgrep in the above files, they are not portable.' 1>&2; \
1255           exit 1; \
1256         fi
1257
1258 sc_ensure_testsuite_has_run:
1259         @if test ! -f tests/test-suite.log; then \
1260           echo "Run \`env keep_testdirs=yes make check' before \`maintainer-check'" >&2; \
1261           exit 1; \
1262         fi
1263 .PHONY: sc_ensure_testsuite_has_run
1264
1265 sc_tests_logs_duplicate_prefixes: sc_ensure_testsuite_has_run
1266         @if grep -E '(warning|error):.*(warning|error):' tests/*.log; then \
1267           echo 'Duplicate warning/error message prefixes seen in above tests.' >&2; \
1268           exit 1; \
1269         fi
1270
1271 sc_tests_makefile_variable_order: sc_ensure_testsuite_has_run
1272         @for file in `find tests -name Makefile.in -print`; do \
1273           latevars=`sed -n \
1274             -e :x -e 's/#.*//' \
1275             -e '/\\\\$$/{' -e N -e 'b x' -e '}' \
1276             -e '1,/^    /d' \
1277             -e '/^ *[a-zA-Z_@]\{1,\} *=/p' $$file`; \
1278           if test -n "$$latevars"; then \
1279             echo 'Ensure variables are expanded before rules' >&2; \
1280             echo "Variables are expanded too late in $$file:" >&2; \
1281             echo "$$latevars" | sed 's/^/  /' >&2; \
1282             exit 1; \
1283           fi; \
1284         done
1285
1286 sc_tests_PATH_SEPARATOR:
1287         @if grep -E '\bPATH=.*:.*' $(srcdir)/tests/*.test ; then \
1288           echo "Use \`\$$PATH_SEPARATOR', not \`:', in PATH definitions above." 1>&2; \
1289           exit 1; \
1290         fi
1291
1292 sc_mkdir_p:
1293         @if grep 'mkdir_p' $(srcdir)/automake.in \
1294               $(srcdir)/lib/am/*.am $(srcdir)/tests/*.test; then \
1295           echo 'Do not use mkdir_p in the above files, use MKDIR_P.' 1>&2; \
1296           exit 1; \
1297         fi
1298
1299 sc_perl_at_substs:
1300         @if test `grep -E '^[^#]*@[A-Za-z_0-9]+@' aclocal | wc -l` -ne 0; then \
1301           echo "Unresolved @...@ substitution in aclocal" 1>&2; \
1302           exit 1; \
1303         fi
1304         @if test `grep -E '^[^#]*@[A-Za-z_0-9]+@' automake | wc -l` -ne 0; then \
1305           echo "Unresolved @...@ substitution in automake" 1>&2; \
1306           exit 1; \
1307         fi
1308
1309 sc_unquoted_DESTDIR:
1310         @if grep -E "[^\'\"]\\\$$\(DESTDIR" $(srcdir)/lib/am/*.am; then \
1311           echo 'Suspicious unquoted DESTDIR uses.' 1>&2 ; \
1312           exit 1; \
1313         fi
1314
1315 sc_tabs_in_texi:
1316         @if grep '      ' $(srcdir)/doc/automake.texi; then \
1317           echo 'Do not use tabs in the manual.' 1>&2; \
1318           exit 1; \
1319         fi
1320
1321 sc_at_in_texi:
1322         @if grep -E '([^@]|^)@([         ][^@]|$$)' $(srcdir)/doc/automake.texi; \
1323         then \
1324           echo 'Unescaped @.' 1>&2; \
1325           exit 1; \
1326         fi
1327
1328 git-dist: maintainer-check
1329         @if sed 1q $(srcdir)/NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
1330           echo "NEWS not updated; not releasing" 1>&2; \
1331           exit 1;                               \
1332         fi
1333         $(MAKE) $(AM_MAKEFLAGS) distcheck
1334         $(am__cd) $(srcdir) && git commit -a -s && \
1335            git tag -s "v$(VERSION)" -m "Release $(VERSION)"
1336
1337 git-release: git-dist
1338         case $(VERSION) in \
1339           *[a-z]) dest=alpha;; \
1340           *)      dest=ftp;; \
1341         esac; \
1342         $(srcdir)/lib/gnupload $(GNUPLOADFLAGS) \
1343           --to $$dest.gnu.org:automake $(DIST_ARCHIVES)
1344
1345 git-diff:
1346         thisver="v$(VERSION)"; \
1347         if test -z "$$OLDVERSION"; then \
1348           prevno=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
1349         else prevno="$$OLDVERSION"; fi; \
1350         prevver=v$$prevno; \
1351         git diff $$prevver..$$thisver $(PACKAGE) \
1352             > $(PACKAGE)-$$prevno-$(VERSION).diff
1353
1354 path-check: distdir
1355         ($(am__cd) $(distdir) && \
1356           find . -print | xargs pathchk -p); \
1357           estatus=$$?; \
1358           find $(distdir) -type d '!' -perm -200 -exec chmod u+w {} ';'; \
1359           rm -rf $(distdir); \
1360           exit $$estatus
1361
1362 fetch:
1363         rm -rf Fetchdir > /dev/null 2>&1
1364         mkdir Fetchdir
1365         ($(am__cd) Fetchdir && \
1366         $(WGET_SV_GIT_CF)config.guess -O config.guess && \
1367         $(WGET_SV_GIT_CF)config.sub -O config.sub && \
1368         $(WGET_SV_CVS)texinfo/texinfo/doc/texinfo.tex -O texinfo.tex && \
1369         $(WGET_SV_GIT_GL)doc/INSTALL -O INSTALL && \
1370         $(WGET_GCC)config-ml.in -O config-ml.in && \
1371         $(WGET_GCC)symlink-tree -O symlink-tree)
1372         @stat=0; for file in $(FETCHFILES); do \
1373           if diff -u $(srcdir)/lib/$$file Fetchdir/$$file \
1374                   >>Fetchdir/update.patch 2>/dev/null; then :; \
1375           else \
1376             stat=1; \
1377             echo "Updating $(srcdir)/lib/$$file ..."; \
1378             cp Fetchdir/$$file $(srcdir)/lib/$$file; \
1379           fi; \
1380         done; \
1381         test $$stat = 0 || \
1382           echo "See Fetchdir/update.patch for a log of the changes."; \
1383         exit $$stat
1384
1385 release-stats: ps
1386         @am=`wc -l < automake` && \
1387         acl=`wc -l < aclocal` && \
1388         pmfiles="lib/Automake/*.pm" && \
1389         if test . != '$(srcdir)'; then pmfiles="$$pmfiles $(srcdir)/lib/Automake/*.pm"; \
1390         else :; fi && \
1391         pm=`cat $$pmfiles | wc -l` && \
1392         dot_am_files=`ls -1 $(srcdir)/lib/am/*.am | grep -v Makefile.am` && \
1393         amf=`echo "$$dot_am_files" | wc -l` && \
1394         aml=`cat $$dot_am_files | wc -l` && \
1395         m4f=`ls -1 $(srcdir)/m4/*.m4 | wc -l` && \
1396         m4l=`cat $(srcdir)/m4/*.m4 | wc -l` && \
1397         doc_text=`$(am__cd) doc && LC_ALL=C pstops 0 automake.ps unused.ps 2>&1` && \
1398         echo "$$doc_text" && \
1399         rm -f doc/unused.ps && \
1400         doc=`echo "$$doc_text" | sed -n 's/.*Wrote \([1-9][0-9]*\) pages.*/\1/p'` && \
1401         tests="tests/*.test"; \
1402         if test . != '$(srcdir)'; then tests="$$tests $(srcdir)/tests/*.test"; \
1403         else :; fi && \
1404         t=`ls -1 $$tests | wc -l` && \
1405         tgen=`grep 'GENERATED AUTOMATICALLY' $$tests | wc -l` && \
1406         today=`date +%Y-%m-%d` && \
1407         echo "add this to the table in doc/automake.texi after verification:" && \
1408         printf '@item %s @tab %-6s @tab %4d @tab %4d @tab %4d @tab %4d %-4s @tab %4d %-4s @tab %3d @tab %d %-4s\n' \
1409                       $$today $(VERSION) $$am    $$acl    $$pm   $$aml "($$amf)" $$m4l "($$m4f)" $$doc $$t "($$tgen)"
1410 .PHONY: release-stats
1411
1412 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1413 # Otherwise a system limit (for SysV at least) may be exceeded.
1414 .NOEXPORT: