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