1 # Makefile.in generated by automake 1.6a 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@
49 INSTALL_DATA = @INSTALL_DATA@
50 INSTALL_PROGRAM = @INSTALL_PROGRAM@
51 INSTALL_SCRIPT = @INSTALL_SCRIPT@
52 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
55 LTLIBOBJS = @LTLIBOBJS@
58 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
59 PACKAGE_NAME = @PACKAGE_NAME@
60 PACKAGE_STRING = @PACKAGE_STRING@
61 PACKAGE_TARNAME = @PACKAGE_TARNAME@
62 PACKAGE_VERSION = @PACKAGE_VERSION@
63 PATH_SEPARATOR = @PATH_SEPARATOR@
69 ac_ct_STRIP = @ac_ct_STRIP@
71 build_alias = @build_alias@
73 exec_prefix = @exec_prefix@
74 host_alias = @host_alias@
75 includedir = @includedir@
77 install_sh = @install_sh@
79 libexecdir = @libexecdir@
80 localstatedir = @localstatedir@
82 oldincludedir = @oldincludedir@
83 pkgvdatadir = @pkgvdatadir@
85 program_transform_name = @program_transform_name@
87 sharedstatedir = @sharedstatedir@
88 sysconfdir = @sysconfdir@
89 target_alias = @target_alias@
91 SUBDIRS = . m4 lib tests
93 bin_SCRIPTS = automake aclocal
94 info_TEXINFOS = automake.texi
96 TAGS_FILES = automake.in aclocal.in
98 # The following requires a fixed version of the Emacs 19.30 etags.
99 ETAGS_ARGS = --lang=none \
100 --regex='/^@node[ \t]+\([^,]+\)/\1/' $(srcdir)/automake.texi
102 TAGS_DEPENDENCIES = automake.texi
104 EXTRA_DIST = ChangeLog.1996 ChangeLog.1998 ChangeLog.2000 ChangeLog.2001
108 FETCHFILES = config.guess config.sub texinfo.tex Automake/XFile.pm INSTALL \
112 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
113 mkinstalldirs = $(SHELL) $(top_srcdir)/lib/mkinstalldirs
114 CONFIG_CLEAN_FILES = automake aclocal
115 SCRIPTS = $(bin_SCRIPTS)
118 TEXINFO_TEX = $(top_srcdir)/lib/texinfo.tex
119 INFO_DEPS = automake.info
123 TEXINFOS = automake.texi
125 RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
126 ps-recursive install-info-recursive uninstall-info-recursive \
127 all-recursive install-data-recursive install-exec-recursive \
128 installdirs-recursive install-recursive uninstall-recursive \
129 check-recursive installcheck-recursive
130 DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \
131 Makefile.in NEWS THANKS TODO aclocal.in aclocal.m4 automake.in \
132 configure configure.in install-sh mdate-sh missing \
133 mkinstalldirs stamp-vti version.texi
134 DIST_SUBDIRS = $(SUBDIRS)
138 .SUFFIXES: .dvi .info .pdf .ps .texi
140 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log
141 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
142 cd $(top_srcdir) && \
143 $(AUTOMAKE) --gnu Makefile
144 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
145 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
147 $(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
148 $(SHELL) ./config.status --recheck
149 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
150 cd $(srcdir) && $(AUTOCONF)
152 $(ACLOCAL_M4): configure.in
153 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
154 automake: $(top_builddir)/config.status automake.in
155 cd $(top_builddir) && $(SHELL) ./config.status $@
156 aclocal: $(top_builddir)/config.status aclocal.in
157 cd $(top_builddir) && $(SHELL) ./config.status $@
158 binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
159 install-binSCRIPTS: $(bin_SCRIPTS)
161 $(mkinstalldirs) $(DESTDIR)$(bindir)
162 @list='$(bin_SCRIPTS)'; for p in $$list; do \
163 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
164 if test -f $$d$$p; then \
165 f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
166 echo " $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f"; \
167 $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f; \
171 uninstall-binSCRIPTS:
173 @list='$(bin_SCRIPTS)'; for p in $$list; do \
174 f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
175 echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
176 rm -f $(DESTDIR)$(bindir)/$$f; \
179 $(srcdir)/version.texi: $(srcdir)/stamp-vti
181 $(srcdir)/stamp-vti: automake.texi $(top_srcdir)/configure.in
182 @(set `$(SHELL) $(top_srcdir)/lib/mdate-sh $(srcdir)/automake.texi`; \
183 echo "@set UPDATED $$1 $$2 $$3"; \
184 echo "@set UPDATED-MONTH $$2 $$3"; \
185 echo "@set EDITION $(VERSION)"; \
186 echo "@set VERSION $(VERSION)") > vti.tmp
187 @cmp -s vti.tmp $(srcdir)/version.texi \
188 || (echo "Updating $(srcdir)/version.texi"; \
189 cp vti.tmp $(srcdir)/version.texi)
191 @cp $(srcdir)/version.texi $@
196 maintainer-clean-vti:
197 -rm -f $(srcdir)/stamp-vti $(srcdir)/version.texi
199 automake.info: automake.texi $(srcdir)/version.texi
200 automake.dvi: automake.texi $(srcdir)/version.texi
201 automake.pdf: automake.texi $(srcdir)/version.texi
204 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
206 && $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) \
207 `echo $< | sed 's,.*/,,'`
210 TEXINPUTS="$(top_srcdir)/lib$(PATH_SEPARATOR)$$TEXINPUTS" \
211 MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
215 TEXINPUTS="$(top_srcdir)/lib$(PATH_SEPARATOR)$$TEXINPUTS" \
216 MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
220 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
222 && $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) \
223 `echo $< | sed 's,.*/,,'`
226 TEXI2PDF = $(TEXI2DVI) --pdf
233 @if (install-info --version && \
234 install-info --version | grep -i -v debian) >/dev/null 2>&1; then \
235 list='$(INFO_DEPS)'; \
236 for file in $$list; do \
237 echo " install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file"; \
238 install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file; \
242 @list='$(INFO_DEPS)'; \
243 for file in $$list; do \
244 (if cd $(DESTDIR)$(infodir); then \
245 echo " rm -f $$file $$file-[0-9] $$file-[0-9][0-9])"; \
246 rm -f $$file $$file-[0-9] $$file-[0-9][0-9]; \
250 dist-info: $(INFO_DEPS)
251 list='$(INFO_DEPS)'; \
252 for base in $$list; do \
254 for file in $$d/$$base*; do \
255 relfile=`expr "$$file" : "$$d/\(.*\)"`; \
256 test -f $(distdir)/$$relfile || \
257 cp -p $$file $(distdir)/$$relfile; \
262 -rm -f automake.aux automake.cm automake.cp automake.cps automake.cv \
263 automake.dvi automake.fn automake.ky automake.log automake.op \
264 automake.ov automake.pdf automake.pg automake.ps automake.tmp \
265 automake.toc automake.tp automake.tr automake.vr automake.vrs
267 maintainer-clean-aminfo:
269 list='$(INFO_DEPS)'; for i in $$list; do \
271 if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
276 # This directory's subdirectories are mostly independent; you can cd
277 # into them and run `make' without going through this Makefile.
278 # To change the values of `make' variables: instead of editing Makefiles,
279 # (1) if the variable is set in `config.status', edit `config.status'
280 # (which will cause the Makefiles to be regenerated when you run `make');
281 # (2) otherwise, pass the desired values on the `make' command line.
282 $(RECURSIVE_TARGETS):
283 @set fnord $$MAKEFLAGS; amf=$$2; \
285 target=`echo $@ | sed s/-recursive//`; \
286 list='$(SUBDIRS)'; for subdir in $$list; do \
287 echo "Making $$target in $$subdir"; \
288 if test "$$subdir" = "."; then \
290 local_target="$$target-am"; \
292 local_target="$$target"; \
294 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
295 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
297 if test "$$dot_seen" = "no"; then \
298 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
301 mostlyclean-recursive clean-recursive distclean-recursive \
302 maintainer-clean-recursive:
303 @set fnord $$MAKEFLAGS; amf=$$2; \
306 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
307 *) list='$(SUBDIRS)' ;; \
309 rev=''; for subdir in $$list; do \
310 if test "$$subdir" = "."; then :; else \
311 rev="$$subdir $$rev"; \
315 target=`echo $@ | sed s/-recursive//`; \
316 for subdir in $$rev; do \
317 echo "Making $$target in $$subdir"; \
318 if test "$$subdir" = "."; then \
319 local_target="$$target-am"; \
321 local_target="$$target"; \
323 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
324 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
325 done && test -z "$$fail"
327 list='$(SUBDIRS)'; for subdir in $$list; do \
328 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
331 list='$(SUBDIRS)'; for subdir in $$list; do \
332 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
343 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
344 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
345 unique=`for i in $$list; do \
346 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
348 $(AWK) ' { files[$$0] = 1; } \
349 END { for (i in files) print i; }'`; \
352 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
353 $(TAGS_FILES) $(LISP)
356 list='$(SUBDIRS)'; for subdir in $$list; do \
357 if test "$$subdir" = .; then :; else \
358 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
361 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
362 unique=`for i in $$list; do \
363 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
365 $(AWK) ' { files[$$0] = 1; } \
366 END { for (i in files) print i; }'`; \
367 test -z "$(ETAGS_ARGS)$$tags$$unique" \
368 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
372 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
373 $(TAGS_FILES) $(LISP)
376 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
377 unique=`for i in $$list; do \
378 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
380 $(AWK) ' { files[$$0] = 1; } \
381 END { for (i in files) print i; }'`; \
382 test -z "$(CTAGS_ARGS)$$tags$$unique" \
383 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
387 here=`$(am__cd) $(top_builddir) && pwd` \
388 && cd $(top_srcdir) \
389 && gtags -i $(GTAGS_ARGS) $$here
392 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
393 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
396 distdir = $(PACKAGE)-$(VERSION)
398 am__remove_distdir = \
399 { test ! -d $(distdir) \
400 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
401 && rm -fr $(distdir); }; }
404 distcleancheck_listfiles = find . -type f -print
406 distdir: $(DISTFILES)
407 $(am__remove_distdir)
409 $(mkinstalldirs) $(distdir)/. $(distdir)/m4
410 @list='$(DISTFILES)'; for file in $$list; do \
411 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
412 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
413 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
415 $(mkinstalldirs) "$(distdir)$$dir"; \
419 if test -d $$d/$$file; then \
420 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
421 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
423 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
425 test -f $(distdir)/$$file \
426 || cp -p $$d/$$file $(distdir)/$$file \
430 list='$(SUBDIRS)'; for subdir in $$list; do \
431 if test "$$subdir" = .; then :; else \
432 test -d $(distdir)/$$subdir \
433 || mkdir $(distdir)/$$subdir \
436 $(MAKE) $(AM_MAKEFLAGS) \
437 top_distdir="$(top_distdir)" \
438 distdir=../$(distdir)/$$subdir \
443 $(MAKE) $(AM_MAKEFLAGS) \
444 top_distdir="$(top_distdir)" distdir="$(distdir)" \
446 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
447 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
448 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
449 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
450 || chmod -R a+r $(distdir)
452 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
453 $(am__remove_distdir)
456 $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
457 $(am__remove_distdir)
459 dist dist-all: distdir
460 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
461 $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
462 $(am__remove_distdir)
464 # This target untars the dist file and tries a VPATH configuration. Then
465 # it guarantees that the distribution is self-contained by making another
468 $(am__remove_distdir)
469 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
470 chmod -R a-w $(distdir); chmod a+w $(distdir)
471 mkdir $(distdir)/=build
472 mkdir $(distdir)/=inst
474 dc_install_base=`$(am__cd) $(distdir)/=inst && pwd` \
475 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
476 && cd $(distdir)/=build \
477 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
478 $(DISTCHECK_CONFIGURE_FLAGS) \
479 && $(MAKE) $(AM_MAKEFLAGS) \
480 && $(MAKE) $(AM_MAKEFLAGS) dvi \
481 && $(MAKE) $(AM_MAKEFLAGS) check \
482 && $(MAKE) $(AM_MAKEFLAGS) install \
483 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
484 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
485 && (test `find "$$dc_install_base" -type f -print | wc -l` -le 1 \
486 || { echo "ERROR: files left after uninstall:" ; \
487 find $$dc_install_base -type f -print ; \
489 && chmod -R a-w "$$dc_install_base" \
490 && ({ $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
491 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
492 && (test `find "$$dc_destdir" -type f -print | wc -l` -le 1 \
493 || { echo "ERROR: files left after uninstall (check DESTDIR support):" ; \
494 find "$$dc_destdir" -type f -print ; \
496 } || { rm -rf "$$dc_destdir"; exit 1; }) \
497 && rm -rf "$$dc_destdir" \
498 && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
499 && rm -f $(distdir).tar.gz \
500 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
501 $(am__remove_distdir)
502 @echo "$(distdir).tar.gz is ready for distribution" | \
503 sed 'h;s/./=/g;p;x;p;x'
504 distcleancheck: distclean
505 if test '$(srcdir)' = . ; then \
506 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
509 test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
510 || { echo "ERROR: files left after distclean:" ; \
511 $(distcleancheck_listfiles) ; \
514 check: check-recursive
515 all-am: Makefile $(INFO_DEPS) $(SCRIPTS)
516 installdirs: installdirs-recursive
518 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(infodir)
520 install: install-recursive
521 install-exec: install-exec-recursive
522 install-data: install-data-recursive
523 uninstall: uninstall-recursive
526 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
528 installcheck: installcheck-recursive
530 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
531 INSTALL_STRIP_FLAG=-s \
532 `test -z '$(STRIP)' || \
533 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
539 -rm -f Makefile $(CONFIG_CLEAN_FILES)
541 maintainer-clean-generic:
542 @echo "This command is intended for maintainers to use"
543 @echo "it deletes files that may require special tools to rebuild."
544 clean: clean-recursive
546 clean-am: clean-generic mostlyclean-am
548 distclean: distclean-recursive
549 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
550 distclean-am: clean-am distclean-generic distclean-tags
558 info-am: $(INFO_DEPS)
560 install-data-am: install-info-am
562 install-exec-am: install-binSCRIPTS
564 $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
566 install-info: install-info-recursive
568 install-info-am: $(INFO_DEPS)
570 $(mkinstalldirs) $(DESTDIR)$(infodir)
571 @list='$(INFO_DEPS)'; \
572 for file in $$list; do \
574 for ifile in echo $$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9]; do \
575 if test -f $$ifile; then \
576 relfile=`expr "$$ifile" : "$$d/\(.*\)"`; \
577 echo " $(INSTALL_DATA) $$ifile $(DESTDIR)$(infodir)/$$relfile"; \
578 $(INSTALL_DATA) $$ifile $(DESTDIR)$(infodir)/$$relfile; \
583 @if (install-info --version && \
584 install-info --version | grep -i -v debian) >/dev/null 2>&1; then \
585 list='$(INFO_DEPS)'; \
586 for file in $$list; do \
587 echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
588 install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
595 maintainer-clean: maintainer-clean-recursive
596 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
597 -rm -rf autom4te.cache
598 maintainer-clean-am: distclean-am maintainer-clean-aminfo \
599 maintainer-clean-generic maintainer-clean-vti
601 mostlyclean: mostlyclean-recursive
603 mostlyclean-am: mostlyclean-aminfo mostlyclean-generic mostlyclean-vti
613 uninstall-am: uninstall-binSCRIPTS uninstall-info-am
615 $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
617 uninstall-info: uninstall-info-recursive
619 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \
620 clean-generic clean-recursive ctags ctags-recursive dist \
621 dist-all dist-bzip2 dist-gzip dist-info distcheck distclean \
622 distclean-generic distclean-recursive distclean-tags \
623 distcleancheck distdir dvi dvi-am dvi-recursive info info-am \
624 info-recursive install install-am install-binSCRIPTS \
625 install-data install-data-am install-data-recursive \
626 install-exec install-exec-am install-exec-recursive \
627 install-info install-info-am install-info-recursive install-man \
628 install-recursive install-strip installcheck installcheck-am \
629 installdirs installdirs-am installdirs-recursive \
630 maintainer-clean maintainer-clean-aminfo \
631 maintainer-clean-generic maintainer-clean-recursive \
632 maintainer-clean-vti mostlyclean mostlyclean-aminfo \
633 mostlyclean-generic mostlyclean-recursive mostlyclean-vti pdf \
634 pdf-am pdf-recursive ps ps-am ps-recursive tags tags-recursive \
635 uninstall uninstall-am uninstall-binSCRIPTS uninstall-info-am \
636 uninstall-info-recursive uninstall-recursive
641 @for p in $(bin_SCRIPTS); do \
642 f="`echo $$p|sed '$(transform)'`"; \
643 fv="$$f-$(APIVERSION)"; \
644 rm -f $(DESTDIR)$(bindir)/$$fv; \
645 echo " $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv"; \
646 $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv; \
650 @for p in $(bin_SCRIPTS); do \
651 f="`echo $$p|sed '$(transform)'`"; \
652 fv="$$f-$(APIVERSION)"; \
653 rm -f $(DESTDIR)$(bindir)/$$fv; \
656 ################################################################
658 # Some simple checks, and then ordinary check. These are only really
659 # guaranteed to work on my machine.
660 maintainer-check: automake aclocal
661 @if test `diff $(srcdir)/automake.in automake | wc -l` -ne 28; then \
662 echo "found too many diffs between automake.in and automake"; 1>&2; \
663 diff -c $(srcdir)/automake.in automake; \
666 perllibdir=$(srcdir)/lib $(PERL) -c -w automake
667 perllibdir=$(srcdir)/lib $(PERL) -c -w aclocal
668 @if grep -F '$${' $(srcdir)/lib/am/[a-z]*.am | \
669 grep -F -v '$$$$'; then \
670 echo "Found too many uses of '\$${' in the lines above." 1>&2; \
673 @if grep -E '\<rm ([^-]|\-[^f ]*\>)' \
674 $(srcdir)/lib/am/[a-z]*.am $(srcdir)/tests/*.test | \
676 echo "Suspicious 'rm' invocation." 1>&2; \
679 @if grep 'for .* in \$$(' $(srcdir)/lib/am/[a-z]*.am; then \
680 echo 'Use "list=$$(mumble); for var in $$$$list".' 1>&2 ; \
683 @if grep -n 'mkinstalldirs' $(srcdir)/lib/am/[a-z]*.am | \
684 grep -F -v '$$(mkinstalldirs)'; then \
685 echo "Found incorrect use of mkinstalldirs in the lines above" 1>&2; \
688 @if grep -n -w 'undef ' $(srcdir)/automake.in | \
689 grep -F -v 'undef $$/'; then \
690 echo "Found undef in automake.in; use delete instead" 1>&2; \
693 @if grep -n 'split (/ /' $(srcdir)/automake.in; then \
694 echo "Found bad split in the lines above." 1>&2; \
697 @if grep -n '^[^#]*` *cd ' $(srcdir)/automake.in \
698 $(srcdir)/lib/am/*.am; then \
699 echo "Consider using $$$$(am__cd) in the line above." 1>&2; \
702 @if grep -Hn '[^) ] *= *@_' $(srcdir)/automake.in; then \
703 echo "Using @_ in a scalar context in the lines above." 1>&2; \
706 @if grep '^[ \t]*local *(' $(srcdir)/automake.in; then \
707 echo "Don't use \`local' with parens: use several \`local' above." >&2; \
710 @locals=`grep -v '^[ \t]*local \$$_;' $(srcdir)/automake.in | \
711 grep -c '^[ \t]*local [^*]'`; \
714 echo "Wow, congrats! There are no \`local' now!." >&2; \
715 echo "Please update Makefile.am (maintainer-check)." >&2; \
720 echo "Too many \`local'! Are you sure you need $$locals of them?" >&2; \
721 echo "Up to now 1 was enough." >&2; \
725 @if grep '@AMDEP''_TRUE@' $(srcdir)/automake.in; then \
726 echo "Don't put AMDEP_TRUE substitution in automake.in" 1>&2; \
729 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*make'; then \
730 echo 'Do not run "make" in the above tests. Use "$$MAKE" instead.' 1>&2; \
733 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*autoconf'; then \
734 echo 'Do not run "autoconf" in the above tests. Use "$$AUTOCONF" instead.' 1>&2; \
737 @if grep -v '^#' $(srcdir)/tests/*.test | egrep ':[ ]*autoupdate'; then \
738 echo 'Do not run "autoupdate" in the above tests. Use "$$AUTOUPDATE" instead.' 1>&2; \
741 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*automake'; then \
742 echo 'Do not run "automake" in the above tests. Use "$$AUTOMAKE" instead.' 1>&2; \
745 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*aclocal'; then \
746 echo 'Do not run "aclocal" in the above tests. Use "$$ACLOCAL" instead.' 1>&2; \
749 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*perl'; then \
750 echo 'Do not run "perl" in the above tests. Use "$$PERL" instead.' 1>&2; \
753 @if grep -E '\$$MAKE .*(SHELL=.*=|=.*SHELL=)' $(srcdir)/tests/*.test; then \
754 echo 'Rewrite "$$MAKE foo=bar SHELL=/bin/sh" as "foo=bar $$MAKE -e SHELL=/bin/sh"' 1>&2; \
755 echo ' in the above lines, it is more portable.' 1>&2; \
758 @if grep -v SHELL $(srcdir)/tests/*.test | grep '\$$MAKE .*=' ; then \
759 echo 'Rewrite "$$MAKE foo=bar" as "foo=bar $$MAKE -e SHELL=/bin/sh" in the above lines,' 1>&2; \
760 echo 'it is more portable.' 1>&2; \
763 @if grep '$$MAKE.* -e' $(srcdir)/tests/*.test | grep -v '-e.*SHELL' ; then \
764 echo 'Always overwrite SHELL when using "$$MAKE -e".' 1>&2; \
765 echo 'Use "$$MAKE -e SHELL=/bin/sh" in the above lines.' 1>&2; \
768 @if grep 'SHELL=.*\$$MAKE' $(srcdir)/tests/*.test; then \
769 echo '$$MAKE ignores the SHELL envvar, use "$$MAKE SHELL=/bin/sh" in' 1>&2; \
770 echo 'the above lines.' 1>&2; \
773 @if grep -E '\bsleep +1\b' $(srcdir)/tests/*.test; then \
774 echo 'Do not use "sleep 1" in the above tests. Use "sleep 2" instead.' 1>&2; \
777 @if grep -E '\b[ef]grep\b' $(srcdir)/tests/*.test ; then \
778 echo 'Do not use egrep or fgrep in test cases. Use $FGREP or $EGREP.' 1>&2; \
781 @if grep -E '\b[ef]grep\b' $(srcdir)/lib/am/*.am $(srcdir)/m4/*.m4; then \
782 echo 'Do not use egrep or fgrep in the above files, they are not portable.' 1>&2; \
786 # Tag before making distribution. Also, don't make a distribution if
787 # checks fail. Also, make sure the NEWS file is up-to-date.
788 cvs-dist: maintainer-check distcheck
789 @if sed 1q $(srcdir)/NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
790 echo "NEWS not updated; not releasing" 1>&2; \
793 cd $(srcdir) && cvs -q tag `echo "Release-$(VERSION)" | sed 's/\./-/g'`
797 thisver=`echo "Release-$(VERSION)" | sed 's/\./-/g'`; \
798 if test -z "$$OLDVERSION"; then \
799 prevno=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
800 else prevno="$$OLDVERSION"; fi; \
801 prevver=Release-`echo $$prevno | sed 's/\./-/g'`; \
802 cvs -f rdiff -c -r $$prevver -r $$thisver $(PACKAGE) \
803 > $(PACKAGE)-$$prevno-$(VERSION).diff
807 find . -print | xargs pathchk -p); \
809 chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir); \
813 rm -rf Fetchdir > /dev/null 2>&1
814 mkdir Fetchdir; mkdir Fetchdir/Automake
816 $(WGET) ftp://ftp.gnu.org/gnu/config/config.guess; \
817 $(WGET) ftp://ftp.gnu.org/gnu/config/config.sub; \
818 $(WGET) ftp://ftp.gnu.org/gnu/texinfo/texinfo.tex; \
819 $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/autoconf/autoconf/lib/Autom4te/XFile.pm?content-type=text/plain -O Automake/XFile.pm; \
820 $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/autoconf/autoconf/config/install-sh?content-type=text/plain -O install-sh; \
821 $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/autoconf/autoconf/INSTALL?content-type=text/plain -O INSTALL)
822 perl -pi -e 's/Autom4te::/Automake::/g' Fetchdir/Automake/XFile.pm
823 @stat=0; for file in $(FETCHFILES); do \
824 if diff -u $(srcdir)/lib/$$file Fetchdir/$$file \
825 >>Fetchdir/update.patch 2>/dev/null; then :; \
828 echo "Updating $(srcdir)/lib/$$file..."; \
829 cp Fetchdir/$$file $(srcdir)/lib/$$file; \
833 echo "See Fetchdir/update.patch for a log of the changes."; \
835 # Tell versions [3.59,3.63) of GNU make to not export all variables.
836 # Otherwise a system limit (for SysV at least) may be exceeded.