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