1 # Makefile.in generated by automake 1.10c from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
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
19 pkgdatadir = $(datadir)/@PACKAGE@
20 pkgincludedir = $(includedir)/@PACKAGE@
21 pkglibdir = $(libdir)/@PACKAGE@
22 pkglibexecdir = $(libexecdir)/@PACKAGE@
23 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
24 install_sh_DATA = $(install_sh) -c -m 644
25 install_sh_PROGRAM = $(install_sh) -c
26 install_sh_SCRIPT = $(install_sh) -c
27 INSTALL_HEADER = $(INSTALL_DATA)
28 transform = $(program_transform_name)
35 build_triplet = @build@
37 DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
38 $(srcdir)/Makefile.in $(top_srcdir)/configure AUTHORS COPYING \
39 ChangeLog INSTALL NEWS THANKS TODO
40 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
41 am__aclocal_m4_deps = $(top_srcdir)/m4/amversion.m4 \
42 $(top_srcdir)/m4/auxdir.m4 $(top_srcdir)/m4/init.m4 \
43 $(top_srcdir)/m4/install-sh.m4 $(top_srcdir)/m4/lead-dot.m4 \
44 $(top_srcdir)/m4/missing.m4 $(top_srcdir)/m4/mkdirp.m4 \
45 $(top_srcdir)/m4/options.m4 $(top_srcdir)/m4/runlog.m4 \
46 $(top_srcdir)/m4/sanity.m4 $(top_srcdir)/m4/strip.m4 \
47 $(top_srcdir)/m4/substnot.m4 $(top_srcdir)/m4/tar.m4 \
48 $(top_srcdir)/configure.ac
49 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
51 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
52 configure.lineno config.status.lineno
53 mkinstalldirs = $(SHELL) $(top_srcdir)/lib/mkinstalldirs
55 CONFIG_CLEAN_VPATH_FILES =
56 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
57 am__vpath_adj = case $$p in \
58 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
61 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
63 am__nobase_strip_setup = \
64 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
66 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
67 am__nobase_list = $(am__nobase_strip_setup); \
68 for p in $$list; do echo "$$p $$p"; done | \
69 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
70 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
71 if (++n[$$2] == $(am__install_max)) \
72 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
73 END { for (dir in files) print dir, files[dir] }'
75 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
76 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
77 am__installdirs = "$(DESTDIR)$(bindir)"
78 SCRIPTS = $(bin_SCRIPTS)
81 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
82 html-recursive info-recursive install-data-recursive \
83 install-dvi-recursive install-exec-recursive \
84 install-html-recursive install-info-recursive \
85 install-pdf-recursive install-ps-recursive install-recursive \
86 installcheck-recursive installdirs-recursive pdf-recursive \
87 ps-recursive uninstall-recursive
88 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
89 distclean-recursive maintainer-clean-recursive
90 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
91 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
92 distdir dist dist-all distcheck
95 DIST_SUBDIRS = $(SUBDIRS)
96 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
97 distdir = $(PACKAGE)-$(VERSION)
98 top_distdir = $(distdir)
99 am__remove_distdir = \
100 { test ! -d "$(distdir)" \
101 || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
102 && rm -fr "$(distdir)"; }; }
105 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
106 sed_rest='s,^[^/]*/*,,'; \
107 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
108 sed_butlast='s,/*[^/]*$$,,'; \
109 while test -n "$$dir1"; do \
110 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
111 if test "$$first" != "."; then \
112 if test "$$first" = ".."; then \
113 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
114 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
116 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
117 if test "$$first2" = "$$first"; then \
118 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
122 dir0="$$dir0"/"$$first"; \
125 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
128 DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
130 distuninstallcheck_listfiles = find . -type f -print
131 distcleancheck_listfiles = find . -type f -print
134 APIVERSION = @APIVERSION@
135 AUTOCONF = @AUTOCONF@
136 AUTOHEADER = @AUTOHEADER@
137 AUTOMAKE = @AUTOMAKE@
139 CYGPATH_W = @CYGPATH_W@
147 HELP2MAN = @HELP2MAN@
149 INSTALL_DATA = @INSTALL_DATA@
150 INSTALL_PROGRAM = @INSTALL_PROGRAM@
151 INSTALL_SCRIPT = @INSTALL_SCRIPT@
152 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
156 LTLIBOBJS = @LTLIBOBJS@
157 MAKEINFO = @MAKEINFO@
159 MODIFICATION_DELAY = @MODIFICATION_DELAY@
161 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
162 PACKAGE_NAME = @PACKAGE_NAME@
163 PACKAGE_STRING = @PACKAGE_STRING@
164 PACKAGE_TARNAME = @PACKAGE_TARNAME@
165 PACKAGE_VERSION = @PACKAGE_VERSION@
166 PATH_SEPARATOR = @PATH_SEPARATOR@
168 PERL_THREADS = @PERL_THREADS@
169 SET_MAKE = @SET_MAKE@
174 abs_builddir = @abs_builddir@
175 abs_srcdir = @abs_srcdir@
176 abs_top_builddir = @abs_top_builddir@
177 abs_top_srcdir = @abs_top_srcdir@
178 am_AUTOCONF = @am_AUTOCONF@
179 am_AUTOHEADER = @am_AUTOHEADER@
180 am__leading_dot = @am__leading_dot@
182 am__untar = @am__untar@
185 build_alias = @build_alias@
186 build_cpu = @build_cpu@
187 build_os = @build_os@
188 build_vendor = @build_vendor@
189 builddir = @builddir@
191 datarootdir = @datarootdir@
194 exec_prefix = @exec_prefix@
195 host_alias = @host_alias@
197 includedir = @includedir@
199 install_sh = @install_sh@
201 libexecdir = @libexecdir@
202 localedir = @localedir@
203 localstatedir = @localstatedir@
206 oldincludedir = @oldincludedir@
208 pkgvdatadir = @pkgvdatadir@
210 program_transform_name = @program_transform_name@
213 sharedstatedir = @sharedstatedir@
215 sysconfdir = @sysconfdir@
216 target_alias = @target_alias@
217 top_build_prefix = @top_build_prefix@
218 top_builddir = @top_builddir@
219 top_srcdir = @top_srcdir@
220 SUBDIRS = lib . doc m4 tests
221 bin_SCRIPTS = automake aclocal
222 CLEANFILES = $(bin_SCRIPTS)
223 AUTOMAKESOURCES = automake.in aclocal.in
224 TAGS_FILES = $(AUTOMAKESOURCES)
236 -e 's,[@]APIVERSION[@],$(APIVERSION),g' \
237 -e 's,[@]PACKAGE[@],$(PACKAGE),g' \
238 -e 's,[@]PATH_SEPARATOR[@],$(PATH_SEPARATOR),g' \
239 -e 's,[@]PERL[@],$(PERL),g' \
240 -e 's,[@]PERL_THREADS[@],$(PERL_THREADS),g' \
241 -e 's,[@]SHELL[@],$(SHELL),g' \
242 -e 's,[@]VERSION[@],$(VERSION),g' \
243 -e 's,[@]configure_input[@],Generated from $@.in; do not edit by hand.,g' \
244 -e 's,[@]datadir[@],$(datadir),g'
247 # Some simple checks, and then ordinary check. These are only really
248 # guaranteed to work on my machine.
249 syntax_check_rules = \
250 sc_diff_automake_in_automake \
252 sc_no_brace_variable_expansions \
254 sc_no_for_variable_in_macro \
256 sc_pre_normal_post_install_uninstall \
258 sc_perl_no_split_regex_space \
259 sc_cd_in_backquotes \
261 sc_perl_at_uscore_in_scalar_context \
262 sc_perl_local_no_parens \
264 sc_AMDEP_TRUE_in_automake_in \
265 sc_tests_make_without_am_makeflags \
266 sc_tests_plain_make \
267 sc_tests_plain_autoconf \
268 sc_tests_plain_autoupdate \
269 sc_tests_plain_automake \
270 sc_tests_here_document_format \
271 sc_tests_Exit_not_exit \
272 sc_tests_automake_fails \
273 sc_tests_plain_aclocal \
274 sc_tests_plain_perl \
275 sc_tests_required_after_defs \
276 sc_tests_overriding_macros_on_cmdline \
277 sc_tests_plain_sleep \
278 sc_tests_plain_egrep_fgrep \
281 sc_unquoted_DESTDIR \
286 WGET_SV_CVS = $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/
287 WGET_SV_GIT_CF = $(WGET) 'http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;hb=HEAD;f='
288 WGET_SV_GIT_AC = $(WGET) 'http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=blob_plain;hb=HEAD;f='
289 WGET_SV_GIT_GL = $(WGET) 'http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob_plain;hb=HEAD;f='
290 WGET_GCC = $(WGET) 'http://gcc.gnu.org/viewcvs/*checkout*/trunk/'
304 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
306 case '$(am__configure_deps)' in \
308 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
309 $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
314 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
315 $(am__cd) $(top_srcdir) && \
316 $(AUTOMAKE) --gnu Makefile
318 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
321 echo ' $(SHELL) ./config.status'; \
322 $(SHELL) ./config.status;; \
324 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
325 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
328 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
329 $(SHELL) ./config.status --recheck
331 $(top_srcdir)/configure: $(am__configure_deps)
332 $(am__cd) $(srcdir) && $(AUTOCONF)
333 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
334 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
335 $(am__aclocal_m4_deps):
336 install-binSCRIPTS: $(bin_SCRIPTS)
338 test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
339 @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \
340 for p in $$list; do \
341 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
342 if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
344 sed -e 'p;s,.*/,,;n' \
346 -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
347 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
348 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
349 if ($$2 == $$4) { files[d] = files[d] " " $$1; \
350 if (++n[d] == $(am__install_max)) { \
351 print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
352 else { print "f", d "/" $$4, $$1 } } \
353 END { for (d in files) print "f", d, files[d] }' | \
354 while read type dir files; do \
355 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
356 test -z "$$files" || { \
357 echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \
358 $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
362 uninstall-binSCRIPTS:
364 @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \
365 files=`for p in $$list; do echo "$$p"; done | \
366 sed -e 's,.*/,,;$(transform)'`; \
367 test -n "$$list" || exit 0; \
368 echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
369 cd "$(DESTDIR)$(bindir)" && rm -f $$files
371 # This directory's subdirectories are mostly independent; you can cd
372 # into them and run `make' without going through this Makefile.
373 # To change the values of `make' variables: instead of editing Makefiles,
374 # (1) if the variable is set in `config.status', edit `config.status'
375 # (which will cause the Makefiles to be regenerated when you run `make');
376 # (2) otherwise, pass the desired values on the `make' command line.
377 $(RECURSIVE_TARGETS):
379 for f in x $$MAKEFLAGS; do \
382 *k*) failcom='fail=yes';; \
386 target=`echo $@ | sed s/-recursive//`; \
387 list='$(SUBDIRS)'; for subdir in $$list; do \
388 echo "Making $$target in $$subdir"; \
389 if test "$$subdir" = "."; then \
391 local_target="$$target-am"; \
393 local_target="$$target"; \
395 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
398 if test "$$dot_seen" = "no"; then \
399 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
402 $(RECURSIVE_CLEAN_TARGETS):
404 for f in x $$MAKEFLAGS; do \
407 *k*) failcom='fail=yes';; \
412 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
413 *) list='$(SUBDIRS)' ;; \
415 rev=''; for subdir in $$list; do \
416 if test "$$subdir" = "."; then :; else \
417 rev="$$subdir $$rev"; \
421 target=`echo $@ | sed s/-recursive//`; \
422 for subdir in $$rev; do \
423 echo "Making $$target in $$subdir"; \
424 if test "$$subdir" = "."; then \
425 local_target="$$target-am"; \
427 local_target="$$target"; \
429 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
431 done && test -z "$$fail"
433 list='$(SUBDIRS)'; for subdir in $$list; do \
434 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
437 list='$(SUBDIRS)'; for subdir in $$list; do \
438 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
441 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
442 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
443 unique=`for i in $$list; do \
444 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
446 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
447 END { if (nonempty) { for (i in files) print i; }; }'`; \
451 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
452 $(TAGS_FILES) $(LISP)
455 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
456 include_option=--etags-include; \
459 include_option=--include; \
462 list='$(SUBDIRS)'; for subdir in $$list; do \
463 if test "$$subdir" = .; then :; else \
464 test ! -f $$subdir/TAGS || \
465 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
468 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
469 unique=`for i in $$list; do \
470 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
472 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
473 END { if (nonempty) { for (i in files) print i; }; }'`; \
475 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
476 test -n "$$unique" || unique=$$empty_fix; \
477 if test $$# -gt 0; then \
478 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
481 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
486 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
487 $(TAGS_FILES) $(LISP)
488 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
489 unique=`for i in $$list; do \
490 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
492 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
493 END { if (nonempty) { for (i in files) print i; }; }'`; \
494 test -z "$(CTAGS_ARGS)$$unique" \
495 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
499 here=`$(am__cd) $(top_builddir) && pwd` \
500 && $(am__cd) $(top_srcdir) \
501 && gtags -i $(GTAGS_ARGS) "$$here"
504 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
506 distdir: $(DISTFILES)
507 $(am__remove_distdir)
508 test -d "$(distdir)" || mkdir "$(distdir)"
509 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
510 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
511 list='$(DISTFILES)'; \
512 dist_files=`for file in $$list; do echo $$file; done | \
513 sed -e "s|^$$srcdirstrip/||;t" \
514 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
515 case $$dist_files in \
516 */*) $(MKDIR_P) `echo "$$dist_files" | \
517 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
520 for file in $$dist_files; do \
521 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
522 if test -d $$d/$$file; then \
523 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
524 if test -d "$(distdir)/$$file"; then \
525 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
527 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
528 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
529 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
531 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
533 test -f "$(distdir)/$$file" \
534 || cp -p $$d/$$file "$(distdir)/$$file" \
538 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
539 if test "$$subdir" = .; then :; else \
540 test -d "$(distdir)/$$subdir" \
541 || $(MKDIR_P) "$(distdir)/$$subdir" \
545 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
546 if test "$$subdir" = .; then :; else \
547 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
549 new_distdir=$$reldir; \
550 dir1=$$subdir; dir2="$(top_distdir)"; \
552 new_top_distdir=$$reldir; \
553 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
554 echo " am__remove_distdir=: am__skip_length_check=: distdir)"; \
555 ($(am__cd) $$subdir && \
556 $(MAKE) $(AM_MAKEFLAGS) \
557 top_distdir="$$new_top_distdir" \
558 distdir="$$new_distdir" \
559 am__remove_distdir=: \
560 am__skip_length_check=: \
565 $(MAKE) $(AM_MAKEFLAGS) \
566 top_distdir="$(top_distdir)" distdir="$(distdir)" \
568 -find "$(distdir)" -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
569 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
570 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
571 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
572 || chmod -R a+r "$(distdir)"
573 @if test -z "$(am__skip_length_check)" && find "$(distdir)" -type f -print | \
574 grep '^...................................................................................................' 1>&2; then \
575 echo 'error: the above filenames are too long' 1>&2; \
579 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
580 $(am__remove_distdir)
582 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
583 $(am__remove_distdir)
586 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
587 $(am__remove_distdir)
590 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
591 $(am__remove_distdir)
594 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
595 $(am__remove_distdir)
598 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
599 $(am__remove_distdir)
602 -rm -f $(distdir).zip
603 zip -rq $(distdir).zip $(distdir)
604 $(am__remove_distdir)
606 dist dist-all: distdir
607 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
608 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
609 $(am__remove_distdir)
611 # This target untars the dist file and tries a VPATH configuration. Then
612 # it guarantees that the distribution is self-contained by making another
615 case '$(DIST_ARCHIVES)' in \
617 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
619 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
621 unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
623 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
625 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
627 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
629 unzip $(distdir).zip ;;\
631 chmod -R a-w $(distdir); chmod a+w $(distdir)
632 mkdir $(distdir)/_build
633 mkdir $(distdir)/_inst
635 test -d $(distdir)/_build || exit 0; \
636 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
637 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
638 && $(am__cd) $(distdir)/_build \
639 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
640 $(DISTCHECK_CONFIGURE_FLAGS) \
641 && $(MAKE) $(AM_MAKEFLAGS) \
642 && $(MAKE) $(AM_MAKEFLAGS) dvi \
643 && $(MAKE) $(AM_MAKEFLAGS) check \
644 && $(MAKE) $(AM_MAKEFLAGS) install \
645 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
646 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
647 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
649 && chmod -R a-w "$$dc_install_base" \
651 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
652 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
653 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
654 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
655 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
656 } || { rm -rf "$$dc_destdir"; exit 1; }) \
657 && rm -rf "$$dc_destdir" \
658 && $(MAKE) $(AM_MAKEFLAGS) dist \
659 && rm -rf $(DIST_ARCHIVES) \
660 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
661 $(am__remove_distdir)
662 @(echo "$(distdir) archives ready for distribution: "; \
663 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
664 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
666 @$(am__cd) '$(distuninstallcheck_dir)' \
667 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
668 || { echo "ERROR: files left after uninstall:" ; \
669 if test -n "$(DESTDIR)"; then \
670 echo " (check DESTDIR support)"; \
672 $(distuninstallcheck_listfiles) ; \
674 distcleancheck: distclean
675 @if test '$(srcdir)' = . ; then \
676 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
679 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
680 || { echo "ERROR: files left in build directory after distclean:" ; \
681 $(distcleancheck_listfiles) ; \
684 check: check-recursive
685 all-am: Makefile $(SCRIPTS)
686 installdirs: installdirs-recursive
688 for dir in "$(DESTDIR)$(bindir)"; do \
689 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
691 install: install-recursive
692 install-exec: install-exec-recursive
693 install-data: install-data-recursive
694 uninstall: uninstall-recursive
697 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
699 installcheck: installcheck-recursive
701 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
702 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
703 `test -z '$(STRIP)' || \
704 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
708 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
711 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
712 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
714 maintainer-clean-generic:
715 @echo "This command is intended for maintainers to use"
716 @echo "it deletes files that may require special tools to rebuild."
717 clean: clean-recursive
719 clean-am: clean-generic mostlyclean-am
721 distclean: distclean-recursive
722 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
724 distclean-am: clean-am distclean-generic distclean-tags
740 install-dvi: install-dvi-recursive
744 install-exec-am: install-binSCRIPTS
746 $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
747 install-html: install-html-recursive
751 install-info: install-info-recursive
757 install-pdf: install-pdf-recursive
761 install-ps: install-ps-recursive
767 maintainer-clean: maintainer-clean-recursive
768 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
769 -rm -rf $(top_srcdir)/autom4te.cache
771 maintainer-clean-am: distclean-am maintainer-clean-generic
773 mostlyclean: mostlyclean-recursive
775 mostlyclean-am: mostlyclean-generic
785 uninstall-am: uninstall-binSCRIPTS
787 $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
788 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
789 install-am install-exec-am install-strip tags-recursive \
792 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
793 all all-am am--refresh check check-am clean clean-generic \
794 ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
795 dist-hook dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
796 distcheck distclean distclean-generic distclean-tags \
797 distcleancheck distdir distuninstallcheck dvi dvi-am html \
798 html-am info info-am install install-am install-binSCRIPTS \
799 install-data install-data-am install-dvi install-dvi-am \
800 install-exec install-exec-am install-exec-hook install-html \
801 install-html-am install-info install-info-am install-man \
802 install-pdf install-pdf-am install-ps install-ps-am \
803 install-strip installcheck installcheck-am installdirs \
804 installdirs-am maintainer-clean maintainer-clean-generic \
805 mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags \
806 tags-recursive uninstall uninstall-am uninstall-binSCRIPTS \
812 @for p in $(bin_SCRIPTS); do \
813 f="`echo $$p|sed '$(transform)'`"; \
814 fv="$$f-$(APIVERSION)"; \
815 rm -f $(DESTDIR)$(bindir)/$$fv; \
816 echo " $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv"; \
817 $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv; \
821 @for p in $(bin_SCRIPTS); do \
822 f="`echo $$p|sed '$(transform)'`"; \
823 fv="$$f-$(APIVERSION)"; \
824 rm -f $(DESTDIR)$(bindir)/$$fv; \
827 automake: automake.in
829 automake aclocal: Makefile
831 $(do_subst) $(srcdir)/$@.in >$@.tmp
837 cp $(srcdir)/lib/INSTALL $@
839 ################################################################
841 # Ensure tests are world-executable
843 cd $(distdir)/tests && chmod a+rx *.test
845 .PHONY: $(syntax_check_rules)
846 $(syntax_check_rules): automake aclocal
847 maintainer-check: $(syntax_check_rules)
849 sc_diff_automake_in_automake:
850 @if test `diff $(srcdir)/automake.in automake | wc -l` -ne 22; then \
851 echo "found too many diffs between automake.in and automake"; 1>&2; \
852 diff -c $(srcdir)/automake.in automake; \
857 perllibdir="./lib$(PATH_SEPARATOR)$(srcdir)/lib" $(PERL) -c -w automake
858 perllibdir="./lib$(PATH_SEPARATOR)$(srcdir)/lib" $(PERL) -c -w aclocal
860 sc_no_brace_variable_expansions:
861 @if grep -F '$${' $(srcdir)/lib/am/[a-z]*.am | \
862 grep -F -v '$$$$'; then \
863 echo "Found too many uses of '\$${' in the lines above." 1>&2; \
868 @if grep -v '^#' $(srcdir)/lib/am/[a-z]*.am $(srcdir)/tests/*.test | \
869 grep -E '\<rm ([^-]|\-[^f ]*\>)'; then \
870 echo "Suspicious 'rm' invocation." 1>&2; \
874 sc_no_for_variable_in_macro:
875 @if grep 'for .* in \$$(' $(srcdir)/lib/am/[a-z]*.am; then \
876 echo 'Use "list=$$(mumble); for var in $$$$list".' 1>&2 ; \
881 @if grep -n 'mkinstalldirs' $(srcdir)/lib/am/[a-z]*.am | \
882 grep -F -v '$$(mkinstalldirs)'; then \
883 echo "Found incorrect use of mkinstalldirs in the lines above" 1>&2; \
887 sc_pre_normal_post_install_uninstall:
888 @if grep -E -n '\((PRE|NORMAL|POST)_(|UN)INSTALL\)' \
889 $(srcdir)/lib/am/[a-z]*.am | \
890 grep -v ':##' | grep -v ': @\$$('; then \
891 echo "Found incorrect use of PRE/NORMAL/POST_INSTALL/UNINSTALL in the lines above" 1>&2; \
896 @if grep -n -w 'undef ' $(srcdir)/automake.in | \
897 grep -F -v 'undef $$/'; then \
898 echo "Found undef in automake.in; use delete instead" 1>&2; \
902 sc_perl_no_split_regex_space:
903 @if grep -n 'split (/ /' $(srcdir)/automake.in; then \
904 echo "Found bad split in the lines above." 1>&2; \
909 @if grep -n '^[^#]*` *cd ' $(srcdir)/automake.in \
910 $(srcdir)/lib/am/*.am; then \
911 echo "Consider using \$$(am__cd) in the lines above." 1>&2; \
916 @if grep -n '^[^#]*cd ' $(srcdir)/automake.in \
917 $(srcdir)/lib/am/*.am | \
918 grep -v 'echo.*cd ' | \
919 grep -v 'am__cd =' | \
920 grep -v '^[^#]*cd [./]' | \
921 grep -v '^[^#]*cd \$$(top_builddir)' | \
922 grep -v '^[^#]*cd "\$$\$$am__cwd' | \
923 grep -v '^[^#]*cd \$$(abs' | \
924 grep -v '^[^#]*cd "\$$(DESTDIR)'; then \
925 echo "Consider using \$$(am__cd) in the lines above." 1>&2; \
929 sc_perl_at_uscore_in_scalar_context:
930 @if grep -Hn '[^@_A-Za-z0-9][_A-Za-z0-9]*[^) ] *= *@_' $(srcdir)/automake.in; then \
931 echo "Using @_ in a scalar context in the lines above." 1>&2; \
935 sc_perl_local_no_parens:
936 @if grep '^[ \t]*local *(' $(srcdir)/automake.in; then \
937 echo "Don't use \`local' with parens: use several \`local' above." >&2; \
942 @if grep -v '^[ \t]*local \$$_;' $(srcdir)/automake.in | \
943 grep '^[ \t]*local [^*]'; then \
944 echo "Please avoid \`local'." 1>&2; \
948 sc_AMDEP_TRUE_in_automake_in:
949 @if grep '@AMDEP''_TRUE@' $(srcdir)/automake.in; then \
950 echo "Don't put AMDEP_TRUE substitution in automake.in" 1>&2; \
954 sc_tests_make_without_am_makeflags:
955 @if grep '^[^#].*(MAKE) ' $(srcdir)/lib/am/*.am $(srcdir)/automake.in |\
956 grep -v 'AM_MAKEFLAGS'; then \
957 echo 'Use $$(MAKE) $$(AM_MAKEFLAGS).' 1>&2; \
962 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*make'; then \
963 echo 'Do not run "make" in the above tests. Use "$$MAKE" instead.' 1>&2; \
967 sc_tests_plain_autoconf:
968 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*autoconf'; then \
969 echo 'Do not run "autoconf" in the above tests. Use "$$AUTOCONF" instead.' 1>&2; \
973 sc_tests_plain_autoupdate:
974 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*autoupdate'; then \
975 echo 'Do not run "autoupdate" in the above tests. Use "$$AUTOUPDATE" instead.' 1>&2; \
979 sc_tests_plain_automake:
980 @if grep -v '^#' $(srcdir)/tests/*.test | grep -E ':[ ]*automake([^:]|$$)'; then \
981 echo 'Do not run "automake" in the above tests. Use "$$AUTOMAKE" instead.' 1>&2; \
985 sc_tests_here_document_format:
986 @if grep '<<' $(srcdir)/tests/*.test | grep -v 'END' | grep -v 'EOF'; then \
987 echo 'Use here documents with "END" and "EOF" only, for greppability.' 1>&2; \
991 sc_tests_Exit_not_exit:
992 @found=false; for file in $(srcdir)/tests/*.test; do \
993 res=`sed -n '/^#/d; /^\$$PERL/d; /<<.*END/,/^END/{b;}; /<<.*EOF/,/^EOF/{b;}; /exit [$$0-9]/p' $$file`; \
994 if test -n "$$res"; then \
995 echo "$$file:$$res"; \
1000 echo 'Do not call plain "exit", use "Exit" instead, in above tests.' 1>&2; \
1004 sc_tests_automake_fails:
1005 @if grep -v '^#' $(srcdir)/tests/*.test | grep '\$$AUTOMAKE.*&&.*[eE]xit'; then \
1006 echo 'Use AUTOMAKE_fails + grep to catch automake failures in the above tests.' 1>&2; \
1010 sc_tests_plain_aclocal:
1011 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*aclocal'; then \
1012 echo 'Do not run "aclocal" in the above tests. Use "$$ACLOCAL" instead.' 1>&2; \
1016 sc_tests_plain_perl:
1017 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*perl'; then \
1018 echo 'Do not run "perl" in the above tests. Use "$$PERL" instead.' 1>&2; \
1022 sc_tests_required_after_defs:
1023 @for file in $(srcdir)/tests/*.test; do \
1024 if out=`sed -n '/defs/,$${/required=/p;}' $$file`; test -n "$$out"; then \
1025 echo 'Do not set "required" after sourcing "defs" in '"$$file: $$out" 1>&2; \
1030 sc_tests_overriding_macros_on_cmdline:
1031 @if grep -E '\$$MAKE .*(SHELL=.*=|=.*SHELL=)' $(srcdir)/tests/*.test; then \
1032 echo 'Rewrite "$$MAKE foo=bar SHELL=$$SHELL" as "foo=bar $$MAKE -e SHELL=$$SHELL"' 1>&2; \
1033 echo ' in the above lines, it is more portable.' 1>&2; \
1036 @if sed 's/DESTDIR=[^ ]*//; s/SHELL=[^ ]*//; s/V=[^ ]*//' $(srcdir)/tests/*.test | \
1037 grep '\$$MAKE .*=' ; then \
1038 echo 'Rewrite "$$MAKE foo=bar" as "foo=bar $$MAKE -e" in the above lines,' 1>&2; \
1039 echo 'it is more portable.' 1>&2; \
1042 @if grep 'SHELL=.*\$$MAKE' $(srcdir)/tests/*.test; then \
1043 echo '$$MAKE ignores the SHELL envvar, use "$$MAKE SHELL=$$SHELL" in' 1>&2; \
1044 echo 'the above lines.' 1>&2; \
1048 sc_tests_plain_sleep:
1049 @if grep -E '\bsleep +[12345]\b' $(srcdir)/tests/*.test; then \
1050 echo 'Do not use "sleep x" in the above tests. Use "$$sleep" instead.' 1>&2; \
1054 sc_tests_plain_egrep_fgrep:
1055 @if grep -E '\b[ef]grep\b' $(srcdir)/tests/*.test ; then \
1056 echo 'Do not use egrep or fgrep in test cases. Use $$FGREP or $$EGREP.' 1>&2; \
1059 @if grep -E '\b[ef]grep\b' $(srcdir)/lib/am/*.am $(srcdir)/m4/*.m4; then \
1060 echo 'Do not use egrep or fgrep in the above files, they are not portable.' 1>&2; \
1065 @if grep 'mkdir_p' $(srcdir)/automake.in \
1066 $(srcdir)/lib/am/*.am $(srcdir)/tests/*.test; then \
1067 echo 'Do not use mkdir_p in the above files, use MKDIR_P.' 1>&2; \
1072 @if test `grep -E '^[^#]*@[A-Za-z_0-9]+@' aclocal | wc -l` -ne 0; then \
1073 echo "Unresolved @...@ substitution in aclocal" 1>&2; \
1076 @if test `grep -E '^[^#]*@[A-Za-z_0-9]+@' automake | wc -l` -ne 0; then \
1077 echo "Unresolved @...@ substitution in automake" 1>&2; \
1081 sc_unquoted_DESTDIR:
1082 @if grep -E "[^\'\"]\\\$$\(DESTDIR" $(srcdir)/lib/am/*.am; then \
1083 echo 'Suspicious unquoted DESTDIR uses.' 1>&2 ; \
1088 @if grep ' ' $(srcdir)/doc/automake.texi; then \
1089 echo 'Do not use tabs in the manual.' 1>&2; \
1094 @if grep -E '([^@]|^)@([ ][^@]|$$)' $(srcdir)/doc/automake.texi; \
1096 echo 'Unescaped @.' 1>&2; \
1100 git-dist: maintainer-check
1101 @if sed 1q $(srcdir)/NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
1102 echo "NEWS not updated; not releasing" 1>&2; \
1105 $(MAKE) $(AM_MAKEFLAGS) distcheck
1106 cd $(srcdir) && git commit -a -s && \
1107 git tag -s "v$(VERSION)" -m "Release $(VERSION)"
1109 git-release: git-dist
1110 case $(VERSION) in \
1111 *[a-z]) dest=alpha;; \
1114 $(srcdir)/lib/gnupload $(GNUPLOADFLAGS) \
1115 --to $$dest.gnu.org:automake $(DIST_ARCHIVES)
1118 thisver="v$(VERSION)"; \
1119 if test -z "$$OLDVERSION"; then \
1120 prevno=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
1121 else prevno="$$OLDVERSION"; fi; \
1122 prevver=v$$prevno; \
1123 git diff $$prevver..$$thisver $(PACKAGE) \
1124 > $(PACKAGE)-$$prevno-$(VERSION).diff
1128 find . -print | xargs pathchk -p); \
1130 chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir); \
1134 rm -rf Fetchdir > /dev/null 2>&1
1137 $(WGET_SV_GIT_CF)config.guess -O config.guess && \
1138 $(WGET_SV_GIT_CF)config.sub -O config.sub && \
1139 $(WGET_SV_CVS)texinfo/texinfo/doc/texinfo.tex -O texinfo.tex && \
1140 $(WGET_SV_GIT_GL)doc/INSTALL -O INSTALL && \
1141 $(WGET_GCC)config-ml.in -O config-ml.in && \
1142 $(WGET_GCC)symlink-tree -O symlink-tree)
1143 @stat=0; for file in $(FETCHFILES); do \
1144 if diff -u $(srcdir)/lib/$$file Fetchdir/$$file \
1145 >>Fetchdir/update.patch 2>/dev/null; then :; \
1148 echo "Updating $(srcdir)/lib/$$file..."; \
1149 cp Fetchdir/$$file $(srcdir)/lib/$$file; \
1152 test $$stat = 0 || \
1153 echo "See Fetchdir/update.patch for a log of the changes."; \
1157 @am=`wc -l < automake` && \
1158 acl=`wc -l < aclocal` && \
1159 pmfiles="lib/Automake/*.pm" && \
1160 if test . != '$(srcdir)'; then pmfiles="$$pmfiles $(srcdir)/lib/Automake/*.pm"; \
1162 pm=`cat $$pmfiles | wc -l` && \
1163 dot_am_files=`ls -1 $(srcdir)/lib/am/*.am | grep -v Makefile.am` && \
1164 amf=`echo "$$dot_am_files" | wc -l` && \
1165 aml=`cat $$dot_am_files | wc -l` && \
1166 m4f=`ls -1 $(srcdir)/m4/*.m4 | wc -l` && \
1167 m4l=`cat $(srcdir)/m4/*.m4 | wc -l` && \
1168 doc_text=`cd doc && LC_ALL=C pstops 0 automake.ps unused.ps 2>&1` && \
1169 rm -f doc/unused.ps && \
1170 doc=`echo "$$doc_text" | sed -n 's/.*Wrote \([1-9][0-9]*\) pages.*/\1/p'` && \
1171 tests="tests/*.test"; \
1172 if test . != '$(srcdir)'; then tests="$$tests $(srcdir)/tests/*.test"; \
1174 t=`ls -1 $$tests | wc -l` && \
1175 tgen=`ls -1 $$tests | grep '.-p\.test' | wc -l` && \
1176 today=`date +%Y-%m-%d` && \
1177 echo "add this to the table in doc/automake.texi after verification:" && \
1178 printf '@item %s @tab %-6s @tab %4d @tab %4d @tab %4d @tab %4d %-4s @tab %4d %-4s @tab %3d @tab %d %-4s\n' \
1179 $$today $(VERSION) $$am $$acl $$pm $$aml "($$amf)" $$m4l "($$m4f)" $$doc $$t "($$tgen)"
1180 .PHONY: release-stats
1182 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1183 # Otherwise a system limit (for SysV at least) may be exceeded.