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