For PR automake/347:
[platform/upstream/automake.git] / Makefile.in
1 # Makefile.in generated by automake 1.6c from Makefile.am.
2 # @configure_input@
3
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.
9
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
13 # PARTICULAR PURPOSE.
14
15 @SET_MAKE@
16
17 srcdir = @srcdir@
18 top_srcdir = @top_srcdir@
19 VPATH = @srcdir@
20 pkgdatadir = $(datadir)/@PACKAGE@
21 pkglibdir = $(libdir)/@PACKAGE@
22 pkgincludedir = $(includedir)/@PACKAGE@
23 top_builddir = .
24
25 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
26 INSTALL = @INSTALL@
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)
32 NORMAL_INSTALL = :
33 PRE_INSTALL = :
34 POST_INSTALL = :
35 NORMAL_UNINSTALL = :
36 PRE_UNINSTALL = :
37 POST_UNINSTALL = :
38 ACLOCAL = @ACLOCAL@
39 AMTAR = @AMTAR@
40 APIVERSION = @APIVERSION@
41 AUTOCONF = @AUTOCONF@
42 AUTOHEADER = @AUTOHEADER@
43 AUTOMAKE = @AUTOMAKE@
44 AWK = @AWK@
45 DEFS = @DEFS@
46 ECHO_C = @ECHO_C@
47 ECHO_N = @ECHO_N@
48 ECHO_T = @ECHO_T@
49 INSTALL_DATA = @INSTALL_DATA@
50 INSTALL_PROGRAM = @INSTALL_PROGRAM@
51 INSTALL_SCRIPT = @INSTALL_SCRIPT@
52 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
53 LIBS = @LIBS@
54 LN = @LN@
55 LTLIBOBJS = @LTLIBOBJS@
56 MAKEINFO = @MAKEINFO@
57 PACKAGE = @PACKAGE@
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@
64 PERL = @PERL@
65 SET_MAKE = @SET_MAKE@
66 SHELL = @SHELL@
67 STRIP = @STRIP@
68 VERSION = @VERSION@
69 ac_ct_STRIP = @ac_ct_STRIP@
70 bindir = @bindir@
71 build_alias = @build_alias@
72 datadir = @datadir@
73 exec_prefix = @exec_prefix@
74 host_alias = @host_alias@
75 includedir = @includedir@
76 infodir = @infodir@
77 install_sh = @install_sh@
78 libdir = @libdir@
79 libexecdir = @libexecdir@
80 localstatedir = @localstatedir@
81 mandir = @mandir@
82 oldincludedir = @oldincludedir@
83 pkgvdatadir = @pkgvdatadir@
84 prefix = @prefix@
85 program_transform_name = @program_transform_name@
86 sbindir = @sbindir@
87 sharedstatedir = @sharedstatedir@
88 sysconfdir = @sysconfdir@
89 target_alias = @target_alias@
90
91 SUBDIRS = . m4 lib tests
92
93 bin_SCRIPTS = automake aclocal
94 info_TEXINFOS = automake.texi
95
96 TAGS_FILES = automake.in aclocal.in
97
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
101
102 TAGS_DEPENDENCIES = automake.texi
103
104 EXTRA_DIST = ChangeLog.1996 ChangeLog.1998 ChangeLog.2000 ChangeLog.2001
105
106 WGET = wget
107
108 FETCHFILES = config.guess config.sub texinfo.tex Automake/XFile.pm INSTALL \
109         install-sh
110
111 subdir = .
112 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
113 mkinstalldirs = $(SHELL) $(top_srcdir)/lib/mkinstalldirs
114 CONFIG_CLEAN_FILES = automake aclocal
115 SCRIPTS = $(bin_SCRIPTS)
116
117 DIST_SOURCES =
118 TEXINFO_TEX = $(top_srcdir)/lib/texinfo.tex
119 am__TEXINFO_TEX_DIR = $(top_srcdir)/lib
120 INFO_DEPS = automake.info
121 DVIS = automake.dvi
122 PDFS = automake.pdf
123 PSS = automake.ps
124 TEXINFOS = automake.texi
125
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)
136 all: all-recursive
137
138 .SUFFIXES:
139 .SUFFIXES: .dvi .info .pdf .ps .texi
140
141 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
142  configure.lineno
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)
148
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)
153
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)
162         @$(NORMAL_INSTALL)
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; \
170           else :; fi; \
171         done
172
173 uninstall-binSCRIPTS:
174         @$(NORMAL_UNINSTALL)
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; \
179         done
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)
191         -@rm -f vti.tmp
192         @cp version.texi $@
193
194 mostlyclean-vti:
195         -rm -f vti.tmp
196
197 maintainer-clean-vti:
198         -rm -f stamp-vti version.texi
199
200 .texi.info:
201         @rm -f $@ $@-[0-9] $@-[0-9][0-9]
202         $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
203         `test -f '$<' || echo '$(srcdir)/'`$< -o $@
204
205 .texi.dvi:
206         TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
207         MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
208         $(TEXI2DVI) `test -f '$<' || echo '$(srcdir)/'`$< -o $@
209
210 .texi.pdf:
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
217 TEXI2DVI = texi2dvi
218
219 TEXI2PDF = $(TEXI2DVI) --pdf
220 DVIPS = dvips
221 .dvi.ps:
222         $(DVIPS) $< -o $@
223
224 uninstall-info-am:
225         $(PRE_UNINSTALL)
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; \
232           done; \
233         else :; fi
234         @$(NORMAL_UNINSTALL)
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]; \
240            else :; fi); \
241         done
242
243 dist-info: $(INFO_DEPS)
244         list='$(INFO_DEPS)'; \
245         for base in $$list; do \
246           d=$(srcdir); \
247           for file in $$d/$$base*; do \
248             relfile=`expr "$$file" : "$$d/\(.*\)"`; \
249             test -f $(distdir)/$$relfile || \
250               cp -p $$file $(distdir)/$$relfile; \
251           done; \
252         done
253
254 mostlyclean-aminfo:
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
259
260 maintainer-clean-aminfo:
261         cd $(srcdir) && \
262         list='$(INFO_DEPS)'; for i in $$list; do \
263           rm -f $$i; \
264           if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
265             rm -f $$i-[0-9]*; \
266           fi; \
267         done
268
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; \
277         dot_seen=no; \
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 \
282             dot_seen=yes; \
283             local_target="$$target-am"; \
284           else \
285             local_target="$$target"; \
286           fi; \
287           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
288            || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
289         done; \
290         if test "$$dot_seen" = "no"; then \
291           $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
292         fi; test -z "$$fail"
293
294 mostlyclean-recursive clean-recursive distclean-recursive \
295 maintainer-clean-recursive:
296         @set fnord $$MAKEFLAGS; amf=$$2; \
297         dot_seen=no; \
298         case "$@" in \
299           distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
300           *) list='$(SUBDIRS)' ;; \
301         esac; \
302         rev=''; for subdir in $$list; do \
303           if test "$$subdir" = "."; then :; else \
304             rev="$$subdir $$rev"; \
305           fi; \
306         done; \
307         rev="$$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"; \
313           else \
314             local_target="$$target"; \
315           fi; \
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"
319 tags-recursive:
320         list='$(SUBDIRS)'; for subdir in $$list; do \
321           test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
322         done
323 ctags-recursive:
324         list='$(SUBDIRS)'; for subdir in $$list; do \
325           test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
326         done
327
328 ETAGS = etags
329 ETAGSFLAGS =
330
331 CTAGS = ctags
332 CTAGSFLAGS =
333
334 tags: TAGS
335
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; \
340           done | \
341           $(AWK) '    { files[$$0] = 1; } \
342                END { for (i in files) print i; }'`; \
343         mkid -fID $$unique
344
345 TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
346                 $(TAGS_FILES) $(LISP)
347         tags=; \
348         here=`pwd`; \
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"; \
352           fi; \
353         done; \
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; \
357           done | \
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) \
362              $$tags $$unique
363
364 ctags: CTAGS
365 CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
366                 $(TAGS_FILES) $(LISP)
367         tags=; \
368         here=`pwd`; \
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; \
372           done | \
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) \
377              $$tags $$unique
378
379 GTAGS:
380         here=`$(am__cd) $(top_builddir) && pwd` \
381           && cd $(top_srcdir) \
382           && gtags -i $(GTAGS_ARGS) $$here
383
384 distclean-tags:
385         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
386 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
387
388 top_distdir = .
389 distdir = $(PACKAGE)-$(VERSION)
390
391 am__remove_distdir = \
392   { test ! -d $(distdir) \
393     || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
394          && rm -fr $(distdir); }; }
395
396 GZIP_ENV = --best
397 distcleancheck_listfiles = find . -type f -print
398
399 distdir: $(DISTFILES)
400         $(am__remove_distdir)
401         mkdir $(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 \
407             dir="/$$dir"; \
408             $(mkinstalldirs) "$(distdir)$$dir"; \
409           else \
410             dir=''; \
411           fi; \
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; \
415             fi; \
416             cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
417           else \
418             test -f $(distdir)/$$file \
419             || cp -p $$d/$$file $(distdir)/$$file \
420             || exit 1; \
421           fi; \
422         done
423         list='$(SUBDIRS)'; for subdir in $$list; do \
424           if test "$$subdir" = .; then :; else \
425             test -d $(distdir)/$$subdir \
426             || mkdir $(distdir)/$$subdir \
427             || exit 1; \
428             (cd $$subdir && \
429               $(MAKE) $(AM_MAKEFLAGS) \
430                 top_distdir="$(top_distdir)" \
431                 distdir=../$(distdir)/$$subdir \
432                 distdir) \
433               || exit 1; \
434           fi; \
435         done
436         $(MAKE) $(AM_MAKEFLAGS) \
437           top_distdir="$(top_distdir)" distdir="$(distdir)" \
438           dist-info
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)
444 dist-gzip: distdir
445         $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
446         $(am__remove_distdir)
447
448 dist-bzip2: distdir
449         $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
450         $(am__remove_distdir)
451
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)
456
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
459 # tarfile.
460 distcheck: dist
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
466         chmod a-w $(distdir)
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 ; \
481                    exit 1; } >&2 ) \
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 ; \
488                         exit 1; } >&2 ) \
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" ; \
500           exit 1 ; \
501         fi
502         test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
503           || { echo "ERROR: files left after distclean:" ; \
504                $(distcleancheck_listfiles) ; \
505                exit 1; } >&2
506 check-am: all-am
507 check: check-recursive
508 all-am: Makefile $(INFO_DEPS) $(SCRIPTS)
509 installdirs: installdirs-recursive
510 installdirs-am:
511         $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(infodir)
512
513 install: install-recursive
514 install-exec: install-exec-recursive
515 install-data: install-data-recursive
516 uninstall: uninstall-recursive
517
518 install-am: all-am
519         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
520
521 installcheck: installcheck-recursive
522 install-strip:
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
527 mostlyclean-generic:
528
529 clean-generic:
530
531 distclean-generic:
532         -rm -f Makefile $(CONFIG_CLEAN_FILES)
533
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
538
539 clean-am: clean-generic mostlyclean-am
540
541 distclean: distclean-recursive
542         -rm -f $(am__CONFIG_DISTCLEAN_FILES)
543 distclean-am: clean-am distclean-generic distclean-tags
544
545 dvi: dvi-recursive
546
547 dvi-am: $(DVIS)
548
549 info: info-recursive
550
551 info-am: $(INFO_DEPS)
552
553 install-data-am: install-info-am
554
555 install-exec-am: install-binSCRIPTS
556         @$(NORMAL_INSTALL)
557         $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
558
559 install-info: install-info-recursive
560
561 install-info-am: $(INFO_DEPS)
562         @$(NORMAL_INSTALL)
563         $(mkinstalldirs) $(DESTDIR)$(infodir)
564         @list='$(INFO_DEPS)'; \
565         for file in $$list; do \
566           d=$(srcdir); \
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; \
572             else : ; fi; \
573           done; \
574         done
575         @$(POST_INSTALL)
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 || :;\
582           done; \
583         else : ; fi
584 install-man:
585
586 installcheck-am:
587
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
593
594 mostlyclean: mostlyclean-recursive
595
596 mostlyclean-am: mostlyclean-aminfo mostlyclean-generic mostlyclean-vti
597
598 pdf: pdf-recursive
599
600 pdf-am: $(PDFS)
601
602 ps: ps-recursive
603
604 ps-am: $(PSS)
605
606 uninstall-am: uninstall-binSCRIPTS uninstall-info-am
607         @$(NORMAL_INSTALL)
608         $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
609
610 uninstall-info: uninstall-info-recursive
611
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
630
631
632 install-exec-hook:
633         @$(POST_INSTALL)
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; \
640         done
641
642 uninstall-hook:
643         @for p in $(bin_SCRIPTS); do \
644           f="`echo $$p|sed '$(transform)'`"; \
645           fv="$$f-$(APIVERSION)"; \
646           rm -f $(DESTDIR)$(bindir)/$$fv; \
647         done
648
649 ################################################################
650
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; \
657           exit 1; \
658         fi
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; \
664           exit 1;                               \
665         else :; fi
666         @if grep -E '\<rm ([^-]|\-[^f ]*\>)' \
667                   $(srcdir)/lib/am/[a-z]*.am $(srcdir)/tests/*.test | \
668               grep -v '##'; then \
669           echo "Suspicious 'rm' invocation." 1>&2; \
670           exit 1;                               \
671         else :; fi
672         @if grep 'for .* in \$$(' $(srcdir)/lib/am/[a-z]*.am; then \
673           echo 'Use "list=$$(mumble); for var in $$$$list".' 1>&2 ; \
674           exit 1; \
675         else :; fi
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; \
679           exit 1; \
680         else :; fi
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; \
684           exit 1; \
685         fi
686         @if grep -n 'split (/ /' $(srcdir)/automake.in; then \
687           echo "Found bad split in the lines above." 1>&2; \
688           exit 1; \
689         fi
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; \
693           exit 1; \
694         fi
695         @if grep -Hn '[^) ] *= *@_' $(srcdir)/automake.in; then \
696           echo "Using @_ in a scalar context in the lines above." 1>&2; \
697           exit 1; \
698         fi
699         @if grep '^[ \t]*local *(' $(srcdir)/automake.in; then \
700           echo "Don't use \`local' with parens: use several \`local' above." >&2; \
701           exit 1; \
702         fi
703         @locals=`grep -v '^[ \t]*local \$$_;' $(srcdir)/automake.in | \
704                 grep -c '^[ \t]*local [^*]'`; \
705         case $$locals in \
706           [0] ) \
707             echo "Wow, congrats!  There are no \`local' now!." >&2; \
708             echo "Please update Makefile.am (maintainer-check)." >&2; \
709             exit 1; \
710           ;; \
711           1 ) ;; \
712           * ) \
713             echo "Too many \`local'!  Are you sure you need $$locals of them?" >&2; \
714             echo "Up to now 1 was enough." >&2; \
715             exit 1; \
716           ;; \
717         esac
718         @if grep '@AMDEP''_TRUE@' $(srcdir)/automake.in; then \
719           echo "Don't put AMDEP_TRUE substitution in automake.in" 1>&2; \
720           exit 1; \
721         fi
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; \
724           exit 1; \
725         fi
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; \
728           exit 1; \
729         fi
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; \
732           exit 1; \
733         fi
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;  \
736           exit 1; \
737         fi
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;  \
740           exit 1; \
741         fi
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; \
744           exit 1; \
745         fi
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; \
749           exit 1; \
750         fi
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; \
754           exit 1; \
755         fi
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; \
759           exit 1; \
760         fi
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; \
764           exit 1; \
765         fi
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; \
768           exit 1; \
769         fi
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; \
772           exit 1; \
773         fi
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; \
776           exit 1; \
777         fi
778
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; \
784           exit 1;                               \
785         fi
786         cd $(srcdir) && cvs -q tag `echo "Release-$(VERSION)" | sed 's/\./-/g'`
787         $(MAKE) dist
788
789 cvs-diff:
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
797
798 path-check: distdir
799         (cd $(distdir) && \
800           find . -print | xargs pathchk -p); \
801           status=$$?; \
802           chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir); \
803           exit $$status
804
805 fetch:
806         rm -rf Fetchdir > /dev/null 2>&1
807         mkdir Fetchdir; mkdir Fetchdir/Automake
808         (cd Fetchdir && \
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 :; \
819           else \
820             stat=1; \
821             echo "Updating $(srcdir)/lib/$$file..."; \
822             cp Fetchdir/$$file $(srcdir)/lib/$$file; \
823           fi; \
824         done; \
825         test $$stat = 1 && \
826           echo "See Fetchdir/update.patch for a log of the changes."; \
827         exit $$stat
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.
830 .NOEXPORT: