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