* Makefile.am (maintainer-check): Suggest using $sleep instead of
[platform/upstream/automake.git] / Makefile.in
1 # Makefile.in generated by automake 1.7a from Makefile.am.
2 # @configure_input@
3
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.
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 CYGPATH_W = @CYGPATH_W@
46 DEFS = @DEFS@
47 ECHO_C = @ECHO_C@
48 ECHO_N = @ECHO_N@
49 ECHO_T = @ECHO_T@
50 EGREP = @EGREP@
51 FGREP = @FGREP@
52 INSTALL_DATA = @INSTALL_DATA@
53 INSTALL_PROGRAM = @INSTALL_PROGRAM@
54 INSTALL_SCRIPT = @INSTALL_SCRIPT@
55 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
56 LIBOBJS = @LIBOBJS@
57 LIBS = @LIBS@
58 LN = @LN@
59 LTLIBOBJS = @LTLIBOBJS@
60 MAKEINFO = @MAKEINFO@
61 PACKAGE = @PACKAGE@
62 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
63 PACKAGE_NAME = @PACKAGE_NAME@
64 PACKAGE_STRING = @PACKAGE_STRING@
65 PACKAGE_TARNAME = @PACKAGE_TARNAME@
66 PACKAGE_VERSION = @PACKAGE_VERSION@
67 PATH_SEPARATOR = @PATH_SEPARATOR@
68 PERL = @PERL@
69 SET_MAKE = @SET_MAKE@
70 SHELL = @SHELL@
71 STRIP = @STRIP@
72 TEX = @TEX@
73 VERSION = @VERSION@
74 ac_ct_STRIP = @ac_ct_STRIP@
75 bindir = @bindir@
76 build_alias = @build_alias@
77 datadir = @datadir@
78 exec_prefix = @exec_prefix@
79 host_alias = @host_alias@
80 includedir = @includedir@
81 infodir = @infodir@
82 install_sh = @install_sh@
83 libdir = @libdir@
84 libexecdir = @libexecdir@
85 localstatedir = @localstatedir@
86 mandir = @mandir@
87 oldincludedir = @oldincludedir@
88 pkgvdatadir = @pkgvdatadir@
89 prefix = @prefix@
90 program_transform_name = @program_transform_name@
91 sbindir = @sbindir@
92 sharedstatedir = @sharedstatedir@
93 sysconfdir = @sysconfdir@
94 target_alias = @target_alias@
95
96 SUBDIRS = . m4 lib tests
97
98 bin_SCRIPTS = automake aclocal
99 info_TEXINFOS = automake.texi
100
101 CLEANFILES = $(bin_SCRIPTS)
102 AUTOMAKESOURCES = automake.in aclocal.in
103
104 TAGS_FILES = $(AUTOMAKESOURCES)
105
106 # The following requires a fixed version of the Emacs 19.30 etags.
107 ETAGS_ARGS = --lang=none \
108  --regex='/^@node[ \t]+\([^,]+\)/\1/' $(srcdir)/automake.texi
109
110 TAGS_DEPENDENCIES = automake.texi
111
112 EXTRA_DIST = ChangeLog.1996 ChangeLog.1998 ChangeLog.2000 ChangeLog.2001 \
113   $(AUTOMAKESOURCES)
114
115
116 do_subst = sed -e 's,[@]datadir[@],$(datadir),g' -e 's,[@]PERL[@],$(PERL),g' \
117             -e 's,[@]configure_input[@],@configure_input@,g' \
118             -e 's,[@]PACKAGE[@],$(PACKAGE),g' \
119             -e 's,[@]VERSION[@],$(VERSION),g' \
120             -e 's,[@]APIVERSION[@],$(APIVERSION),g'
121
122
123 WGET = wget
124
125 FETCHFILES = \
126 Automake/Struct.pm \
127 Automake/XFile.pm \
128 INSTALL \
129 config.guess \
130 config.sub \
131 texinfo.tex
132
133 subdir = .
134 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
135 mkinstalldirs = $(SHELL) $(top_srcdir)/lib/mkinstalldirs
136 CONFIG_CLEAN_FILES =
137 SCRIPTS = $(bin_SCRIPTS)
138
139 DIST_SOURCES =
140 TEXINFO_TEX = $(top_srcdir)/lib/texinfo.tex
141 am__TEXINFO_TEX_DIR = $(top_srcdir)/lib
142 INFO_DEPS = automake.info
143 DVIS = automake.dvi
144 PDFS = automake.pdf
145 PSS = automake.ps
146 TEXINFOS = automake.texi
147
148 RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
149         ps-recursive install-info-recursive uninstall-info-recursive \
150         all-recursive install-data-recursive install-exec-recursive \
151         installdirs-recursive install-recursive uninstall-recursive \
152         check-recursive installcheck-recursive
153 DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \
154         Makefile.in NEWS THANKS TODO aclocal.m4 configure configure.in \
155         stamp-vti version.texi
156 DIST_SUBDIRS = . m4 lib tests
157 all: all-recursive
158
159 .SUFFIXES:
160 .SUFFIXES: .dvi .info .pdf .ps .texi
161
162 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
163  configure.lineno
164 $(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.in $(ACLOCAL_M4)
165         cd $(top_srcdir) && \
166           $(AUTOMAKE) --gnu  Makefile
167 Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
168         cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
169
170 $(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
171         $(SHELL) ./config.status --recheck
172 $(srcdir)/configure:  $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) 
173         cd $(srcdir) && $(AUTOCONF)
174
175 $(ACLOCAL_M4):  configure.in 
176         cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
177 binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
178 install-binSCRIPTS: $(bin_SCRIPTS)
179         @$(NORMAL_INSTALL)
180         $(mkinstalldirs) $(DESTDIR)$(bindir)
181         @list='$(bin_SCRIPTS)'; for p in $$list; do \
182           if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
183           if test -f $$d$$p; then \
184             f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
185             echo " $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f"; \
186             $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f; \
187           else :; fi; \
188         done
189
190 uninstall-binSCRIPTS:
191         @$(NORMAL_UNINSTALL)
192         @list='$(bin_SCRIPTS)'; for p in $$list; do \
193           f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
194           echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
195           rm -f $(DESTDIR)$(bindir)/$$f; \
196         done
197
198 .texi.info:
199         @rm -f $@ $@-[0-9] $@-[0-9][0-9]
200         $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
201          -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
202
203 .texi.dvi:
204         TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
205         MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
206         $(TEXI2DVI) `test -f '$<' || echo '$(srcdir)/'`$<
207
208 .texi.pdf:
209         TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
210         MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
211         $(TEXI2PDF) `test -f '$<' || echo '$(srcdir)/'`$<
212 automake.info: automake.texi version.texi
213 automake.dvi: automake.texi version.texi
214 automake.pdf: automake.texi version.texi
215 version.texi:  stamp-vti
216 stamp-vti: automake.texi $(top_srcdir)/configure
217         @(dir=.; test -f ./automake.texi || dir=$(srcdir); \
218         set `$(SHELL) $(top_srcdir)/lib/mdate-sh $$dir/automake.texi`; \
219         echo "@set UPDATED $$1 $$2 $$3"; \
220         echo "@set UPDATED-MONTH $$2 $$3"; \
221         echo "@set EDITION $(VERSION)"; \
222         echo "@set VERSION $(VERSION)") > vti.tmp
223         @cmp -s vti.tmp version.texi \
224           || (echo "Updating version.texi"; \
225               cp vti.tmp version.texi)
226         -@rm -f vti.tmp
227         @cp version.texi $@
228
229 mostlyclean-vti:
230         -rm -f vti.tmp
231
232 maintainer-clean-vti:
233         -rm -f stamp-vti version.texi
234 TEXI2DVI = texi2dvi
235
236 TEXI2PDF = $(TEXI2DVI) --pdf --batch
237 DVIPS = dvips
238 .dvi.ps:
239         $(DVIPS) -o $@ $<
240
241 uninstall-info-am:
242         $(PRE_UNINSTALL)
243         @if (install-info --version && \
244              install-info --version | grep -i -v debian) >/dev/null 2>&1; then \
245           list='$(INFO_DEPS)'; \
246           for file in $$list; do \
247             relfile=`echo "$$file" | sed 's|^.*/||'`; \
248             echo " install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$relfile"; \
249             install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$relfile; \
250           done; \
251         else :; fi
252         @$(NORMAL_UNINSTALL)
253         @list='$(INFO_DEPS)'; \
254         for file in $$list; do \
255           relfile=`echo "$$file" | sed 's|^.*/||'`; \
256           (if cd $(DESTDIR)$(infodir); then \
257              echo " rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9])"; \
258              rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9]; \
259            else :; fi); \
260         done
261
262 dist-info: $(INFO_DEPS)
263         list='$(INFO_DEPS)'; \
264         for base in $$list; do \
265           if test -f $$base; then d=.; else d=$(srcdir); fi; \
266           for file in $$d/$$base*; do \
267             relfile=`expr "$$file" : "$$d/\(.*\)"`; \
268             test -f $(distdir)/$$relfile || \
269               cp -p $$file $(distdir)/$$relfile; \
270           done; \
271         done
272
273 mostlyclean-aminfo:
274         -rm -f automake.aux automake.cm automake.cp automake.cps automake.cv \
275           automake.fn automake.ky automake.kys automake.log automake.op \
276           automake.ov automake.pg automake.pgs automake.tmp \
277           automake.toc automake.tp automake.tps automake.tr automake.vr \
278           automake.vrs automake.dvi automake.pdf automake.ps
279
280 maintainer-clean-aminfo:
281         list='$(INFO_DEPS)'; for i in $$list; do \
282           rm -f $$i; \
283           if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
284             rm -f $$i-[0-9]*; \
285           fi; \
286         done
287
288 # This directory's subdirectories are mostly independent; you can cd
289 # into them and run `make' without going through this Makefile.
290 # To change the values of `make' variables: instead of editing Makefiles,
291 # (1) if the variable is set in `config.status', edit `config.status'
292 #     (which will cause the Makefiles to be regenerated when you run `make');
293 # (2) otherwise, pass the desired values on the `make' command line.
294 $(RECURSIVE_TARGETS):
295         @set fnord $$MAKEFLAGS; amf=$$2; \
296         dot_seen=no; \
297         target=`echo $@ | sed s/-recursive//`; \
298         list='$(SUBDIRS)'; for subdir in $$list; do \
299           echo "Making $$target in $$subdir"; \
300           if test "$$subdir" = "."; then \
301             dot_seen=yes; \
302             local_target="$$target-am"; \
303           else \
304             local_target="$$target"; \
305           fi; \
306           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
307            || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
308         done; \
309         if test "$$dot_seen" = "no"; then \
310           $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
311         fi; test -z "$$fail"
312
313 mostlyclean-recursive clean-recursive distclean-recursive \
314 maintainer-clean-recursive:
315         @set fnord $$MAKEFLAGS; amf=$$2; \
316         dot_seen=no; \
317         case "$@" in \
318           distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
319           *) list='$(SUBDIRS)' ;; \
320         esac; \
321         rev=''; for subdir in $$list; do \
322           if test "$$subdir" = "."; then :; else \
323             rev="$$subdir $$rev"; \
324           fi; \
325         done; \
326         rev="$$rev ."; \
327         target=`echo $@ | sed s/-recursive//`; \
328         for subdir in $$rev; do \
329           echo "Making $$target in $$subdir"; \
330           if test "$$subdir" = "."; then \
331             local_target="$$target-am"; \
332           else \
333             local_target="$$target"; \
334           fi; \
335           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
336            || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
337         done && test -z "$$fail"
338 tags-recursive:
339         list='$(SUBDIRS)'; for subdir in $$list; do \
340           test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
341         done
342 ctags-recursive:
343         list='$(SUBDIRS)'; for subdir in $$list; do \
344           test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
345         done
346
347 ETAGS = etags
348 ETAGSFLAGS =
349
350 CTAGS = ctags
351 CTAGSFLAGS =
352
353 tags: TAGS
354
355 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
356         list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
357         unique=`for i in $$list; do \
358             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
359           done | \
360           $(AWK) '    { files[$$0] = 1; } \
361                END { for (i in files) print i; }'`; \
362         mkid -fID $$unique
363
364 TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
365                 $(TAGS_FILES) $(LISP)
366         tags=; \
367         here=`pwd`; \
368         list='$(SUBDIRS)'; for subdir in $$list; do \
369           if test "$$subdir" = .; then :; else \
370             test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
371           fi; \
372         done; \
373         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
374         unique=`for i in $$list; do \
375             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
376           done | \
377           $(AWK) '    { files[$$0] = 1; } \
378                END { for (i in files) print i; }'`; \
379         test -z "$(ETAGS_ARGS)$$tags$$unique" \
380           || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
381              $$tags $$unique
382
383 ctags: CTAGS
384 CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
385                 $(TAGS_FILES) $(LISP)
386         tags=; \
387         here=`pwd`; \
388         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
389         unique=`for i in $$list; do \
390             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
391           done | \
392           $(AWK) '    { files[$$0] = 1; } \
393                END { for (i in files) print i; }'`; \
394         test -z "$(CTAGS_ARGS)$$tags$$unique" \
395           || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
396              $$tags $$unique
397
398 GTAGS:
399         here=`$(am__cd) $(top_builddir) && pwd` \
400           && cd $(top_srcdir) \
401           && gtags -i $(GTAGS_ARGS) $$here
402
403 distclean-tags:
404         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
405 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
406
407 top_distdir = .
408 distdir = $(PACKAGE)-$(VERSION)
409
410 am__remove_distdir = \
411   { test ! -d $(distdir) \
412     || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
413          && rm -fr $(distdir); }; }
414
415 GZIP_ENV = --best
416 distuninstallcheck_listfiles = find . -type f -print
417 distcleancheck_listfiles = find . -type f -print
418
419 distdir: $(DISTFILES)
420         $(am__remove_distdir)
421         mkdir $(distdir)
422         $(mkinstalldirs) $(distdir)/m4 $(distdir)/tests
423         @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
424         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
425         list='$(DISTFILES)'; for file in $$list; do \
426           case $$file in \
427             $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
428             $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
429           esac; \
430           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
431           dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
432           if test "$$dir" != "$$file" && test "$$dir" != "."; then \
433             dir="/$$dir"; \
434             $(mkinstalldirs) "$(distdir)$$dir"; \
435           else \
436             dir=''; \
437           fi; \
438           if test -d $$d/$$file; then \
439             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
440               cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
441             fi; \
442             cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
443           else \
444             test -f $(distdir)/$$file \
445             || cp -p $$d/$$file $(distdir)/$$file \
446             || exit 1; \
447           fi; \
448         done
449         list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
450           if test "$$subdir" = .; then :; else \
451             test -d $(distdir)/$$subdir \
452             || mkdir $(distdir)/$$subdir \
453             || exit 1; \
454             (cd $$subdir && \
455               $(MAKE) $(AM_MAKEFLAGS) \
456                 top_distdir="$(top_distdir)" \
457                 distdir=../$(distdir)/$$subdir \
458                 distdir) \
459               || exit 1; \
460           fi; \
461         done
462         $(MAKE) $(AM_MAKEFLAGS) \
463           top_distdir="$(top_distdir)" distdir="$(distdir)" \
464           dist-info
465         -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
466           ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
467           ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
468           ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
469         || chmod -R a+r $(distdir)
470 dist-gzip: distdir
471         $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
472         $(am__remove_distdir)
473
474 dist-bzip2: distdir
475         $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
476         $(am__remove_distdir)
477
478 dist dist-all: distdir
479         $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
480         $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
481         $(am__remove_distdir)
482
483 # This target untars the dist file and tries a VPATH configuration.  Then
484 # it guarantees that the distribution is self-contained by making another
485 # tarfile.
486 distcheck: dist
487         $(am__remove_distdir)
488         GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
489         chmod -R a-w $(distdir); chmod a+w $(distdir)
490         mkdir $(distdir)/=build
491         mkdir $(distdir)/=inst
492         chmod a-w $(distdir)
493         dc_install_base=`$(am__cd) $(distdir)/=inst && pwd` \
494           && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
495           && cd $(distdir)/=build \
496           && ../configure --srcdir=.. --prefix="$$dc_install_base" \
497             $(DISTCHECK_CONFIGURE_FLAGS) \
498           && $(MAKE) $(AM_MAKEFLAGS) \
499           && $(MAKE) $(AM_MAKEFLAGS) dvi \
500           && $(MAKE) $(AM_MAKEFLAGS) check \
501           && $(MAKE) $(AM_MAKEFLAGS) install \
502           && $(MAKE) $(AM_MAKEFLAGS) installcheck \
503           && $(MAKE) $(AM_MAKEFLAGS) uninstall \
504           && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
505                 distuninstallcheck \
506           && chmod -R a-w "$$dc_install_base" \
507           && ({ \
508                (cd ../.. && $(mkinstalldirs) "$$dc_destdir") \
509                && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
510                && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
511                && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
512                     distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
513               } || { rm -rf "$$dc_destdir"; exit 1; }) \
514           && rm -rf "$$dc_destdir" \
515           && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
516           && rm -f $(distdir).tar.gz \
517           && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
518         $(am__remove_distdir)
519         @echo "$(distdir).tar.gz is ready for distribution" | \
520           sed 'h;s/./=/g;p;x;p;x'
521 distuninstallcheck:
522         cd $(distuninstallcheck_dir) \
523         && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
524            || { echo "ERROR: files left after uninstall:" ; \
525                 if test -n "$(DESTDIR)"; then \
526                   echo "  (check DESTDIR support)"; \
527                 fi ; \
528                 $(distuninstallcheck_listfiles) ; \
529                 exit 1; } >&2
530 distcleancheck: distclean
531         if test '$(srcdir)' = . ; then \
532           echo "ERROR: distcleancheck can only run from a VPATH build" ; \
533           exit 1 ; \
534         fi
535         test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
536           || { echo "ERROR: files left in build directory after distclean:" ; \
537                $(distcleancheck_listfiles) ; \
538                exit 1; } >&2
539 check-am: all-am
540 check: check-recursive
541 all-am: Makefile $(INFO_DEPS) $(SCRIPTS)
542 installdirs: installdirs-recursive
543 installdirs-am:
544         $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(infodir)
545
546 install: install-recursive
547 install-exec: install-exec-recursive
548 install-data: install-data-recursive
549 uninstall: uninstall-recursive
550
551 install-am: all-am
552         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
553
554 installcheck: installcheck-recursive
555 install-strip:
556         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
557           INSTALL_STRIP_FLAG=-s \
558           `test -z '$(STRIP)' || \
559             echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
560 mostlyclean-generic:
561
562 clean-generic:
563         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
564
565 distclean-generic:
566         -rm -f Makefile $(CONFIG_CLEAN_FILES)
567
568 maintainer-clean-generic:
569         @echo "This command is intended for maintainers to use"
570         @echo "it deletes files that may require special tools to rebuild."
571 clean: clean-recursive
572
573 clean-am: clean-generic mostlyclean-am
574
575 distclean: distclean-recursive
576         -rm -f $(am__CONFIG_DISTCLEAN_FILES)
577 distclean-am: clean-am distclean-generic distclean-tags
578
579 dvi: dvi-recursive
580
581 dvi-am: $(DVIS)
582
583 info: info-recursive
584
585 info-am: $(INFO_DEPS)
586
587 install-data-am: install-info-am
588
589 install-exec-am: install-binSCRIPTS
590         @$(NORMAL_INSTALL)
591         $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
592
593 install-info: install-info-recursive
594
595 install-info-am: $(INFO_DEPS)
596         @$(NORMAL_INSTALL)
597         $(mkinstalldirs) $(DESTDIR)$(infodir)
598         @list='$(INFO_DEPS)'; \
599         for file in $$list; do \
600           if test -f $$file; then d=.; else d=$(srcdir); fi; \
601           for ifile in $$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9]; do \
602             if test -f $$ifile; then \
603               relfile=`echo "$$ifile" | sed 's|^.*/||'`; \
604               echo " $(INSTALL_DATA) $$ifile $(DESTDIR)$(infodir)/$$relfile"; \
605               $(INSTALL_DATA) $$ifile $(DESTDIR)$(infodir)/$$relfile; \
606             else : ; fi; \
607           done; \
608         done
609         @$(POST_INSTALL)
610         @if (install-info --version && \
611              install-info --version | grep -i -v debian) >/dev/null 2>&1; then \
612           list='$(INFO_DEPS)'; \
613           for file in $$list; do \
614             relfile=`echo "$$file" | sed 's|^.*/||'`; \
615             echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$relfile";\
616             install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$relfile || :;\
617           done; \
618         else : ; fi
619 install-man:
620
621 installcheck-am:
622
623 maintainer-clean: maintainer-clean-recursive
624         -rm -f $(am__CONFIG_DISTCLEAN_FILES)
625         -rm -rf autom4te.cache
626 maintainer-clean-am: distclean-am maintainer-clean-aminfo \
627         maintainer-clean-generic maintainer-clean-vti
628
629 mostlyclean: mostlyclean-recursive
630
631 mostlyclean-am: mostlyclean-aminfo mostlyclean-generic mostlyclean-vti
632
633 pdf: pdf-recursive
634
635 pdf-am: $(PDFS)
636
637 ps: ps-recursive
638
639 ps-am: $(PSS)
640
641 uninstall-am: uninstall-binSCRIPTS uninstall-info-am
642         @$(NORMAL_INSTALL)
643         $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
644
645 uninstall-info: uninstall-info-recursive
646
647 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \
648         clean-generic clean-recursive ctags ctags-recursive dist \
649         dist-all dist-bzip2 dist-gzip dist-info distcheck distclean \
650         distclean-generic distclean-recursive distclean-tags \
651         distcleancheck distdir distuninstallcheck dvi dvi-am \
652         dvi-recursive info info-am info-recursive install install-am \
653         install-binSCRIPTS install-data install-data-am \
654         install-data-recursive install-exec install-exec-am \
655         install-exec-recursive install-info install-info-am \
656         install-info-recursive install-man install-recursive \
657         install-strip installcheck installcheck-am installdirs \
658         installdirs-am installdirs-recursive maintainer-clean \
659         maintainer-clean-aminfo maintainer-clean-generic \
660         maintainer-clean-recursive maintainer-clean-vti mostlyclean \
661         mostlyclean-aminfo mostlyclean-generic mostlyclean-recursive \
662         mostlyclean-vti pdf pdf-am pdf-recursive ps ps-am ps-recursive \
663         tags tags-recursive uninstall uninstall-am uninstall-binSCRIPTS \
664         uninstall-info-am uninstall-info-recursive uninstall-recursive
665
666
667 install-exec-hook:
668         @$(POST_INSTALL)
669         @for p in $(bin_SCRIPTS); do \
670           f="`echo $$p|sed '$(transform)'`"; \
671           fv="$$f-$(APIVERSION)"; \
672           rm -f $(DESTDIR)$(bindir)/$$fv; \
673           echo " $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv"; \
674           $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv; \
675         done
676
677 uninstall-hook:
678         @for p in $(bin_SCRIPTS); do \
679           f="`echo $$p|sed '$(transform)'`"; \
680           fv="$$f-$(APIVERSION)"; \
681           rm -f $(DESTDIR)$(bindir)/$$fv; \
682         done
683
684 automake: automake.in Makefile
685         $(do_subst) < $(srcdir)/automake.in > automake
686         chmod +x automake
687
688 aclocal: aclocal.in Makefile
689         $(do_subst) < $(srcdir)/aclocal.in > aclocal
690         chmod +x aclocal
691
692 INSTALL: lib/INSTALL
693         cp lib/INSTALL $@
694
695 ################################################################
696
697 # Some simple checks, and then ordinary check.  These are only really
698 # guaranteed to work on my machine.
699 maintainer-check: automake aclocal
700         @if test `diff $(srcdir)/automake.in automake | wc -l` -ne 24; then \
701           echo "found too many diffs between automake.in and automake"; 1>&2; \
702           diff -c $(srcdir)/automake.in automake; \
703           exit 1; \
704         fi
705         perllibdir=$(srcdir)/lib $(PERL) -c -w automake
706         perllibdir=$(srcdir)/lib $(PERL) -c -w aclocal
707         @if grep -F '$${' $(srcdir)/lib/am/[a-z]*.am | \
708                grep -F -v '$$$$'; then \
709           echo "Found too many uses of '\$${' in the lines above." 1>&2; \
710           exit 1;                               \
711         else :; fi
712         @if grep -E '\<rm ([^-]|\-[^f ]*\>)' \
713                   $(srcdir)/lib/am/[a-z]*.am $(srcdir)/tests/*.test | \
714               grep -v '##'; then \
715           echo "Suspicious 'rm' invocation." 1>&2; \
716           exit 1;                               \
717         else :; fi
718         @if grep 'for .* in \$$(' $(srcdir)/lib/am/[a-z]*.am; then \
719           echo 'Use "list=$$(mumble); for var in $$$$list".' 1>&2 ; \
720           exit 1; \
721         else :; fi
722         @if grep -n 'mkinstalldirs' $(srcdir)/lib/am/[a-z]*.am | \
723               grep -F -v '$$(mkinstalldirs)'; then \
724           echo "Found incorrect use of mkinstalldirs in the lines above" 1>&2; \
725           exit 1; \
726         else :; fi
727         @if grep -n -w 'undef ' $(srcdir)/automake.in | \
728               grep -F -v 'undef $$/'; then \
729           echo "Found undef in automake.in; use delete instead" 1>&2; \
730           exit 1; \
731         fi
732         @if grep -n 'split (/ /' $(srcdir)/automake.in; then \
733           echo "Found bad split in the lines above." 1>&2; \
734           exit 1; \
735         fi
736         @if grep -n '^[^#]*` *cd ' $(srcdir)/automake.in \
737               $(srcdir)/lib/am/*.am; then \
738           echo "Consider using $$$$(am__cd) in the line above." 1>&2; \
739           exit 1; \
740         fi
741         @if grep -Hn '[^) ] *= *@_' $(srcdir)/automake.in; then \
742           echo "Using @_ in a scalar context in the lines above." 1>&2; \
743           exit 1; \
744         fi
745         @if grep '^[ \t]*local *(' $(srcdir)/automake.in; then \
746           echo "Don't use \`local' with parens: use several \`local' above." >&2; \
747           exit 1; \
748         fi
749         @locals=`grep -v '^[ \t]*local \$$_;' $(srcdir)/automake.in | \
750                 grep -c '^[ \t]*local [^*]'`; \
751         case $$locals in \
752           [0] ) \
753             echo "Wow, congrats!  There are no \`local' now!." >&2; \
754             echo "Please update Makefile.am (maintainer-check)." >&2; \
755             exit 1; \
756           ;; \
757           1 ) ;; \
758           * ) \
759             echo "Too many \`local'!  Are you sure you need $$locals of them?" >&2; \
760             echo "Up to now 1 was enough." >&2; \
761             exit 1; \
762           ;; \
763         esac
764         @if grep '@AMDEP''_TRUE@' $(srcdir)/automake.in; then \
765           echo "Don't put AMDEP_TRUE substitution in automake.in" 1>&2; \
766           exit 1; \
767         fi
768         @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[      ]*make'; then \
769           echo 'Do not run "make" in the above tests.  Use "$$MAKE" instead.' 1>&2; \
770           exit 1; \
771         fi
772         @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[      ]*autoconf'; then \
773           echo 'Do not run "autoconf" in the above tests.  Use "$$AUTOCONF" instead.' 1>&2; \
774           exit 1; \
775         fi
776         @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[      ]*autoupdate'; then \
777           echo 'Do not run "autoupdate" in the above tests.  Use "$$AUTOUPDATE" instead.' 1>&2; \
778           exit 1; \
779         fi
780         @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[      ]*automake'; then \
781           echo 'Do not run "automake" in the above tests.  Use "$$AUTOMAKE" instead.' 1>&2;  \
782           exit 1; \
783         fi
784         @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[      ]*aclocal'; then \
785           echo 'Do not run "aclocal" in the above tests.  Use "$$ACLOCAL" instead.' 1>&2;  \
786           exit 1; \
787         fi
788         @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[      ]*perl'; then \
789           echo 'Do not run "perl" in the above tests.  Use "$$PERL" instead.' 1>&2; \
790           exit 1; \
791         fi
792         @if grep -E '\$$MAKE .*(SHELL=.*=|=.*SHELL=)' $(srcdir)/tests/*.test; then \
793           echo 'Rewrite "$$MAKE foo=bar SHELL=$$SHELL" as "foo=bar $$MAKE -e SHELL=$$SHELL"' 1>&2; \
794           echo ' in the above lines, it is more portable.' 1>&2; \
795           exit 1; \
796         fi
797         @if grep -v SHELL $(srcdir)/tests/*.test | grep '\$$MAKE .*=' ; then \
798           echo 'Rewrite "$$MAKE foo=bar" as "foo=bar $$MAKE -e" in the above lines,' 1>&2; \
799           echo 'it is more portable.' 1>&2; \
800           exit 1; \
801         fi
802         @if grep 'SHELL=.*\$$MAKE' $(srcdir)/tests/*.test; then \
803           echo '$$MAKE ignores the SHELL envvar, use "$$MAKE SHELL=$$SHELL" in' 1>&2; \
804           echo 'the above lines.' 1>&2; \
805           exit 1; \
806         fi
807         @if grep -E '\bsleep +[12345]\b' $(srcdir)/tests/*.test; then \
808           echo 'Do not use "sleep x" in the above tests.  Use "$$sleep" instead.' 1>&2; \
809           exit 1; \
810         fi
811         @if grep -E '\b[ef]grep\b' $(srcdir)/tests/*.test ; then \
812           echo 'Do not use egrep or fgrep in test cases.  Use $$FGREP or $$EGREP.' 1>&2; \
813           exit 1; \
814         fi
815         @if grep -E '\b[ef]grep\b' $(srcdir)/lib/am/*.am $(srcdir)/m4/*.m4; then \
816           echo 'Do not use egrep or fgrep in the above files, they are not portable.' 1>&2; \
817           exit 1; \
818         fi
819         @if test `grep -E '@[A-Za-z_0-9]+@' aclocal | wc -l` -ne 0; then \
820           echo "Unresolved @...@ substitution in aclocal" 1>&2; \
821           exit 1; \
822         fi
823         @if test `grep -E '@[A-Za-z_0-9]+@' automake | wc -l` -ne 4; then \
824           echo "Unresolved @...@ substitution in aclocal" 1>&2; \
825           exit 1; \
826         fi
827
828 # Tag before making distribution.  Also, don't make a distribution if
829 # checks fail.  Also, make sure the NEWS file is up-to-date.
830 cvs-dist: maintainer-check distcheck
831         @if sed 1q $(srcdir)/NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
832           echo "NEWS not updated; not releasing" 1>&2; \
833           exit 1;                               \
834         fi
835         cd $(srcdir) && cvs -q tag `echo "Release-$(VERSION)" | sed 's/\./-/g'`
836         $(MAKE) dist
837
838 cvs-diff:
839         thisver=`echo "Release-$(VERSION)" | sed 's/\./-/g'`; \
840         if test -z "$$OLDVERSION"; then \
841           prevno=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
842         else prevno="$$OLDVERSION"; fi; \
843         prevver=Release-`echo $$prevno | sed 's/\./-/g'`; \
844         cvs -f rdiff -c -r $$prevver -r $$thisver $(PACKAGE) \
845             > $(PACKAGE)-$$prevno-$(VERSION).diff
846
847 path-check: distdir
848         (cd $(distdir) && \
849           find . -print | xargs pathchk -p); \
850           status=$$?; \
851           chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir); \
852           exit $$status
853
854 fetch:
855         rm -rf Fetchdir > /dev/null 2>&1
856         mkdir Fetchdir; mkdir Fetchdir/Automake
857         (cd Fetchdir && \
858         $(WGET) ftp://ftp.gnu.org/gnu/config/config.guess; \
859         $(WGET) ftp://ftp.gnu.org/gnu/config/config.sub; \
860         $(WGET) ftp://ftp.gnu.org/gnu/texinfo/texinfo.tex; \
861         $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/autoconf/autoconf/lib/Autom4te/Struct.pm?content-type=text/plain -O Automake/Struct.pm; \
862         $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/autoconf/autoconf/lib/Autom4te/XFile.pm?content-type=text/plain -O Automake/XFile.pm; \
863         $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/autoconf/autoconf/INSTALL?content-type=text/plain -O INSTALL)
864         perl -pi -e 's/Autom4te::/Automake::/g' \
865           Fetchdir/Automake/Struct.pm Fetchdir/Automake/XFile.pm
866         @stat=0; for file in $(FETCHFILES); do \
867           if diff -u $(srcdir)/lib/$$file Fetchdir/$$file \
868                   >>Fetchdir/update.patch 2>/dev/null; then :; \
869           else \
870             stat=1; \
871             echo "Updating $(srcdir)/lib/$$file..."; \
872             cp Fetchdir/$$file $(srcdir)/lib/$$file; \
873           fi; \
874         done; \
875         test $$stat = 1 && \
876           echo "See Fetchdir/update.patch for a log of the changes."; \
877         exit $$stat
878 # Tell versions [3.59,3.63) of GNU make to not export all variables.
879 # Otherwise a system limit (for SysV at least) may be exceeded.
880 .NOEXPORT: