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