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