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