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