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