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