1 # Makefile.in generated by automake 1.7a 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@
73 ac_ct_STRIP = @ac_ct_STRIP@
75 build_alias = @build_alias@
77 exec_prefix = @exec_prefix@
78 host_alias = @host_alias@
79 includedir = @includedir@
81 install_sh = @install_sh@
83 libexecdir = @libexecdir@
84 localstatedir = @localstatedir@
86 oldincludedir = @oldincludedir@
87 pkgvdatadir = @pkgvdatadir@
89 program_transform_name = @program_transform_name@
91 sharedstatedir = @sharedstatedir@
92 sysconfdir = @sysconfdir@
93 target_alias = @target_alias@
95 SUBDIRS = . m4 lib tests
97 bin_SCRIPTS = automake aclocal
98 info_TEXINFOS = automake.texi
100 CLEANFILES = $(bin_SCRIPTS)
101 AUTOMAKESOURCES = automake.in aclocal.in
103 TAGS_FILES = $(AUTOMAKESOURCES)
105 # The following requires a fixed version of the Emacs 19.30 etags.
106 ETAGS_ARGS = --lang=none \
107 --regex='/^@node[ \t]+\([^,]+\)/\1/' $(srcdir)/automake.texi
109 TAGS_DEPENDENCIES = automake.texi
111 EXTRA_DIST = ChangeLog.1996 ChangeLog.1998 ChangeLog.2000 ChangeLog.2001 \
115 do_subst = sed -e 's,[@]datadir[@],$(datadir),g' -e 's,[@]PERL[@],$(PERL),g' \
116 -e 's,[@]configure_input[@],@configure_input@,g' \
117 -e 's,[@]PACKAGE[@],$(PACKAGE),g' \
118 -e 's,[@]VERSION[@],$(VERSION),g' \
119 -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 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: automake.texi version.texi
212 automake.dvi: automake.texi version.texi
213 automake.pdf: automake.texi 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 distuninstallcheck_listfiles = find . -type f -print
414 distcleancheck_listfiles = find . -type f -print
416 distdir: $(DISTFILES)
417 $(am__remove_distdir)
419 $(mkinstalldirs) $(distdir)/m4 $(distdir)/tests
420 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
421 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
422 list='$(DISTFILES)'; for file in $$list; do \
424 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
425 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
427 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
428 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
429 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
431 $(mkinstalldirs) "$(distdir)$$dir"; \
435 if test -d $$d/$$file; then \
436 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
437 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
439 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
441 test -f $(distdir)/$$file \
442 || cp -p $$d/$$file $(distdir)/$$file \
446 list='$(SUBDIRS)'; for subdir in $$list; do \
447 if test "$$subdir" = .; then :; else \
448 test -d $(distdir)/$$subdir \
449 || mkdir $(distdir)/$$subdir \
452 $(MAKE) $(AM_MAKEFLAGS) \
453 top_distdir="$(top_distdir)" \
454 distdir=../$(distdir)/$$subdir \
459 $(MAKE) $(AM_MAKEFLAGS) \
460 top_distdir="$(top_distdir)" distdir="$(distdir)" \
462 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
463 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
464 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
465 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
466 || chmod -R a+r $(distdir)
468 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
469 $(am__remove_distdir)
472 $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
473 $(am__remove_distdir)
475 dist dist-all: distdir
476 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
477 $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
478 $(am__remove_distdir)
480 # This target untars the dist file and tries a VPATH configuration. Then
481 # it guarantees that the distribution is self-contained by making another
484 $(am__remove_distdir)
485 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
486 chmod -R a-w $(distdir); chmod a+w $(distdir)
487 mkdir $(distdir)/=build
488 mkdir $(distdir)/=inst
490 dc_install_base=`$(am__cd) $(distdir)/=inst && pwd` \
491 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
492 && cd $(distdir)/=build \
493 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
494 $(DISTCHECK_CONFIGURE_FLAGS) \
495 && $(MAKE) $(AM_MAKEFLAGS) \
496 && $(MAKE) $(AM_MAKEFLAGS) dvi \
497 && $(MAKE) $(AM_MAKEFLAGS) check \
498 && $(MAKE) $(AM_MAKEFLAGS) install \
499 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
500 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
501 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
503 && chmod -R a-w "$$dc_install_base" \
505 (cd ../.. && $(mkinstalldirs) "$$dc_destdir") \
506 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
507 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
508 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
509 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
510 } || { rm -rf "$$dc_destdir"; exit 1; }) \
511 && rm -rf "$$dc_destdir" \
512 && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
513 && rm -f $(distdir).tar.gz \
514 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
515 $(am__remove_distdir)
516 @echo "$(distdir).tar.gz is ready for distribution" | \
517 sed 'h;s/./=/g;p;x;p;x'
519 cd $(distuninstallcheck_dir) \
520 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
521 || { echo "ERROR: files left after uninstall:" ; \
522 if test -n "$(DESTDIR)"; then \
523 echo " (check DESTDIR support)"; \
525 $(distuninstallcheck_listfiles) ; \
527 distcleancheck: distclean
528 if test '$(srcdir)' = . ; then \
529 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
532 test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
533 || { echo "ERROR: files left in build directory after distclean:" ; \
534 $(distcleancheck_listfiles) ; \
537 check: check-recursive
538 all-am: Makefile $(INFO_DEPS) $(SCRIPTS)
539 installdirs: installdirs-recursive
541 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(infodir)
543 install: install-recursive
544 install-exec: install-exec-recursive
545 install-data: install-data-recursive
546 uninstall: uninstall-recursive
549 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
551 installcheck: installcheck-recursive
553 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
554 INSTALL_STRIP_FLAG=-s \
555 `test -z '$(STRIP)' || \
556 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
560 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
563 -rm -f Makefile $(CONFIG_CLEAN_FILES)
565 maintainer-clean-generic:
566 @echo "This command is intended for maintainers to use"
567 @echo "it deletes files that may require special tools to rebuild."
568 clean: clean-recursive
570 clean-am: clean-generic mostlyclean-am
572 distclean: distclean-recursive
573 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
574 distclean-am: clean-am distclean-generic distclean-tags
582 info-am: $(INFO_DEPS)
584 install-data-am: install-info-am
586 install-exec-am: install-binSCRIPTS
588 $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
590 install-info: install-info-recursive
592 install-info-am: $(INFO_DEPS)
594 $(mkinstalldirs) $(DESTDIR)$(infodir)
595 @list='$(INFO_DEPS)'; \
596 for file in $$list; do \
597 if test -f $$file; then d=.; else d=$(srcdir); fi; \
598 for ifile in echo $$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9]; do \
599 if test -f $$ifile; then \
600 relfile=`expr "$$ifile" : "$$d/\(.*\)"`; \
601 echo " $(INSTALL_DATA) $$ifile $(DESTDIR)$(infodir)/$$relfile"; \
602 $(INSTALL_DATA) $$ifile $(DESTDIR)$(infodir)/$$relfile; \
607 @if (install-info --version && \
608 install-info --version | grep -i -v debian) >/dev/null 2>&1; then \
609 list='$(INFO_DEPS)'; \
610 for file in $$list; do \
611 echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
612 install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
619 maintainer-clean: maintainer-clean-recursive
620 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
621 -rm -rf autom4te.cache
622 maintainer-clean-am: distclean-am maintainer-clean-aminfo \
623 maintainer-clean-generic maintainer-clean-vti
625 mostlyclean: mostlyclean-recursive
627 mostlyclean-am: mostlyclean-aminfo mostlyclean-generic mostlyclean-vti
637 uninstall-am: uninstall-binSCRIPTS uninstall-info-am
639 $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
641 uninstall-info: uninstall-info-recursive
643 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \
644 clean-generic clean-recursive ctags ctags-recursive dist \
645 dist-all dist-bzip2 dist-gzip dist-info distcheck distclean \
646 distclean-generic distclean-recursive distclean-tags \
647 distcleancheck distdir distuninstallcheck dvi dvi-am \
648 dvi-recursive info info-am info-recursive install install-am \
649 install-binSCRIPTS install-data install-data-am \
650 install-data-recursive install-exec install-exec-am \
651 install-exec-recursive install-info install-info-am \
652 install-info-recursive install-man install-recursive \
653 install-strip installcheck installcheck-am installdirs \
654 installdirs-am installdirs-recursive maintainer-clean \
655 maintainer-clean-aminfo maintainer-clean-generic \
656 maintainer-clean-recursive maintainer-clean-vti mostlyclean \
657 mostlyclean-aminfo mostlyclean-generic mostlyclean-recursive \
658 mostlyclean-vti pdf pdf-am pdf-recursive ps ps-am ps-recursive \
659 tags tags-recursive uninstall uninstall-am uninstall-binSCRIPTS \
660 uninstall-info-am uninstall-info-recursive uninstall-recursive
665 @for p in $(bin_SCRIPTS); do \
666 f="`echo $$p|sed '$(transform)'`"; \
667 fv="$$f-$(APIVERSION)"; \
668 rm -f $(DESTDIR)$(bindir)/$$fv; \
669 echo " $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv"; \
670 $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv; \
674 @for p in $(bin_SCRIPTS); do \
675 f="`echo $$p|sed '$(transform)'`"; \
676 fv="$$f-$(APIVERSION)"; \
677 rm -f $(DESTDIR)$(bindir)/$$fv; \
680 automake: automake.in Makefile
681 $(do_subst) < $(srcdir)/automake.in > automake
684 aclocal: aclocal.in Makefile
685 $(do_subst) < $(srcdir)/aclocal.in > aclocal
691 ################################################################
693 # Some simple checks, and then ordinary check. These are only really
694 # guaranteed to work on my machine.
695 maintainer-check: automake aclocal
696 @if test `diff $(srcdir)/automake.in automake | wc -l` -ne 24; then \
697 echo "found too many diffs between automake.in and automake"; 1>&2; \
698 diff -c $(srcdir)/automake.in automake; \
701 perllibdir=$(srcdir)/lib $(PERL) -c -w automake
702 perllibdir=$(srcdir)/lib $(PERL) -c -w aclocal
703 @if grep -F '$${' $(srcdir)/lib/am/[a-z]*.am | \
704 grep -F -v '$$$$'; then \
705 echo "Found too many uses of '\$${' in the lines above." 1>&2; \
708 @if grep -E '\<rm ([^-]|\-[^f ]*\>)' \
709 $(srcdir)/lib/am/[a-z]*.am $(srcdir)/tests/*.test | \
711 echo "Suspicious 'rm' invocation." 1>&2; \
714 @if grep 'for .* in \$$(' $(srcdir)/lib/am/[a-z]*.am; then \
715 echo 'Use "list=$$(mumble); for var in $$$$list".' 1>&2 ; \
718 @if grep -n 'mkinstalldirs' $(srcdir)/lib/am/[a-z]*.am | \
719 grep -F -v '$$(mkinstalldirs)'; then \
720 echo "Found incorrect use of mkinstalldirs in the lines above" 1>&2; \
723 @if grep -n -w 'undef ' $(srcdir)/automake.in | \
724 grep -F -v 'undef $$/'; then \
725 echo "Found undef in automake.in; use delete instead" 1>&2; \
728 @if grep -n 'split (/ /' $(srcdir)/automake.in; then \
729 echo "Found bad split in the lines above." 1>&2; \
732 @if grep -n '^[^#]*` *cd ' $(srcdir)/automake.in \
733 $(srcdir)/lib/am/*.am; then \
734 echo "Consider using $$$$(am__cd) in the line above." 1>&2; \
737 @if grep -Hn '[^) ] *= *@_' $(srcdir)/automake.in; then \
738 echo "Using @_ in a scalar context in the lines above." 1>&2; \
741 @if grep '^[ \t]*local *(' $(srcdir)/automake.in; then \
742 echo "Don't use \`local' with parens: use several \`local' above." >&2; \
745 @locals=`grep -v '^[ \t]*local \$$_;' $(srcdir)/automake.in | \
746 grep -c '^[ \t]*local [^*]'`; \
749 echo "Wow, congrats! There are no \`local' now!." >&2; \
750 echo "Please update Makefile.am (maintainer-check)." >&2; \
755 echo "Too many \`local'! Are you sure you need $$locals of them?" >&2; \
756 echo "Up to now 1 was enough." >&2; \
760 @if grep '@AMDEP''_TRUE@' $(srcdir)/automake.in; then \
761 echo "Don't put AMDEP_TRUE substitution in automake.in" 1>&2; \
764 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*make'; then \
765 echo 'Do not run "make" in the above tests. Use "$$MAKE" instead.' 1>&2; \
768 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*autoconf'; then \
769 echo 'Do not run "autoconf" in the above tests. Use "$$AUTOCONF" instead.' 1>&2; \
772 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*autoupdate'; then \
773 echo 'Do not run "autoupdate" in the above tests. Use "$$AUTOUPDATE" instead.' 1>&2; \
776 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*automake'; then \
777 echo 'Do not run "automake" in the above tests. Use "$$AUTOMAKE" instead.' 1>&2; \
780 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*aclocal'; then \
781 echo 'Do not run "aclocal" in the above tests. Use "$$ACLOCAL" instead.' 1>&2; \
784 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*perl'; then \
785 echo 'Do not run "perl" in the above tests. Use "$$PERL" instead.' 1>&2; \
788 @if grep -E '\$$MAKE .*(SHELL=.*=|=.*SHELL=)' $(srcdir)/tests/*.test; then \
789 echo 'Rewrite "$$MAKE foo=bar SHELL=/bin/sh" as "foo=bar $$MAKE -e SHELL=/bin/sh"' 1>&2; \
790 echo ' in the above lines, it is more portable.' 1>&2; \
793 @if grep -v SHELL $(srcdir)/tests/*.test | grep '\$$MAKE .*=' ; then \
794 echo 'Rewrite "$$MAKE foo=bar" as "foo=bar $$MAKE -e SHELL=/bin/sh" in the above lines,' 1>&2; \
795 echo 'it is more portable.' 1>&2; \
798 @if grep '$$MAKE.* -e' $(srcdir)/tests/*.test | grep -v '-e.*SHELL' ; then \
799 echo 'Always overwrite SHELL when using "$$MAKE -e".' 1>&2; \
800 echo 'Use "$$MAKE -e SHELL=/bin/sh" in the above lines.' 1>&2; \
803 @if grep 'SHELL=.*\$$MAKE' $(srcdir)/tests/*.test; then \
804 echo '$$MAKE ignores the SHELL envvar, use "$$MAKE SHELL=/bin/sh" in' 1>&2; \
805 echo 'the above lines.' 1>&2; \
808 @if grep -E '\bsleep +1\b' $(srcdir)/tests/*.test; then \
809 echo 'Do not use "sleep 1" in the above tests. Use "sleep 2" instead.' 1>&2; \
812 @if grep -E '\b[ef]grep\b' $(srcdir)/tests/*.test ; then \
813 echo 'Do not use egrep or fgrep in test cases. Use $FGREP or $EGREP.' 1>&2; \
816 @if grep -E '\b[ef]grep\b' $(srcdir)/lib/am/*.am $(srcdir)/m4/*.m4; then \
817 echo 'Do not use egrep or fgrep in the above files, they are not portable.' 1>&2; \
820 @if test `grep -E '@[A-Za-z_0-9]+@' aclocal | wc -l` -ne 0; then \
821 echo "Unresolved @...@ substitution in aclocal" 1>&2; \
824 @if test `grep -E '@[A-Za-z_0-9]+@' automake | wc -l` -ne 4; then \
825 echo "Unresolved @...@ substitution in aclocal" 1>&2; \
829 # Tag before making distribution. Also, don't make a distribution if
830 # checks fail. Also, make sure the NEWS file is up-to-date.
831 cvs-dist: maintainer-check distcheck
832 @if sed 1q $(srcdir)/NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
833 echo "NEWS not updated; not releasing" 1>&2; \
836 cd $(srcdir) && cvs -q tag `echo "Release-$(VERSION)" | sed 's/\./-/g'`
840 thisver=`echo "Release-$(VERSION)" | sed 's/\./-/g'`; \
841 if test -z "$$OLDVERSION"; then \
842 prevno=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
843 else prevno="$$OLDVERSION"; fi; \
844 prevver=Release-`echo $$prevno | sed 's/\./-/g'`; \
845 cvs -f rdiff -c -r $$prevver -r $$thisver $(PACKAGE) \
846 > $(PACKAGE)-$$prevno-$(VERSION).diff
850 find . -print | xargs pathchk -p); \
852 chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir); \
856 rm -rf Fetchdir > /dev/null 2>&1
857 mkdir Fetchdir; mkdir Fetchdir/Automake
859 $(WGET) ftp://ftp.gnu.org/gnu/config/config.guess; \
860 $(WGET) ftp://ftp.gnu.org/gnu/config/config.sub; \
861 $(WGET) ftp://ftp.gnu.org/gnu/texinfo/texinfo.tex; \
862 $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/autoconf/autoconf/lib/Autom4te/Struct.pm?content-type=text/plain -O Automake/Struct.pm; \
863 $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/autoconf/autoconf/lib/Autom4te/XFile.pm?content-type=text/plain -O Automake/XFile.pm; \
864 $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/autoconf/autoconf/INSTALL?content-type=text/plain -O INSTALL)
865 perl -pi -e 's/Autom4te::/Automake::/g' \
866 Fetchdir/Automake/Struct.pm Fetchdir/Automake/XFile.pm
867 @stat=0; for file in $(FETCHFILES); do \
868 if diff -u $(srcdir)/lib/$$file Fetchdir/$$file \
869 >>Fetchdir/update.patch 2>/dev/null; then :; \
872 echo "Updating $(srcdir)/lib/$$file..."; \
873 cp Fetchdir/$$file $(srcdir)/lib/$$file; \
877 echo "See Fetchdir/update.patch for a log of the changes."; \
879 # Tell versions [3.59,3.63) of GNU make to not export all variables.
880 # Otherwise a system limit (for SysV at least) may be exceeded.