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