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