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