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@
57 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
58 PACKAGE_NAME = @PACKAGE_NAME@
59 PACKAGE_STRING = @PACKAGE_STRING@
60 PACKAGE_TARNAME = @PACKAGE_TARNAME@
61 PACKAGE_VERSION = @PACKAGE_VERSION@
62 PATH_SEPARATOR = @PATH_SEPARATOR@
68 ac_ct_STRIP = @ac_ct_STRIP@
70 build_alias = @build_alias@
72 exec_prefix = @exec_prefix@
73 host_alias = @host_alias@
74 includedir = @includedir@
76 install_sh = @install_sh@
78 libexecdir = @libexecdir@
79 localstatedir = @localstatedir@
81 oldincludedir = @oldincludedir@
82 pkgvdatadir = @pkgvdatadir@
84 program_transform_name = @program_transform_name@
86 sharedstatedir = @sharedstatedir@
87 sysconfdir = @sysconfdir@
88 target_alias = @target_alias@
90 SUBDIRS = . m4 lib tests
92 bin_SCRIPTS = automake aclocal
93 info_TEXINFOS = automake.texi
95 TAGS_FILES = automake.in aclocal.in
97 # The following requires a fixed version of the Emacs 19.30 etags.
98 ETAGS_ARGS = --lang=none \
99 --regex='/^@node[ \t]+\([^,]+\)/\1/' $(srcdir)/automake.texi
101 TAGS_DEPENDENCIES = automake.texi
103 EXTRA_DIST = ChangeLog.1996 ChangeLog.1998 ChangeLog.2000 ChangeLog.2001
107 FETCHFILES = config.guess config.sub texinfo.tex Automake/XFile.pm INSTALL \
111 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
112 mkinstalldirs = $(SHELL) $(top_srcdir)/lib/mkinstalldirs
113 CONFIG_CLEAN_FILES = automake aclocal
114 SCRIPTS = $(bin_SCRIPTS)
117 TEXINFO_TEX = $(top_srcdir)/lib/texinfo.tex
118 INFO_DEPS = automake.info
122 TEXINFOS = automake.texi
124 RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
125 ps-recursive install-info-recursive uninstall-info-recursive \
126 all-recursive install-data-recursive install-exec-recursive \
127 installdirs-recursive install-recursive uninstall-recursive \
128 check-recursive installcheck-recursive
129 DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \
130 Makefile.in NEWS THANKS TODO aclocal.in aclocal.m4 automake.in \
131 configure configure.in install-sh mdate-sh missing \
132 mkinstalldirs stamp-vti version.texi
133 DIST_SUBDIRS = $(SUBDIRS)
137 .SUFFIXES: .dvi .info .pdf .ps .texi
139 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log
140 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
141 cd $(top_srcdir) && \
142 $(AUTOMAKE) --gnu Makefile
143 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
144 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
146 $(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
147 $(SHELL) ./config.status --recheck
148 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
149 cd $(srcdir) && $(AUTOCONF)
151 $(ACLOCAL_M4): configure.in
152 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
153 automake: $(top_builddir)/config.status automake.in
154 cd $(top_builddir) && $(SHELL) ./config.status $@
155 aclocal: $(top_builddir)/config.status aclocal.in
156 cd $(top_builddir) && $(SHELL) ./config.status $@
157 binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
158 install-binSCRIPTS: $(bin_SCRIPTS)
160 $(mkinstalldirs) $(DESTDIR)$(bindir)
161 @list='$(bin_SCRIPTS)'; for p in $$list; do \
162 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
163 f="`echo $$p | sed -e 's|^.*/||'`"; \
164 if test -f $$d$$p; then \
165 f="`echo $$f|sed '$(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 -e 's|^.*/||'`"; \
175 f="`echo $$f|sed '$(transform)'`"; \
176 echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
177 rm -f $(DESTDIR)$(bindir)/$$f; \
180 $(srcdir)/version.texi: $(srcdir)/stamp-vti
182 $(srcdir)/stamp-vti: automake.texi $(top_srcdir)/configure.in
183 @(set `$(SHELL) $(top_srcdir)/lib/mdate-sh $(srcdir)/automake.texi`; \
184 echo "@set UPDATED $$1 $$2 $$3"; \
185 echo "@set UPDATED-MONTH $$2 $$3"; \
186 echo "@set EDITION $(VERSION)"; \
187 echo "@set VERSION $(VERSION)") > vti.tmp
188 @cmp -s vti.tmp $(srcdir)/version.texi \
189 || (echo "Updating $(srcdir)/version.texi"; \
190 cp vti.tmp $(srcdir)/version.texi)
192 @cp $(srcdir)/version.texi $@
197 maintainer-clean-vti:
198 -rm -f $(srcdir)/stamp-vti $(srcdir)/version.texi
200 automake.info: automake.texi $(srcdir)/version.texi
201 automake.dvi: automake.texi $(srcdir)/version.texi
202 automake.pdf: automake.texi $(srcdir)/version.texi
205 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
207 && $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) \
208 `echo $< | sed 's,.*/,,'`
211 TEXINPUTS="$(top_srcdir)/lib$(PATH_SEPARATOR)$$TEXINPUTS" \
212 MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
216 TEXINPUTS="$(top_srcdir)/lib$(PATH_SEPARATOR)$$TEXINPUTS" \
217 MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
221 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
223 && $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) \
224 `echo $< | sed 's,.*/,,'`
227 TEXI2PDF = $(TEXI2DVI) --pdf
234 @if (install-info --version && \
235 install-info --version | grep -i -v debian) >/dev/null 2>&1; then \
236 list='$(INFO_DEPS)'; \
237 for file in $$list; do \
238 echo " install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file"; \
239 install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file; \
243 @list='$(INFO_DEPS)'; \
244 for file in $$list; do \
245 (if cd $(DESTDIR)$(infodir); then \
246 echo " rm -f $$file $$file-[0-9] $$file-[0-9][0-9])"; \
247 rm -f $$file $$file-[0-9] $$file-[0-9][0-9]; \
251 dist-info: $(INFO_DEPS)
252 list='$(INFO_DEPS)'; \
253 for base in $$list; do \
255 for file in $$d/$$base*; do \
256 relfile=`expr "$$file" : "$$d/\(.*\)"`; \
257 test -f $(distdir)/$$relfile || \
258 cp -p $$file $(distdir)/$$relfile; \
263 -rm -f automake.aux automake.cm automake.cp automake.cps automake.cv \
264 automake.dvi automake.fn automake.ky automake.log automake.op \
265 automake.ov automake.pdf automake.pg automake.ps automake.tmp \
266 automake.toc automake.tp automake.tr automake.vr automake.vrs
268 maintainer-clean-aminfo:
270 list='$(INFO_DEPS)'; for i in $$list; do \
272 if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
277 # This directory's subdirectories are mostly independent; you can cd
278 # into them and run `make' without going through this Makefile.
279 # To change the values of `make' variables: instead of editing Makefiles,
280 # (1) if the variable is set in `config.status', edit `config.status'
281 # (which will cause the Makefiles to be regenerated when you run `make');
282 # (2) otherwise, pass the desired values on the `make' command line.
283 $(RECURSIVE_TARGETS):
284 @set fnord $$MAKEFLAGS; amf=$$2; \
286 target=`echo $@ | sed s/-recursive//`; \
287 list='$(SUBDIRS)'; for subdir in $$list; do \
288 echo "Making $$target in $$subdir"; \
289 if test "$$subdir" = "."; then \
291 local_target="$$target-am"; \
293 local_target="$$target"; \
295 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
296 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
298 if test "$$dot_seen" = "no"; then \
299 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
302 mostlyclean-recursive clean-recursive distclean-recursive \
303 maintainer-clean-recursive:
304 @set fnord $$MAKEFLAGS; amf=$$2; \
307 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
308 *) list='$(SUBDIRS)' ;; \
310 rev=''; for subdir in $$list; do \
311 if test "$$subdir" = "."; then :; else \
312 rev="$$subdir $$rev"; \
316 target=`echo $@ | sed s/-recursive//`; \
317 for subdir in $$rev; do \
318 echo "Making $$target in $$subdir"; \
319 if test "$$subdir" = "."; then \
320 local_target="$$target-am"; \
322 local_target="$$target"; \
324 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
325 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
326 done && test -z "$$fail"
328 list='$(SUBDIRS)'; for subdir in $$list; do \
329 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
332 list='$(SUBDIRS)'; for subdir in $$list; do \
333 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
344 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
345 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
346 unique=`for i in $$list; do \
347 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
349 $(AWK) ' { files[$$0] = 1; } \
350 END { for (i in files) print i; }'`; \
353 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
354 $(TAGS_FILES) $(LISP)
357 list='$(SUBDIRS)'; for subdir in $$list; do \
358 if test "$$subdir" = .; then :; else \
359 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
362 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
363 unique=`for i in $$list; do \
364 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
366 $(AWK) ' { files[$$0] = 1; } \
367 END { for (i in files) print i; }'`; \
368 test -z "$(ETAGS_ARGS)$$tags$$unique" \
369 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
373 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
374 $(TAGS_FILES) $(LISP)
377 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
378 unique=`for i in $$list; do \
379 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
381 $(AWK) ' { files[$$0] = 1; } \
382 END { for (i in files) print i; }'`; \
383 test -z "$(CTAGS_ARGS)$$tags$$unique" \
384 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
388 here=`$(am__cd) $(top_builddir) && pwd` \
389 && cd $(top_srcdir) \
390 && gtags -i $(GTAGS_ARGS) $$here
393 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
394 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
397 distdir = $(PACKAGE)-$(VERSION)
399 am__remove_distdir = \
400 { test ! -d $(distdir) \
401 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
402 && rm -fr $(distdir); }; }
405 distcleancheck_listfiles = find . -type f -print
407 distdir: $(DISTFILES)
408 $(am__remove_distdir)
410 $(mkinstalldirs) $(distdir)/. $(distdir)/m4
411 @list='$(DISTFILES)'; for file in $$list; do \
412 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
413 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
414 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
416 $(mkinstalldirs) "$(distdir)$$dir"; \
420 if test -d $$d/$$file; then \
421 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
422 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
424 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
426 test -f $(distdir)/$$file \
427 || cp -p $$d/$$file $(distdir)/$$file \
431 list='$(SUBDIRS)'; for subdir in $$list; do \
432 if test "$$subdir" = .; then :; else \
433 test -d $(distdir)/$$subdir \
434 || mkdir $(distdir)/$$subdir \
437 $(MAKE) $(AM_MAKEFLAGS) \
438 top_distdir="$(top_distdir)" \
439 distdir=../$(distdir)/$$subdir \
444 $(MAKE) $(AM_MAKEFLAGS) \
445 top_distdir="$(top_distdir)" distdir="$(distdir)" \
447 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
448 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
449 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
450 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
451 || chmod -R a+r $(distdir)
453 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
454 $(am__remove_distdir)
457 $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
458 $(am__remove_distdir)
460 dist dist-all: distdir
461 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
462 $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
463 $(am__remove_distdir)
465 # This target untars the dist file and tries a VPATH configuration. Then
466 # it guarantees that the distribution is self-contained by making another
469 $(am__remove_distdir)
470 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
471 chmod -R a-w $(distdir); chmod a+w $(distdir)
472 mkdir $(distdir)/=build
473 mkdir $(distdir)/=inst
475 dc_install_base=`$(am__cd) $(distdir)/=inst && pwd` \
476 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
477 && cd $(distdir)/=build \
478 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
479 $(DISTCHECK_CONFIGURE_FLAGS) \
480 && $(MAKE) $(AM_MAKEFLAGS) \
481 && $(MAKE) $(AM_MAKEFLAGS) dvi \
482 && $(MAKE) $(AM_MAKEFLAGS) check \
483 && $(MAKE) $(AM_MAKEFLAGS) install \
484 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
485 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
486 && (test `find "$$dc_install_base" -type f -print | wc -l` -le 1 \
487 || { echo "ERROR: files left after uninstall:" ; \
488 find $$dc_install_base -type f -print ; \
490 && chmod -R a-w "$$dc_install_base" \
491 && ({ $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
492 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
493 && (test `find "$$dc_destdir" -type f -print | wc -l` -le 1 \
494 || { echo "ERROR: files left after uninstall (check DESTDIR support):" ; \
495 find "$$dc_destdir" -type f -print ; \
497 } || { rm -rf "$$dc_destdir"; exit 1; }) \
498 && rm -rf "$$dc_destdir" \
499 && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
500 && rm -f $(distdir).tar.gz \
501 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
502 $(am__remove_distdir)
503 @echo "$(distdir).tar.gz is ready for distribution" | \
504 sed 'h;s/./=/g;p;x;p;x'
505 distcleancheck: distclean
506 if test '$(srcdir)' = . ; then \
507 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
510 test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
511 || { echo "ERROR: files left after distclean:" ; \
512 $(distcleancheck_listfiles) ; \
515 check: check-recursive
516 all-am: Makefile $(INFO_DEPS) $(SCRIPTS)
517 installdirs: installdirs-recursive
519 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(infodir)
521 install: install-recursive
522 install-exec: install-exec-recursive
523 install-data: install-data-recursive
524 uninstall: uninstall-recursive
527 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
529 installcheck: installcheck-recursive
531 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
532 INSTALL_STRIP_FLAG=-s \
533 `test -z '$(STRIP)' || \
534 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
540 -rm -f Makefile $(CONFIG_CLEAN_FILES)
542 maintainer-clean-generic:
543 @echo "This command is intended for maintainers to use"
544 @echo "it deletes files that may require special tools to rebuild."
545 clean: clean-recursive
547 clean-am: clean-generic mostlyclean-am
549 distclean: distclean-recursive
550 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
551 distclean-am: clean-am distclean-generic distclean-tags
559 info-am: $(INFO_DEPS)
561 install-data-am: install-info-am
563 install-exec-am: install-binSCRIPTS
565 $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
567 install-info: install-info-recursive
569 install-info-am: $(INFO_DEPS)
571 $(mkinstalldirs) $(DESTDIR)$(infodir)
572 @list='$(INFO_DEPS)'; \
573 for file in $$list; do \
575 for ifile in echo $$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9]; do \
576 if test -f $$ifile; then \
577 relfile=`expr "$$ifile" : "$$d/\(.*\)"`; \
578 echo " $(INSTALL_DATA) $$ifile $(DESTDIR)$(infodir)/$$relfile"; \
579 $(INSTALL_DATA) $$ifile $(DESTDIR)$(infodir)/$$relfile; \
584 @if (install-info --version && \
585 install-info --version | grep -i -v debian) >/dev/null 2>&1; then \
586 list='$(INFO_DEPS)'; \
587 for file in $$list; do \
588 echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
589 install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
596 maintainer-clean: maintainer-clean-recursive
597 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
598 -rm -rf autom4te.cache
599 maintainer-clean-am: distclean-am maintainer-clean-aminfo \
600 maintainer-clean-generic maintainer-clean-vti
602 mostlyclean: mostlyclean-recursive
604 mostlyclean-am: mostlyclean-aminfo mostlyclean-generic mostlyclean-vti
614 uninstall-am: uninstall-binSCRIPTS uninstall-info-am
616 $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
618 uninstall-info: uninstall-info-recursive
620 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \
621 clean-generic clean-recursive ctags ctags-recursive dist \
622 dist-all dist-bzip2 dist-gzip dist-info distcheck distclean \
623 distclean-generic distclean-recursive distclean-tags \
624 distcleancheck distdir dvi dvi-am dvi-recursive info info-am \
625 info-recursive install install-am install-binSCRIPTS \
626 install-data install-data-am install-data-recursive \
627 install-exec install-exec-am install-exec-recursive \
628 install-info install-info-am install-info-recursive install-man \
629 install-recursive install-strip installcheck installcheck-am \
630 installdirs installdirs-am installdirs-recursive \
631 maintainer-clean maintainer-clean-aminfo \
632 maintainer-clean-generic maintainer-clean-recursive \
633 maintainer-clean-vti mostlyclean mostlyclean-aminfo \
634 mostlyclean-generic mostlyclean-recursive mostlyclean-vti pdf \
635 pdf-am pdf-recursive ps ps-am ps-recursive tags tags-recursive \
636 uninstall uninstall-am uninstall-binSCRIPTS uninstall-info-am \
637 uninstall-info-recursive uninstall-recursive
642 @for p in $(bin_SCRIPTS); do \
643 f="`echo $$p|sed '$(transform)'`"; \
644 fv="$$f-$(APIVERSION)"; \
645 rm -f $(DESTDIR)$(bindir)/$$fv; \
646 echo " $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv"; \
647 $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv; \
651 @for p in $(bin_SCRIPTS); do \
652 f="`echo $$p|sed '$(transform)'`"; \
653 fv="$$f-$(APIVERSION)"; \
654 rm -f $(DESTDIR)$(bindir)/$$fv; \
657 ################################################################
659 # Some simple checks, and then ordinary check. These are only really
660 # guaranteed to work on my machine.
661 maintainer-check: automake aclocal
662 @if test `diff $(srcdir)/automake.in automake | wc -l` -ne 28; then \
663 echo "found too many diffs between automake.in and automake"; 1>&2; \
664 diff -c $(srcdir)/automake.in automake; \
667 perllibdir=$(srcdir)/lib $(PERL) -c -w automake
668 perllibdir=$(srcdir)/lib $(PERL) -c -w aclocal
669 @if grep -F '$${' $(srcdir)/lib/am/[a-z]*.am | \
670 grep -F -v '$$$$'; then \
671 echo "Found too many uses of '\$${' in the lines above." 1>&2; \
674 @if grep -E '\<rm ([^-]|\-[^f ]*\>)' \
675 $(srcdir)/lib/am/[a-z]*.am $(srcdir)/tests/*.test | \
677 echo "Suspicious 'rm' invocation." 1>&2; \
680 @if grep 'for .* in \$$(' $(srcdir)/lib/am/[a-z]*.am; then \
681 echo 'Use "list=$$(mumble); for var in $$$$list".' 1>&2 ; \
684 @if grep -n 'mkinstalldirs' $(srcdir)/lib/am/[a-z]*.am | \
685 grep -F -v '$$(mkinstalldirs)'; then \
686 echo "Found incorrect use of mkinstalldirs in the lines above" 1>&2; \
689 @if grep -n -w 'undef ' $(srcdir)/automake.in | \
690 grep -F -v 'undef $$/'; then \
691 echo "Found undef in automake.in; use delete instead" 1>&2; \
694 @if grep -n 'split (/ /' $(srcdir)/automake.in; then \
695 echo "Found bad split in the lines above." 1>&2; \
698 @if grep -n '^[^#]*` *cd ' $(srcdir)/automake.in \
699 $(srcdir)/lib/am/*.am; then \
700 echo "Consider using $$$$(am__cd) in the line above." 1>&2; \
703 @if grep -Hn '[^) ] *= *@_' $(srcdir)/automake.in; then \
704 echo "Using @_ in a scalar context in the lines above." 1>&2; \
707 @if grep '^[ \t]*local *(' $(srcdir)/automake.in; then \
708 echo "Don't use \`local' with parens: use several \`local' above." >&2; \
711 @locals=`grep -v '^[ \t]*local \$$_;' $(srcdir)/automake.in | \
712 grep -c '^[ \t]*local [^*]'`; \
715 echo "Wow, congrats! There are no \`local' now!." >&2; \
716 echo "Please update Makefile.am (maintainer-check)." >&2; \
721 echo "Too many \`local'! Are you sure you need $$locals of them?" >&2; \
722 echo "Up to now 1 was enough." >&2; \
726 @if grep '@AMDEP''_TRUE@' $(srcdir)/automake.in; then \
727 echo "Don't put AMDEP_TRUE substitution in automake.in" 1>&2; \
730 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*make'; then \
731 echo 'Do not run "make" in the above tests. Use "$$MAKE" instead.' 1>&2; \
734 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*autoconf'; then \
735 echo 'Do not run "autoconf" in the above tests. Use "$$AUTOCONF" instead.' 1>&2; \
738 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*automake'; then \
739 echo 'Do not run "automake" in the above tests. Use "$$AUTOMAKE" instead.' 1>&2; \
742 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*aclocal'; then \
743 echo 'Do not run "aclocal" in the above tests. Use "$$ACLOCAL" instead.' 1>&2; \
746 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*perl'; then \
747 echo 'Do not run "perl" in the above tests. Use "$$PERL" instead.' 1>&2; \
750 @if grep -E '\$$MAKE .*(SHELL=.*=|=.*SHELL=)' $(srcdir)/tests/*.test; then \
751 echo 'Rewrite "$$MAKE foo=bar SHELL=/bin/sh" as "foo=bar $$MAKE -e SHELL=/bin/sh"' 1>&2; \
752 echo ' in the above lines, it is more portable.' 1>&2; \
755 @if grep -v SHELL $(srcdir)/tests/*.test | grep '\$$MAKE .*=' ; then \
756 echo 'Rewrite "$$MAKE foo=bar" as "foo=bar $$MAKE -e SHELL=/bin/sh" in the above lines,' 1>&2; \
757 echo 'it is more portable.' 1>&2; \
760 @if grep '$$MAKE.* -e' $(srcdir)/tests/*.test | grep -v '-e.*SHELL' ; then \
761 echo 'Always overwrite SHELL when using "$$MAKE -e".' 1>&2; \
762 echo 'Use "$$MAKE -e SHELL=/bin/sh" in the above lines.' 1>&2; \
765 @if grep 'SHELL=.*\$$MAKE' $(srcdir)/tests/*.test; then \
766 echo '$$MAKE ignores the SHELL envvar, use "$$MAKE SHELL=/bin/sh" in' 1>&2; \
767 echo 'the above lines.' 1>&2; \
770 @if grep -E '\bsleep +1\b' $(srcdir)/tests/*.test; then \
771 echo 'Do not use "sleep 1" in the above tests. Use "sleep 2" instead.' 1>&2; \
774 @if grep -E '\b[ef]grep\b' $(srcdir)/tests/*.test ; then \
775 echo 'Do not use egrep or fgrep in test cases. Use $FGREP or $EGREP.' 1>&2; \
778 @if grep -E '\b[ef]grep\b' $(srcdir)/lib/am/*.am $(srcdir)/m4/*.m4; then \
779 echo 'Do not use egrep or fgrep in the above files, they are not portable.' 1>&2; \
783 # Tag before making distribution. Also, don't make a distribution if
784 # checks fail. Also, make sure the NEWS file is up-to-date.
785 cvs-dist: maintainer-check distcheck
786 @if sed 1q $(srcdir)/NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
787 echo "NEWS not updated; not releasing" 1>&2; \
790 cd $(srcdir) && cvs -q tag `echo "Release-$(VERSION)" | sed 's/\./-/g'`
794 thisver=`echo "Release-$(VERSION)" | sed 's/\./-/g'`; \
795 if test -z "$$OLDVERSION"; then \
796 prevno=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
797 else prevno="$$OLDVERSION"; fi; \
798 prevver=Release-`echo $$prevno | sed 's/\./-/g'`; \
799 cvs -f rdiff -c -r $$prevver -r $$thisver $(PACKAGE) \
800 > $(PACKAGE)-$$prevno-$(VERSION).diff
804 find . -print | xargs pathchk -p); \
806 chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir); \
810 rm -rf Fetchdir > /dev/null 2>&1
811 mkdir Fetchdir; mkdir Fetchdir/Automake
813 $(WGET) ftp://ftp.gnu.org/gnu/config/config.guess; \
814 $(WGET) ftp://ftp.gnu.org/gnu/config/config.sub; \
815 $(WGET) ftp://ftp.gnu.org/gnu/texinfo/texinfo.tex; \
816 $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/autoconf/autoconf/lib/Autom4te/XFile.pm?content-type=text/plain -O Automake/XFile.pm; \
817 $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/autoconf/autoconf/config/install-sh?content-type=text/plain -O install-sh; \
818 $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/autoconf/autoconf/INSTALL?content-type=text/plain -O INSTALL)
819 perl -pi -e 's/Autom4te::/Automake::/g' Fetchdir/Automake/XFile.pm
820 @stat=0; for file in $(FETCHFILES); do \
821 if diff -u $(srcdir)/lib/$$file Fetchdir/$$file \
822 >>Fetchdir/update.patch 2>/dev/null; then :; \
825 echo "Updating $(srcdir)/lib/$$file..."; \
826 cp Fetchdir/$$file $(srcdir)/lib/$$file; \
830 echo "See Fetchdir/update.patch for a log of the changes."; \
832 # Tell versions [3.59,3.63) of GNU make to not export all variables.
833 # Otherwise a system limit (for SysV at least) may be exceeded.