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