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