1 # Makefile.in generated by automake 1.11a from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
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.
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
18 # Copyright (C) 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004,
19 # 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
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)
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.
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/>.
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)
52 build_triplet = @build@
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) \
69 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
70 configure.lineno config.status.lineno
71 mkinstalldirs = $(SHELL) $(top_srcdir)/lib/mkinstalldirs
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/||"`;; \
79 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
81 am__nobase_strip_setup = \
82 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
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] }'
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))
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
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)
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"`; \
142 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
143 if test "$$first2" = "$$first"; then \
144 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
148 dir0="$$dir0"/"$$first"; \
151 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
154 DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
156 DIST_TARGETS = dist-bzip2 dist-gzip
157 distuninstallcheck_listfiles = find . -type f -print
158 distcleancheck_listfiles = find . -type f -print
161 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
162 APIVERSION = @APIVERSION@
163 AUTOCONF = @AUTOCONF@
164 AUTOHEADER = @AUTOHEADER@
165 AUTOMAKE = @AUTOMAKE@
167 CYGPATH_W = @CYGPATH_W@
175 HELP2MAN = @HELP2MAN@
177 INSTALL_DATA = @INSTALL_DATA@
178 INSTALL_PROGRAM = @INSTALL_PROGRAM@
179 INSTALL_SCRIPT = @INSTALL_SCRIPT@
180 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
184 LTLIBOBJS = @LTLIBOBJS@
185 MAKEINFO = @MAKEINFO@
187 MODIFICATION_DELAY = @MODIFICATION_DELAY@
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@
197 PERL_THREADS = @PERL_THREADS@
198 SET_MAKE = @SET_MAKE@
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@
214 am__untar = @am__untar@
217 build_alias = @build_alias@
218 build_cpu = @build_cpu@
219 build_os = @build_os@
220 build_vendor = @build_vendor@
221 builddir = @builddir@
223 datarootdir = @datarootdir@
226 exec_prefix = @exec_prefix@
228 host_alias = @host_alias@
229 host_cpu = @host_cpu@
231 host_vendor = @host_vendor@
233 includedir = @includedir@
235 install_sh = @install_sh@
237 libexecdir = @libexecdir@
238 localedir = @localedir@
239 localstatedir = @localstatedir@
242 oldincludedir = @oldincludedir@
244 pkgvdatadir = @pkgvdatadir@
246 program_transform_name = @program_transform_name@
249 sh_errexit_works = @sh_errexit_works@
250 sharedstatedir = @sharedstatedir@
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)
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'
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
296 # Some simple checks, and then ordinary check. These are only really
297 # guaranteed to work on my machine.
298 syntax_check_rules = \
300 sc_diff_automake_in_automake \
301 sc_diff_aclocal_in_automake \
303 sc_no_brace_variable_expansions \
305 sc_no_for_variable_in_macro \
307 sc_pre_normal_post_install_uninstall \
309 sc_perl_no_split_regex_space \
310 sc_cd_in_backquotes \
312 sc_perl_at_uscore_in_scalar_context \
313 sc_perl_local_no_parens \
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 \
338 sc_unquoted_DESTDIR \
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/'
408 am--refresh: Makefile
410 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
412 case '$(am__configure_deps)' in \
414 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
415 $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
420 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
421 $(am__cd) $(top_srcdir) && \
422 $(AUTOMAKE) --gnu Makefile
424 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
427 echo ' $(SHELL) ./config.status'; \
428 $(SHELL) ./config.status;; \
430 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
431 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
434 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
435 $(SHELL) ./config.status --recheck
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)
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; \
450 sed -e 'p;s,.*/,,;n' \
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 $$?; \
468 uninstall-binSCRIPTS:
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
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 \
488 *k*) failcom='fail=yes';; \
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 \
497 local_target="$$target-am"; \
499 local_target="$$target"; \
501 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
504 if test "$$dot_seen" = "no"; then \
505 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
508 $(RECURSIVE_CLEAN_TARGETS):
509 @fail= failcom='exit 1'; \
510 for f in x $$MAKEFLAGS; do \
513 *k*) failcom='fail=yes';; \
518 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
519 *) list='$(SUBDIRS)' ;; \
521 rev=''; for subdir in $$list; do \
522 if test "$$subdir" = "."; then :; else \
523 rev="$$subdir $$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"; \
533 local_target="$$target"; \
535 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
537 done && test -z "$$fail"
539 list='$(SUBDIRS)'; for subdir in $$list; do \
540 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
543 list='$(SUBDIRS)'; for subdir in $$list; do \
544 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
546 cscopelist-recursive:
547 list='$(SUBDIRS)'; for subdir in $$list; do \
548 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) cscopelist); \
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; \
556 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
557 END { if (nonempty) { for (i in files) print i; }; }'`; \
561 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
562 $(TAGS_FILES) $(LISP)
565 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
566 include_option=--etags-include; \
569 include_option=--include; \
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"; \
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; \
582 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
583 END { if (nonempty) { for (i in files) print i; }; }'`; \
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) \
591 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
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; \
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) \
609 here=`$(am__cd) $(top_builddir) && pwd` \
610 && $(am__cd) $(top_srcdir) \
611 && gtags -i $(GTAGS_ARGS) "$$here"
614 test ! -s cscope.files \
615 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
620 cscope.files: clean-cscope cscopelist-recursive cscopelist
622 cscopelist: cscopelist-recursive $(HEADERS) $(SOURCES) $(LISP)
623 list='$(SOURCES) $(HEADERS) $(LISP)'; \
624 case "$(srcdir)" in \
625 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
626 *) sdir=$(subdir)/$(srcdir) ;; \
628 for i in $$list; do \
629 if test -f "$$i"; then \
630 echo "$(subdir)/$$i"; \
634 done >> $(top_builddir)/cscope.files
637 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
638 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
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,/[^/]*$$,,' | \
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 {} \;; \
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 {} \;; \
665 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
667 test -f "$(distdir)/$$file" \
668 || cp -p $$d/$$file "$(distdir)/$$file" \
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" \
679 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
680 if test "$$subdir" = .; then :; else \
681 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
683 new_distdir=$$reldir; \
684 dir1=$$subdir; dir2="$(top_distdir)"; \
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=: \
700 $(MAKE) $(AM_MAKEFLAGS) \
701 top_distdir="$(top_distdir)" distdir="$(distdir)" \
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; \
716 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
717 $(am__post_remove_distdir)
719 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
720 $(am__post_remove_distdir)
723 tardir=$(distdir) && $(am__tar) | lzip -9 -c >$(distdir).tar.lz
724 $(am__post_remove_distdir)
727 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
728 $(am__post_remove_distdir)
731 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--9} xz -c >$(distdir).tar.xz
732 $(am__post_remove_distdir)
735 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
736 $(am__post_remove_distdir)
739 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
740 $(am__post_remove_distdir)
743 -rm -f $(distdir).zip
744 zip -rq $(distdir).zip $(distdir)
745 $(am__post_remove_distdir)
748 $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
749 $(am__post_remove_distdir)
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
755 case '$(DIST_ARCHIVES)' in \
757 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
759 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
761 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
763 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
765 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
767 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
769 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
771 unzip $(distdir).zip ;;\
773 chmod -R a-w $(distdir); chmod a+w $(distdir)
774 mkdir $(distdir)/_build
775 mkdir $(distdir)/_inst
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-$$$$/" \
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" \
793 && chmod -R a-w "$$dc_install_base" \
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 \
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'
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)"; \
818 $(distuninstallcheck_listfiles) ; \
820 distcleancheck: distclean
821 @if test '$(srcdir)' = . ; then \
822 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
825 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
826 || { echo "ERROR: files left in build directory after distclean:" ; \
827 $(distcleancheck_listfiles) ; \
830 check: check-recursive
831 all-am: Makefile $(SCRIPTS)
832 installdirs: installdirs-recursive
834 for dir in "$(DESTDIR)$(bindir)"; do \
835 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
837 install: install-recursive
838 install-exec: install-exec-recursive
839 install-data: install-data-recursive
840 uninstall: uninstall-recursive
843 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
845 installcheck: installcheck-recursive
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 \
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; \
859 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
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)
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
870 clean-am: clean-generic clean-local mostlyclean-am
872 distclean: distclean-recursive
873 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
875 distclean-am: clean-am distclean-generic distclean-tags
891 install-dvi: install-dvi-recursive
895 install-exec-am: install-binSCRIPTS
897 $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
898 install-html: install-html-recursive
902 install-info: install-info-recursive
908 install-pdf: install-pdf-recursive
912 install-ps: install-ps-recursive
918 maintainer-clean: maintainer-clean-recursive
919 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
920 -rm -rf $(top_srcdir)/autom4te.cache
922 maintainer-clean-am: distclean-am maintainer-clean-generic
924 mostlyclean: mostlyclean-recursive
926 mostlyclean-am: mostlyclean-generic
936 uninstall-am: uninstall-binSCRIPTS
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
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
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; \
973 @for p in $(bin_SCRIPTS); do \
974 f="`echo $$p|sed '$(transform)'`"; \
975 fv="$$f-$(APIVERSION)"; \
976 rm -f $(DESTDIR)$(bindir)/$$fv; \
979 automake: automake.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 $@
989 $(AM_V_GEN)cp $(srcdir)/lib/INSTALL $@
994 for f in x $$MAKEFLAGS; do \
997 *k*) failcom='fail=yes';; \
1000 for subdir in $(TEST_SUBDIRS); do \
1001 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@) \
1002 || eval $$failcom; \
1006 ################################################################
1008 # Ensure tests are world-executable
1010 $(am__cd) $(distdir)/tests && chmod a+rx *.test
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//'`
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; \
1024 $(PERL_COVER) $(PERL_COVER_FLAGS) "$(PERL_COVERAGE_DB)"
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
1031 recheck-coverage: recheck-coverage-run
1032 $(MAKE) $(AM_MAKEFLAGS) check-coverage-report
1035 rm -rf "$(PERL_COVERAGE_DB)"
1036 clean-local: clean-coverage
1038 .PHONY: check-coverage recheck-coverage check-coverage-run \
1039 recheck-coverage-run check-coverage-report clean-coverage
1041 .PHONY: $(syntax_check_rules)
1042 $(syntax_check_rules): automake aclocal
1044 .PHONY: maintainer-check-list-of-tests
1045 maintainer-check-list-of-tests:
1046 @failcom='exit 1'; \
1047 for f in x $$MAKEFLAGS; do \
1050 *k*) failcom='fail=yes';; \
1053 for subdir in $(TEST_SUBDIRS); do \
1054 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@) || eval $$failcom; \
1058 maintainer-check: $(syntax_check_rules) maintainer-check-list-of-tests
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; \
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; \
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; \
1082 perllibdir="./lib$(PATH_SEPARATOR)$(srcdir)/lib" $(PERL) -c -w automake
1083 perllibdir="./lib$(PATH_SEPARATOR)$(srcdir)/lib" $(PERL) -c -w aclocal
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; \
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; \
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 ; \
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; \
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; \
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; \
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; \
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; \
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; \
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; \
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; \
1167 @if grep -v '^[ \t]*local \$$_;' $(srcdir)/automake.in | \
1168 grep '^[ \t]*local [^*]'; then \
1169 echo "Please avoid \`local'." 1>&2; \
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; \
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; \
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; \
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; \
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; \
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; \
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; \
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; \
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; \
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; \
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"; \
1245 echo 'Do not call plain "exit", use "Exit" instead, in above tests.' 1>&2; \
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; \
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; \
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; \
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; \
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; \
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; \
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; \
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; \
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; \
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; \
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; \
1318 .PHONY: sc_ensure_testsuite_has_run
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; \
1326 sc_tests_makefile_variable_order: sc_ensure_testsuite_has_run
1327 @for file in `find tests -name Makefile.in -print`; do \
1329 -e :x -e 's/#.*//' \
1330 -e '/\\\\$$/{' -e N -e 'b x' -e '}' \
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; \
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; \
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; \
1355 @if test `grep -E '^[^#]*@[A-Za-z_0-9]+@' aclocal | wc -l` -ne 0; then \
1356 echo "Unresolved @...@ substitution in aclocal" 1>&2; \
1359 @if test `grep -E '^[^#]*@[A-Za-z_0-9]+@' automake | wc -l` -ne 0; then \
1360 echo "Unresolved @...@ substitution in automake" 1>&2; \
1364 sc_unquoted_DESTDIR:
1365 @if grep -E "[^\'\"]\\\$$\(DESTDIR" $(srcdir)/lib/am/*.am; then \
1366 echo 'Suspicious unquoted DESTDIR uses.' 1>&2 ; \
1371 @if grep ' ' $(srcdir)/doc/automake.texi; then \
1372 echo 'Do not use tabs in the manual.' 1>&2; \
1377 @if grep -E '([^@]|^)@([ ][^@]|$$)' $(srcdir)/doc/automake.texi; \
1379 echo 'Unescaped @.' 1>&2; \
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; \
1388 $(MAKE) $(AM_MAKEFLAGS) distcheck
1389 $(am__cd) $(srcdir) && git commit -a -s && \
1390 git tag -s "v$(VERSION)" -m "Release $(VERSION)"
1392 git-release: git-dist
1393 case $(VERSION) in \
1394 *[a-z]) dest=alpha;; \
1397 $(srcdir)/lib/gnupload $(GNUPLOADFLAGS) \
1398 --to $$dest.gnu.org:automake $(DIST_ARCHIVES)
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
1410 ($(am__cd) $(distdir) && \
1411 find . -print | xargs pathchk -p); \
1413 find $(distdir) -type d '!' -perm -200 -exec chmod u+w {} ';'; \
1414 rm -rf $(distdir); \
1418 rm -rf Fetchdir > /dev/null 2>&1
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 :; \
1432 echo "Updating $(srcdir)/lib/$$file ..."; \
1433 cp Fetchdir/$$file $(srcdir)/lib/$$file; \
1436 test $$stat = 0 || \
1437 echo "See Fetchdir/update.patch for a log of the changes."; \
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"; \
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"; \
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
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.