1 # Makefile.in generated by automake 1.6.2a from Makefile.am.
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.
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
19 top_srcdir
= @top_srcdir@
22 exec_prefix = @
exec_prefix@
26 libexecdir
= @libexecdir@
28 sysconfdir
= @sysconfdir@
29 sharedstatedir
= @sharedstatedir@
30 localstatedir
= @localstatedir@
34 includedir = @
includedir@
35 oldincludedir = /usr
/include
36 pkgdatadir
= $(datadir)/@PACKAGE@
37 pkglibdir
= $(libdir)/@PACKAGE@
38 pkgincludedir
= $(includedir)/@PACKAGE@
44 AUTOHEADER
= @AUTOHEADER@
46 am__cd
= CDPATH
="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
48 INSTALL_PROGRAM
= @INSTALL_PROGRAM@
49 INSTALL_DATA
= @INSTALL_DATA@
50 install_sh_DATA
= $(install_sh
) -c
-m
644
51 install_sh_PROGRAM
= $(install_sh
) -c
52 install_sh_SCRIPT
= $(install_sh
) -c
53 INSTALL_SCRIPT
= @INSTALL_SCRIPT@
54 INSTALL_HEADER
= $(INSTALL_DATA
)
55 transform
= @program_transform_name@
65 PATH_SEPARATOR
= @PATH_SEPARATOR@
67 APIVERSION
= @APIVERSION@
70 INSTALL_STRIP_PROGRAM
= @INSTALL_STRIP_PROGRAM@
76 am__include
= @am__include@
77 am__quote
= @am__quote@
78 install_sh
= @install_sh@
79 pkgvdatadir
= @pkgvdatadir@
81 SUBDIRS
= . m4 lib tests
83 bin_SCRIPTS
= automake aclocal
84 info_TEXINFOS
= automake.texi
86 TAGS_FILES
= automake.in aclocal.in
88 # The following requires a fixed version of the Emacs 19.30 etags.
89 ETAGS_ARGS
= --lang
=none \
90 --regex
='/^@node[ \t]+\([^,]+\)/\1/' $(srcdir)/automake.texi
92 TAGS_DEPENDENCIES
= automake.texi
94 EXTRA_DIST
= ChangeLog
.1996 ChangeLog
.1998 ChangeLog
.2000 ChangeLog
.2001
98 FETCHFILES
= config.guess config.sub texinfo.
tex Automake
/XFile.pm INSTALL \
102 ACLOCAL_M4
= $(top_srcdir
)/aclocal.m4
103 mkinstalldirs
= $(SHELL
) $(top_srcdir
)/lib
/mkinstalldirs
104 CONFIG_CLEAN_FILES
= automake aclocal
105 SCRIPTS
= $(bin_SCRIPTS
)
108 TEXINFO_TEX
= $(top_srcdir
)/lib
/texinfo.
tex
109 INFO_DEPS
= automake.
info
111 TEXINFOS
= automake.texi
113 RECURSIVE_TARGETS
= info-recursive dvi-recursive install-info-recursive \
114 uninstall-info-recursive all-recursive install-data-recursive \
115 install-exec-recursive installdirs-recursive install-recursive \
116 uninstall-recursive check-recursive installcheck-recursive
117 DIST_COMMON
= README AUTHORS COPYING ChangeLog INSTALL Makefile.am \
118 Makefile.in NEWS THANKS TODO aclocal.in aclocal.m4 automake.in \
119 configure configure.in install-sh mdate-sh missing \
120 mkinstalldirs stamp-vti version.texi
121 DIST_SUBDIRS
= $(SUBDIRS
)
125 .SUFFIXES
: .
dvi .
info .ps .texi
127 am__CONFIG_DISTCLEAN_FILES
= config.status config.cache config.log
128 $(srcdir)/Makefile.in
: Makefile.am
$(top_srcdir
)/configure.in
$(ACLOCAL_M4
)
129 cd
$(top_srcdir
) && \
130 $(AUTOMAKE
) --gnu Makefile
131 Makefile
: $(srcdir)/Makefile.in
$(top_builddir
)/config.status
132 cd
$(top_builddir
) && $(SHELL
) .
/config.status
$@
$(am__depfiles_maybe
)
134 $(top_builddir
)/config.status
: $(srcdir)/configure
$(CONFIG_STATUS_DEPENDENCIES
)
135 $(SHELL
) .
/config.status
--recheck
136 $(srcdir)/configure
: $(srcdir)/configure.in
$(ACLOCAL_M4
) $(CONFIGURE_DEPENDENCIES
)
137 cd
$(srcdir) && $(AUTOCONF
)
139 $(ACLOCAL_M4
): configure.in
140 cd
$(srcdir) && $(ACLOCAL
) $(ACLOCAL_AMFLAGS
)
141 automake
: $(top_builddir
)/config.status automake.in
142 cd
$(top_builddir
) && $(SHELL
) .
/config.status
$@
143 aclocal
: $(top_builddir
)/config.status aclocal.in
144 cd
$(top_builddir
) && $(SHELL
) .
/config.status
$@
145 binSCRIPT_INSTALL
= $(INSTALL_SCRIPT
)
146 install-binSCRIPTS
: $(bin_SCRIPTS
)
148 $(mkinstalldirs
) $(DESTDIR
)$(bindir)
149 @list
='$(bin_SCRIPTS)'; for p in
$$list; do \
150 if
test -f
"$$p"; then d
=; else d
="$(srcdir)/"; fi
; \
151 if
test -f
$$d$$p; then \
152 f
=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
153 echo
" $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f"; \
154 $(binSCRIPT_INSTALL
) $$d$$p $(DESTDIR
)$(bindir)/$$f; \
158 uninstall-binSCRIPTS
:
160 @list
='$(bin_SCRIPTS)'; for p in
$$list; do \
161 f
=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
162 echo
" rm -f $(DESTDIR)$(bindir)/$$f"; \
163 rm -f
$(DESTDIR
)$(bindir)/$$f; \
166 $(srcdir)/version.texi
: $(srcdir)/stamp-vti
168 $(srcdir)/stamp-vti
: automake.texi
$(top_srcdir
)/configure.in
169 @
(set
`$(SHELL) $(top_srcdir)/lib/mdate-sh $(srcdir)/automake.texi`; \
170 echo
"@set UPDATED $$1 $$2 $$3"; \
171 echo
"@set UPDATED-MONTH $$2 $$3"; \
172 echo
"@set EDITION $(VERSION)"; \
173 echo
"@set VERSION $(VERSION)") > vti.tmp
174 @cmp
-s vti.tmp
$(srcdir)/version.texi \
175 ||
(echo
"Updating $(srcdir)/version.texi"; \
176 cp vti.tmp
$(srcdir)/version.texi
)
178 @cp
$(srcdir)/version.texi
$@
183 maintainer-clean-vti
:
184 -rm -f
$(srcdir)/stamp-vti
$(srcdir)/version.texi
186 automake.
info: automake.texi
$(srcdir)/version.texi
187 automake.
dvi: automake.texi
$(srcdir)/version.texi
190 @cd
$(srcdir) && rm -f
$@
$@
-[0-9] $@
-[0-9][0-9]
192 && $(MAKEINFO
) $(AM_MAKEINFOFLAGS
) $(MAKEINFOFLAGS
) \
193 `echo $< | sed 's,.*/,,'`
196 TEXINPUTS
="$(top_srcdir)/lib$(PATH_SEPARATOR)$$TEXINPUTS" \
197 MAKEINFO
='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
201 @cd
$(srcdir) && rm -f
$@
$@
-[0-9] $@
-[0-9][0-9]
203 && $(MAKEINFO
) $(AM_MAKEINFOFLAGS
) $(MAKEINFOFLAGS
) \
204 `echo $< | sed 's,.*/,,'`
206 MAKEINFO
= @MAKEINFO@
214 @if
(install-info
--version
&& \
215 install-info
--version | fgrep
-i
-v debian
) >/dev
/null
2>&1; then \
216 list
='$(INFO_DEPS)'; \
217 for file in
$$list; do \
218 echo
" install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file"; \
219 install-info
--info-dir
=$(DESTDIR
)$(infodir) --remove
$(DESTDIR
)$(infodir)/$$file; \
223 @list
='$(INFO_DEPS)'; \
224 for file in
$$list; do \
225 (if cd
$(DESTDIR
)$(infodir); then \
226 echo
" rm -f $$file $$file-[0-9] $$file-[0-9][0-9])"; \
227 rm -f
$$file $$file-[0-9] $$file-[0-9][0-9]; \
231 dist-info
: $(INFO_DEPS
)
232 list
='$(INFO_DEPS)'; \
233 for base in
$$list; do \
235 for file in
$$d/$$base*; do \
236 relfile
=`expr "$$file" : "$$d/\(.*\)"`; \
237 test -f
$(distdir
)/$$relfile || \
238 cp
-p
$$file $(distdir
)/$$relfile; \
243 -rm -f automake.aux automake.cm automake.cp automake.cps automake.cv \
244 automake.
dvi automake.fn automake.ky automake.log automake.op \
245 automake.ov automake.pg automake.ps automake.tmp automake.toc \
246 automake.tp automake.tr automake.vr automake.vrs
248 maintainer-clean-aminfo
:
250 list
='$(INFO_DEPS)'; for i in
$$list; do \
252 if
test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
257 # This directory's subdirectories are mostly independent; you can cd
258 # into them and run `make' without going through this Makefile.
259 # To change the values of `make' variables: instead of editing Makefiles,
260 # (1) if the variable is set in `config.status', edit `config.status'
261 # (which will cause the Makefiles to be regenerated when you run `make');
262 # (2) otherwise, pass the desired values on the `make' command line.
263 $(RECURSIVE_TARGETS
):
264 @set fnord
$$MAKEFLAGS; amf
=$$2; \
266 target
=`echo $@ | sed s/-recursive//`; \
267 list
='$(SUBDIRS)'; for subdir in
$$list; do \
268 echo
"Making $$target in $$subdir"; \
269 if
test "$$subdir" = "."; then \
271 local_target
="$$target-am"; \
273 local_target
="$$target"; \
275 (cd
$$subdir && $(MAKE
) $(AM_MAKEFLAGS
) $$local_target) \
276 || case
"$$amf" in
*=*) exit
1;; *k
*) fail
=yes
;; *) exit
1;; esac
; \
278 if
test "$$dot_seen" = "no"; then \
279 $(MAKE
) $(AM_MAKEFLAGS
) "$$target-am" || exit
1; \
282 mostlyclean-recursive clean-recursive distclean-recursive \
283 maintainer-clean-recursive
:
284 @set fnord
$$MAKEFLAGS; amf
=$$2; \
287 distclean-
* | maintainer-clean-
*) list
='$(DIST_SUBDIRS)' ;; \
288 *) list
='$(SUBDIRS)' ;; \
290 rev
=''; for subdir in
$$list; do \
291 if
test "$$subdir" = "."; then
:; else \
292 rev
="$$subdir $$rev"; \
296 target
=`echo $@ | sed s/-recursive//`; \
297 for subdir in
$$rev; do \
298 echo
"Making $$target in $$subdir"; \
299 if
test "$$subdir" = "."; then \
300 local_target
="$$target-am"; \
302 local_target
="$$target"; \
304 (cd
$$subdir && $(MAKE
) $(AM_MAKEFLAGS
) $$local_target) \
305 || case
"$$amf" in
*=*) exit
1;; *k
*) fail
=yes
;; *) exit
1;; esac
; \
306 done
&& test -z
"$$fail"
308 list
='$(SUBDIRS)'; for subdir in
$$list; do \
309 test "$$subdir" = . ||
(cd
$$subdir && $(MAKE
) $(AM_MAKEFLAGS
) tags); \
317 ID
: $(HEADERS
) $(SOURCES
) $(LISP
) $(TAGS_FILES
)
318 list
='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
319 unique
=`for i in $$list; do \
320 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
322 $(AWK) ' { files[$$0] = 1; } \
323 END { for (i in files) print i; }'`; \
326 TAGS
: tags-recursive
$(HEADERS
) $(SOURCES
) $(TAGS_DEPENDENCIES
) \
327 $(TAGS_FILES
) $(LISP
)
330 list
='$(SUBDIRS)'; for subdir in
$$list; do \
331 if
test "$$subdir" = .
; then
:; else \
332 test -f
$$subdir/TAGS
&& tags="$$tags -i $$here/$$subdir/TAGS"; \
335 list
='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
336 unique
=`for i in $$list; do \
337 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
339 $(AWK) ' { files[$$0] = 1; } \
340 END { for (i in files) print i; }'`; \
341 test -z
"$(ETAGS_ARGS)$$tags$$unique" \
342 ||
$(ETAGS
) $(ETAGSFLAGS
) $(AM_ETAGSFLAGS
) $(ETAGS_ARGS
) \
346 here
=`$(am__cd) $(top_builddir) && pwd` \
347 && cd
$(top_srcdir
) \
348 && gtags
-i
$(GTAGS_ARGS
) $$here
351 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
352 DISTFILES
= $(DIST_COMMON
) $(DIST_SOURCES
) $(TEXINFOS
) $(EXTRA_DIST
)
355 distdir
= $(PACKAGE
)-$(VERSION
)
357 am__remove_distdir
= \
358 { test ! -d
$(distdir
) \
359 ||
{ find
$(distdir
) -type d
! -perm
-200 -exec chmod u
+w
{} ';' \
360 && rm -fr
$(distdir
); }; }
363 distcleancheck_listfiles
= find .
-type f
-print
365 distdir
: $(DISTFILES
)
366 $(am__remove_distdir
)
368 $(mkinstalldirs
) $(distdir
)/.
$(distdir
)/m4
369 @list
='$(DISTFILES)'; for file in
$$list; do \
370 if
test -f
$$file ||
test -d
$$file; then d
=.
; else d
=$(srcdir); fi
; \
371 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
372 if
test "$$dir" != "$$file" && test "$$dir" != "."; then \
374 $(mkinstalldirs
) "$(distdir)$$dir"; \
378 if
test -d
$$d/$$file; then \
379 if
test -d
$(srcdir)/$$file && test $$d != $(srcdir); then \
380 cp
-pR
$(srcdir)/$$file $(distdir
)$$dir || exit
1; \
382 cp
-pR
$$d/$$file $(distdir
)$$dir || exit
1; \
384 test -f
$(distdir
)/$$file \
385 || cp
-p
$$d/$$file $(distdir
)/$$file \
389 list
='$(SUBDIRS)'; for subdir in
$$list; do \
390 if
test "$$subdir" = .
; then
:; else \
391 test -d
$(distdir
)/$$subdir \
392 || mkdir
$(distdir
)/$$subdir \
395 $(MAKE
) $(AM_MAKEFLAGS
) \
396 top_distdir
="$(top_distdir)" \
397 distdir
=..
/$(distdir
)/$$subdir \
402 $(MAKE
) $(AM_MAKEFLAGS
) \
403 top_distdir
="${top_distdir}" distdir
="$(distdir)" \
405 -find
$(distdir
) -type d
! -perm
-777 -exec chmod a
+rwx
{} \
; -o \
406 ! -type d
! -perm
-444 -links
1 -exec chmod a
+r
{} \
; -o \
407 ! -type d
! -perm
-400 -exec chmod a
+r
{} \
; -o \
408 ! -type d
! -perm
-444 -exec
$(SHELL
) $(install_sh
) -c
-m a
+r
{} {} \
; \
409 || chmod
-R a
+r
$(distdir
)
411 $(AMTAR
) chof
- $(distdir
) | GZIP
=$(GZIP_ENV
) gzip
-c
>$(distdir
).
tar.gz
412 $(am__remove_distdir
)
415 $(AMTAR
) chof
- $(distdir
) | bzip2
-9 -c
>$(distdir
).
tar.bz2
416 $(am__remove_distdir
)
418 dist dist-all
: distdir
419 $(AMTAR
) chof
- $(distdir
) | GZIP
=$(GZIP_ENV
) gzip
-c
>$(distdir
).
tar.gz
420 $(AMTAR
) chof
- $(distdir
) | bzip2
-9 -c
>$(distdir
).
tar.bz2
421 $(am__remove_distdir
)
423 # This target untars the dist file and tries a VPATH configuration. Then
424 # it guarantees that the distribution is self-contained by making another
427 $(am__remove_distdir
)
428 GZIP
=$(GZIP_ENV
) gunzip
-c
$(distdir
).
tar.gz |
$(AMTAR
) xf
-
429 chmod
-R a-w
$(distdir
); chmod a
+w
$(distdir
)
430 mkdir
$(distdir
)/=build
431 mkdir
$(distdir
)/=inst
433 dc_install_base
=`$(am__cd) $(distdir)/=inst && pwd` \
434 && cd
$(distdir
)/=build \
435 && ..
/configure
--srcdir=..
--prefix=$$dc_install_base \
436 $(DISTCHECK_CONFIGURE_FLAGS
) \
437 && $(MAKE
) $(AM_MAKEFLAGS
) \
438 && $(MAKE
) $(AM_MAKEFLAGS
) dvi \
439 && $(MAKE
) $(AM_MAKEFLAGS
) check \
440 && $(MAKE
) $(AM_MAKEFLAGS
) install \
441 && $(MAKE
) $(AM_MAKEFLAGS
) installcheck \
442 && $(MAKE
) $(AM_MAKEFLAGS
) uninstall \
443 && (test `find $$dc_install_base -type f -print | wc -l` -le
1 \
444 ||
{ echo
"ERROR: files left after uninstall:" ; \
445 find
$$dc_install_base -type f
-print ; \
447 && $(MAKE
) $(AM_MAKEFLAGS
) dist-gzip \
448 && rm -f
$(distdir
).
tar.gz \
449 && $(MAKE
) $(AM_MAKEFLAGS
) distcleancheck
450 $(am__remove_distdir
)
451 @echo
"$(distdir).tar.gz is ready for distribution" | \
452 sed
'h;s/./=/g;p;x;p;x'
453 distcleancheck
: distclean
454 if
test '$(srcdir)' = .
; then \
455 echo
"ERROR: distcleancheck can only run from a VPATH build" ; \
458 test `$(distcleancheck_listfiles) | wc -l` -eq
0 \
459 ||
{ echo
"ERROR: files left after distclean:" ; \
460 $(distcleancheck_listfiles
) ; \
463 check: check-recursive
464 all-am
: Makefile
$(INFO_DEPS
) $(SCRIPTS
)
465 installdirs: installdirs-recursive
467 $(mkinstalldirs
) $(DESTDIR
)$(bindir) $(DESTDIR
)$(infodir)
469 install: install-recursive
470 install-exec
: install-exec-recursive
471 install-data
: install-data-recursive
472 uninstall: uninstall-recursive
475 @
$(MAKE
) $(AM_MAKEFLAGS
) install-exec-am install-data-am
477 installcheck: installcheck-recursive
479 $(MAKE
) $(AM_MAKEFLAGS
) INSTALL_PROGRAM
="$(INSTALL_STRIP_PROGRAM)" \
480 INSTALL_STRIP_FLAG
=-s \
481 `test -z '$(STRIP)' || \
482 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
488 -rm -f Makefile
$(CONFIG_CLEAN_FILES
)
490 maintainer-clean-generic
:
491 @echo
"This command is intended for maintainers to use"
492 @echo
"it deletes files that may require special tools to rebuild."
493 clean: clean-recursive
495 clean-am
: clean-generic mostlyclean-am
497 distclean: distclean-recursive
498 -rm -f
$(am__CONFIG_DISTCLEAN_FILES
)
499 distclean-am
: clean-am distclean-generic distclean-tags
507 info-am
: $(INFO_DEPS
)
509 install-data-am
: install-info-am
511 install-exec-am
: install-binSCRIPTS
513 $(MAKE
) $(AM_MAKEFLAGS
) install-exec-hook
515 install-info
: install-info-recursive
517 install-info-am
: $(INFO_DEPS
)
519 $(mkinstalldirs
) $(DESTDIR
)$(infodir)
520 @list
='$(INFO_DEPS)'; \
521 for file in
$$list; do \
523 for ifile in echo
$$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9]; do \
524 if
test -f
$$ifile; then \
525 relfile
=`expr "$$ifile" : "$$d/\(.*\)"`; \
526 echo
" $(INSTALL_DATA) $$ifile $(DESTDIR)$(infodir)/$$relfile"; \
527 $(INSTALL_DATA
) $$ifile $(DESTDIR
)$(infodir)/$$relfile; \
532 @if
(install-info
--version
&& \
533 install-info
--version | fgrep
-i
-v debian
) >/dev
/null
2>&1; then \
534 list
='$(INFO_DEPS)'; \
535 for file in
$$list; do \
536 echo
" install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
537 install-info
--info-dir
=$(DESTDIR
)$(infodir) $(DESTDIR
)$(infodir)/$$file ||
:;\
544 maintainer-clean
: maintainer-clean-recursive
545 -rm -f
$(am__CONFIG_DISTCLEAN_FILES
)
546 -rm -rf autom4te.cache
547 maintainer-clean-am
: distclean-am maintainer-clean-aminfo \
548 maintainer-clean-generic maintainer-clean-vti
550 mostlyclean: mostlyclean-recursive
552 mostlyclean-am
: mostlyclean-aminfo mostlyclean-generic mostlyclean-vti
554 uninstall-am
: uninstall-binSCRIPTS uninstall-info-am
556 $(MAKE
) $(AM_MAKEFLAGS
) uninstall-hook
558 uninstall-info
: uninstall-info-recursive
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 \
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; \
590 @for p in
$(bin_SCRIPTS
); do \
591 f
="`echo $$p|sed '$(transform)'`"; \
592 fv
="$$f-$(APIVERSION)"; \
593 rm -f
$(DESTDIR
)$(bindir)/$$fv; \
596 ################################################################
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
; \
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; \
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; \
619 @if egrep
'for .* in \$$\(' $(srcdir)/lib
/am
/[a-z
]*.am
; then \
620 echo
'Use "list=$$(mumble); for var in $$$$list".' 1>&2 ; \
623 @if fgrep
-n
'mkinstalldirs' $(srcdir)/lib
/am
/[a-z
]*.am | \
624 fgrep
-v
'$$(mkinstalldirs)'; then \
625 echo
"Found incorrect use of mkinstalldirs in the lines above" 1>&2; \
628 @if grep
-n
-w
'undef ' $(srcdir)/automake.in | \
629 fgrep
-v
'undef $$/'; then \
630 echo
"Found undef in automake.in; use delete instead" 1>&2; \
633 @if fgrep
-n
'split (/ /' $(srcdir)/automake.in
; then \
634 echo
"Found bad split in the lines above." 1>&2; \
637 @if grep
-n
'^[^#]*` *cd ' $(srcdir)/automake.in \
638 $(srcdir)/lib
/am
/*.am
; then \
639 echo
"Consider using $$$$(am__cd) in the line above." 1>&2; \
642 @if grep
-Hn
'[^) ] *= *@_' $(srcdir)/automake.in
; then \
643 echo
"Using @_ in a scalar context in the lines above." 1>&2; \
646 @if grep
'^[ \t]*local *(' $(srcdir)/automake.in
; then \
647 echo
"Don't use \`local' with parens: use several \`local' above." >&2; \
650 @locals
=`grep -v '^[ \t]*local \$$_;' $(srcdir)/automake.in | \
651 grep -c '^[ \t]*local [^*]'`; \
654 echo
"Wow, congrats! There are no \`local' now!." >&2; \
655 echo
"Please update Makefile.am (maintainer-check)." >&2; \
660 echo
"Too many \`local'! Are you sure you need $$locals of them?" >&2; \
661 echo
"Up to now 1 was enough." >&2; \
665 @if grep
'@AMDEP''_TRUE@' $(srcdir)/automake.in
; then \
666 echo
"Don't put AMDEP_TRUE substitution in automake.in" 1>&2; \
669 @if grep
-v
'^#' $(srcdir)/tests
/*.
test | egrep
':[ ]*make'; then \
670 echo
'Do not run "make" in the above tests. Use "$$MAKE" instead.' 1>&2; \
673 @if grep
-v
'^#' $(srcdir)/tests
/*.
test | egrep
':[ ]*autoconf'; then \
674 echo
'Do not run "autoconf" in the above tests. Use "$$AUTOCONF" instead.' 1>&2; \
677 @if grep
-v
'^#' $(srcdir)/tests
/*.
test | egrep
':[ ]*automake'; then \
678 echo
'Do not run "automake" in the above tests. Use "$$AUTOMAKE" instead.' 1>&2; \
681 @if grep
-v
'^#' $(srcdir)/tests
/*.
test | egrep
':[ ]*aclocal'; then \
682 echo
'Do not run "aclocal" in the above tests. Use "$$ACLOCAL" instead.' 1>&2; \
685 @if grep
-v
'^#' $(srcdir)/tests
/*.
test | egrep
':[ ]*perl'; then \
686 echo
'Do not run "perl" in the above tests. Use "$$PERL" instead.' 1>&2; \
689 @if egrep
'\$$MAKE .*(SHELL=.*=|=.*SHELL=)' $(srcdir)/tests
/*.
test; then \
690 echo
'Rewrite "$$MAKE foo=bar SHELL=/bin/sh" as "foo=bar $$MAKE -e SHELL=/bin/sh"' 1>&2; \
691 echo
' in the above lines, it is more portable.' 1>&2; \
694 @if grep
-v SHELL
$(srcdir)/tests
/*.
test | grep
'\$$MAKE .*=' ; then \
695 echo
'Rewrite "$$MAKE foo=bar" as "foo=bar $$MAKE -e SHELL=/bin/sh" in the above lines,' 1>&2; \
696 echo
'it is more portable.' 1>&2; \
699 @if grep
'$$MAKE.* -e' $(srcdir)/tests
/*.
test | grep
-v
'-e.*SHELL' ; then \
700 echo
'Always overwrite SHELL when using "$$MAKE -e".' 1>&2; \
701 echo
'Use "$$MAKE -e SHELL=/bin/sh" in the above lines.' 1>&2; \
704 @if egrep
'SHELL=.*\$$MAKE' $(srcdir)/tests
/*.
test; then \
705 echo
'$$MAKE ignores the SHELL envvar, use "$$MAKE SHELL=/bin/sh" in' 1>&2; \
706 echo
'the above lines.' 1>&2; \
709 @if egrep
'\bsleep +1\b' $(srcdir)/tests
/*.
test; then \
710 echo
'Do not use "sleep 1" in the above tests. Use "sleep 2" instead.' 1>&2; \
714 # Tag before making distribution. Also, don't make a distribution if
715 # checks fail. Also, make sure the NEWS file is up-to-date.
716 cvs-dist
: maintainer-check distcheck
717 @if sed
1q
$(srcdir)/NEWS | grep
-e
"$(VERSION)" > /dev
/null
; then
:; else \
718 echo
"NEWS not updated; not releasing" 1>&2; \
721 cd
$(srcdir) && cvs
-q tag
`echo "Release-$(VERSION)" | sed 's/\./-/g'`
725 thisver
=`echo "Release-$(VERSION)" | sed 's/\./-/g'`; \
726 if
test -z
"$$OLDVERSION"; then \
727 prevno
=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
728 else prevno
="$$OLDVERSION"; fi
; \
729 prevver
=Release-
`echo $$prevno | sed 's/\./-/g'`; \
730 cvs
-f rdiff
-c
-r
$$prevver -r
$$thisver $(PACKAGE
) \
731 > $(PACKAGE
)-$$prevno-$(VERSION
).diff
735 find .
-print | xargs pathchk
-p
); \
737 chmod
-R a
+w
$(distdir
) > /dev
/null
2>&1; rm -rf
$(distdir
); \
741 rm -rf Fetchdir
> /dev
/null
2>&1
742 mkdir Fetchdir
; mkdir Fetchdir
/Automake
744 $(WGET
) ftp
://ftp.gnu.org
/gnu
/config
/config.guess
; \
745 $(WGET
) ftp
://ftp.gnu.org
/gnu
/config
/config.sub
; \
746 $(WGET
) ftp
://ftp.gnu.org
/gnu
/texinfo
/texinfo.
tex; \
747 $(WGET
) http
://savannah.gnu.org
/cgi-bin
/viewcvs
/~checkout~
/autoconf
/autoconf
/lib
/Autom4te
/XFile.pm?content-type
=text
/plain
-O Automake
/XFile.pm
; \
748 $(WGET
) http
://savannah.gnu.org
/cgi-bin
/viewcvs
/~checkout~
/autoconf
/autoconf
/config
/install-sh?content-type
=text
/plain
-O install-sh
; \
749 $(WGET
) http
://savannah.gnu.org
/cgi-bin
/viewcvs
/~checkout~
/autoconf
/autoconf
/INSTALL?content-type
=text
/plain
-O INSTALL
)
750 perl
-pi
-e
's/Autom4te::/Automake::/g' Fetchdir
/Automake
/XFile.pm
751 @stat
=0; for file in
$(FETCHFILES
); do \
752 if diff
-u
$(srcdir)/lib
/$$file Fetchdir
/$$file \
753 >>Fetchdir
/update.patch
2>/dev
/null
; then
:; \
756 echo
"Updating $(srcdir)/lib/$$file..."; \
757 cp Fetchdir
/$$file $(srcdir)/lib
/$$file; \
761 echo
"See Fetchdir/update.patch for a log of the changes."; \
763 # Tell versions [3.59,3.63) of GNU make to not export all variables.
764 # Otherwise a system limit (for SysV at least) may be exceeded.