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