1 # Makefile.in generated by automake 1.6f from Makefile.am.
4 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
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@
25 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
27 install_sh_DATA = $(install_sh) -c -m 644
28 install_sh_PROGRAM = $(install_sh) -c
29 install_sh_SCRIPT = $(install_sh) -c
30 INSTALL_HEADER = $(INSTALL_DATA)
31 transform = $(program_transform_name)
40 APIVERSION = @APIVERSION@
42 AUTOHEADER = @AUTOHEADER@
45 CYGPATH_W = @CYGPATH_W@
52 INSTALL_DATA = @INSTALL_DATA@
53 INSTALL_PROGRAM = @INSTALL_PROGRAM@
54 INSTALL_SCRIPT = @INSTALL_SCRIPT@
55 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
58 LTLIBOBJS = @LTLIBOBJS@
61 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
62 PACKAGE_NAME = @PACKAGE_NAME@
63 PACKAGE_STRING = @PACKAGE_STRING@
64 PACKAGE_TARNAME = @PACKAGE_TARNAME@
65 PACKAGE_VERSION = @PACKAGE_VERSION@
66 PATH_SEPARATOR = @PATH_SEPARATOR@
72 ac_ct_STRIP = @ac_ct_STRIP@
74 build_alias = @build_alias@
76 exec_prefix = @exec_prefix@
77 host_alias = @host_alias@
78 includedir = @includedir@
80 install_sh = @install_sh@
82 libexecdir = @libexecdir@
83 localstatedir = @localstatedir@
85 oldincludedir = @oldincludedir@
86 pkgvdatadir = @pkgvdatadir@
88 program_transform_name = @program_transform_name@
90 sharedstatedir = @sharedstatedir@
91 sysconfdir = @sysconfdir@
92 target_alias = @target_alias@
94 SUBDIRS = . m4 lib tests
96 bin_SCRIPTS = automake aclocal
97 info_TEXINFOS = automake.texi
99 CLEANFILES = $(bin_SCRIPTS)
100 AUTOMAKESOURCES = automake.in aclocal.in
102 TAGS_FILES = $(AUTOMAKESOURCES)
104 # The following requires a fixed version of the Emacs 19.30 etags.
105 ETAGS_ARGS = --lang=none \
106 --regex='/^@node[ \t]+\([^,]+\)/\1/' $(srcdir)/automake.texi
108 TAGS_DEPENDENCIES = automake.texi
110 EXTRA_DIST = ChangeLog.1996 ChangeLog.1998 ChangeLog.2000 ChangeLog.2001 \
114 do_subst = sed -e 's,[@]datadir[@],$(datadir),g' -e 's,[@]PERL[@],$(PERL),g' \
115 -e 's,[@]configure_input[@],@configure_input@,g' \
116 -e 's,[@]PACKAGE[@],$(PACKAGE),g' \
117 -e 's,[@]VERSION[@],$(VERSION),g' \
118 -e 's,[@]APIVERSION[@],$(APIVERSION),g'
133 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
134 mkinstalldirs = $(SHELL) $(top_srcdir)/lib/mkinstalldirs
136 SCRIPTS = $(bin_SCRIPTS)
139 TEXINFO_TEX = $(top_srcdir)/lib/texinfo.tex
140 am__TEXINFO_TEX_DIR = $(top_srcdir)/lib
141 INFO_DEPS = automake.info
145 TEXINFOS = automake.texi
147 RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
148 ps-recursive install-info-recursive uninstall-info-recursive \
149 all-recursive install-data-recursive install-exec-recursive \
150 installdirs-recursive install-recursive uninstall-recursive \
151 check-recursive installcheck-recursive
152 DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \
153 Makefile.in NEWS THANKS TODO aclocal.m4 configure configure.in \
154 mdate-sh stamp-vti version.texi
155 DIST_SUBDIRS = $(SUBDIRS)
159 .SUFFIXES: .dvi .info .pdf .ps .texi
161 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
163 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
164 cd $(top_srcdir) && \
165 $(AUTOMAKE) --gnu Makefile
166 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
167 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
169 $(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
170 $(SHELL) ./config.status --recheck
171 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
172 cd $(srcdir) && $(AUTOCONF)
174 $(ACLOCAL_M4): configure.in
175 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
176 binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
177 install-binSCRIPTS: $(bin_SCRIPTS)
179 $(mkinstalldirs) $(DESTDIR)$(bindir)
180 @list='$(bin_SCRIPTS)'; for p in $$list; do \
181 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
182 if test -f $$d$$p; then \
183 f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
184 echo " $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f"; \
185 $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f; \
189 uninstall-binSCRIPTS:
191 @list='$(bin_SCRIPTS)'; for p in $$list; do \
192 f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
193 echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
194 rm -f $(DESTDIR)$(bindir)/$$f; \
198 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
199 $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
200 `test -f '$<' || echo '$(srcdir)/'`$< -o $@
203 TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
204 MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
205 $(TEXI2DVI) `test -f '$<' || echo '$(srcdir)/'`$<
208 TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
209 MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
210 $(TEXI2PDF) `test -f '$<' || echo '$(srcdir)/'`$<
211 automake.info: version.texi
212 automake.dvi: version.texi
213 automake.pdf: version.texi
214 version.texi: stamp-vti
215 stamp-vti: automake.texi $(top_srcdir)/configure.in
216 @(dir=.; test -f ./automake.texi || dir=$(srcdir); \
217 set `$(SHELL) $(top_srcdir)/lib/mdate-sh $$dir/automake.texi`; \
218 echo "@set UPDATED $$1 $$2 $$3"; \
219 echo "@set UPDATED-MONTH $$2 $$3"; \
220 echo "@set EDITION $(VERSION)"; \
221 echo "@set VERSION $(VERSION)") > vti.tmp
222 @cmp -s vti.tmp version.texi \
223 || (echo "Updating version.texi"; \
224 cp vti.tmp version.texi)
231 maintainer-clean-vti:
232 -rm -f stamp-vti version.texi
235 TEXI2PDF = $(TEXI2DVI) --pdf --batch
242 @if (install-info --version && \
243 install-info --version | grep -i -v debian) >/dev/null 2>&1; then \
244 list='$(INFO_DEPS)'; \
245 for file in $$list; do \
246 echo " install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file"; \
247 install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file; \
251 @list='$(INFO_DEPS)'; \
252 for file in $$list; do \
253 (if cd $(DESTDIR)$(infodir); then \
254 echo " rm -f $$file $$file-[0-9] $$file-[0-9][0-9])"; \
255 rm -f $$file $$file-[0-9] $$file-[0-9][0-9]; \
259 dist-info: $(INFO_DEPS)
260 list='$(INFO_DEPS)'; \
261 for base in $$list; do \
262 if test -f $$base; then d=.; else d=$(srcdir); fi; \
263 for file in $$d/$$base*; do \
264 relfile=`expr "$$file" : "$$d/\(.*\)"`; \
265 test -f $(distdir)/$$relfile || \
266 cp -p $$file $(distdir)/$$relfile; \
271 -rm -f automake.aux automake.cm automake.cp automake.cps automake.cv \
272 automake.fn automake.ky automake.log automake.op automake.ov \
273 automake.pg automake.tmp automake.toc automake.tp automake.tr \
274 automake.vr automake.vrs automake.dvi automake.pdf \
277 maintainer-clean-aminfo:
278 list='$(INFO_DEPS)'; for i in $$list; do \
280 if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
285 # This directory's subdirectories are mostly independent; you can cd
286 # into them and run `make' without going through this Makefile.
287 # To change the values of `make' variables: instead of editing Makefiles,
288 # (1) if the variable is set in `config.status', edit `config.status'
289 # (which will cause the Makefiles to be regenerated when you run `make');
290 # (2) otherwise, pass the desired values on the `make' command line.
291 $(RECURSIVE_TARGETS):
292 @set fnord $$MAKEFLAGS; amf=$$2; \
294 target=`echo $@ | sed s/-recursive//`; \
295 list='$(SUBDIRS)'; for subdir in $$list; do \
296 echo "Making $$target in $$subdir"; \
297 if test "$$subdir" = "."; then \
299 local_target="$$target-am"; \
301 local_target="$$target"; \
303 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
304 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
306 if test "$$dot_seen" = "no"; then \
307 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
310 mostlyclean-recursive clean-recursive distclean-recursive \
311 maintainer-clean-recursive:
312 @set fnord $$MAKEFLAGS; amf=$$2; \
315 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
316 *) list='$(SUBDIRS)' ;; \
318 rev=''; for subdir in $$list; do \
319 if test "$$subdir" = "."; then :; else \
320 rev="$$subdir $$rev"; \
324 target=`echo $@ | sed s/-recursive//`; \
325 for subdir in $$rev; do \
326 echo "Making $$target in $$subdir"; \
327 if test "$$subdir" = "."; then \
328 local_target="$$target-am"; \
330 local_target="$$target"; \
332 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
333 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
334 done && test -z "$$fail"
336 list='$(SUBDIRS)'; for subdir in $$list; do \
337 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
340 list='$(SUBDIRS)'; for subdir in $$list; do \
341 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
352 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
353 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
354 unique=`for i in $$list; do \
355 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
357 $(AWK) ' { files[$$0] = 1; } \
358 END { for (i in files) print i; }'`; \
361 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
362 $(TAGS_FILES) $(LISP)
365 list='$(SUBDIRS)'; for subdir in $$list; do \
366 if test "$$subdir" = .; then :; else \
367 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
370 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
371 unique=`for i in $$list; do \
372 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
374 $(AWK) ' { files[$$0] = 1; } \
375 END { for (i in files) print i; }'`; \
376 test -z "$(ETAGS_ARGS)$$tags$$unique" \
377 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
381 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
382 $(TAGS_FILES) $(LISP)
385 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
386 unique=`for i in $$list; do \
387 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
389 $(AWK) ' { files[$$0] = 1; } \
390 END { for (i in files) print i; }'`; \
391 test -z "$(CTAGS_ARGS)$$tags$$unique" \
392 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
396 here=`$(am__cd) $(top_builddir) && pwd` \
397 && cd $(top_srcdir) \
398 && gtags -i $(GTAGS_ARGS) $$here
401 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
402 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
405 distdir = $(PACKAGE)-$(VERSION)
407 am__remove_distdir = \
408 { test ! -d $(distdir) \
409 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
410 && rm -fr $(distdir); }; }
413 distcleancheck_listfiles = find . -type f -print
415 distdir: $(DISTFILES)
416 $(am__remove_distdir)
418 $(mkinstalldirs) $(distdir)/m4 $(distdir)/tests
419 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
420 list='$(DISTFILES)'; for file in $$list; do \
422 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
424 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
425 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
426 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
428 $(mkinstalldirs) "$(distdir)$$dir"; \
432 if test -d $$d/$$file; then \
433 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
434 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
436 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
438 test -f $(distdir)/$$file \
439 || cp -p $$d/$$file $(distdir)/$$file \
443 list='$(SUBDIRS)'; for subdir in $$list; do \
444 if test "$$subdir" = .; then :; else \
445 test -d $(distdir)/$$subdir \
446 || mkdir $(distdir)/$$subdir \
449 $(MAKE) $(AM_MAKEFLAGS) \
450 top_distdir="$(top_distdir)" \
451 distdir=../$(distdir)/$$subdir \
456 $(MAKE) $(AM_MAKEFLAGS) \
457 top_distdir="$(top_distdir)" distdir="$(distdir)" \
459 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
460 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
461 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
462 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
463 || chmod -R a+r $(distdir)
465 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
466 $(am__remove_distdir)
469 $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
470 $(am__remove_distdir)
472 dist dist-all: distdir
473 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
474 $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
475 $(am__remove_distdir)
477 # This target untars the dist file and tries a VPATH configuration. Then
478 # it guarantees that the distribution is self-contained by making another
481 $(am__remove_distdir)
482 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
483 chmod -R a-w $(distdir); chmod a+w $(distdir)
484 mkdir $(distdir)/=build
485 mkdir $(distdir)/=inst
487 dc_install_base=`$(am__cd) $(distdir)/=inst && pwd` \
488 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
489 && cd $(distdir)/=build \
490 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
491 $(DISTCHECK_CONFIGURE_FLAGS) \
492 && $(MAKE) $(AM_MAKEFLAGS) \
493 && $(MAKE) $(AM_MAKEFLAGS) dvi \
494 && $(MAKE) $(AM_MAKEFLAGS) check \
495 && $(MAKE) $(AM_MAKEFLAGS) install \
496 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
497 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
498 && (test `find "$$dc_install_base" -type f -print | wc -l` -le 1 \
499 || { echo "ERROR: files left after uninstall:" ; \
500 find $$dc_install_base -type f -print ; \
502 && chmod -R a-w "$$dc_install_base" \
503 && ({ $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
504 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
505 && (test `find "$$dc_destdir" -type f -print | wc -l` -le 1 \
506 || { echo "ERROR: files left after uninstall (check DESTDIR support):" ; \
507 find "$$dc_destdir" -type f -print ; \
509 } || { rm -rf "$$dc_destdir"; exit 1; }) \
510 && rm -rf "$$dc_destdir" \
511 && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
512 && rm -f $(distdir).tar.gz \
513 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
514 $(am__remove_distdir)
515 @echo "$(distdir).tar.gz is ready for distribution" | \
516 sed 'h;s/./=/g;p;x;p;x'
517 distcleancheck: distclean
518 if test '$(srcdir)' = . ; then \
519 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
522 test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
523 || { echo "ERROR: files left after distclean:" ; \
524 $(distcleancheck_listfiles) ; \
527 check: check-recursive
528 all-am: Makefile $(INFO_DEPS) $(SCRIPTS)
529 installdirs: installdirs-recursive
531 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(infodir)
533 install: install-recursive
534 install-exec: install-exec-recursive
535 install-data: install-data-recursive
536 uninstall: uninstall-recursive
539 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
541 installcheck: installcheck-recursive
543 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
544 INSTALL_STRIP_FLAG=-s \
545 `test -z '$(STRIP)' || \
546 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
550 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
553 -rm -f Makefile $(CONFIG_CLEAN_FILES)
555 maintainer-clean-generic:
556 @echo "This command is intended for maintainers to use"
557 @echo "it deletes files that may require special tools to rebuild."
558 clean: clean-recursive
560 clean-am: clean-generic mostlyclean-am
562 distclean: distclean-recursive
563 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
564 distclean-am: clean-am distclean-generic distclean-tags
572 info-am: $(INFO_DEPS)
574 install-data-am: install-info-am
576 install-exec-am: install-binSCRIPTS
578 $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
580 install-info: install-info-recursive
582 install-info-am: $(INFO_DEPS)
584 $(mkinstalldirs) $(DESTDIR)$(infodir)
585 @list='$(INFO_DEPS)'; \
586 for file in $$list; do \
587 if test -f $$file; then d=.; else d=$(srcdir); fi; \
588 for ifile in echo $$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9]; do \
589 if test -f $$ifile; then \
590 relfile=`expr "$$ifile" : "$$d/\(.*\)"`; \
591 echo " $(INSTALL_DATA) $$ifile $(DESTDIR)$(infodir)/$$relfile"; \
592 $(INSTALL_DATA) $$ifile $(DESTDIR)$(infodir)/$$relfile; \
597 @if (install-info --version && \
598 install-info --version | grep -i -v debian) >/dev/null 2>&1; then \
599 list='$(INFO_DEPS)'; \
600 for file in $$list; do \
601 echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
602 install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
609 maintainer-clean: maintainer-clean-recursive
610 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
611 -rm -rf autom4te.cache
612 maintainer-clean-am: distclean-am maintainer-clean-aminfo \
613 maintainer-clean-generic maintainer-clean-vti
615 mostlyclean: mostlyclean-recursive
617 mostlyclean-am: mostlyclean-aminfo mostlyclean-generic mostlyclean-vti
627 uninstall-am: uninstall-binSCRIPTS uninstall-info-am
629 $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
631 uninstall-info: uninstall-info-recursive
633 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \
634 clean-generic clean-recursive ctags ctags-recursive dist \
635 dist-all dist-bzip2 dist-gzip dist-info distcheck distclean \
636 distclean-generic distclean-recursive distclean-tags \
637 distcleancheck distdir dvi dvi-am dvi-recursive info info-am \
638 info-recursive install install-am install-binSCRIPTS \
639 install-data install-data-am install-data-recursive \
640 install-exec install-exec-am install-exec-recursive \
641 install-info install-info-am install-info-recursive install-man \
642 install-recursive install-strip installcheck installcheck-am \
643 installdirs installdirs-am installdirs-recursive \
644 maintainer-clean maintainer-clean-aminfo \
645 maintainer-clean-generic maintainer-clean-recursive \
646 maintainer-clean-vti mostlyclean mostlyclean-aminfo \
647 mostlyclean-generic mostlyclean-recursive mostlyclean-vti pdf \
648 pdf-am pdf-recursive ps ps-am ps-recursive tags tags-recursive \
649 uninstall uninstall-am uninstall-binSCRIPTS uninstall-info-am \
650 uninstall-info-recursive uninstall-recursive
655 @for p in $(bin_SCRIPTS); do \
656 f="`echo $$p|sed '$(transform)'`"; \
657 fv="$$f-$(APIVERSION)"; \
658 rm -f $(DESTDIR)$(bindir)/$$fv; \
659 echo " $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv"; \
660 $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv; \
664 @for p in $(bin_SCRIPTS); do \
665 f="`echo $$p|sed '$(transform)'`"; \
666 fv="$$f-$(APIVERSION)"; \
667 rm -f $(DESTDIR)$(bindir)/$$fv; \
670 automake: automake.in Makefile
671 $(do_subst) < $(srcdir)/automake.in > automake
674 aclocal: aclocal.in Makefile
675 $(do_subst) < $(srcdir)/aclocal.in > aclocal
678 mdate-sh: lib/mdate-sh
683 ################################################################
685 # Some simple checks, and then ordinary check. These are only really
686 # guaranteed to work on my machine.
687 maintainer-check: automake aclocal
688 @if test `diff $(srcdir)/automake.in automake | wc -l` -ne 24; then \
689 echo "found too many diffs between automake.in and automake"; 1>&2; \
690 diff -c $(srcdir)/automake.in automake; \
693 perllibdir=$(srcdir)/lib $(PERL) -c -w automake
694 perllibdir=$(srcdir)/lib $(PERL) -c -w aclocal
695 @if grep -F '$${' $(srcdir)/lib/am/[a-z]*.am | \
696 grep -F -v '$$$$'; then \
697 echo "Found too many uses of '\$${' in the lines above." 1>&2; \
700 @if grep -E '\<rm ([^-]|\-[^f ]*\>)' \
701 $(srcdir)/lib/am/[a-z]*.am $(srcdir)/tests/*.test | \
703 echo "Suspicious 'rm' invocation." 1>&2; \
706 @if grep 'for .* in \$$(' $(srcdir)/lib/am/[a-z]*.am; then \
707 echo 'Use "list=$$(mumble); for var in $$$$list".' 1>&2 ; \
710 @if grep -n 'mkinstalldirs' $(srcdir)/lib/am/[a-z]*.am | \
711 grep -F -v '$$(mkinstalldirs)'; then \
712 echo "Found incorrect use of mkinstalldirs in the lines above" 1>&2; \
715 @if grep -n -w 'undef ' $(srcdir)/automake.in | \
716 grep -F -v 'undef $$/'; then \
717 echo "Found undef in automake.in; use delete instead" 1>&2; \
720 @if grep -n 'split (/ /' $(srcdir)/automake.in; then \
721 echo "Found bad split in the lines above." 1>&2; \
724 @if grep -n '^[^#]*` *cd ' $(srcdir)/automake.in \
725 $(srcdir)/lib/am/*.am; then \
726 echo "Consider using $$$$(am__cd) in the line above." 1>&2; \
729 @if grep -Hn '[^) ] *= *@_' $(srcdir)/automake.in; then \
730 echo "Using @_ in a scalar context in the lines above." 1>&2; \
733 @if grep '^[ \t]*local *(' $(srcdir)/automake.in; then \
734 echo "Don't use \`local' with parens: use several \`local' above." >&2; \
737 @locals=`grep -v '^[ \t]*local \$$_;' $(srcdir)/automake.in | \
738 grep -c '^[ \t]*local [^*]'`; \
741 echo "Wow, congrats! There are no \`local' now!." >&2; \
742 echo "Please update Makefile.am (maintainer-check)." >&2; \
747 echo "Too many \`local'! Are you sure you need $$locals of them?" >&2; \
748 echo "Up to now 1 was enough." >&2; \
752 @if grep '@AMDEP''_TRUE@' $(srcdir)/automake.in; then \
753 echo "Don't put AMDEP_TRUE substitution in automake.in" 1>&2; \
756 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*make'; then \
757 echo 'Do not run "make" in the above tests. Use "$$MAKE" instead.' 1>&2; \
760 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*autoconf'; then \
761 echo 'Do not run "autoconf" in the above tests. Use "$$AUTOCONF" instead.' 1>&2; \
764 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*autoupdate'; then \
765 echo 'Do not run "autoupdate" in the above tests. Use "$$AUTOUPDATE" instead.' 1>&2; \
768 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*automake'; then \
769 echo 'Do not run "automake" in the above tests. Use "$$AUTOMAKE" instead.' 1>&2; \
772 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*aclocal'; then \
773 echo 'Do not run "aclocal" in the above tests. Use "$$ACLOCAL" instead.' 1>&2; \
776 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*perl'; then \
777 echo 'Do not run "perl" in the above tests. Use "$$PERL" instead.' 1>&2; \
780 @if grep -E '\$$MAKE .*(SHELL=.*=|=.*SHELL=)' $(srcdir)/tests/*.test; then \
781 echo 'Rewrite "$$MAKE foo=bar SHELL=/bin/sh" as "foo=bar $$MAKE -e SHELL=/bin/sh"' 1>&2; \
782 echo ' in the above lines, it is more portable.' 1>&2; \
785 @if grep -v SHELL $(srcdir)/tests/*.test | grep '\$$MAKE .*=' ; then \
786 echo 'Rewrite "$$MAKE foo=bar" as "foo=bar $$MAKE -e SHELL=/bin/sh" in the above lines,' 1>&2; \
787 echo 'it is more portable.' 1>&2; \
790 @if grep '$$MAKE.* -e' $(srcdir)/tests/*.test | grep -v '-e.*SHELL' ; then \
791 echo 'Always overwrite SHELL when using "$$MAKE -e".' 1>&2; \
792 echo 'Use "$$MAKE -e SHELL=/bin/sh" in the above lines.' 1>&2; \
795 @if grep 'SHELL=.*\$$MAKE' $(srcdir)/tests/*.test; then \
796 echo '$$MAKE ignores the SHELL envvar, use "$$MAKE SHELL=/bin/sh" in' 1>&2; \
797 echo 'the above lines.' 1>&2; \
800 @if grep -E '\bsleep +1\b' $(srcdir)/tests/*.test; then \
801 echo 'Do not use "sleep 1" in the above tests. Use "sleep 2" instead.' 1>&2; \
804 @if grep -E '\b[ef]grep\b' $(srcdir)/tests/*.test ; then \
805 echo 'Do not use egrep or fgrep in test cases. Use $FGREP or $EGREP.' 1>&2; \
808 @if grep -E '\b[ef]grep\b' $(srcdir)/lib/am/*.am $(srcdir)/m4/*.m4; then \
809 echo 'Do not use egrep or fgrep in the above files, they are not portable.' 1>&2; \
812 @if test `grep -E '@[A-Za-z_0-9]+@' aclocal | wc -l` -ne 0; then \
813 echo "Unresolved @...@ substitution in aclocal" 1>&2; \
816 @if test `grep -E '@[A-Za-z_0-9]+@' automake | wc -l` -ne 4; then \
817 echo "Unresolved @...@ substitution in aclocal" 1>&2; \
821 # Tag before making distribution. Also, don't make a distribution if
822 # checks fail. Also, make sure the NEWS file is up-to-date.
823 cvs-dist: maintainer-check distcheck
824 @if sed 1q $(srcdir)/NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
825 echo "NEWS not updated; not releasing" 1>&2; \
828 cd $(srcdir) && cvs -q tag `echo "Release-$(VERSION)" | sed 's/\./-/g'`
832 thisver=`echo "Release-$(VERSION)" | sed 's/\./-/g'`; \
833 if test -z "$$OLDVERSION"; then \
834 prevno=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
835 else prevno="$$OLDVERSION"; fi; \
836 prevver=Release-`echo $$prevno | sed 's/\./-/g'`; \
837 cvs -f rdiff -c -r $$prevver -r $$thisver $(PACKAGE) \
838 > $(PACKAGE)-$$prevno-$(VERSION).diff
842 find . -print | xargs pathchk -p); \
844 chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir); \
848 rm -rf Fetchdir > /dev/null 2>&1
849 mkdir Fetchdir; mkdir Fetchdir/Automake
851 $(WGET) ftp://ftp.gnu.org/gnu/config/config.guess; \
852 $(WGET) ftp://ftp.gnu.org/gnu/config/config.sub; \
853 $(WGET) ftp://ftp.gnu.org/gnu/texinfo/texinfo.tex; \
854 $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/autoconf/autoconf/lib/Autom4te/Struct.pm?content-type=text/plain -O Automake/Struct.pm; \
855 $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/autoconf/autoconf/lib/Autom4te/XFile.pm?content-type=text/plain -O Automake/XFile.pm; \
856 $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/autoconf/autoconf/config/install-sh?content-type=text/plain -O install-sh; \
857 $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/autoconf/autoconf/INSTALL?content-type=text/plain -O INSTALL)
858 perl -pi -e 's/Autom4te::/Automake::/g' \
859 Fetchdir/Automake/Struct.pm Fetchdir/Automake/XFile.pm
860 @stat=0; for file in $(FETCHFILES); do \
861 if diff -u $(srcdir)/lib/$$file Fetchdir/$$file \
862 >>Fetchdir/update.patch 2>/dev/null; then :; \
865 echo "Updating $(srcdir)/lib/$$file..."; \
866 cp Fetchdir/$$file $(srcdir)/lib/$$file; \
870 echo "See Fetchdir/update.patch for a log of the changes."; \
872 # Tell versions [3.59,3.63) of GNU make to not export all variables.
873 # Otherwise a system limit (for SysV at least) may be exceeded.