1 # Makefile.in generated by automake 1.7a from Makefile.am.
4 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
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@
24 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
26 install_sh_DATA = $(install_sh) -c -m 644
27 install_sh_PROGRAM = $(install_sh) -c
28 install_sh_SCRIPT = $(install_sh) -c
29 INSTALL_HEADER = $(INSTALL_DATA)
30 transform = $(program_transform_name)
37 DIST_COMMON = Makefile.in Makefile.am COPYING INSTALL NEWS README \
38 AUTHORS ChangeLog THANKS aclocal.m4 configure configure.in \
39 $(am__configure_deps) version.texi stamp-vti AUTHORS COPYING \
40 ChangeLog INSTALL NEWS README THANKS TODO configure \
43 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
44 am__configure_deps = $(top_srcdir)/m4/init.m4 \
45 $(top_srcdir)/m4/amversion.m4 $(top_srcdir)/m4/options.m4 \
46 $(top_srcdir)/m4/sanity.m4 $(top_srcdir)/m4/missing.m4 \
47 $(top_srcdir)/m4/auxdir.m4 $(top_srcdir)/m4/install-sh.m4 \
48 $(top_srcdir)/m4/strip.m4 $(top_srcdir)/m4/lead-dot.m4 \
49 $(top_srcdir)/m4/depend.m4 $(top_srcdir)/m4/depout.m4 \
50 $(top_srcdir)/m4/make.m4 $(top_srcdir)/m4/cond.m4 \
51 $(top_srcdir)/m4/runlog.m4
52 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
54 mkinstalldirs = $(SHELL) $(top_srcdir)/lib/mkinstalldirs
56 am__installdirs = $(DESTDIR)$(bindir) $(DESTDIR)$(infodir)
57 binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
58 SCRIPTS = $(bin_SCRIPTS)
61 TEXINFO_TEX = $(top_srcdir)/lib/texinfo.tex
62 am__TEXINFO_TEX_DIR = $(top_srcdir)/lib
63 INFO_DEPS = automake.info
68 TEXINFOS = automake.texi
70 TEXI2PDF = $(TEXI2DVI) --pdf --batch
72 RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
73 ps-recursive html-recursive install-info-recursive \
74 uninstall-info-recursive all-recursive install-data-recursive \
75 install-exec-recursive installdirs-recursive install-recursive \
76 uninstall-recursive check-recursive installcheck-recursive
81 DIST_SUBDIRS = $(SUBDIRS)
82 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
83 distdir = $(PACKAGE)-$(VERSION)
84 top_distdir = $(distdir)
85 am__remove_distdir = \
86 { test ! -d $(distdir) \
87 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
88 && rm -fr $(distdir); }; }
90 distuninstallcheck_listfiles = find . -type f -print
91 distcleancheck_listfiles = find . -type f -print
94 APIVERSION = @APIVERSION@
96 AUTOHEADER = @AUTOHEADER@
99 CYGPATH_W = @CYGPATH_W@
106 INSTALL_DATA = @INSTALL_DATA@
107 INSTALL_PROGRAM = @INSTALL_PROGRAM@
108 INSTALL_SCRIPT = @INSTALL_SCRIPT@
109 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
113 LTLIBOBJS = @LTLIBOBJS@
114 MAKEINFO = @MAKEINFO@
115 MODIFICATION_DELAY = @MODIFICATION_DELAY@
117 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
118 PACKAGE_NAME = @PACKAGE_NAME@
119 PACKAGE_STRING = @PACKAGE_STRING@
120 PACKAGE_TARNAME = @PACKAGE_TARNAME@
121 PACKAGE_VERSION = @PACKAGE_VERSION@
122 PATH_SEPARATOR = @PATH_SEPARATOR@
124 SET_MAKE = @SET_MAKE@
129 ac_ct_STRIP = @ac_ct_STRIP@
130 am__leading_dot = @am__leading_dot@
133 build_alias = @build_alias@
134 build_cpu = @build_cpu@
135 build_os = @build_os@
136 build_vendor = @build_vendor@
138 exec_prefix = @exec_prefix@
139 host_alias = @host_alias@
140 includedir = @includedir@
142 install_sh = @install_sh@
144 libexecdir = @libexecdir@
145 localstatedir = @localstatedir@
147 oldincludedir = @oldincludedir@
148 pkgvdatadir = @pkgvdatadir@
150 program_transform_name = @program_transform_name@
152 sharedstatedir = @sharedstatedir@
153 sysconfdir = @sysconfdir@
154 target_alias = @target_alias@
155 SUBDIRS = . m4 lib tests
156 bin_SCRIPTS = automake aclocal
157 info_TEXINFOS = automake.texi
158 CLEANFILES = $(bin_SCRIPTS)
159 AUTOMAKESOURCES = automake.in aclocal.in
160 TAGS_FILES = $(AUTOMAKESOURCES)
162 # The following requires a fixed version of the Emacs 19.30 etags.
163 ETAGS_ARGS = --lang=none \
164 --regex='/^@node[ \t]+\([^,]+\)/\1/' $(srcdir)/automake.texi
166 TAGS_DEPENDENCIES = automake.texi
167 EXTRA_DIST = ChangeLog.96 ChangeLog.98 ChangeLog.00 ChangeLog.01 ChangeLog.02 \
170 do_subst = sed -e 's,[@]datadir[@],$(datadir),g' -e 's,[@]PERL[@],$(PERL),g' \
171 -e 's,[@]configure_input[@],@configure_input@,g' \
172 -e 's,[@]PACKAGE[@],$(PACKAGE),g' \
173 -e 's,[@]VERSION[@],$(VERSION),g' \
174 -e 's,[@]APIVERSION[@],$(APIVERSION),g' \
175 -e 's,[@]SHELL[@],$(SHELL),g'
189 .SUFFIXES: .dvi .html .info .pdf .ps .texi
191 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(am__configure_deps)
193 case '$(top_srcdir)/configure.in $(ACLOCAL_M4) $(am__configure_deps)' in \
195 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
196 cd $(srcdir) && $(AUTOMAKE) --gnu \
201 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
202 cd $(top_srcdir) && \
203 $(AUTOMAKE) --gnu Makefile
204 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
207 echo ' $(SHELL) ./config.status'; \
208 $(SHELL) ./config.status;; \
210 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
211 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
214 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
215 $(SHELL) ./config.status --recheck
217 $(top_srcdir)/configure: $(top_srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) $(am__configure_deps)
218 cd $(srcdir) && $(AUTOCONF)
219 $(ACLOCAL_M4): $(top_srcdir)/configure.in $(am__configure_deps)
220 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
221 install-binSCRIPTS: $(bin_SCRIPTS)
223 $(mkinstalldirs) $(DESTDIR)$(bindir)
224 @list='$(bin_SCRIPTS)'; for p in $$list; do \
225 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
226 if test -f $$d$$p; then \
227 f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
228 echo " $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f"; \
229 $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f; \
233 uninstall-binSCRIPTS:
235 @list='$(bin_SCRIPTS)'; for p in $$list; do \
236 f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
237 echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
238 rm -f $(DESTDIR)$(bindir)/$$f; \
243 backupdir="$(am__leading_dot)am$$$$" && \
244 rm -rf $$backupdir && mkdir $$backupdir && \
245 for f in $@ $@-[0-9] $@-[0-9][0-9] $(@:.info=).i[0-9] $(@:.info=).i[0-9][0-9]; do \
246 if test -f $$f; then \
247 mv $$f $$backupdir; \
251 if $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
252 -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
255 $$restore $$backupdir/* `echo "./$@" | sed 's|[^/]*$$||'`; \
257 rm -rf $$backupdir; \
261 TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
262 MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
266 TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
267 MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
271 $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) --html -I $(srcdir) \
273 automake.info: automake.texi version.texi
274 automake.dvi: automake.texi version.texi
275 automake.pdf: automake.texi version.texi
276 automake.html: automake.texi version.texi
277 version.texi: stamp-vti
278 stamp-vti: automake.texi $(top_srcdir)/configure
279 @(dir=.; test -f ./automake.texi || dir=$(srcdir); \
280 set `$(SHELL) $(top_srcdir)/lib/mdate-sh $$dir/automake.texi`; \
281 echo "@set UPDATED $$1 $$2 $$3"; \
282 echo "@set UPDATED-MONTH $$2 $$3"; \
283 echo "@set EDITION $(VERSION)"; \
284 echo "@set VERSION $(VERSION)") > vti.tmp
285 @cmp -s vti.tmp version.texi \
286 || (echo "Updating version.texi"; \
287 cp vti.tmp version.texi)
294 maintainer-clean-vti:
295 -rm -f stamp-vti version.texi
301 @if (install-info --version && \
302 install-info --version | grep -i -v debian) >/dev/null 2>&1; then \
303 list='$(INFO_DEPS)'; \
304 for file in $$list; do \
305 relfile=`echo "$$file" | sed 's|^.*/||'`; \
306 echo " install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$relfile"; \
307 install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$relfile; \
311 @list='$(INFO_DEPS)'; \
312 for file in $$list; do \
313 relfile=`echo "$$file" | sed 's|^.*/||'`; \
314 relfile_i=`echo "$$relfile" | sed 's|\.info$$||;s|$$|.i|'`; \
315 (if cd $(DESTDIR)$(infodir); then \
316 echo " rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9])"; \
317 rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9]; \
321 dist-info: $(INFO_DEPS)
322 list='$(INFO_DEPS)'; \
323 for base in $$list; do \
324 if test -f $$base; then d=.; else d=$(srcdir); fi; \
325 for file in $$d/$$base*; do \
326 relfile=`expr "$$file" : "$$d/\(.*\)"`; \
327 test -f $(distdir)/$$relfile || \
328 cp -p $$file $(distdir)/$$relfile; \
333 -rm -rf automake.aux automake.cm automake.cp automake.cps automake.cv \
334 automake.fn automake.ky automake.kys automake.log \
335 automake.op automake.ov automake.pg automake.pgs \
336 automake.tmp automake.toc automake.tp automake.tps \
337 automake.tr automake.vr automake.vrs automake.dvi \
338 automake.pdf automake.ps automake.html
340 maintainer-clean-aminfo:
341 @list='$(INFO_DEPS)'; for i in $$list; do \
342 i_i=`echo "$$i" | sed 's|\.info$$||;s|$$|.i|'`; \
343 echo " rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]"; \
344 rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]; \
347 # This directory's subdirectories are mostly independent; you can cd
348 # into them and run `make' without going through this Makefile.
349 # To change the values of `make' variables: instead of editing Makefiles,
350 # (1) if the variable is set in `config.status', edit `config.status'
351 # (which will cause the Makefiles to be regenerated when you run `make');
352 # (2) otherwise, pass the desired values on the `make' command line.
353 $(RECURSIVE_TARGETS):
354 @set fnord $$MAKEFLAGS; amf=$$2; \
356 target=`echo $@ | sed s/-recursive//`; \
357 list='$(SUBDIRS)'; for subdir in $$list; do \
358 echo "Making $$target in $$subdir"; \
359 if test "$$subdir" = "."; then \
361 local_target="$$target-am"; \
363 local_target="$$target"; \
365 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
366 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
368 if test "$$dot_seen" = "no"; then \
369 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
372 mostlyclean-recursive clean-recursive distclean-recursive \
373 maintainer-clean-recursive:
374 @set fnord $$MAKEFLAGS; amf=$$2; \
377 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
378 *) list='$(SUBDIRS)' ;; \
380 rev=''; for subdir in $$list; do \
381 if test "$$subdir" = "."; then :; else \
382 rev="$$subdir $$rev"; \
386 target=`echo $@ | sed s/-recursive//`; \
387 for subdir in $$rev; do \
388 echo "Making $$target in $$subdir"; \
389 if test "$$subdir" = "."; then \
390 local_target="$$target-am"; \
392 local_target="$$target"; \
394 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
395 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
396 done && test -z "$$fail"
398 list='$(SUBDIRS)'; for subdir in $$list; do \
399 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
402 list='$(SUBDIRS)'; for subdir in $$list; do \
403 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
408 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
409 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
410 unique=`for i in $$list; do \
411 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
413 $(AWK) ' { files[$$0] = 1; } \
414 END { for (i in files) print i; }'`; \
417 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
418 $(TAGS_FILES) $(LISP)
421 if (etags --etags-include --version) >/dev/null 2>&1; then \
422 include_option=--etags-include; \
424 include_option=--include; \
426 list='$(SUBDIRS)'; for subdir in $$list; do \
427 if test "$$subdir" = .; then :; else \
428 test -f $$subdir/TAGS && \
429 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
432 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
433 unique=`for i in $$list; do \
434 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
436 $(AWK) ' { files[$$0] = 1; } \
437 END { for (i in files) print i; }'`; \
438 test -z "$(ETAGS_ARGS)$$tags$$unique" \
439 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
443 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
444 $(TAGS_FILES) $(LISP)
447 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
448 unique=`for i in $$list; do \
449 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
451 $(AWK) ' { files[$$0] = 1; } \
452 END { for (i in files) print i; }'`; \
453 test -z "$(CTAGS_ARGS)$$tags$$unique" \
454 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
458 here=`$(am__cd) $(top_builddir) && pwd` \
459 && cd $(top_srcdir) \
460 && gtags -i $(GTAGS_ARGS) $$here
463 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
465 distdir: $(DISTFILES)
466 $(am__remove_distdir)
468 $(mkinstalldirs) $(distdir)/m4 $(distdir)/tests
469 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
470 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
471 list='$(DISTFILES)'; for file in $$list; do \
473 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
474 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
476 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
477 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
478 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
480 $(mkinstalldirs) "$(distdir)$$dir"; \
484 if test -d $$d/$$file; then \
485 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
486 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
488 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
490 test -f $(distdir)/$$file \
491 || cp -p $$d/$$file $(distdir)/$$file \
495 list='$(SUBDIRS)'; for subdir in $$list; do \
496 if test "$$subdir" = .; then :; else \
497 test -d "$(distdir)/$$subdir" \
498 || mkdir "$(distdir)/$$subdir" \
501 $(MAKE) $(AM_MAKEFLAGS) \
502 top_distdir="../$(top_distdir)" \
503 distdir="../$(distdir)/$$subdir" \
508 $(MAKE) $(AM_MAKEFLAGS) \
509 top_distdir="$(top_distdir)" distdir="$(distdir)" \
511 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
512 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
513 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
514 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
515 || chmod -R a+r $(distdir)
517 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
518 $(am__remove_distdir)
521 $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
522 $(am__remove_distdir)
524 dist dist-all: distdir
525 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
526 $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
527 $(am__remove_distdir)
529 # This target untars the dist file and tries a VPATH configuration. Then
530 # it guarantees that the distribution is self-contained by making another
533 $(am__remove_distdir)
534 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
535 chmod -R a-w $(distdir); chmod a+w $(distdir)
536 mkdir $(distdir)/_build
537 mkdir $(distdir)/_inst
539 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
540 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
541 && cd $(distdir)/_build \
542 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
543 $(DISTCHECK_CONFIGURE_FLAGS) \
544 && $(MAKE) $(AM_MAKEFLAGS) \
545 && $(MAKE) $(AM_MAKEFLAGS) dvi \
546 && $(MAKE) $(AM_MAKEFLAGS) check \
547 && $(MAKE) $(AM_MAKEFLAGS) install \
548 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
549 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
550 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
552 && chmod -R a-w "$$dc_install_base" \
554 (cd ../.. && $(mkinstalldirs) "$$dc_destdir") \
555 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
556 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
557 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
558 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
559 } || { rm -rf "$$dc_destdir"; exit 1; }) \
560 && rm -rf "$$dc_destdir" \
561 && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
562 && rm -f $(distdir).tar.gz \
563 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
564 $(am__remove_distdir)
565 @echo "$(distdir).tar.gz is ready for distribution" | \
566 sed 'h;s/./=/g;p;x;p;x'
568 @cd $(distuninstallcheck_dir) \
569 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
570 || { echo "ERROR: files left after uninstall:" ; \
571 if test -n "$(DESTDIR)"; then \
572 echo " (check DESTDIR support)"; \
574 $(distuninstallcheck_listfiles) ; \
576 distcleancheck: distclean
577 @if test '$(srcdir)' = . ; then \
578 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
581 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
582 || { echo "ERROR: files left in build directory after distclean:" ; \
583 $(distcleancheck_listfiles) ; \
586 check: check-recursive
587 all-am: Makefile $(INFO_DEPS) $(SCRIPTS)
588 installdirs: installdirs-recursive
590 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(infodir)
592 install: install-recursive
593 install-exec: install-exec-recursive
594 install-data: install-data-recursive
595 uninstall: uninstall-recursive
598 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
600 installcheck: installcheck-recursive
602 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
603 INSTALL_STRIP_FLAG=-s \
604 `test -z '$(STRIP)' || \
605 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
609 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
612 -rm -f Makefile $(CONFIG_CLEAN_FILES)
614 maintainer-clean-generic:
615 @echo "This command is intended for maintainers to use"
616 @echo "it deletes files that may require special tools to rebuild."
617 clean: clean-recursive
619 clean-am: clean-generic mostlyclean-am
621 distclean: distclean-recursive
622 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
623 distclean-am: clean-am distclean-generic distclean-tags
635 info-am: $(INFO_DEPS)
637 install-data-am: install-info-am
639 install-exec-am: install-binSCRIPTS
641 $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
643 install-info: install-info-recursive
645 install-info-am: $(INFO_DEPS)
647 $(mkinstalldirs) $(DESTDIR)$(infodir)
648 @list='$(INFO_DEPS)'; \
649 for file in $$list; do \
650 if test -f $$file; then d=.; else d=$(srcdir); fi; \
651 file_i=`echo "$$file" | sed 's|\.info$$||;s|$$|.i|'`; \
652 for ifile in $$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9] \
653 $$d/$$file_i[0-9] $$d/$$file_i[0-9][0-9] ; do \
654 if test -f $$ifile; then \
655 relfile=`echo "$$ifile" | sed 's|^.*/||'`; \
656 echo " $(INSTALL_DATA) $$ifile $(DESTDIR)$(infodir)/$$relfile"; \
657 $(INSTALL_DATA) $$ifile $(DESTDIR)$(infodir)/$$relfile; \
662 @if (install-info --version && \
663 install-info --version | grep -i -v debian) >/dev/null 2>&1; then \
664 list='$(INFO_DEPS)'; \
665 for file in $$list; do \
666 relfile=`echo "$$file" | sed 's|^.*/||'`; \
667 echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$relfile";\
668 install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$relfile || :;\
675 maintainer-clean: maintainer-clean-recursive
676 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
677 -rm -rf autom4te.cache
678 maintainer-clean-am: distclean-am maintainer-clean-aminfo \
679 maintainer-clean-generic maintainer-clean-vti
681 mostlyclean: mostlyclean-recursive
683 mostlyclean-am: mostlyclean-aminfo mostlyclean-generic mostlyclean-vti
693 uninstall-am: uninstall-binSCRIPTS uninstall-info-am
695 $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
697 uninstall-info: uninstall-info-recursive
699 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
700 check-am clean clean-generic clean-recursive ctags \
701 ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-info \
702 distcheck distclean distclean-generic distclean-recursive \
703 distclean-tags distcleancheck distdir distuninstallcheck dvi \
704 dvi-am dvi-recursive html html-am html-recursive info info-am \
705 info-recursive install install-am install-binSCRIPTS \
706 install-data install-data-am install-data-recursive \
707 install-exec install-exec-am install-exec-recursive \
708 install-info install-info-am install-info-recursive \
709 install-man install-recursive install-strip installcheck \
710 installcheck-am installdirs installdirs-am \
711 installdirs-recursive maintainer-clean maintainer-clean-aminfo \
712 maintainer-clean-generic maintainer-clean-recursive \
713 maintainer-clean-vti mostlyclean mostlyclean-aminfo \
714 mostlyclean-generic mostlyclean-recursive mostlyclean-vti pdf \
715 pdf-am pdf-recursive ps ps-am ps-recursive tags tags-recursive \
716 uninstall uninstall-am uninstall-binSCRIPTS uninstall-info-am \
717 uninstall-info-recursive uninstall-recursive
722 @for p in $(bin_SCRIPTS); do \
723 f="`echo $$p|sed '$(transform)'`"; \
724 fv="$$f-$(APIVERSION)"; \
725 rm -f $(DESTDIR)$(bindir)/$$fv; \
726 echo " $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv"; \
727 $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv; \
731 @for p in $(bin_SCRIPTS); do \
732 f="`echo $$p|sed '$(transform)'`"; \
733 fv="$$f-$(APIVERSION)"; \
734 rm -f $(DESTDIR)$(bindir)/$$fv; \
737 automake: automake.in Makefile
738 $(do_subst) < $(srcdir)/automake.in > automake
741 aclocal: aclocal.in Makefile
742 $(do_subst) < $(srcdir)/aclocal.in > aclocal
748 ################################################################
750 # Some simple checks, and then ordinary check. These are only really
751 # guaranteed to work on my machine.
752 maintainer-check: automake aclocal
753 @if test `diff $(srcdir)/automake.in automake | wc -l` -ne 28; then \
754 echo "found too many diffs between automake.in and automake"; 1>&2; \
755 diff -c $(srcdir)/automake.in automake; \
758 perllibdir=$(srcdir)/lib $(PERL) -c -w automake
759 perllibdir=$(srcdir)/lib $(PERL) -c -w aclocal
760 @if grep -F '$${' $(srcdir)/lib/am/[a-z]*.am | \
761 grep -F -v '$$$$'; then \
762 echo "Found too many uses of '\$${' in the lines above." 1>&2; \
765 @if grep -E '\<rm ([^-]|\-[^f ]*\>)' \
766 $(srcdir)/lib/am/[a-z]*.am $(srcdir)/tests/*.test | \
768 echo "Suspicious 'rm' invocation." 1>&2; \
771 @if grep 'for .* in \$$(' $(srcdir)/lib/am/[a-z]*.am; then \
772 echo 'Use "list=$$(mumble); for var in $$$$list".' 1>&2 ; \
775 @if grep -n 'mkinstalldirs' $(srcdir)/lib/am/[a-z]*.am | \
776 grep -F -v '$$(mkinstalldirs)'; then \
777 echo "Found incorrect use of mkinstalldirs in the lines above" 1>&2; \
780 @if grep -n -w 'undef ' $(srcdir)/automake.in | \
781 grep -F -v 'undef $$/'; then \
782 echo "Found undef in automake.in; use delete instead" 1>&2; \
785 @if grep -n 'split (/ /' $(srcdir)/automake.in; then \
786 echo "Found bad split in the lines above." 1>&2; \
789 @if grep -n '^[^#]*` *cd ' $(srcdir)/automake.in \
790 $(srcdir)/lib/am/*.am; then \
791 echo "Consider using $$$$(am__cd) in the line above." 1>&2; \
794 @if grep -Hn '[^) ] *= *@_' $(srcdir)/automake.in; then \
795 echo "Using @_ in a scalar context in the lines above." 1>&2; \
798 @if grep '^[ \t]*local *(' $(srcdir)/automake.in; then \
799 echo "Don't use \`local' with parens: use several \`local' above." >&2; \
802 @if grep -v '^[ \t]*local \$$_;' $(srcdir)/automake.in | \
803 grep '^[ \t]*local [^*]'; then \
804 echo "Please avoid \`local'." 1>&2; \
807 @if grep '@AMDEP''_TRUE@' $(srcdir)/automake.in; then \
808 echo "Don't put AMDEP_TRUE substitution in automake.in" 1>&2; \
811 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*make'; then \
812 echo 'Do not run "make" in the above tests. Use "$$MAKE" instead.' 1>&2; \
815 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*autoconf'; then \
816 echo 'Do not run "autoconf" in the above tests. Use "$$AUTOCONF" instead.' 1>&2; \
819 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*autoupdate'; then \
820 echo 'Do not run "autoupdate" in the above tests. Use "$$AUTOUPDATE" instead.' 1>&2; \
823 @if grep -v '^#' $(srcdir)/tests/*.test | grep -E ':[ ]*automake([^:]|$$)'; then \
824 echo 'Do not run "automake" in the above tests. Use "$$AUTOMAKE" instead.' 1>&2; \
827 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*aclocal'; then \
828 echo 'Do not run "aclocal" in the above tests. Use "$$ACLOCAL" instead.' 1>&2; \
831 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*perl'; then \
832 echo 'Do not run "perl" in the above tests. Use "$$PERL" instead.' 1>&2; \
835 @if grep -E '\$$MAKE .*(SHELL=.*=|=.*SHELL=)' $(srcdir)/tests/*.test; then \
836 echo 'Rewrite "$$MAKE foo=bar SHELL=$$SHELL" as "foo=bar $$MAKE -e SHELL=$$SHELL"' 1>&2; \
837 echo ' in the above lines, it is more portable.' 1>&2; \
840 @if grep -v SHELL $(srcdir)/tests/*.test | grep '\$$MAKE .*=' ; then \
841 echo 'Rewrite "$$MAKE foo=bar" as "foo=bar $$MAKE -e" in the above lines,' 1>&2; \
842 echo 'it is more portable.' 1>&2; \
845 @if grep 'SHELL=.*\$$MAKE' $(srcdir)/tests/*.test; then \
846 echo '$$MAKE ignores the SHELL envvar, use "$$MAKE SHELL=$$SHELL" in' 1>&2; \
847 echo 'the above lines.' 1>&2; \
850 @if grep -E '\bsleep +[12345]\b' $(srcdir)/tests/*.test; then \
851 echo 'Do not use "sleep x" in the above tests. Use "$$sleep" instead.' 1>&2; \
854 @if grep -E '\b[ef]grep\b' $(srcdir)/tests/*.test ; then \
855 echo 'Do not use egrep or fgrep in test cases. Use $$FGREP or $$EGREP.' 1>&2; \
858 @if grep -E '\b[ef]grep\b' $(srcdir)/lib/am/*.am $(srcdir)/m4/*.m4; then \
859 echo 'Do not use egrep or fgrep in the above files, they are not portable.' 1>&2; \
862 @if test `grep -E '@[A-Za-z_0-9]+@' aclocal | wc -l` -ne 0; then \
863 echo "Unresolved @...@ substitution in aclocal" 1>&2; \
866 @if test `grep -E '@[A-Za-z_0-9]+@' automake | wc -l` -ne 5; then \
867 echo "Unresolved @...@ substitution in automake" 1>&2; \
871 # Tag before making distribution. Also, don't make a distribution if
872 # checks fail. Also, make sure the NEWS file is up-to-date.
873 cvs-dist: maintainer-check distcheck
874 @if sed 1q $(srcdir)/NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
875 echo "NEWS not updated; not releasing" 1>&2; \
878 cd $(srcdir) && cvs -q tag `echo "Release-$(VERSION)" | sed 's/\./-/g'`
882 thisver=`echo "Release-$(VERSION)" | sed 's/\./-/g'`; \
883 if test -z "$$OLDVERSION"; then \
884 prevno=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
885 else prevno="$$OLDVERSION"; fi; \
886 prevver=Release-`echo $$prevno | sed 's/\./-/g'`; \
887 cvs -f rdiff -c -r $$prevver -r $$thisver $(PACKAGE) \
888 > $(PACKAGE)-$$prevno-$(VERSION).diff
892 find . -print | xargs pathchk -p); \
894 chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir); \
898 rm -rf Fetchdir > /dev/null 2>&1
899 mkdir Fetchdir; mkdir Fetchdir/Automake
901 $(WGET) ftp://ftp.gnu.org/gnu/config/config.guess; \
902 $(WGET) ftp://ftp.gnu.org/gnu/config/config.sub; \
903 $(WGET) ftp://ftp.gnu.org/gnu/texinfo/texinfo.tex; \
904 $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/autoconf/autoconf/lib/Autom4te/Struct.pm?content-type=text/plain -O Automake/Struct.pm; \
905 $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/autoconf/autoconf/lib/Autom4te/XFile.pm?content-type=text/plain -O Automake/XFile.pm; \
906 $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/autoconf/autoconf/INSTALL?content-type=text/plain -O INSTALL)
907 perl -pi -e 's/Autom4te::/Automake::/g' \
908 Fetchdir/Automake/Struct.pm Fetchdir/Automake/XFile.pm
909 @stat=0; for file in $(FETCHFILES); do \
910 if diff -u $(srcdir)/lib/$$file Fetchdir/$$file \
911 >>Fetchdir/update.patch 2>/dev/null; then :; \
914 echo "Updating $(srcdir)/lib/$$file..."; \
915 cp Fetchdir/$$file $(srcdir)/lib/$$file; \
919 echo "See Fetchdir/update.patch for a log of the changes."; \
921 # Tell versions [3.59,3.63) of GNU make to not export all variables.
922 # Otherwise a system limit (for SysV at least) may be exceeded.