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