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