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