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