1 # Makefile.in generated by automake 1.6c 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 am__TEXINFO_TEX_DIR = $(top_srcdir)/lib
120 INFO_DEPS = automake.info
124 TEXINFOS = automake.texi
126 RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
127 ps-recursive install-info-recursive uninstall-info-recursive \
128 all-recursive install-data-recursive install-exec-recursive \
129 installdirs-recursive install-recursive uninstall-recursive \
130 check-recursive installcheck-recursive
131 DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \
132 Makefile.in NEWS THANKS TODO aclocal.in aclocal.m4 automake.in \
133 configure configure.in install-sh mdate-sh missing \
134 mkinstalldirs stamp-vti version.texi
135 DIST_SUBDIRS = $(SUBDIRS)
139 .SUFFIXES: .dvi .info .pdf .ps .texi
141 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
143 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
144 cd $(top_srcdir) && \
145 $(AUTOMAKE) --gnu Makefile
146 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
147 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
149 $(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
150 $(SHELL) ./config.status --recheck
151 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
152 cd $(srcdir) && $(AUTOCONF)
154 $(ACLOCAL_M4): configure.in
155 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
156 automake: $(top_builddir)/config.status automake.in
157 cd $(top_builddir) && $(SHELL) ./config.status $@
158 aclocal: $(top_builddir)/config.status aclocal.in
159 cd $(top_builddir) && $(SHELL) ./config.status $@
160 binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
161 install-binSCRIPTS: $(bin_SCRIPTS)
163 $(mkinstalldirs) $(DESTDIR)$(bindir)
164 @list='$(bin_SCRIPTS)'; for p in $$list; do \
165 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
166 if test -f $$d$$p; then \
167 f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
168 echo " $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f"; \
169 $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f; \
173 uninstall-binSCRIPTS:
175 @list='$(bin_SCRIPTS)'; for p in $$list; do \
176 f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
177 echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
178 rm -f $(DESTDIR)$(bindir)/$$f; \
180 version.texi: stamp-vti
181 stamp-vti: automake.texi $(top_srcdir)/configure.in
182 @(dir=.; test -f ./automake.texi || dir=$(srcdir); \
183 set `$(SHELL) $(top_srcdir)/lib/mdate-sh $$dir/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 version.texi \
189 || (echo "Updating version.texi"; \
190 cp vti.tmp version.texi)
197 maintainer-clean-vti:
198 -rm -f stamp-vti version.texi
201 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
202 $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
203 `test -f '$<' || echo '$(srcdir)/'`$< -o $@
206 TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
207 MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
208 $(TEXI2DVI) `test -f '$<' || echo '$(srcdir)/'`$< -o $@
211 TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
212 MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
213 $(TEXI2PDF) `test -f '$<' || echo '$(srcdir)/'`$< -o $@
214 automake.info: version.texi
215 automake.dvi: version.texi
216 automake.pdf: version.texi
219 TEXI2PDF = $(TEXI2DVI) --pdf
226 @if (install-info --version && \
227 install-info --version | grep -i -v debian) >/dev/null 2>&1; then \
228 list='$(INFO_DEPS)'; \
229 for file in $$list; do \
230 echo " install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file"; \
231 install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file; \
235 @list='$(INFO_DEPS)'; \
236 for file in $$list; do \
237 (if cd $(DESTDIR)$(infodir); then \
238 echo " rm -f $$file $$file-[0-9] $$file-[0-9][0-9])"; \
239 rm -f $$file $$file-[0-9] $$file-[0-9][0-9]; \
243 dist-info: $(INFO_DEPS)
244 list='$(INFO_DEPS)'; \
245 for base in $$list; do \
247 for file in $$d/$$base*; do \
248 relfile=`expr "$$file" : "$$d/\(.*\)"`; \
249 test -f $(distdir)/$$relfile || \
250 cp -p $$file $(distdir)/$$relfile; \
255 -rm -f automake.aux automake.cm automake.cp automake.cps automake.cv \
256 automake.dvi automake.fn automake.ky automake.log automake.op \
257 automake.ov automake.pdf automake.pg automake.ps automake.tmp \
258 automake.toc automake.tp automake.tr automake.vr automake.vrs
260 maintainer-clean-aminfo:
262 list='$(INFO_DEPS)'; for i in $$list; do \
264 if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
269 # This directory's subdirectories are mostly independent; you can cd
270 # into them and run `make' without going through this Makefile.
271 # To change the values of `make' variables: instead of editing Makefiles,
272 # (1) if the variable is set in `config.status', edit `config.status'
273 # (which will cause the Makefiles to be regenerated when you run `make');
274 # (2) otherwise, pass the desired values on the `make' command line.
275 $(RECURSIVE_TARGETS):
276 @set fnord $$MAKEFLAGS; amf=$$2; \
278 target=`echo $@ | sed s/-recursive//`; \
279 list='$(SUBDIRS)'; for subdir in $$list; do \
280 echo "Making $$target in $$subdir"; \
281 if test "$$subdir" = "."; then \
283 local_target="$$target-am"; \
285 local_target="$$target"; \
287 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
288 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
290 if test "$$dot_seen" = "no"; then \
291 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
294 mostlyclean-recursive clean-recursive distclean-recursive \
295 maintainer-clean-recursive:
296 @set fnord $$MAKEFLAGS; amf=$$2; \
299 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
300 *) list='$(SUBDIRS)' ;; \
302 rev=''; for subdir in $$list; do \
303 if test "$$subdir" = "."; then :; else \
304 rev="$$subdir $$rev"; \
308 target=`echo $@ | sed s/-recursive//`; \
309 for subdir in $$rev; do \
310 echo "Making $$target in $$subdir"; \
311 if test "$$subdir" = "."; then \
312 local_target="$$target-am"; \
314 local_target="$$target"; \
316 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
317 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
318 done && test -z "$$fail"
320 list='$(SUBDIRS)'; for subdir in $$list; do \
321 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
324 list='$(SUBDIRS)'; for subdir in $$list; do \
325 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
336 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
337 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
338 unique=`for i in $$list; do \
339 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
341 $(AWK) ' { files[$$0] = 1; } \
342 END { for (i in files) print i; }'`; \
345 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
346 $(TAGS_FILES) $(LISP)
349 list='$(SUBDIRS)'; for subdir in $$list; do \
350 if test "$$subdir" = .; then :; else \
351 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
354 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
355 unique=`for i in $$list; do \
356 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
358 $(AWK) ' { files[$$0] = 1; } \
359 END { for (i in files) print i; }'`; \
360 test -z "$(ETAGS_ARGS)$$tags$$unique" \
361 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
365 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
366 $(TAGS_FILES) $(LISP)
369 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
370 unique=`for i in $$list; do \
371 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
373 $(AWK) ' { files[$$0] = 1; } \
374 END { for (i in files) print i; }'`; \
375 test -z "$(CTAGS_ARGS)$$tags$$unique" \
376 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
380 here=`$(am__cd) $(top_builddir) && pwd` \
381 && cd $(top_srcdir) \
382 && gtags -i $(GTAGS_ARGS) $$here
385 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
386 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
389 distdir = $(PACKAGE)-$(VERSION)
391 am__remove_distdir = \
392 { test ! -d $(distdir) \
393 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
394 && rm -fr $(distdir); }; }
397 distcleancheck_listfiles = find . -type f -print
399 distdir: $(DISTFILES)
400 $(am__remove_distdir)
402 $(mkinstalldirs) $(distdir)/. $(distdir)/m4
403 @list='$(DISTFILES)'; for file in $$list; do \
404 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
405 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
406 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
408 $(mkinstalldirs) "$(distdir)$$dir"; \
412 if test -d $$d/$$file; then \
413 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
414 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
416 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
418 test -f $(distdir)/$$file \
419 || cp -p $$d/$$file $(distdir)/$$file \
423 list='$(SUBDIRS)'; for subdir in $$list; do \
424 if test "$$subdir" = .; then :; else \
425 test -d $(distdir)/$$subdir \
426 || mkdir $(distdir)/$$subdir \
429 $(MAKE) $(AM_MAKEFLAGS) \
430 top_distdir="$(top_distdir)" \
431 distdir=../$(distdir)/$$subdir \
436 $(MAKE) $(AM_MAKEFLAGS) \
437 top_distdir="$(top_distdir)" distdir="$(distdir)" \
439 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
440 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
441 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
442 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
443 || chmod -R a+r $(distdir)
445 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
446 $(am__remove_distdir)
449 $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
450 $(am__remove_distdir)
452 dist dist-all: distdir
453 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
454 $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
455 $(am__remove_distdir)
457 # This target untars the dist file and tries a VPATH configuration. Then
458 # it guarantees that the distribution is self-contained by making another
461 $(am__remove_distdir)
462 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
463 chmod -R a-w $(distdir); chmod a+w $(distdir)
464 mkdir $(distdir)/=build
465 mkdir $(distdir)/=inst
467 dc_install_base=`$(am__cd) $(distdir)/=inst && pwd` \
468 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
469 && cd $(distdir)/=build \
470 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
471 $(DISTCHECK_CONFIGURE_FLAGS) \
472 && $(MAKE) $(AM_MAKEFLAGS) \
473 && $(MAKE) $(AM_MAKEFLAGS) dvi \
474 && $(MAKE) $(AM_MAKEFLAGS) check \
475 && $(MAKE) $(AM_MAKEFLAGS) install \
476 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
477 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
478 && (test `find "$$dc_install_base" -type f -print | wc -l` -le 1 \
479 || { echo "ERROR: files left after uninstall:" ; \
480 find $$dc_install_base -type f -print ; \
482 && chmod -R a-w "$$dc_install_base" \
483 && ({ $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
484 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
485 && (test `find "$$dc_destdir" -type f -print | wc -l` -le 1 \
486 || { echo "ERROR: files left after uninstall (check DESTDIR support):" ; \
487 find "$$dc_destdir" -type f -print ; \
489 } || { rm -rf "$$dc_destdir"; exit 1; }) \
490 && rm -rf "$$dc_destdir" \
491 && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
492 && rm -f $(distdir).tar.gz \
493 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
494 $(am__remove_distdir)
495 @echo "$(distdir).tar.gz is ready for distribution" | \
496 sed 'h;s/./=/g;p;x;p;x'
497 distcleancheck: distclean
498 if test '$(srcdir)' = . ; then \
499 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
502 test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
503 || { echo "ERROR: files left after distclean:" ; \
504 $(distcleancheck_listfiles) ; \
507 check: check-recursive
508 all-am: Makefile $(INFO_DEPS) $(SCRIPTS)
509 installdirs: installdirs-recursive
511 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(infodir)
513 install: install-recursive
514 install-exec: install-exec-recursive
515 install-data: install-data-recursive
516 uninstall: uninstall-recursive
519 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
521 installcheck: installcheck-recursive
523 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
524 INSTALL_STRIP_FLAG=-s \
525 `test -z '$(STRIP)' || \
526 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
532 -rm -f Makefile $(CONFIG_CLEAN_FILES)
534 maintainer-clean-generic:
535 @echo "This command is intended for maintainers to use"
536 @echo "it deletes files that may require special tools to rebuild."
537 clean: clean-recursive
539 clean-am: clean-generic mostlyclean-am
541 distclean: distclean-recursive
542 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
543 distclean-am: clean-am distclean-generic distclean-tags
551 info-am: $(INFO_DEPS)
553 install-data-am: install-info-am
555 install-exec-am: install-binSCRIPTS
557 $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
559 install-info: install-info-recursive
561 install-info-am: $(INFO_DEPS)
563 $(mkinstalldirs) $(DESTDIR)$(infodir)
564 @list='$(INFO_DEPS)'; \
565 for file in $$list; do \
567 for ifile in echo $$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9]; do \
568 if test -f $$ifile; then \
569 relfile=`expr "$$ifile" : "$$d/\(.*\)"`; \
570 echo " $(INSTALL_DATA) $$ifile $(DESTDIR)$(infodir)/$$relfile"; \
571 $(INSTALL_DATA) $$ifile $(DESTDIR)$(infodir)/$$relfile; \
576 @if (install-info --version && \
577 install-info --version | grep -i -v debian) >/dev/null 2>&1; then \
578 list='$(INFO_DEPS)'; \
579 for file in $$list; do \
580 echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
581 install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
588 maintainer-clean: maintainer-clean-recursive
589 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
590 -rm -rf autom4te.cache
591 maintainer-clean-am: distclean-am maintainer-clean-aminfo \
592 maintainer-clean-generic maintainer-clean-vti
594 mostlyclean: mostlyclean-recursive
596 mostlyclean-am: mostlyclean-aminfo mostlyclean-generic mostlyclean-vti
606 uninstall-am: uninstall-binSCRIPTS uninstall-info-am
608 $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
610 uninstall-info: uninstall-info-recursive
612 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \
613 clean-generic clean-recursive ctags ctags-recursive dist \
614 dist-all dist-bzip2 dist-gzip dist-info distcheck distclean \
615 distclean-generic distclean-recursive distclean-tags \
616 distcleancheck distdir dvi dvi-am dvi-recursive info info-am \
617 info-recursive install install-am install-binSCRIPTS \
618 install-data install-data-am install-data-recursive \
619 install-exec install-exec-am install-exec-recursive \
620 install-info install-info-am install-info-recursive install-man \
621 install-recursive install-strip installcheck installcheck-am \
622 installdirs installdirs-am installdirs-recursive \
623 maintainer-clean maintainer-clean-aminfo \
624 maintainer-clean-generic maintainer-clean-recursive \
625 maintainer-clean-vti mostlyclean mostlyclean-aminfo \
626 mostlyclean-generic mostlyclean-recursive mostlyclean-vti pdf \
627 pdf-am pdf-recursive ps ps-am ps-recursive tags tags-recursive \
628 uninstall uninstall-am uninstall-binSCRIPTS uninstall-info-am \
629 uninstall-info-recursive uninstall-recursive
634 @for p in $(bin_SCRIPTS); do \
635 f="`echo $$p|sed '$(transform)'`"; \
636 fv="$$f-$(APIVERSION)"; \
637 rm -f $(DESTDIR)$(bindir)/$$fv; \
638 echo " $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv"; \
639 $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv; \
643 @for p in $(bin_SCRIPTS); do \
644 f="`echo $$p|sed '$(transform)'`"; \
645 fv="$$f-$(APIVERSION)"; \
646 rm -f $(DESTDIR)$(bindir)/$$fv; \
649 ################################################################
651 # Some simple checks, and then ordinary check. These are only really
652 # guaranteed to work on my machine.
653 maintainer-check: automake aclocal
654 @if test `diff $(srcdir)/automake.in automake | wc -l` -ne 28; then \
655 echo "found too many diffs between automake.in and automake"; 1>&2; \
656 diff -c $(srcdir)/automake.in automake; \
659 perllibdir=$(srcdir)/lib $(PERL) -c -w automake
660 perllibdir=$(srcdir)/lib $(PERL) -c -w aclocal
661 @if grep -F '$${' $(srcdir)/lib/am/[a-z]*.am | \
662 grep -F -v '$$$$'; then \
663 echo "Found too many uses of '\$${' in the lines above." 1>&2; \
666 @if grep -E '\<rm ([^-]|\-[^f ]*\>)' \
667 $(srcdir)/lib/am/[a-z]*.am $(srcdir)/tests/*.test | \
669 echo "Suspicious 'rm' invocation." 1>&2; \
672 @if grep 'for .* in \$$(' $(srcdir)/lib/am/[a-z]*.am; then \
673 echo 'Use "list=$$(mumble); for var in $$$$list".' 1>&2 ; \
676 @if grep -n 'mkinstalldirs' $(srcdir)/lib/am/[a-z]*.am | \
677 grep -F -v '$$(mkinstalldirs)'; then \
678 echo "Found incorrect use of mkinstalldirs in the lines above" 1>&2; \
681 @if grep -n -w 'undef ' $(srcdir)/automake.in | \
682 grep -F -v 'undef $$/'; then \
683 echo "Found undef in automake.in; use delete instead" 1>&2; \
686 @if grep -n 'split (/ /' $(srcdir)/automake.in; then \
687 echo "Found bad split in the lines above." 1>&2; \
690 @if grep -n '^[^#]*` *cd ' $(srcdir)/automake.in \
691 $(srcdir)/lib/am/*.am; then \
692 echo "Consider using $$$$(am__cd) in the line above." 1>&2; \
695 @if grep -Hn '[^) ] *= *@_' $(srcdir)/automake.in; then \
696 echo "Using @_ in a scalar context in the lines above." 1>&2; \
699 @if grep '^[ \t]*local *(' $(srcdir)/automake.in; then \
700 echo "Don't use \`local' with parens: use several \`local' above." >&2; \
703 @locals=`grep -v '^[ \t]*local \$$_;' $(srcdir)/automake.in | \
704 grep -c '^[ \t]*local [^*]'`; \
707 echo "Wow, congrats! There are no \`local' now!." >&2; \
708 echo "Please update Makefile.am (maintainer-check)." >&2; \
713 echo "Too many \`local'! Are you sure you need $$locals of them?" >&2; \
714 echo "Up to now 1 was enough." >&2; \
718 @if grep '@AMDEP''_TRUE@' $(srcdir)/automake.in; then \
719 echo "Don't put AMDEP_TRUE substitution in automake.in" 1>&2; \
722 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*make'; then \
723 echo 'Do not run "make" in the above tests. Use "$$MAKE" instead.' 1>&2; \
726 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*autoconf'; then \
727 echo 'Do not run "autoconf" in the above tests. Use "$$AUTOCONF" instead.' 1>&2; \
730 @if grep -v '^#' $(srcdir)/tests/*.test | egrep ':[ ]*autoupdate'; then \
731 echo 'Do not run "autoupdate" in the above tests. Use "$$AUTOUPDATE" instead.' 1>&2; \
734 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*automake'; then \
735 echo 'Do not run "automake" in the above tests. Use "$$AUTOMAKE" instead.' 1>&2; \
738 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*aclocal'; then \
739 echo 'Do not run "aclocal" in the above tests. Use "$$ACLOCAL" instead.' 1>&2; \
742 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*perl'; then \
743 echo 'Do not run "perl" in the above tests. Use "$$PERL" instead.' 1>&2; \
746 @if grep -E '\$$MAKE .*(SHELL=.*=|=.*SHELL=)' $(srcdir)/tests/*.test; then \
747 echo 'Rewrite "$$MAKE foo=bar SHELL=/bin/sh" as "foo=bar $$MAKE -e SHELL=/bin/sh"' 1>&2; \
748 echo ' in the above lines, it is more portable.' 1>&2; \
751 @if grep -v SHELL $(srcdir)/tests/*.test | grep '\$$MAKE .*=' ; then \
752 echo 'Rewrite "$$MAKE foo=bar" as "foo=bar $$MAKE -e SHELL=/bin/sh" in the above lines,' 1>&2; \
753 echo 'it is more portable.' 1>&2; \
756 @if grep '$$MAKE.* -e' $(srcdir)/tests/*.test | grep -v '-e.*SHELL' ; then \
757 echo 'Always overwrite SHELL when using "$$MAKE -e".' 1>&2; \
758 echo 'Use "$$MAKE -e SHELL=/bin/sh" in the above lines.' 1>&2; \
761 @if grep 'SHELL=.*\$$MAKE' $(srcdir)/tests/*.test; then \
762 echo '$$MAKE ignores the SHELL envvar, use "$$MAKE SHELL=/bin/sh" in' 1>&2; \
763 echo 'the above lines.' 1>&2; \
766 @if grep -E '\bsleep +1\b' $(srcdir)/tests/*.test; then \
767 echo 'Do not use "sleep 1" in the above tests. Use "sleep 2" instead.' 1>&2; \
770 @if grep -E '\b[ef]grep\b' $(srcdir)/tests/*.test ; then \
771 echo 'Do not use egrep or fgrep in test cases. Use $FGREP or $EGREP.' 1>&2; \
774 @if grep -E '\b[ef]grep\b' $(srcdir)/lib/am/*.am $(srcdir)/m4/*.m4; then \
775 echo 'Do not use egrep or fgrep in the above files, they are not portable.' 1>&2; \
779 # Tag before making distribution. Also, don't make a distribution if
780 # checks fail. Also, make sure the NEWS file is up-to-date.
781 cvs-dist: maintainer-check distcheck
782 @if sed 1q $(srcdir)/NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
783 echo "NEWS not updated; not releasing" 1>&2; \
786 cd $(srcdir) && cvs -q tag `echo "Release-$(VERSION)" | sed 's/\./-/g'`
790 thisver=`echo "Release-$(VERSION)" | sed 's/\./-/g'`; \
791 if test -z "$$OLDVERSION"; then \
792 prevno=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
793 else prevno="$$OLDVERSION"; fi; \
794 prevver=Release-`echo $$prevno | sed 's/\./-/g'`; \
795 cvs -f rdiff -c -r $$prevver -r $$thisver $(PACKAGE) \
796 > $(PACKAGE)-$$prevno-$(VERSION).diff
800 find . -print | xargs pathchk -p); \
802 chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir); \
806 rm -rf Fetchdir > /dev/null 2>&1
807 mkdir Fetchdir; mkdir Fetchdir/Automake
809 $(WGET) ftp://ftp.gnu.org/gnu/config/config.guess; \
810 $(WGET) ftp://ftp.gnu.org/gnu/config/config.sub; \
811 $(WGET) ftp://ftp.gnu.org/gnu/texinfo/texinfo.tex; \
812 $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/autoconf/autoconf/lib/Autom4te/XFile.pm?content-type=text/plain -O Automake/XFile.pm; \
813 $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/autoconf/autoconf/config/install-sh?content-type=text/plain -O install-sh; \
814 $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/autoconf/autoconf/INSTALL?content-type=text/plain -O INSTALL)
815 perl -pi -e 's/Autom4te::/Automake::/g' Fetchdir/Automake/XFile.pm
816 @stat=0; for file in $(FETCHFILES); do \
817 if diff -u $(srcdir)/lib/$$file Fetchdir/$$file \
818 >>Fetchdir/update.patch 2>/dev/null; then :; \
821 echo "Updating $(srcdir)/lib/$$file..."; \
822 cp Fetchdir/$$file $(srcdir)/lib/$$file; \
826 echo "See Fetchdir/update.patch for a log of the changes."; \
828 # Tell versions [3.59,3.63) of GNU make to not export all variables.
829 # Otherwise a system limit (for SysV at least) may be exceeded.