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