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