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