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