Add Bernard Giroud -- see ChangeLog on 2003-06-13
[automake.git] / Makefile.in
blob46e377261a2305fdd43595488f3fe99f997bffac
1 # Makefile.in generated by automake 1.7.5a from Makefile.am.
2 # @configure_input@
4 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
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
13 # PARTICULAR PURPOSE.
15 @SET_MAKE@
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 = .
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_sh_SCRIPT = $(install_sh) -c
30 INSTALL_HEADER = $(INSTALL_DATA)
31 transform = $(program_transform_name)
32 NORMAL_INSTALL = :
33 PRE_INSTALL = :
34 POST_INSTALL = :
35 NORMAL_UNINSTALL = :
36 PRE_UNINSTALL = :
37 POST_UNINSTALL = :
38 ACLOCAL = @ACLOCAL@
39 AMTAR = @AMTAR@
40 APIVERSION = @APIVERSION@
41 AUTOCONF = @AUTOCONF@
42 AUTOHEADER = @AUTOHEADER@
43 AUTOMAKE = @AUTOMAKE@
44 AWK = @AWK@
45 CYGPATH_W = @CYGPATH_W@
46 DEFS = @DEFS@
47 ECHO_C = @ECHO_C@
48 ECHO_N = @ECHO_N@
49 ECHO_T = @ECHO_T@
50 EGREP = @EGREP@
51 FGREP = @FGREP@
52 INSTALL_DATA = @INSTALL_DATA@
53 INSTALL_PROGRAM = @INSTALL_PROGRAM@
54 INSTALL_SCRIPT = @INSTALL_SCRIPT@
55 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
56 LIBOBJS = @LIBOBJS@
57 LIBS = @LIBS@
58 LN = @LN@
59 LTLIBOBJS = @LTLIBOBJS@
60 MAKEINFO = @MAKEINFO@
61 PACKAGE = @PACKAGE@
62 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
63 PACKAGE_NAME = @PACKAGE_NAME@
64 PACKAGE_STRING = @PACKAGE_STRING@
65 PACKAGE_TARNAME = @PACKAGE_TARNAME@
66 PACKAGE_VERSION = @PACKAGE_VERSION@
67 PATH_SEPARATOR = @PATH_SEPARATOR@
68 PERL = @PERL@
69 SET_MAKE = @SET_MAKE@
70 SHELL = @SHELL@
71 STRIP = @STRIP@
72 TEX = @TEX@
73 VERSION = @VERSION@
74 ac_ct_STRIP = @ac_ct_STRIP@
75 am__leading_dot = @am__leading_dot@
76 bindir = @bindir@
77 build_alias = @build_alias@
78 datadir = @datadir@
79 exec_prefix = @exec_prefix@
80 host_alias = @host_alias@
81 includedir = @includedir@
82 infodir = @infodir@
83 install_sh = @install_sh@
84 libdir = @libdir@
85 libexecdir = @libexecdir@
86 localstatedir = @localstatedir@
87 mandir = @mandir@
88 oldincludedir = @oldincludedir@
89 pkgvdatadir = @pkgvdatadir@
90 prefix = @prefix@
91 program_transform_name = @program_transform_name@
92 sbindir = @sbindir@
93 sharedstatedir = @sharedstatedir@
94 sysconfdir = @sysconfdir@
95 target_alias = @target_alias@
97 SUBDIRS = . m4 lib tests
99 bin_SCRIPTS = automake aclocal
100 info_TEXINFOS = automake.texi
102 CLEANFILES = $(bin_SCRIPTS)
103 AUTOMAKESOURCES = automake.in aclocal.in
105 TAGS_FILES = $(AUTOMAKESOURCES)
107 # The following requires a fixed version of the Emacs 19.30 etags.
108 ETAGS_ARGS = --lang=none \
109 --regex='/^@node[ \t]+\([^,]+\)/\1/' $(srcdir)/automake.texi
111 TAGS_DEPENDENCIES = automake.texi
113 EXTRA_DIST = ChangeLog.96 ChangeLog.98 ChangeLog.00 ChangeLog.01 \
114 $(AUTOMAKESOURCES)
117 do_subst = sed -e 's,[@]datadir[@],$(datadir),g' -e 's,[@]PERL[@],$(PERL),g' \
118 -e 's,[@]configure_input[@],@configure_input@,g' \
119 -e 's,[@]PACKAGE[@],$(PACKAGE),g' \
120 -e 's,[@]VERSION[@],$(VERSION),g' \
121 -e 's,[@]APIVERSION[@],$(APIVERSION),g' \
122 -e 's,[@]SHELL[@],$(SHELL),g'
125 WGET = wget
127 FETCHFILES = \
128 Automake/Struct.pm \
129 Automake/XFile.pm \
130 INSTALL \
131 config.guess \
132 config.sub \
133 texinfo.tex
135 subdir = .
136 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
137 mkinstalldirs = $(SHELL) $(top_srcdir)/lib/mkinstalldirs
138 CONFIG_CLEAN_FILES =
139 SCRIPTS = $(bin_SCRIPTS)
141 DIST_SOURCES =
142 TEXINFO_TEX = $(top_srcdir)/lib/texinfo.tex
143 am__TEXINFO_TEX_DIR = $(top_srcdir)/lib
144 INFO_DEPS = automake.info
145 DVIS = automake.dvi
146 PDFS = automake.pdf
147 PSS = automake.ps
148 TEXINFOS = automake.texi
150 RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
151 ps-recursive install-info-recursive uninstall-info-recursive \
152 all-recursive install-data-recursive install-exec-recursive \
153 installdirs-recursive install-recursive uninstall-recursive \
154 check-recursive installcheck-recursive
155 DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \
156 Makefile.in NEWS THANKS TODO aclocal.m4 configure configure.in \
157 stamp-vti version.texi
158 DIST_SUBDIRS = $(SUBDIRS)
159 all: all-recursive
161 .SUFFIXES:
162 .SUFFIXES: .dvi .info .pdf .ps .texi
164 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
165 configure.lineno
166 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
167 cd $(top_srcdir) && \
168 $(AUTOMAKE) --gnu Makefile
169 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
170 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
172 $(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
173 $(SHELL) ./config.status --recheck
174 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
175 cd $(srcdir) && $(AUTOCONF)
177 $(ACLOCAL_M4): configure.in
178 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
179 binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
180 install-binSCRIPTS: $(bin_SCRIPTS)
181 @$(NORMAL_INSTALL)
182 $(mkinstalldirs) $(DESTDIR)$(bindir)
183 @list='$(bin_SCRIPTS)'; for p in $$list; do \
184 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
185 if test -f $$d$$p; then \
186 f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
187 echo " $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f"; \
188 $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f; \
189 else :; fi; \
190 done
192 uninstall-binSCRIPTS:
193 @$(NORMAL_UNINSTALL)
194 @list='$(bin_SCRIPTS)'; for p in $$list; do \
195 f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
196 echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
197 rm -f $(DESTDIR)$(bindir)/$$f; \
198 done
200 .texi.info:
201 @rm -f $@ $@-[0-9] $@-[0-9][0-9] $(@:.info=).i[0-9] $(@:.info=).i[0-9][0-9]
202 $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
203 -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
205 .texi.dvi:
206 TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
207 MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
208 $(TEXI2DVI) `test -f '$<' || echo '$(srcdir)/'`$<
210 .texi.pdf:
211 TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
212 MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
213 $(TEXI2PDF) `test -f '$<' || echo '$(srcdir)/'`$<
214 automake.info: automake.texi version.texi
215 automake.dvi: automake.texi version.texi
216 automake.pdf: automake.texi version.texi
217 version.texi: stamp-vti
218 stamp-vti: automake.texi $(top_srcdir)/configure
219 @(dir=.; test -f ./automake.texi || dir=$(srcdir); \
220 set `$(SHELL) $(top_srcdir)/lib/mdate-sh $$dir/automake.texi`; \
221 echo "@set UPDATED $$1 $$2 $$3"; \
222 echo "@set UPDATED-MONTH $$2 $$3"; \
223 echo "@set EDITION $(VERSION)"; \
224 echo "@set VERSION $(VERSION)") > vti.tmp
225 @cmp -s vti.tmp version.texi \
226 || (echo "Updating version.texi"; \
227 cp vti.tmp version.texi)
228 -@rm -f vti.tmp
229 @cp version.texi $@
231 mostlyclean-vti:
232 -rm -f vti.tmp
234 maintainer-clean-vti:
235 -rm -f stamp-vti version.texi
236 TEXI2DVI = texi2dvi
238 TEXI2PDF = $(TEXI2DVI) --pdf --batch
239 DVIPS = dvips
240 .dvi.ps:
241 $(DVIPS) -o $@ $<
243 uninstall-info-am:
244 $(PRE_UNINSTALL)
245 @if (install-info --version && \
246 install-info --version | grep -i -v debian) >/dev/null 2>&1; then \
247 list='$(INFO_DEPS)'; \
248 for file in $$list; do \
249 relfile=`echo "$$file" | sed 's|^.*/||'`; \
250 echo " install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$relfile"; \
251 install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$relfile; \
252 done; \
253 else :; fi
254 @$(NORMAL_UNINSTALL)
255 @list='$(INFO_DEPS)'; \
256 for file in $$list; do \
257 relfile=`echo "$$file" | sed 's|^.*/||'`; \
258 relfile_i=`echo "$$relfile" | sed 's|\.info$$||;s|$$|.i|'`; \
259 (if cd $(DESTDIR)$(infodir); then \
260 echo " rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9])"; \
261 rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9]; \
262 else :; fi); \
263 done
265 dist-info: $(INFO_DEPS)
266 list='$(INFO_DEPS)'; \
267 for base in $$list; do \
268 if test -f $$base; then d=.; else d=$(srcdir); fi; \
269 for file in $$d/$$base*; do \
270 relfile=`expr "$$file" : "$$d/\(.*\)"`; \
271 test -f $(distdir)/$$relfile || \
272 cp -p $$file $(distdir)/$$relfile; \
273 done; \
274 done
276 mostlyclean-aminfo:
277 -rm -f automake.aux automake.cm automake.cp automake.cps automake.cv \
278 automake.fn automake.ky automake.kys automake.log automake.op \
279 automake.ov automake.pg automake.pgs automake.tmp \
280 automake.toc automake.tp automake.tps automake.tr automake.vr \
281 automake.vrs automake.dvi automake.pdf automake.ps
283 maintainer-clean-aminfo:
284 @list='$(INFO_DEPS)'; for i in $$list; do \
285 i_i=`echo "$$i" | sed 's|\.info$$||;s|$$|.i|'`; \
286 echo " rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]"; \
287 rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]; \
288 done
290 # This directory's subdirectories are mostly independent; you can cd
291 # into them and run `make' without going through this Makefile.
292 # To change the values of `make' variables: instead of editing Makefiles,
293 # (1) if the variable is set in `config.status', edit `config.status'
294 # (which will cause the Makefiles to be regenerated when you run `make');
295 # (2) otherwise, pass the desired values on the `make' command line.
296 $(RECURSIVE_TARGETS):
297 @set fnord $$MAKEFLAGS; amf=$$2; \
298 dot_seen=no; \
299 target=`echo $@ | sed s/-recursive//`; \
300 list='$(SUBDIRS)'; for subdir in $$list; do \
301 echo "Making $$target in $$subdir"; \
302 if test "$$subdir" = "."; then \
303 dot_seen=yes; \
304 local_target="$$target-am"; \
305 else \
306 local_target="$$target"; \
307 fi; \
308 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
309 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
310 done; \
311 if test "$$dot_seen" = "no"; then \
312 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
313 fi; test -z "$$fail"
315 mostlyclean-recursive clean-recursive distclean-recursive \
316 maintainer-clean-recursive:
317 @set fnord $$MAKEFLAGS; amf=$$2; \
318 dot_seen=no; \
319 case "$@" in \
320 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
321 *) list='$(SUBDIRS)' ;; \
322 esac; \
323 rev=''; for subdir in $$list; do \
324 if test "$$subdir" = "."; then :; else \
325 rev="$$subdir $$rev"; \
326 fi; \
327 done; \
328 rev="$$rev ."; \
329 target=`echo $@ | sed s/-recursive//`; \
330 for subdir in $$rev; do \
331 echo "Making $$target in $$subdir"; \
332 if test "$$subdir" = "."; then \
333 local_target="$$target-am"; \
334 else \
335 local_target="$$target"; \
336 fi; \
337 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
338 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
339 done && test -z "$$fail"
340 tags-recursive:
341 list='$(SUBDIRS)'; for subdir in $$list; do \
342 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
343 done
344 ctags-recursive:
345 list='$(SUBDIRS)'; for subdir in $$list; do \
346 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
347 done
349 ETAGS = etags
350 ETAGSFLAGS =
352 CTAGS = ctags
353 CTAGSFLAGS =
355 tags: TAGS
357 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
358 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
359 unique=`for i in $$list; do \
360 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
361 done | \
362 $(AWK) ' { files[$$0] = 1; } \
363 END { for (i in files) print i; }'`; \
364 mkid -fID $$unique
366 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
367 $(TAGS_FILES) $(LISP)
368 tags=; \
369 here=`pwd`; \
370 if (etags --etags-include --version) >/dev/null 2>&1; then \
371 include_option=--etags-include; \
372 else \
373 include_option=--include; \
374 fi; \
375 list='$(SUBDIRS)'; for subdir in $$list; do \
376 if test "$$subdir" = .; then :; else \
377 test -f $$subdir/TAGS && \
378 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
379 fi; \
380 done; \
381 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
382 unique=`for i in $$list; do \
383 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
384 done | \
385 $(AWK) ' { files[$$0] = 1; } \
386 END { for (i in files) print i; }'`; \
387 test -z "$(ETAGS_ARGS)$$tags$$unique" \
388 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
389 $$tags $$unique
391 ctags: CTAGS
392 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
393 $(TAGS_FILES) $(LISP)
394 tags=; \
395 here=`pwd`; \
396 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
397 unique=`for i in $$list; do \
398 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
399 done | \
400 $(AWK) ' { files[$$0] = 1; } \
401 END { for (i in files) print i; }'`; \
402 test -z "$(CTAGS_ARGS)$$tags$$unique" \
403 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
404 $$tags $$unique
406 GTAGS:
407 here=`$(am__cd) $(top_builddir) && pwd` \
408 && cd $(top_srcdir) \
409 && gtags -i $(GTAGS_ARGS) $$here
411 distclean-tags:
412 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
413 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
415 top_distdir = .
416 distdir = $(PACKAGE)-$(VERSION)
418 am__remove_distdir = \
419 { test ! -d $(distdir) \
420 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
421 && rm -fr $(distdir); }; }
423 GZIP_ENV = --best
424 distuninstallcheck_listfiles = find . -type f -print
425 distcleancheck_listfiles = find . -type f -print
427 distdir: $(DISTFILES)
428 $(am__remove_distdir)
429 mkdir $(distdir)
430 $(mkinstalldirs) $(distdir)/m4 $(distdir)/tests
431 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
432 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
433 list='$(DISTFILES)'; for file in $$list; do \
434 case $$file in \
435 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
436 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
437 esac; \
438 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
439 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
440 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
441 dir="/$$dir"; \
442 $(mkinstalldirs) "$(distdir)$$dir"; \
443 else \
444 dir=''; \
445 fi; \
446 if test -d $$d/$$file; then \
447 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
448 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
449 fi; \
450 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
451 else \
452 test -f $(distdir)/$$file \
453 || cp -p $$d/$$file $(distdir)/$$file \
454 || exit 1; \
455 fi; \
456 done
457 list='$(SUBDIRS)'; for subdir in $$list; do \
458 if test "$$subdir" = .; then :; else \
459 test -d $(distdir)/$$subdir \
460 || mkdir $(distdir)/$$subdir \
461 || exit 1; \
462 (cd $$subdir && \
463 $(MAKE) $(AM_MAKEFLAGS) \
464 top_distdir="$(top_distdir)" \
465 distdir=../$(distdir)/$$subdir \
466 distdir) \
467 || exit 1; \
468 fi; \
469 done
470 $(MAKE) $(AM_MAKEFLAGS) \
471 top_distdir="$(top_distdir)" distdir="$(distdir)" \
472 dist-info
473 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
474 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
475 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
476 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
477 || chmod -R a+r $(distdir)
478 dist-gzip: distdir
479 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
480 $(am__remove_distdir)
482 dist-bzip2: distdir
483 $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
484 $(am__remove_distdir)
486 dist dist-all: distdir
487 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
488 $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
489 $(am__remove_distdir)
491 # This target untars the dist file and tries a VPATH configuration. Then
492 # it guarantees that the distribution is self-contained by making another
493 # tarfile.
494 distcheck: dist
495 $(am__remove_distdir)
496 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
497 chmod -R a-w $(distdir); chmod a+w $(distdir)
498 mkdir $(distdir)/_build
499 mkdir $(distdir)/_inst
500 chmod a-w $(distdir)
501 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
502 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
503 && cd $(distdir)/_build \
504 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
505 $(DISTCHECK_CONFIGURE_FLAGS) \
506 && $(MAKE) $(AM_MAKEFLAGS) \
507 && $(MAKE) $(AM_MAKEFLAGS) dvi \
508 && $(MAKE) $(AM_MAKEFLAGS) check \
509 && $(MAKE) $(AM_MAKEFLAGS) install \
510 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
511 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
512 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
513 distuninstallcheck \
514 && chmod -R a-w "$$dc_install_base" \
515 && ({ \
516 (cd ../.. && $(mkinstalldirs) "$$dc_destdir") \
517 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
518 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
519 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
520 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
521 } || { rm -rf "$$dc_destdir"; exit 1; }) \
522 && rm -rf "$$dc_destdir" \
523 && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
524 && rm -f $(distdir).tar.gz \
525 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
526 $(am__remove_distdir)
527 @echo "$(distdir).tar.gz is ready for distribution" | \
528 sed 'h;s/./=/g;p;x;p;x'
529 distuninstallcheck:
530 @cd $(distuninstallcheck_dir) \
531 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
532 || { echo "ERROR: files left after uninstall:" ; \
533 if test -n "$(DESTDIR)"; then \
534 echo " (check DESTDIR support)"; \
535 fi ; \
536 $(distuninstallcheck_listfiles) ; \
537 exit 1; } >&2
538 distcleancheck: distclean
539 @if test '$(srcdir)' = . ; then \
540 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
541 exit 1 ; \
543 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
544 || { echo "ERROR: files left in build directory after distclean:" ; \
545 $(distcleancheck_listfiles) ; \
546 exit 1; } >&2
547 check-am: all-am
548 check: check-recursive
549 all-am: Makefile $(INFO_DEPS) $(SCRIPTS)
550 installdirs: installdirs-recursive
551 installdirs-am:
552 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(infodir)
554 install: install-recursive
555 install-exec: install-exec-recursive
556 install-data: install-data-recursive
557 uninstall: uninstall-recursive
559 install-am: all-am
560 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
562 installcheck: installcheck-recursive
563 install-strip:
564 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
565 INSTALL_STRIP_FLAG=-s \
566 `test -z '$(STRIP)' || \
567 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
568 mostlyclean-generic:
570 clean-generic:
571 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
573 distclean-generic:
574 -rm -f Makefile $(CONFIG_CLEAN_FILES)
576 maintainer-clean-generic:
577 @echo "This command is intended for maintainers to use"
578 @echo "it deletes files that may require special tools to rebuild."
579 clean: clean-recursive
581 clean-am: clean-generic mostlyclean-am
583 distclean: distclean-recursive
584 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
585 distclean-am: clean-am distclean-generic distclean-tags
587 dvi: dvi-recursive
589 dvi-am: $(DVIS)
591 info: info-recursive
593 info-am: $(INFO_DEPS)
595 install-data-am: install-info-am
597 install-exec-am: install-binSCRIPTS
598 @$(NORMAL_INSTALL)
599 $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
601 install-info: install-info-recursive
603 install-info-am: $(INFO_DEPS)
604 @$(NORMAL_INSTALL)
605 $(mkinstalldirs) $(DESTDIR)$(infodir)
606 @list='$(INFO_DEPS)'; \
607 for file in $$list; do \
608 if test -f $$file; then d=.; else d=$(srcdir); fi; \
609 file_i=`echo "$$file" | sed 's|\.info$$||;s|$$|.i|'`; \
610 for ifile in $$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9] \
611 $$d/$$file_i[0-9] $$d/$$file_i[0-9][0-9] ; do \
612 if test -f $$ifile; then \
613 relfile=`echo "$$ifile" | sed 's|^.*/||'`; \
614 echo " $(INSTALL_DATA) $$ifile $(DESTDIR)$(infodir)/$$relfile"; \
615 $(INSTALL_DATA) $$ifile $(DESTDIR)$(infodir)/$$relfile; \
616 else : ; fi; \
617 done; \
618 done
619 @$(POST_INSTALL)
620 @if (install-info --version && \
621 install-info --version | grep -i -v debian) >/dev/null 2>&1; then \
622 list='$(INFO_DEPS)'; \
623 for file in $$list; do \
624 relfile=`echo "$$file" | sed 's|^.*/||'`; \
625 echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$relfile";\
626 install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$relfile || :;\
627 done; \
628 else : ; fi
629 install-man:
631 installcheck-am:
633 maintainer-clean: maintainer-clean-recursive
634 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
635 -rm -rf autom4te.cache
636 maintainer-clean-am: distclean-am maintainer-clean-aminfo \
637 maintainer-clean-generic maintainer-clean-vti
639 mostlyclean: mostlyclean-recursive
641 mostlyclean-am: mostlyclean-aminfo mostlyclean-generic mostlyclean-vti
643 pdf: pdf-recursive
645 pdf-am: $(PDFS)
647 ps: ps-recursive
649 ps-am: $(PSS)
651 uninstall-am: uninstall-binSCRIPTS uninstall-info-am
652 @$(NORMAL_INSTALL)
653 $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
655 uninstall-info: uninstall-info-recursive
657 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \
658 clean-generic clean-recursive ctags ctags-recursive dist \
659 dist-all dist-bzip2 dist-gzip dist-info distcheck distclean \
660 distclean-generic distclean-recursive distclean-tags \
661 distcleancheck distdir distuninstallcheck dvi dvi-am \
662 dvi-recursive info info-am info-recursive install install-am \
663 install-binSCRIPTS install-data install-data-am \
664 install-data-recursive install-exec install-exec-am \
665 install-exec-recursive install-info install-info-am \
666 install-info-recursive install-man install-recursive \
667 install-strip installcheck installcheck-am installdirs \
668 installdirs-am installdirs-recursive maintainer-clean \
669 maintainer-clean-aminfo maintainer-clean-generic \
670 maintainer-clean-recursive maintainer-clean-vti mostlyclean \
671 mostlyclean-aminfo mostlyclean-generic mostlyclean-recursive \
672 mostlyclean-vti pdf pdf-am pdf-recursive ps ps-am ps-recursive \
673 tags tags-recursive uninstall uninstall-am uninstall-binSCRIPTS \
674 uninstall-info-am uninstall-info-recursive uninstall-recursive
677 install-exec-hook:
678 @$(POST_INSTALL)
679 @for p in $(bin_SCRIPTS); do \
680 f="`echo $$p|sed '$(transform)'`"; \
681 fv="$$f-$(APIVERSION)"; \
682 rm -f $(DESTDIR)$(bindir)/$$fv; \
683 echo " $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv"; \
684 $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv; \
685 done
687 uninstall-hook:
688 @for p in $(bin_SCRIPTS); do \
689 f="`echo $$p|sed '$(transform)'`"; \
690 fv="$$f-$(APIVERSION)"; \
691 rm -f $(DESTDIR)$(bindir)/$$fv; \
692 done
694 automake: automake.in Makefile
695 $(do_subst) < $(srcdir)/automake.in > automake
696 chmod +x automake
698 aclocal: aclocal.in Makefile
699 $(do_subst) < $(srcdir)/aclocal.in > aclocal
700 chmod +x aclocal
702 INSTALL: lib/INSTALL
703 cp lib/INSTALL $@
705 ################################################################
707 # Some simple checks, and then ordinary check. These are only really
708 # guaranteed to work on my machine.
709 maintainer-check: automake aclocal
710 @if test `diff $(srcdir)/automake.in automake | wc -l` -ne 28; then \
711 echo "found too many diffs between automake.in and automake"; 1>&2; \
712 diff -c $(srcdir)/automake.in automake; \
713 exit 1; \
715 perllibdir=$(srcdir)/lib $(PERL) -c -w automake
716 perllibdir=$(srcdir)/lib $(PERL) -c -w aclocal
717 @if grep -F '$${' $(srcdir)/lib/am/[a-z]*.am | \
718 grep -F -v '$$$$'; then \
719 echo "Found too many uses of '\$${' in the lines above." 1>&2; \
720 exit 1; \
721 else :; fi
722 @if grep -E '\<rm ([^-]|\-[^f ]*\>)' \
723 $(srcdir)/lib/am/[a-z]*.am $(srcdir)/tests/*.test | \
724 grep -v '##'; then \
725 echo "Suspicious 'rm' invocation." 1>&2; \
726 exit 1; \
727 else :; fi
728 @if grep 'for .* in \$$(' $(srcdir)/lib/am/[a-z]*.am; then \
729 echo 'Use "list=$$(mumble); for var in $$$$list".' 1>&2 ; \
730 exit 1; \
731 else :; fi
732 @if grep -n 'mkinstalldirs' $(srcdir)/lib/am/[a-z]*.am | \
733 grep -F -v '$$(mkinstalldirs)'; then \
734 echo "Found incorrect use of mkinstalldirs in the lines above" 1>&2; \
735 exit 1; \
736 else :; fi
737 @if grep -n -w 'undef ' $(srcdir)/automake.in | \
738 grep -F -v 'undef $$/'; then \
739 echo "Found undef in automake.in; use delete instead" 1>&2; \
740 exit 1; \
742 @if grep -n 'split (/ /' $(srcdir)/automake.in; then \
743 echo "Found bad split in the lines above." 1>&2; \
744 exit 1; \
746 @if grep -n '^[^#]*` *cd ' $(srcdir)/automake.in \
747 $(srcdir)/lib/am/*.am; then \
748 echo "Consider using $$$$(am__cd) in the line above." 1>&2; \
749 exit 1; \
751 @if grep -Hn '[^) ] *= *@_' $(srcdir)/automake.in; then \
752 echo "Using @_ in a scalar context in the lines above." 1>&2; \
753 exit 1; \
755 @if grep '^[ \t]*local *(' $(srcdir)/automake.in; then \
756 echo "Don't use \`local' with parens: use several \`local' above." >&2; \
757 exit 1; \
759 @locals=`grep -v '^[ \t]*local \$$_;' $(srcdir)/automake.in | \
760 grep -c '^[ \t]*local [^*]'`; \
761 case $$locals in \
762 [0] ) \
763 echo "Wow, congrats! There are no \`local' now!." >&2; \
764 echo "Please update Makefile.am (maintainer-check)." >&2; \
765 exit 1; \
766 ;; \
767 1 ) ;; \
768 * ) \
769 echo "Too many \`local'! Are you sure you need $$locals of them?" >&2; \
770 echo "Up to now 1 was enough." >&2; \
771 exit 1; \
772 ;; \
773 esac
774 @if grep '@AMDEP''_TRUE@' $(srcdir)/automake.in; then \
775 echo "Don't put AMDEP_TRUE substitution in automake.in" 1>&2; \
776 exit 1; \
778 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*make'; then \
779 echo 'Do not run "make" in the above tests. Use "$$MAKE" instead.' 1>&2; \
780 exit 1; \
782 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*autoconf'; then \
783 echo 'Do not run "autoconf" in the above tests. Use "$$AUTOCONF" instead.' 1>&2; \
784 exit 1; \
786 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*autoupdate'; then \
787 echo 'Do not run "autoupdate" in the above tests. Use "$$AUTOUPDATE" instead.' 1>&2; \
788 exit 1; \
790 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*automake'; then \
791 echo 'Do not run "automake" in the above tests. Use "$$AUTOMAKE" instead.' 1>&2; \
792 exit 1; \
794 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*aclocal'; then \
795 echo 'Do not run "aclocal" in the above tests. Use "$$ACLOCAL" instead.' 1>&2; \
796 exit 1; \
798 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*perl'; then \
799 echo 'Do not run "perl" in the above tests. Use "$$PERL" instead.' 1>&2; \
800 exit 1; \
802 @if grep -E '\$$MAKE .*(SHELL=.*=|=.*SHELL=)' $(srcdir)/tests/*.test; then \
803 echo 'Rewrite "$$MAKE foo=bar SHELL=$$SHELL" as "foo=bar $$MAKE -e SHELL=$$SHELL"' 1>&2; \
804 echo ' in the above lines, it is more portable.' 1>&2; \
805 exit 1; \
807 @if grep -v SHELL $(srcdir)/tests/*.test | grep '\$$MAKE .*=' ; then \
808 echo 'Rewrite "$$MAKE foo=bar" as "foo=bar $$MAKE -e" in the above lines,' 1>&2; \
809 echo 'it is more portable.' 1>&2; \
810 exit 1; \
812 @if grep 'SHELL=.*\$$MAKE' $(srcdir)/tests/*.test; then \
813 echo '$$MAKE ignores the SHELL envvar, use "$$MAKE SHELL=$$SHELL" in' 1>&2; \
814 echo 'the above lines.' 1>&2; \
815 exit 1; \
817 @if grep -E '\bsleep +[12345]\b' $(srcdir)/tests/*.test; then \
818 echo 'Do not use "sleep x" in the above tests. Use "$$sleep" instead.' 1>&2; \
819 exit 1; \
821 @if grep -E '\b[ef]grep\b' $(srcdir)/tests/*.test ; then \
822 echo 'Do not use egrep or fgrep in test cases. Use $$FGREP or $$EGREP.' 1>&2; \
823 exit 1; \
825 @if grep -E '\b[ef]grep\b' $(srcdir)/lib/am/*.am $(srcdir)/m4/*.m4; then \
826 echo 'Do not use egrep or fgrep in the above files, they are not portable.' 1>&2; \
827 exit 1; \
829 @if test `grep -E '@[A-Za-z_0-9]+@' aclocal | wc -l` -ne 0; then \
830 echo "Unresolved @...@ substitution in aclocal" 1>&2; \
831 exit 1; \
833 @if test `grep -E '@[A-Za-z_0-9]+@' automake | wc -l` -ne 4; then \
834 echo "Unresolved @...@ substitution in aclocal" 1>&2; \
835 exit 1; \
838 # Tag before making distribution. Also, don't make a distribution if
839 # checks fail. Also, make sure the NEWS file is up-to-date.
840 cvs-dist: maintainer-check distcheck
841 @if sed 1q $(srcdir)/NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
842 echo "NEWS not updated; not releasing" 1>&2; \
843 exit 1; \
845 cd $(srcdir) && cvs -q tag `echo "Release-$(VERSION)" | sed 's/\./-/g'`
846 $(MAKE) dist
848 cvs-diff:
849 thisver=`echo "Release-$(VERSION)" | sed 's/\./-/g'`; \
850 if test -z "$$OLDVERSION"; then \
851 prevno=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
852 else prevno="$$OLDVERSION"; fi; \
853 prevver=Release-`echo $$prevno | sed 's/\./-/g'`; \
854 cvs -f rdiff -c -r $$prevver -r $$thisver $(PACKAGE) \
855 > $(PACKAGE)-$$prevno-$(VERSION).diff
857 path-check: distdir
858 (cd $(distdir) && \
859 find . -print | xargs pathchk -p); \
860 status=$$?; \
861 chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir); \
862 exit $$status
864 fetch:
865 rm -rf Fetchdir > /dev/null 2>&1
866 mkdir Fetchdir; mkdir Fetchdir/Automake
867 (cd Fetchdir && \
868 $(WGET) ftp://ftp.gnu.org/gnu/config/config.guess; \
869 $(WGET) ftp://ftp.gnu.org/gnu/config/config.sub; \
870 $(WGET) ftp://ftp.gnu.org/gnu/texinfo/texinfo.tex; \
871 $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/autoconf/autoconf/lib/Autom4te/Struct.pm?content-type=text/plain -O Automake/Struct.pm; \
872 $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/autoconf/autoconf/lib/Autom4te/XFile.pm?content-type=text/plain -O Automake/XFile.pm; \
873 $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/autoconf/autoconf/INSTALL?content-type=text/plain -O INSTALL)
874 perl -pi -e 's/Autom4te::/Automake::/g' \
875 Fetchdir/Automake/Struct.pm Fetchdir/Automake/XFile.pm
876 @stat=0; for file in $(FETCHFILES); do \
877 if diff -u $(srcdir)/lib/$$file Fetchdir/$$file \
878 >>Fetchdir/update.patch 2>/dev/null; then :; \
879 else \
880 stat=1; \
881 echo "Updating $(srcdir)/lib/$$file..."; \
882 cp Fetchdir/$$file $(srcdir)/lib/$$file; \
883 fi; \
884 done; \
885 test $$stat = 1 && \
886 echo "See Fetchdir/update.patch for a log of the changes."; \
887 exit $$stat
888 # Tell versions [3.59,3.63) of GNU make to not export all variables.
889 # Otherwise a system limit (for SysV at least) may be exceeded.
890 .NOEXPORT: