1 # Makefile.in generated by automake 1.7a from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
5 # Free Software Foundation, Inc.
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
18 top_srcdir = @top_srcdir@
20 pkgdatadir = $(datadir)/@PACKAGE@
21 pkglibdir = $(libdir)/@PACKAGE@
22 pkgincludedir = $(includedir)/@PACKAGE@
24 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
26 install_sh_DATA = $(install_sh) -c -m 644
27 install_sh_PROGRAM = $(install_sh) -c
28 install_sh_SCRIPT = $(install_sh) -c
29 INSTALL_HEADER = $(INSTALL_DATA)
30 transform = $(program_transform_name)
38 DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.in \
39 $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL \
40 Makefile.am NEWS THANKS TODO aclocal.m4 configure configure.ac
41 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
42 am__configure_deps = $(top_srcdir)/m4/amversion.m4 \
43 $(top_srcdir)/m4/auxdir.m4 $(top_srcdir)/m4/init.m4 \
44 $(top_srcdir)/m4/install-sh.m4 $(top_srcdir)/m4/lead-dot.m4 \
45 $(top_srcdir)/m4/missing.m4 $(top_srcdir)/m4/options.m4 \
46 $(top_srcdir)/m4/runlog.m4 $(top_srcdir)/m4/sanity.m4 \
47 $(top_srcdir)/m4/strip.m4
48 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
50 mkinstalldirs = $(SHELL) $(top_srcdir)/lib/mkinstalldirs
52 am__installdirs = $(DESTDIR)$(bindir)
53 binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
54 SCRIPTS = $(bin_SCRIPTS)
57 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
58 html-recursive info-recursive install-data-recursive \
59 install-exec-recursive install-info-recursive \
60 install-recursive installcheck-recursive installdirs-recursive \
61 pdf-recursive ps-recursive uninstall-info-recursive \
67 DIST_SUBDIRS = $(SUBDIRS)
68 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
69 distdir = $(PACKAGE)-$(VERSION)
70 top_distdir = $(distdir)
71 am__remove_distdir = \
72 { test ! -d $(distdir) \
73 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
74 && rm -fr $(distdir); }; }
75 DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
77 distuninstallcheck_listfiles = find . -type f -print
78 distcleancheck_listfiles = find . -type f -print
81 APIVERSION = @APIVERSION@
83 AUTOHEADER = @AUTOHEADER@
86 CYGPATH_W = @CYGPATH_W@
93 INSTALL_DATA = @INSTALL_DATA@
94 INSTALL_PROGRAM = @INSTALL_PROGRAM@
95 INSTALL_SCRIPT = @INSTALL_SCRIPT@
96 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
100 LTLIBOBJS = @LTLIBOBJS@
101 MAKEINFO = @MAKEINFO@
102 MODIFICATION_DELAY = @MODIFICATION_DELAY@
104 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
105 PACKAGE_NAME = @PACKAGE_NAME@
106 PACKAGE_STRING = @PACKAGE_STRING@
107 PACKAGE_TARNAME = @PACKAGE_TARNAME@
108 PACKAGE_VERSION = @PACKAGE_VERSION@
109 PATH_SEPARATOR = @PATH_SEPARATOR@
111 SET_MAKE = @SET_MAKE@
116 ac_ct_STRIP = @ac_ct_STRIP@
117 am__leading_dot = @am__leading_dot@
120 build_alias = @build_alias@
121 build_cpu = @build_cpu@
122 build_os = @build_os@
123 build_vendor = @build_vendor@
125 exec_prefix = @exec_prefix@
126 host_alias = @host_alias@
127 includedir = @includedir@
129 install_sh = @install_sh@
131 libexecdir = @libexecdir@
132 localstatedir = @localstatedir@
134 oldincludedir = @oldincludedir@
135 pkgvdatadir = @pkgvdatadir@
137 program_transform_name = @program_transform_name@
139 sharedstatedir = @sharedstatedir@
140 sysconfdir = @sysconfdir@
141 target_alias = @target_alias@
142 SUBDIRS = . doc m4 lib tests
143 bin_SCRIPTS = automake aclocal
144 CLEANFILES = $(bin_SCRIPTS)
145 AUTOMAKESOURCES = automake.in aclocal.in
146 TAGS_FILES = $(AUTOMAKESOURCES)
147 EXTRA_DIST = ChangeLog.96 ChangeLog.98 ChangeLog.00 ChangeLog.01 ChangeLog.02 \
150 do_subst = sed -e 's,[@]datadir[@],$(datadir),g' -e 's,[@]PERL[@],$(PERL),g' \
151 -e 's,[@]configure_input[@],@configure_input@,g' \
152 -e 's,[@]PACKAGE[@],$(PACKAGE),g' \
153 -e 's,[@]VERSION[@],$(VERSION),g' \
154 -e 's,[@]APIVERSION[@],$(APIVERSION),g' \
155 -e 's,[@]SHELL[@],$(SHELL),g'
171 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4) $(am__configure_deps)
173 case '$(top_srcdir)/configure.ac $(ACLOCAL_M4) $(am__configure_deps)' in \
175 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
176 cd $(srcdir) && $(AUTOMAKE) --gnu \
181 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
182 cd $(top_srcdir) && \
183 $(AUTOMAKE) --gnu Makefile
184 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
187 echo ' $(SHELL) ./config.status'; \
188 $(SHELL) ./config.status;; \
190 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
191 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
194 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
195 $(SHELL) ./config.status --recheck
197 $(top_srcdir)/configure: $(top_srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) $(am__configure_deps)
198 cd $(srcdir) && $(AUTOCONF)
199 $(ACLOCAL_M4): $(top_srcdir)/configure.ac $(am__configure_deps)
200 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
201 install-binSCRIPTS: $(bin_SCRIPTS)
203 $(mkinstalldirs) $(DESTDIR)$(bindir)
204 @list='$(bin_SCRIPTS)'; for p in $$list; do \
205 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
206 if test -f $$d$$p; then \
207 f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
208 echo " $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f"; \
209 $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f; \
213 uninstall-binSCRIPTS:
215 @list='$(bin_SCRIPTS)'; for p in $$list; do \
216 f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
217 echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
218 rm -f $(DESTDIR)$(bindir)/$$f; \
222 # This directory's subdirectories are mostly independent; you can cd
223 # into them and run `make' without going through this Makefile.
224 # To change the values of `make' variables: instead of editing Makefiles,
225 # (1) if the variable is set in `config.status', edit `config.status'
226 # (which will cause the Makefiles to be regenerated when you run `make');
227 # (2) otherwise, pass the desired values on the `make' command line.
228 $(RECURSIVE_TARGETS):
229 @set fnord $$MAKEFLAGS; amf=$$2; \
231 target=`echo $@ | sed s/-recursive//`; \
232 list='$(SUBDIRS)'; for subdir in $$list; do \
233 echo "Making $$target in $$subdir"; \
234 if test "$$subdir" = "."; then \
236 local_target="$$target-am"; \
238 local_target="$$target"; \
240 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
241 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
243 if test "$$dot_seen" = "no"; then \
244 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
247 mostlyclean-recursive clean-recursive distclean-recursive \
248 maintainer-clean-recursive:
249 @set fnord $$MAKEFLAGS; amf=$$2; \
252 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
253 *) list='$(SUBDIRS)' ;; \
255 rev=''; for subdir in $$list; do \
256 if test "$$subdir" = "."; then :; else \
257 rev="$$subdir $$rev"; \
261 target=`echo $@ | sed s/-recursive//`; \
262 for subdir in $$rev; do \
263 echo "Making $$target in $$subdir"; \
264 if test "$$subdir" = "."; then \
265 local_target="$$target-am"; \
267 local_target="$$target"; \
269 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
270 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
271 done && test -z "$$fail"
273 list='$(SUBDIRS)'; for subdir in $$list; do \
274 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
277 list='$(SUBDIRS)'; for subdir in $$list; do \
278 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
283 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
284 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
285 unique=`for i in $$list; do \
286 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
288 $(AWK) ' { files[$$0] = 1; } \
289 END { for (i in files) print i; }'`; \
292 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
293 $(TAGS_FILES) $(LISP)
296 if (etags --etags-include --version) >/dev/null 2>&1; then \
297 include_option=--etags-include; \
299 include_option=--include; \
301 list='$(SUBDIRS)'; for subdir in $$list; do \
302 if test "$$subdir" = .; then :; else \
303 test -f $$subdir/TAGS && \
304 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
307 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
308 unique=`for i in $$list; do \
309 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
311 $(AWK) ' { files[$$0] = 1; } \
312 END { for (i in files) print i; }'`; \
313 test -z "$(ETAGS_ARGS)$$tags$$unique" \
314 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
318 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
319 $(TAGS_FILES) $(LISP)
322 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
323 unique=`for i in $$list; do \
324 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
326 $(AWK) ' { files[$$0] = 1; } \
327 END { for (i in files) print i; }'`; \
328 test -z "$(CTAGS_ARGS)$$tags$$unique" \
329 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
333 here=`$(am__cd) $(top_builddir) && pwd` \
334 && cd $(top_srcdir) \
335 && gtags -i $(GTAGS_ARGS) $$here
338 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
340 distdir: $(DISTFILES)
341 $(am__remove_distdir)
343 $(mkinstalldirs) $(distdir)/m4 $(distdir)/tests
344 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
345 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
346 list='$(DISTFILES)'; for file in $$list; do \
348 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
349 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
351 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
352 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
353 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
355 $(mkinstalldirs) "$(distdir)$$dir"; \
359 if test -d $$d/$$file; then \
360 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
361 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
363 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
365 test -f $(distdir)/$$file \
366 || cp -p $$d/$$file $(distdir)/$$file \
370 list='$(SUBDIRS)'; for subdir in $$list; do \
371 if test "$$subdir" = .; then :; else \
372 test -d "$(distdir)/$$subdir" \
373 || mkdir "$(distdir)/$$subdir" \
376 $(MAKE) $(AM_MAKEFLAGS) \
377 top_distdir="../$(top_distdir)" \
378 distdir="../$(distdir)/$$subdir" \
383 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
384 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
385 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
386 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
387 || chmod -R a+r $(distdir)
389 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
390 $(am__remove_distdir)
392 $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
393 $(am__remove_distdir)
396 $(AMTAR) chof - $(distdir) | compress -c >$(distdir).tar.Z
397 $(am__remove_distdir)
400 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
401 $(am__remove_distdir)
404 -rm -f $(distdir).zip
405 zip -rq $(distdir).zip $(distdir)
406 $(am__remove_distdir)
408 dist dist-all: distdir
409 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
410 $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
411 $(am__remove_distdir)
413 # This target untars the dist file and tries a VPATH configuration. Then
414 # it guarantees that the distribution is self-contained by making another
417 case '$(DIST_ARCHIVES)' in \
419 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - ;;\
421 bunzip2 -c $(distdir).tar.bz2 | $(AMTAR) xf - ;;\
423 uncompress -c $(distdir).tar.Z | $(AMTAR) xf - ;;\
425 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | unshar ;;\
427 unzip $(distdir).zip ;;\
429 chmod -R a-w $(distdir); chmod a+w $(distdir)
430 mkdir $(distdir)/_build
431 mkdir $(distdir)/_inst
433 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
434 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
435 && cd $(distdir)/_build \
436 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
437 $(DISTCHECK_CONFIGURE_FLAGS) \
438 && $(MAKE) $(AM_MAKEFLAGS) \
439 && $(MAKE) $(AM_MAKEFLAGS) dvi \
440 && $(MAKE) $(AM_MAKEFLAGS) check \
441 && $(MAKE) $(AM_MAKEFLAGS) install \
442 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
443 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
444 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
446 && chmod -R a-w "$$dc_install_base" \
448 (cd ../.. && $(mkinstalldirs) "$$dc_destdir") \
449 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
450 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
451 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
452 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
453 } || { rm -rf "$$dc_destdir"; exit 1; }) \
454 && rm -rf "$$dc_destdir" \
455 && $(MAKE) $(AM_MAKEFLAGS) dist \
456 && rm -rf $(DIST_ARCHIVES) \
457 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
458 $(am__remove_distdir)
459 @(echo "$(distdir) archives ready for distribution: "; \
460 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
461 sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
463 @cd $(distuninstallcheck_dir) \
464 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
465 || { echo "ERROR: files left after uninstall:" ; \
466 if test -n "$(DESTDIR)"; then \
467 echo " (check DESTDIR support)"; \
469 $(distuninstallcheck_listfiles) ; \
471 distcleancheck: distclean
472 @if test '$(srcdir)' = . ; then \
473 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
476 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
477 || { echo "ERROR: files left in build directory after distclean:" ; \
478 $(distcleancheck_listfiles) ; \
481 check: check-recursive
482 all-am: Makefile $(SCRIPTS)
483 installdirs: installdirs-recursive
485 $(mkinstalldirs) $(DESTDIR)$(bindir)
486 install: install-recursive
487 install-exec: install-exec-recursive
488 install-data: install-data-recursive
489 uninstall: uninstall-recursive
492 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
494 installcheck: installcheck-recursive
496 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
497 INSTALL_STRIP_FLAG=-s \
498 `test -z '$(STRIP)' || \
499 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
503 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
506 -rm -f $(CONFIG_CLEAN_FILES)
508 maintainer-clean-generic:
509 @echo "This command is intended for maintainers to use"
510 @echo "it deletes files that may require special tools to rebuild."
511 clean: clean-recursive
513 clean-am: clean-generic mostlyclean-am
515 distclean: distclean-recursive
516 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
518 distclean-am: clean-am distclean-generic distclean-tags
532 install-exec-am: install-binSCRIPTS
534 $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
536 install-info: install-info-recursive
542 maintainer-clean: maintainer-clean-recursive
543 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
544 -rm -rf $(top_srcdir)/autom4te.cache
546 maintainer-clean-am: distclean-am maintainer-clean-generic
548 mostlyclean: mostlyclean-recursive
550 mostlyclean-am: mostlyclean-generic
560 uninstall-am: uninstall-binSCRIPTS uninstall-info-am
562 $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
564 uninstall-info: uninstall-info-recursive
566 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
567 check-am clean clean-generic clean-recursive ctags \
568 ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-shar \
569 dist-tarZ dist-zip distcheck distclean distclean-generic \
570 distclean-recursive distclean-tags distcleancheck distdir \
571 distuninstallcheck dvi dvi-am html html-am info info-am \
572 install install-am install-binSCRIPTS install-data \
573 install-data-am install-exec install-exec-am install-info \
574 install-info-am install-man install-strip installcheck \
575 installcheck-am installdirs installdirs-am maintainer-clean \
576 maintainer-clean-generic maintainer-clean-recursive \
577 mostlyclean mostlyclean-generic mostlyclean-recursive pdf \
578 pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
579 uninstall-binSCRIPTS uninstall-info-am
584 @for p in $(bin_SCRIPTS); do \
585 f="`echo $$p|sed '$(transform)'`"; \
586 fv="$$f-$(APIVERSION)"; \
587 rm -f $(DESTDIR)$(bindir)/$$fv; \
588 echo " $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv"; \
589 $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv; \
593 @for p in $(bin_SCRIPTS); do \
594 f="`echo $$p|sed '$(transform)'`"; \
595 fv="$$f-$(APIVERSION)"; \
596 rm -f $(DESTDIR)$(bindir)/$$fv; \
599 automake: automake.in Makefile
600 $(do_subst) < $(srcdir)/automake.in > automake
603 aclocal: aclocal.in Makefile
604 $(do_subst) < $(srcdir)/aclocal.in > aclocal
610 ################################################################
612 # Some simple checks, and then ordinary check. These are only really
613 # guaranteed to work on my machine.
614 maintainer-check: automake aclocal
615 @if test `diff $(srcdir)/automake.in automake | wc -l` -ne 20; then \
616 echo "found too many diffs between automake.in and automake"; 1>&2; \
617 diff -c $(srcdir)/automake.in automake; \
620 perllibdir=./lib:$(srcdir)/lib $(PERL) -c -w automake
621 perllibdir=./lib:$(srcdir)/lib $(PERL) -c -w aclocal
622 @if grep -F '$${' $(srcdir)/lib/am/[a-z]*.am | \
623 grep -F -v '$$$$'; then \
624 echo "Found too many uses of '\$${' in the lines above." 1>&2; \
627 @if grep -E '\<rm ([^-]|\-[^f ]*\>)' \
628 $(srcdir)/lib/am/[a-z]*.am $(srcdir)/tests/*.test | \
630 echo "Suspicious 'rm' invocation." 1>&2; \
633 @if grep 'for .* in \$$(' $(srcdir)/lib/am/[a-z]*.am; then \
634 echo 'Use "list=$$(mumble); for var in $$$$list".' 1>&2 ; \
637 @if grep -n 'mkinstalldirs' $(srcdir)/lib/am/[a-z]*.am | \
638 grep -F -v '$$(mkinstalldirs)'; then \
639 echo "Found incorrect use of mkinstalldirs in the lines above" 1>&2; \
642 @if grep -n -w 'undef ' $(srcdir)/automake.in | \
643 grep -F -v 'undef $$/'; then \
644 echo "Found undef in automake.in; use delete instead" 1>&2; \
647 @if grep -n 'split (/ /' $(srcdir)/automake.in; then \
648 echo "Found bad split in the lines above." 1>&2; \
651 @if grep -n '^[^#]*` *cd ' $(srcdir)/automake.in \
652 $(srcdir)/lib/am/*.am; then \
653 echo "Consider using $$$$(am__cd) in the line above." 1>&2; \
656 @if grep -Hn '[^) ] *= *@_' $(srcdir)/automake.in; then \
657 echo "Using @_ in a scalar context in the lines above." 1>&2; \
660 @if grep '^[ \t]*local *(' $(srcdir)/automake.in; then \
661 echo "Don't use \`local' with parens: use several \`local' above." >&2; \
664 @if grep -v '^[ \t]*local \$$_;' $(srcdir)/automake.in | \
665 grep '^[ \t]*local [^*]'; then \
666 echo "Please avoid \`local'." 1>&2; \
669 @if grep '@AMDEP''_TRUE@' $(srcdir)/automake.in; then \
670 echo "Don't put AMDEP_TRUE substitution in automake.in" 1>&2; \
673 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*make'; then \
674 echo 'Do not run "make" in the above tests. Use "$$MAKE" instead.' 1>&2; \
677 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*autoconf'; then \
678 echo 'Do not run "autoconf" in the above tests. Use "$$AUTOCONF" instead.' 1>&2; \
681 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*autoupdate'; then \
682 echo 'Do not run "autoupdate" in the above tests. Use "$$AUTOUPDATE" instead.' 1>&2; \
685 @if grep -v '^#' $(srcdir)/tests/*.test | grep -E ':[ ]*automake([^:]|$$)'; then \
686 echo 'Do not run "automake" in the above tests. Use "$$AUTOMAKE" instead.' 1>&2; \
689 @if grep -v '^#' $(srcdir)/tests/*.test | grep '\$$AUTOMAKE.*&&.*exit'; then \
690 echo 'Use AUTOMAKE_fails + grep to catch automake failures in the above tests.' 1>&2; \
693 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*aclocal'; then \
694 echo 'Do not run "aclocal" in the above tests. Use "$$ACLOCAL" instead.' 1>&2; \
697 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*perl'; then \
698 echo 'Do not run "perl" in the above tests. Use "$$PERL" instead.' 1>&2; \
701 @if grep -E '\$$MAKE .*(SHELL=.*=|=.*SHELL=)' $(srcdir)/tests/*.test; then \
702 echo 'Rewrite "$$MAKE foo=bar SHELL=$$SHELL" as "foo=bar $$MAKE -e SHELL=$$SHELL"' 1>&2; \
703 echo ' in the above lines, it is more portable.' 1>&2; \
706 @if grep -v SHELL $(srcdir)/tests/*.test | grep '\$$MAKE .*=' ; then \
707 echo 'Rewrite "$$MAKE foo=bar" as "foo=bar $$MAKE -e" in the above lines,' 1>&2; \
708 echo 'it is more portable.' 1>&2; \
711 @if grep 'SHELL=.*\$$MAKE' $(srcdir)/tests/*.test; then \
712 echo '$$MAKE ignores the SHELL envvar, use "$$MAKE SHELL=$$SHELL" in' 1>&2; \
713 echo 'the above lines.' 1>&2; \
716 @if grep -E '\bsleep +[12345]\b' $(srcdir)/tests/*.test; then \
717 echo 'Do not use "sleep x" in the above tests. Use "$$sleep" instead.' 1>&2; \
720 @if grep -E '\b[ef]grep\b' $(srcdir)/tests/*.test ; then \
721 echo 'Do not use egrep or fgrep in test cases. Use $$FGREP or $$EGREP.' 1>&2; \
724 @if grep -E '\b[ef]grep\b' $(srcdir)/lib/am/*.am $(srcdir)/m4/*.m4; then \
725 echo 'Do not use egrep or fgrep in the above files, they are not portable.' 1>&2; \
728 @if test `grep -E '^[^#]*@[A-Za-z_0-9]+@' aclocal | wc -l` -ne 0; then \
729 echo "Unresolved @...@ substitution in aclocal" 1>&2; \
732 @if test `grep -E '^[^#]*@[A-Za-z_0-9]+@' automake | wc -l` -ne 0; then \
733 echo "Unresolved @...@ substitution in automake" 1>&2; \
737 # Tag before making distribution. Also, don't make a distribution if
738 # checks fail. Also, make sure the NEWS file is up-to-date.
739 cvs-dist: maintainer-check distcheck
740 @if sed 1q $(srcdir)/NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
741 echo "NEWS not updated; not releasing" 1>&2; \
744 cd $(srcdir) && cvs -q tag `echo "Release-$(VERSION)" | sed 's/\./-/g'`
748 thisver=`echo "Release-$(VERSION)" | sed 's/\./-/g'`; \
749 if test -z "$$OLDVERSION"; then \
750 prevno=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
751 else prevno="$$OLDVERSION"; fi; \
752 prevver=Release-`echo $$prevno | sed 's/\./-/g'`; \
753 cvs -f rdiff -c -r $$prevver -r $$thisver $(PACKAGE) \
754 > $(PACKAGE)-$$prevno-$(VERSION).diff
758 find . -print | xargs pathchk -p); \
760 chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir); \
764 rm -rf Fetchdir > /dev/null 2>&1
767 $(WGET) ftp://ftp.gnu.org/gnu/config/config.guess; \
768 $(WGET) ftp://ftp.gnu.org/gnu/config/config.sub; \
769 $(WGET) ftp://ftp.gnu.org/gnu/texinfo/texinfo.tex; \
770 $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/autoconf/autoconf/INSTALL?content-type=text/plain -O INSTALL; \
771 $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/gcc/gcc/config-ml.in; \
772 $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/gcc/gcc/symlink-tree)
773 perl -pi -e 's/Autom4te::/Automake::/g' \
774 Fetchdir/Automake/Struct.pm Fetchdir/Automake/XFile.pm
775 @stat=0; for file in $(FETCHFILES); do \
776 if diff -u $(srcdir)/lib/$$file Fetchdir/$$file \
777 >>Fetchdir/update.patch 2>/dev/null; then :; \
780 echo "Updating $(srcdir)/lib/$$file..."; \
781 cp Fetchdir/$$file $(srcdir)/lib/$$file; \
785 echo "See Fetchdir/update.patch for a log of the changes."; \
787 # Tell versions [3.59,3.63) of GNU make to not export all variables.
788 # Otherwise a system limit (for SysV at least) may be exceeded.