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