2006-01-12 Alexandre Duret-Lutz <adl@gnu.org>
[automake.git] / Makefile.in
blobe58f780c867410e37a239b053d0ca3e729bb059e
1 # Makefile.in generated by automake 1.9a from Makefile.am.
2 # @configure_input@
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005 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 VPATH = @srcdir@
18 pkgdatadir = $(datadir)/@PACKAGE@
19 pkglibdir = $(libdir)/@PACKAGE@
20 pkgincludedir = $(includedir)/@PACKAGE@
21 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
22 install_sh_DATA = $(install_sh) -c -m 644
23 install_sh_PROGRAM = $(install_sh) -c
24 install_sh_SCRIPT = $(install_sh) -c
25 INSTALL_HEADER = $(INSTALL_DATA)
26 transform = $(program_transform_name)
27 NORMAL_INSTALL = :
28 PRE_INSTALL = :
29 POST_INSTALL = :
30 NORMAL_UNINSTALL = :
31 PRE_UNINSTALL = :
32 POST_UNINSTALL = :
33 build_triplet = @build@
34 subdir = .
35 DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
36 $(srcdir)/Makefile.in $(top_srcdir)/configure AUTHORS COPYING \
37 ChangeLog INSTALL NEWS THANKS TODO
38 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
39 am__aclocal_m4_deps = $(top_srcdir)/m4/amversion.m4 \
40 $(top_srcdir)/m4/auxdir.m4 $(top_srcdir)/m4/init.m4 \
41 $(top_srcdir)/m4/install-sh.m4 $(top_srcdir)/m4/lead-dot.m4 \
42 $(top_srcdir)/m4/missing.m4 $(top_srcdir)/m4/mkdirp.m4 \
43 $(top_srcdir)/m4/options.m4 $(top_srcdir)/m4/runlog.m4 \
44 $(top_srcdir)/m4/sanity.m4 $(top_srcdir)/m4/strip.m4 \
45 $(top_srcdir)/m4/tar.m4 $(top_srcdir)/configure.ac
46 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
47 $(ACLOCAL_M4)
48 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
49 configure.lineno configure.status.lineno
50 mkinstalldirs = $(SHELL) $(top_srcdir)/lib/mkinstalldirs
51 CONFIG_CLEAN_FILES =
52 am__installdirs = "$(DESTDIR)$(bindir)"
53 binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
54 SCRIPTS = $(bin_SCRIPTS)
55 SOURCES =
56 DIST_SOURCES =
57 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
58 html-recursive info-recursive install-data-recursive \
59 install-dvi-recursive install-exec-recursive \
60 install-html-recursive install-info-recursive \
61 install-pdf-recursive install-ps-recursive install-recursive \
62 installcheck-recursive installdirs-recursive pdf-recursive \
63 ps-recursive uninstall-recursive
64 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
65 distclean-recursive maintainer-clean-recursive
66 ETAGS = etags
67 CTAGS = ctags
68 DIST_SUBDIRS = $(SUBDIRS)
69 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
70 distdir = $(PACKAGE)-$(VERSION)
71 top_distdir = $(distdir)
72 am__remove_distdir = \
73 { test ! -d $(distdir) \
74 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
75 && rm -fr $(distdir); }; }
76 DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
77 GZIP_ENV = --best
78 distuninstallcheck_listfiles = find . -type f -print
79 distcleancheck_listfiles = find . -type f -print
80 ACLOCAL = @ACLOCAL@
81 AMTAR = @AMTAR@
82 APIVERSION = @APIVERSION@
83 AUTOCONF = @AUTOCONF@
84 AUTOHEADER = @AUTOHEADER@
85 AUTOMAKE = @AUTOMAKE@
86 AWK = @AWK@
87 CYGPATH_W = @CYGPATH_W@
88 DEFS = @DEFS@
89 ECHO_C = @ECHO_C@
90 ECHO_N = @ECHO_N@
91 ECHO_T = @ECHO_T@
92 EGREP = @EGREP@
93 FGREP = @FGREP@
94 GREP = @GREP@
95 INSTALL = @INSTALL@
96 INSTALL_DATA = @INSTALL_DATA@
97 INSTALL_PROGRAM = @INSTALL_PROGRAM@
98 INSTALL_SCRIPT = @INSTALL_SCRIPT@
99 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
100 LIBOBJS = @LIBOBJS@
101 LIBS = @LIBS@
102 LN = @LN@
103 LTLIBOBJS = @LTLIBOBJS@
104 MAKEINFO = @MAKEINFO@
105 MODIFICATION_DELAY = @MODIFICATION_DELAY@
106 PACKAGE = @PACKAGE@
107 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
108 PACKAGE_NAME = @PACKAGE_NAME@
109 PACKAGE_STRING = @PACKAGE_STRING@
110 PACKAGE_TARNAME = @PACKAGE_TARNAME@
111 PACKAGE_VERSION = @PACKAGE_VERSION@
112 PATH_SEPARATOR = @PATH_SEPARATOR@
113 PERL = @PERL@
114 SET_MAKE = @SET_MAKE@
115 SHELL = @SHELL@
116 STRIP = @STRIP@
117 TEX = @TEX@
118 VERSION = @VERSION@
119 abs_builddir = @abs_builddir@
120 abs_srcdir = @abs_srcdir@
121 abs_top_builddir = @abs_top_builddir@
122 abs_top_srcdir = @abs_top_srcdir@
123 am_AUTOCONF = @am_AUTOCONF@
124 am__leading_dot = @am__leading_dot@
125 am__tar = @am__tar@
126 am__untar = @am__untar@
127 bindir = @bindir@
128 build = @build@
129 build_alias = @build_alias@
130 build_cpu = @build_cpu@
131 build_os = @build_os@
132 build_vendor = @build_vendor@
133 builddir = @builddir@
134 datadir = @datadir@
135 datarootdir = @datarootdir@
136 docdir = @docdir@
137 dvidir = @dvidir@
138 exec_prefix = @exec_prefix@
139 host_alias = @host_alias@
140 htmldir = @htmldir@
141 includedir = @includedir@
142 infodir = @infodir@
143 install_sh = @install_sh@
144 libdir = @libdir@
145 libexecdir = @libexecdir@
146 localedir = @localedir@
147 localstatedir = @localstatedir@
148 mandir = @mandir@
149 mkdir_p = @mkdir_p@
150 oldincludedir = @oldincludedir@
151 pdfdir = @pdfdir@
152 pkgvdatadir = @pkgvdatadir@
153 prefix = @prefix@
154 program_transform_name = @program_transform_name@
155 psdir = @psdir@
156 sbindir = @sbindir@
157 sharedstatedir = @sharedstatedir@
158 srcdir = @srcdir@
159 sysconfdir = @sysconfdir@
160 target_alias = @target_alias@
161 top_builddir = @top_builddir@
162 top_srcdir = @top_srcdir@
163 SUBDIRS = . doc m4 lib tests
164 bin_SCRIPTS = automake aclocal
165 CLEANFILES = $(bin_SCRIPTS)
166 AUTOMAKESOURCES = automake.in aclocal.in
167 TAGS_FILES = $(AUTOMAKESOURCES)
168 EXTRA_DIST = \
169 ChangeLog.96 \
170 ChangeLog.98 \
171 ChangeLog.00 \
172 ChangeLog.01 \
173 ChangeLog.02 \
174 ChangeLog.03 \
175 $(AUTOMAKESOURCES)
177 do_subst = sed \
178 -e 's,[@]APIVERSION[@],$(APIVERSION),g' \
179 -e 's,[@]PACKAGE[@],$(PACKAGE),g' \
180 -e 's,[@]PATH_SEPARATOR[@],$(PATH_SEPARATOR),g' \
181 -e 's,[@]PERL[@],$(PERL),g' \
182 -e 's,[@]SHELL[@],$(SHELL),g' \
183 -e 's,[@]VERSION[@],$(VERSION),g' \
184 -e 's,[@]configure_input[@],Generated from $@.in; do not edit by hand.,g' \
185 -e 's,[@]datadir[@],$(datadir),g'
187 WGET = wget
188 WGETSGO = $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~
189 FETCHFILES = \
190 INSTALL \
191 config-ml.in \
192 config.guess \
193 config.sub \
194 symlink-tree \
195 texinfo.tex
197 all: all-recursive
199 .SUFFIXES:
200 am--refresh:
202 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
203 @for dep in $?; do \
204 case '$(am__configure_deps)' in \
205 *$$dep*) \
206 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
207 cd $(srcdir) && $(AUTOMAKE) --gnu \
208 && exit 0; \
209 exit 1;; \
210 esac; \
211 done; \
212 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
213 cd $(top_srcdir) && \
214 $(AUTOMAKE) --gnu Makefile
215 .PRECIOUS: Makefile
216 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
217 @case '$?' in \
218 *config.status*) \
219 echo ' $(SHELL) ./config.status'; \
220 $(SHELL) ./config.status;; \
221 *) \
222 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
223 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
224 esac;
226 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
227 $(SHELL) ./config.status --recheck
229 $(top_srcdir)/configure: $(am__configure_deps)
230 cd $(srcdir) && $(AUTOCONF)
231 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
232 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
233 install-binSCRIPTS: $(bin_SCRIPTS)
234 @$(NORMAL_INSTALL)
235 test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
236 @list='$(bin_SCRIPTS)'; for p in $$list; do \
237 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
238 if test -f $$d$$p; then \
239 f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
240 echo " $(binSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(bindir)/$$f'"; \
241 $(binSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(bindir)/$$f"; \
242 else :; fi; \
243 done
245 uninstall-binSCRIPTS:
246 @$(NORMAL_UNINSTALL)
247 @list='$(bin_SCRIPTS)'; for p in $$list; do \
248 f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
249 echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
250 rm -f "$(DESTDIR)$(bindir)/$$f"; \
251 done
253 # This directory's subdirectories are mostly independent; you can cd
254 # into them and run `make' without going through this Makefile.
255 # To change the values of `make' variables: instead of editing Makefiles,
256 # (1) if the variable is set in `config.status', edit `config.status'
257 # (which will cause the Makefiles to be regenerated when you run `make');
258 # (2) otherwise, pass the desired values on the `make' command line.
259 $(RECURSIVE_TARGETS):
260 @failcom='exit 1'; \
261 for f in x $$MAKEFLAGS; do \
262 case $$f in \
263 *=* | --[!k]*);; \
264 *k*) failcom='fail=yes';; \
265 esac; \
266 done; \
267 dot_seen=no; \
268 target=`echo $@ | sed s/-recursive//`; \
269 list='$(SUBDIRS)'; for subdir in $$list; do \
270 echo "Making $$target in $$subdir"; \
271 if test "$$subdir" = "."; then \
272 dot_seen=yes; \
273 local_target="$$target-am"; \
274 else \
275 local_target="$$target"; \
276 fi; \
277 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
278 || eval $$failcom; \
279 done; \
280 if test "$$dot_seen" = "no"; then \
281 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
282 fi; test -z "$$fail"
284 $(RECURSIVE_CLEAN_TARGETS):
285 @failcom='exit 1'; \
286 for f in x $$MAKEFLAGS; do \
287 case $$f in \
288 *=* | --[!k]*);; \
289 *k*) failcom='fail=yes';; \
290 esac; \
291 done; \
292 dot_seen=no; \
293 case "$@" in \
294 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
295 *) list='$(SUBDIRS)' ;; \
296 esac; \
297 rev=''; for subdir in $$list; do \
298 if test "$$subdir" = "."; then :; else \
299 rev="$$subdir $$rev"; \
300 fi; \
301 done; \
302 rev="$$rev ."; \
303 target=`echo $@ | sed s/-recursive//`; \
304 for subdir in $$rev; do \
305 echo "Making $$target in $$subdir"; \
306 if test "$$subdir" = "."; then \
307 local_target="$$target-am"; \
308 else \
309 local_target="$$target"; \
310 fi; \
311 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
312 || eval $$failcom; \
313 done && test -z "$$fail"
314 tags-recursive:
315 list='$(SUBDIRS)'; for subdir in $$list; do \
316 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
317 done
318 ctags-recursive:
319 list='$(SUBDIRS)'; for subdir in $$list; do \
320 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
321 done
323 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
324 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
325 unique=`for i in $$list; do \
326 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
327 done | \
328 $(AWK) ' { files[$$0] = 1; } \
329 END { for (i in files) print i; }'`; \
330 mkid -fID $$unique
331 tags: TAGS
333 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
334 $(TAGS_FILES) $(LISP)
335 tags=; \
336 here=`pwd`; \
337 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
338 include_option=--etags-include; \
339 empty_fix=.; \
340 else \
341 include_option=--include; \
342 empty_fix=; \
343 fi; \
344 list='$(SUBDIRS)'; for subdir in $$list; do \
345 if test "$$subdir" = .; then :; else \
346 test ! -f $$subdir/TAGS || \
347 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
348 fi; \
349 done; \
350 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
351 unique=`for i in $$list; do \
352 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
353 done | \
354 $(AWK) ' { files[$$0] = 1; } \
355 END { for (i in files) print i; }'`; \
356 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
357 test -n "$$unique" || unique=$$empty_fix; \
358 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
359 $$tags $$unique; \
361 ctags: CTAGS
362 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
363 $(TAGS_FILES) $(LISP)
364 tags=; \
365 here=`pwd`; \
366 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
367 unique=`for i in $$list; do \
368 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
369 done | \
370 $(AWK) ' { files[$$0] = 1; } \
371 END { for (i in files) print i; }'`; \
372 test -z "$(CTAGS_ARGS)$$tags$$unique" \
373 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
374 $$tags $$unique
376 GTAGS:
377 here=`$(am__cd) $(top_builddir) && pwd` \
378 && cd $(top_srcdir) \
379 && gtags -i $(GTAGS_ARGS) $$here
381 distclean-tags:
382 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
384 distdir: $(DISTFILES)
385 $(am__remove_distdir)
386 mkdir $(distdir)
387 $(mkdir_p) $(distdir)/m4 $(distdir)/tests
388 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
389 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
390 list='$(DISTFILES)'; for file in $$list; do \
391 case $$file in \
392 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
393 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
394 esac; \
395 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
396 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
397 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
398 dir="/$$dir"; \
399 $(mkdir_p) "$(distdir)$$dir"; \
400 else \
401 dir=''; \
402 fi; \
403 if test -d $$d/$$file; then \
404 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
405 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
406 fi; \
407 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
408 else \
409 test -f $(distdir)/$$file \
410 || cp -p $$d/$$file $(distdir)/$$file \
411 || exit 1; \
412 fi; \
413 done
414 list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
415 if test "$$subdir" = .; then :; else \
416 test -d "$(distdir)/$$subdir" \
417 || $(mkdir_p) "$(distdir)/$$subdir" \
418 || exit 1; \
419 distdir=`$(am__cd) $(distdir) && pwd`; \
420 top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
421 (cd $$subdir && \
422 $(MAKE) $(AM_MAKEFLAGS) \
423 top_distdir="$$top_distdir" \
424 distdir="$$distdir/$$subdir" \
425 distdir) \
426 || exit 1; \
427 fi; \
428 done
429 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
430 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
431 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
432 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
433 || chmod -R a+r $(distdir)
434 @if find $(distdir) -type f -print | \
435 grep '^...................................................................................................' 1>&2; then \
436 echo 'error: the above filenames are too long' 1>&2; \
437 exit 1; \
438 else :; fi
439 dist-gzip: distdir
440 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
441 $(am__remove_distdir)
442 dist-bzip2: distdir
443 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
444 $(am__remove_distdir)
446 dist-tarZ: distdir
447 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
448 $(am__remove_distdir)
450 dist-shar: distdir
451 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
452 $(am__remove_distdir)
454 dist-zip: distdir
455 -rm -f $(distdir).zip
456 zip -rq $(distdir).zip $(distdir)
457 $(am__remove_distdir)
459 dist dist-all: distdir
460 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
461 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
462 $(am__remove_distdir)
464 # This target untars the dist file and tries a VPATH configuration. Then
465 # it guarantees that the distribution is self-contained by making another
466 # tarfile.
467 distcheck: dist
468 case '$(DIST_ARCHIVES)' in \
469 *.tar.gz*) \
470 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
471 *.tar.bz2*) \
472 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
473 *.tar.Z*) \
474 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
475 *.shar.gz*) \
476 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
477 *.zip*) \
478 unzip $(distdir).zip ;;\
479 esac
480 chmod -R a-w $(distdir); chmod a+w $(distdir)
481 mkdir $(distdir)/_build
482 mkdir $(distdir)/_inst
483 chmod a-w $(distdir)
484 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
485 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
486 && cd $(distdir)/_build \
487 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
488 $(DISTCHECK_CONFIGURE_FLAGS) \
489 && $(MAKE) $(AM_MAKEFLAGS) \
490 && $(MAKE) $(AM_MAKEFLAGS) dvi \
491 && $(MAKE) $(AM_MAKEFLAGS) check \
492 && $(MAKE) $(AM_MAKEFLAGS) install \
493 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
494 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
495 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
496 distuninstallcheck \
497 && chmod -R a-w "$$dc_install_base" \
498 && ({ \
499 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
500 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
501 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
502 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
503 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
504 } || { rm -rf "$$dc_destdir"; exit 1; }) \
505 && rm -rf "$$dc_destdir" \
506 && $(MAKE) $(AM_MAKEFLAGS) dist \
507 && rm -rf $(DIST_ARCHIVES) \
508 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
509 $(am__remove_distdir)
510 @(echo "$(distdir) archives ready for distribution: "; \
511 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
512 sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
513 distuninstallcheck:
514 @cd $(distuninstallcheck_dir) \
515 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
516 || { echo "ERROR: files left after uninstall:" ; \
517 if test -n "$(DESTDIR)"; then \
518 echo " (check DESTDIR support)"; \
519 fi ; \
520 $(distuninstallcheck_listfiles) ; \
521 exit 1; } >&2
522 distcleancheck: distclean
523 @if test '$(srcdir)' = . ; then \
524 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
525 exit 1 ; \
527 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
528 || { echo "ERROR: files left in build directory after distclean:" ; \
529 $(distcleancheck_listfiles) ; \
530 exit 1; } >&2
531 check-am: all-am
532 check: check-recursive
533 all-am: Makefile $(SCRIPTS)
534 installdirs: installdirs-recursive
535 installdirs-am:
536 for dir in "$(DESTDIR)$(bindir)"; do \
537 test -z "$$dir" || $(mkdir_p) "$$dir"; \
538 done
539 install: install-recursive
540 install-exec: install-exec-recursive
541 install-data: install-data-recursive
542 uninstall: uninstall-recursive
544 install-am: all-am
545 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
547 installcheck: installcheck-recursive
548 install-strip:
549 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
550 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
551 `test -z '$(STRIP)' || \
552 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
553 mostlyclean-generic:
555 clean-generic:
556 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
558 distclean-generic:
559 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
561 maintainer-clean-generic:
562 @echo "This command is intended for maintainers to use"
563 @echo "it deletes files that may require special tools to rebuild."
564 clean: clean-recursive
566 clean-am: clean-generic mostlyclean-am
568 distclean: distclean-recursive
569 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
570 -rm -f Makefile
571 distclean-am: clean-am distclean-generic distclean-tags
573 dvi: dvi-recursive
575 dvi-am:
577 html: html-recursive
579 info: info-recursive
581 info-am:
583 install-data-am:
585 install-dvi: install-dvi-recursive
587 install-exec-am: install-binSCRIPTS
588 @$(NORMAL_INSTALL)
589 $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
591 install-html: install-html-recursive
593 install-info: install-info-recursive
595 install-man:
597 install-pdf: install-pdf-recursive
599 install-ps: install-ps-recursive
601 installcheck-am:
603 maintainer-clean: maintainer-clean-recursive
604 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
605 -rm -rf $(top_srcdir)/autom4te.cache
606 -rm -f Makefile
607 maintainer-clean-am: distclean-am maintainer-clean-generic
609 mostlyclean: mostlyclean-recursive
611 mostlyclean-am: mostlyclean-generic
613 pdf: pdf-recursive
615 pdf-am:
617 ps: ps-recursive
619 ps-am:
621 uninstall-am: uninstall-binSCRIPTS
622 @$(NORMAL_INSTALL)
623 $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
625 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
626 install-exec-am install-strip uninstall-am
628 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
629 all all-am am--refresh check check-am clean clean-generic \
630 ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
631 dist-shar dist-tarZ dist-zip distcheck distclean \
632 distclean-generic distclean-tags distcleancheck distdir \
633 distuninstallcheck dvi dvi-am html html-am info info-am \
634 install install-am install-binSCRIPTS install-data \
635 install-data-am install-dvi install-dvi-am install-exec \
636 install-exec-am install-exec-hook install-html install-html-am \
637 install-info install-info-am install-man install-pdf \
638 install-pdf-am install-ps install-ps-am install-strip \
639 installcheck installcheck-am installdirs installdirs-am \
640 maintainer-clean maintainer-clean-generic mostlyclean \
641 mostlyclean-generic pdf pdf-am ps ps-am tags tags-recursive \
642 uninstall uninstall-am uninstall-binSCRIPTS uninstall-hook
645 install-exec-hook:
646 @$(POST_INSTALL)
647 @for p in $(bin_SCRIPTS); do \
648 f="`echo $$p|sed '$(transform)'`"; \
649 fv="$$f-$(APIVERSION)"; \
650 rm -f $(DESTDIR)$(bindir)/$$fv; \
651 echo " $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv"; \
652 $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv; \
653 done
655 uninstall-hook:
656 @for p in $(bin_SCRIPTS); do \
657 f="`echo $$p|sed '$(transform)'`"; \
658 fv="$$f-$(APIVERSION)"; \
659 rm -f $(DESTDIR)$(bindir)/$$fv; \
660 done
662 automake: automake.in
663 aclocal: aclocal.in
664 automake aclocal: Makefile
665 rm -f $@ $@.tmp
666 $(do_subst) $(srcdir)/$@.in >$@.tmp
667 chmod +x $@.tmp
668 chmod a-w $@.tmp
669 mv -f $@.tmp $@
671 INSTALL: lib/INSTALL
672 cp $(srcdir)/lib/INSTALL $@
674 ################################################################
676 # Some simple checks, and then ordinary check. These are only really
677 # guaranteed to work on my machine.
678 maintainer-check: automake aclocal
679 @if test `diff $(srcdir)/automake.in automake | wc -l` -ne 22; then \
680 echo "found too many diffs between automake.in and automake"; 1>&2; \
681 diff -c $(srcdir)/automake.in automake; \
682 exit 1; \
684 perllibdir="./lib$(PATH_SEPARATOR)$(srcdir)/lib" $(PERL) -c -w automake
685 perllibdir="./lib$(PATH_SEPARATOR)$(srcdir)/lib" $(PERL) -c -w aclocal
686 @if grep -F '$${' $(srcdir)/lib/am/[a-z]*.am | \
687 grep -F -v '$$$$'; then \
688 echo "Found too many uses of '\$${' in the lines above." 1>&2; \
689 exit 1; \
690 else :; fi
691 @if grep -v '^#' $(srcdir)/lib/am/[a-z]*.am $(srcdir)/tests/*.test | \
692 grep -E '\<rm ([^-]|\-[^f ]*\>)'; then \
693 echo "Suspicious 'rm' invocation." 1>&2; \
694 exit 1; \
695 else :; fi
696 @if grep 'for .* in \$$(' $(srcdir)/lib/am/[a-z]*.am; then \
697 echo 'Use "list=$$(mumble); for var in $$$$list".' 1>&2 ; \
698 exit 1; \
699 else :; fi
700 @if grep -n 'mkinstalldirs' $(srcdir)/lib/am/[a-z]*.am | \
701 grep -F -v '$$(mkinstalldirs)'; then \
702 echo "Found incorrect use of mkinstalldirs in the lines above" 1>&2; \
703 exit 1; \
704 else :; fi
705 @if grep -E -n '\((PRE|NORMAL|POST)_(|UN)INSTALL\)' \
706 $(srcdir)/lib/am/[a-z]*.am | \
707 grep -v ':##' | grep -v ': @\$$('; then \
708 echo "Found incorrect use of PRE/NORMAL/POST_INSTALL/UNINSTALL in the lines above" 1>&2; \
709 exit 1; \
710 else :; fi
711 @if grep -n -w 'undef ' $(srcdir)/automake.in | \
712 grep -F -v 'undef $$/'; then \
713 echo "Found undef in automake.in; use delete instead" 1>&2; \
714 exit 1; \
716 @if grep -n 'split (/ /' $(srcdir)/automake.in; then \
717 echo "Found bad split in the lines above." 1>&2; \
718 exit 1; \
720 @if grep -n '^[^#]*` *cd ' $(srcdir)/automake.in \
721 $(srcdir)/lib/am/*.am; then \
722 echo "Consider using $$$$(am__cd) in the line above." 1>&2; \
723 exit 1; \
725 @if grep -Hn '[^@_A-Za-z0-9][_A-Za-z0-9]*[^) ] *= *@_' $(srcdir)/automake.in; then \
726 echo "Using @_ in a scalar context in the lines above." 1>&2; \
727 exit 1; \
729 @if grep '^[ \t]*local *(' $(srcdir)/automake.in; then \
730 echo "Don't use \`local' with parens: use several \`local' above." >&2; \
731 exit 1; \
733 @if grep -v '^[ \t]*local \$$_;' $(srcdir)/automake.in | \
734 grep '^[ \t]*local [^*]'; then \
735 echo "Please avoid \`local'." 1>&2; \
736 exit 1; \
738 @if grep '@AMDEP''_TRUE@' $(srcdir)/automake.in; then \
739 echo "Don't put AMDEP_TRUE substitution in automake.in" 1>&2; \
740 exit 1; \
742 @if grep '^[^#].*(MAKE) ' $(srcdir)/lib/am/*.am $(srcdir)/automake.in |\
743 grep -v 'AM_MAKEFLAGS'; then \
744 echo 'Use $$(MAKE) $$(AM_MAKEFLAGS).' 1>&2; \
745 exit 1; \
747 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*make'; then \
748 echo 'Do not run "make" in the above tests. Use "$$MAKE" instead.' 1>&2; \
749 exit 1; \
751 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*autoconf'; then \
752 echo 'Do not run "autoconf" in the above tests. Use "$$AUTOCONF" instead.' 1>&2; \
753 exit 1; \
755 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*autoupdate'; then \
756 echo 'Do not run "autoupdate" in the above tests. Use "$$AUTOUPDATE" instead.' 1>&2; \
757 exit 1; \
759 @if grep -v '^#' $(srcdir)/tests/*.test | grep -E ':[ ]*automake([^:]|$$)'; then \
760 echo 'Do not run "automake" in the above tests. Use "$$AUTOMAKE" instead.' 1>&2; \
761 exit 1; \
763 @if grep -v '^#' $(srcdir)/tests/*.test | grep '\$$AUTOMAKE.*&&.*exit'; then \
764 echo 'Use AUTOMAKE_fails + grep to catch automake failures in the above tests.' 1>&2; \
765 exit 1; \
767 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*aclocal'; then \
768 echo 'Do not run "aclocal" in the above tests. Use "$$ACLOCAL" instead.' 1>&2; \
769 exit 1; \
771 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*perl'; then \
772 echo 'Do not run "perl" in the above tests. Use "$$PERL" instead.' 1>&2; \
773 exit 1; \
775 @if grep -E '\$$MAKE .*(SHELL=.*=|=.*SHELL=)' $(srcdir)/tests/*.test; then \
776 echo 'Rewrite "$$MAKE foo=bar SHELL=$$SHELL" as "foo=bar $$MAKE -e SHELL=$$SHELL"' 1>&2; \
777 echo ' in the above lines, it is more portable.' 1>&2; \
778 exit 1; \
780 @if grep -v SHELL $(srcdir)/tests/*.test | grep '\$$MAKE .*=' ; then \
781 echo 'Rewrite "$$MAKE foo=bar" as "foo=bar $$MAKE -e" in the above lines,' 1>&2; \
782 echo 'it is more portable.' 1>&2; \
783 exit 1; \
785 @if grep 'SHELL=.*\$$MAKE' $(srcdir)/tests/*.test; then \
786 echo '$$MAKE ignores the SHELL envvar, use "$$MAKE SHELL=$$SHELL" in' 1>&2; \
787 echo 'the above lines.' 1>&2; \
788 exit 1; \
790 @if grep -E '\bsleep +[12345]\b' $(srcdir)/tests/*.test; then \
791 echo 'Do not use "sleep x" in the above tests. Use "$$sleep" instead.' 1>&2; \
792 exit 1; \
794 @if grep -E '\b[ef]grep\b' $(srcdir)/tests/*.test ; then \
795 echo 'Do not use egrep or fgrep in test cases. Use $$FGREP or $$EGREP.' 1>&2; \
796 exit 1; \
798 @if grep -E '\b[ef]grep\b' $(srcdir)/lib/am/*.am $(srcdir)/m4/*.m4; then \
799 echo 'Do not use egrep or fgrep in the above files, they are not portable.' 1>&2; \
800 exit 1; \
802 @if test `grep -E '^[^#]*@[A-Za-z_0-9]+@' aclocal | wc -l` -ne 0; then \
803 echo "Unresolved @...@ substitution in aclocal" 1>&2; \
804 exit 1; \
806 @if test `grep -E '^[^#]*@[A-Za-z_0-9]+@' automake | wc -l` -ne 0; then \
807 echo "Unresolved @...@ substitution in automake" 1>&2; \
808 exit 1; \
809 fi; \
810 if grep -E "[^\'\"]\\\$$\(DESTDIR" $(srcdir)/lib/am/*.am; then \
811 echo 'Suspicious unquoted DESTDIR uses.' 1>&2 ; \
812 exit 1; \
814 @if grep ' ' $(srcdir)/doc/automake.texi; then \
815 echo 'Do not use tabs in the manual.' 1>&2; \
816 exit 1; \
818 @if grep -E '([^@]|^)@([ ]|$$)' $(srcdir)/doc/automake.texi; \
819 then \
820 echo 'Unescaped @.' 1>&2; \
821 exit 1; \
824 cvs-dist: maintainer-check
825 @if (clcommit --version)>/dev/null 2>/dev/null; then :; else \
826 echo "Get clcommit from module cvs-utils on Savannah."; \
827 exit 1; \
829 @if sed 1q $(srcdir)/NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
830 echo "NEWS not updated; not releasing" 1>&2; \
831 exit 1; \
833 $(MAKE) distcheck
834 cd $(srcdir) && clcommit && \
835 cvs -q tag -c `echo "Release-$(VERSION)" | sed 's/\./-/g'`
837 cvs-release: cvs-dist
838 case $(VERSION) in \
839 *[a-z]) dest=alpha;; \
840 *) dest=ftp;; \
841 esac; \
842 $(srcdir)/lib/gnupload $(GNUPLOADFLAGS) \
843 --to sources.redhat.com:~ftp/pub/automake \
844 --to $$dest.gnu.org:automake $(DIST_ARCHIVES)
846 cvs-diff:
847 thisver=`echo "Release-$(VERSION)" | sed 's/\./-/g'`; \
848 if test -z "$$OLDVERSION"; then \
849 prevno=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
850 else prevno="$$OLDVERSION"; fi; \
851 prevver=Release-`echo $$prevno | sed 's/\./-/g'`; \
852 cvs -f rdiff -c -r $$prevver -r $$thisver $(PACKAGE) \
853 > $(PACKAGE)-$$prevno-$(VERSION).diff
855 path-check: distdir
856 (cd $(distdir) && \
857 find . -print | xargs pathchk -p); \
858 status=$$?; \
859 chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir); \
860 exit $$status
862 fetch:
863 rm -rf Fetchdir > /dev/null 2>&1
864 mkdir Fetchdir
865 (cd Fetchdir && \
866 $(WGETSGO)/config/config/config.guess; \
867 $(WGETSGO)/config/config/config.sub; \
868 $(WGETSGO)/texinfo/texinfo/doc/texinfo.tex; \
869 $(WGETSGO)/autoconf/autoconf/INSTALL; \
870 $(WGETSGO)/gcc/gcc/config-ml.in; \
871 $(WGETSGO)/gcc/gcc/symlink-tree)
872 @stat=0; for file in $(FETCHFILES); do \
873 if diff -u $(srcdir)/lib/$$file Fetchdir/$$file \
874 >>Fetchdir/update.patch 2>/dev/null; then :; \
875 else \
876 stat=1; \
877 echo "Updating $(srcdir)/lib/$$file..."; \
878 cp Fetchdir/$$file $(srcdir)/lib/$$file; \
879 fi; \
880 done; \
881 test $$stat = 0 || \
882 echo "See Fetchdir/update.patch for a log of the changes."; \
883 exit $$stat
884 # Tell versions [3.59,3.63) of GNU make to not export all variables.
885 # Otherwise a system limit (for SysV at least) may be exceeded.
886 .NOEXPORT: