* aclocal.in (write_aclocal): Take an output file and list of
[automake.git] / Makefile.in
blobc0c4d11da41757b914f2a21889d0609eb7119f8b
1 # Makefile.in generated by automake 1.7a from Makefile.am.
2 # @configure_input@
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
5 # 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.in \
39 $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL \
40 Makefile.am NEWS THANKS TODO aclocal.m4 configure configure.in \
41 stamp-vti version.texi
42 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
43 am__configure_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/options.m4 \
47 $(top_srcdir)/m4/runlog.m4 $(top_srcdir)/m4/sanity.m4 \
48 $(top_srcdir)/m4/strip.m4
49 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
50 configure.lineno
51 mkinstalldirs = $(SHELL) $(top_srcdir)/lib/mkinstalldirs
52 CONFIG_CLEAN_FILES =
53 am__installdirs = $(DESTDIR)$(bindir) $(DESTDIR)$(infodir)
54 binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
55 SCRIPTS = $(bin_SCRIPTS)
56 SOURCES =
57 DIST_SOURCES =
58 TEXINFO_TEX = $(top_srcdir)/lib/texinfo.tex
59 am__TEXINFO_TEX_DIR = $(top_srcdir)/lib
60 INFO_DEPS = automake.info
61 DVIS = automake.dvi
62 PDFS = automake.pdf
63 PSS = automake.ps
64 HTMLS = automake.html
65 TEXINFOS = automake.texi
66 TEXI2DVI = texi2dvi
67 TEXI2PDF = $(TEXI2DVI) --pdf --batch
68 DVIPS = dvips
69 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
70 html-recursive info-recursive install-data-recursive \
71 install-exec-recursive install-info-recursive \
72 install-recursive installcheck-recursive installdirs-recursive \
73 pdf-recursive ps-recursive uninstall-info-recursive \
74 uninstall-recursive
75 ETAGS = etags
76 ETAGSFLAGS =
77 CTAGS = ctags
78 CTAGSFLAGS =
79 DIST_SUBDIRS = $(SUBDIRS)
80 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
81 distdir = $(PACKAGE)-$(VERSION)
82 top_distdir = $(distdir)
83 am__remove_distdir = \
84 { test ! -d $(distdir) \
85 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
86 && rm -fr $(distdir); }; }
87 DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
88 GZIP_ENV = --best
89 distuninstallcheck_listfiles = find . -type f -print
90 distcleancheck_listfiles = find . -type f -print
91 ACLOCAL = @ACLOCAL@
92 AMTAR = @AMTAR@
93 APIVERSION = @APIVERSION@
94 AUTOCONF = @AUTOCONF@
95 AUTOHEADER = @AUTOHEADER@
96 AUTOMAKE = @AUTOMAKE@
97 AWK = @AWK@
98 CYGPATH_W = @CYGPATH_W@
99 DEFS = @DEFS@
100 ECHO_C = @ECHO_C@
101 ECHO_N = @ECHO_N@
102 ECHO_T = @ECHO_T@
103 EGREP = @EGREP@
104 FGREP = @FGREP@
105 INSTALL_DATA = @INSTALL_DATA@
106 INSTALL_PROGRAM = @INSTALL_PROGRAM@
107 INSTALL_SCRIPT = @INSTALL_SCRIPT@
108 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
109 LIBOBJS = @LIBOBJS@
110 LIBS = @LIBS@
111 LN = @LN@
112 LTLIBOBJS = @LTLIBOBJS@
113 MAKEINFO = @MAKEINFO@
114 MODIFICATION_DELAY = @MODIFICATION_DELAY@
115 PACKAGE = @PACKAGE@
116 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
117 PACKAGE_NAME = @PACKAGE_NAME@
118 PACKAGE_STRING = @PACKAGE_STRING@
119 PACKAGE_TARNAME = @PACKAGE_TARNAME@
120 PACKAGE_VERSION = @PACKAGE_VERSION@
121 PATH_SEPARATOR = @PATH_SEPARATOR@
122 PERL = @PERL@
123 SET_MAKE = @SET_MAKE@
124 SHELL = @SHELL@
125 STRIP = @STRIP@
126 TEX = @TEX@
127 VERSION = @VERSION@
128 ac_ct_STRIP = @ac_ct_STRIP@
129 am__leading_dot = @am__leading_dot@
130 bindir = @bindir@
131 build = @build@
132 build_alias = @build_alias@
133 build_cpu = @build_cpu@
134 build_os = @build_os@
135 build_vendor = @build_vendor@
136 datadir = @datadir@
137 exec_prefix = @exec_prefix@
138 host_alias = @host_alias@
139 includedir = @includedir@
140 infodir = @infodir@
141 install_sh = @install_sh@
142 libdir = @libdir@
143 libexecdir = @libexecdir@
144 localstatedir = @localstatedir@
145 mandir = @mandir@
146 oldincludedir = @oldincludedir@
147 pkgvdatadir = @pkgvdatadir@
148 prefix = @prefix@
149 program_transform_name = @program_transform_name@
150 sbindir = @sbindir@
151 sharedstatedir = @sharedstatedir@
152 sysconfdir = @sysconfdir@
153 target_alias = @target_alias@
154 SUBDIRS = . m4 lib tests
155 bin_SCRIPTS = automake aclocal
156 info_TEXINFOS = automake.texi
157 CLEANFILES = $(bin_SCRIPTS)
158 AUTOMAKESOURCES = automake.in aclocal.in
159 TAGS_FILES = $(AUTOMAKESOURCES)
161 # The following requires a fixed version of the Emacs 19.30 etags.
162 ETAGS_ARGS = --lang=none \
163 --regex='/^@node[ \t]+\([^,]+\)/\1/' $(srcdir)/automake.texi
165 TAGS_DEPENDENCIES = automake.texi
166 EXTRA_DIST = ChangeLog.96 ChangeLog.98 ChangeLog.00 ChangeLog.01 ChangeLog.02 \
167 $(AUTOMAKESOURCES)
169 do_subst = sed -e 's,[@]datadir[@],$(datadir),g' -e 's,[@]PERL[@],$(PERL),g' \
170 -e 's,[@]configure_input[@],@configure_input@,g' \
171 -e 's,[@]PACKAGE[@],$(PACKAGE),g' \
172 -e 's,[@]VERSION[@],$(VERSION),g' \
173 -e 's,[@]APIVERSION[@],$(APIVERSION),g' \
174 -e 's,[@]SHELL[@],$(SHELL),g'
176 WGET = wget
177 FETCHFILES = \
178 Automake/Struct.pm \
179 Automake/XFile.pm \
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 .SUFFIXES: .dvi .html .info .pdf .ps .texi
191 am--refresh:
193 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(am__configure_deps)
194 @for dep in $?; do \
195 case '$(top_srcdir)/configure.in $(ACLOCAL_M4) $(am__configure_deps)' in \
196 *$$dep*) \
197 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
198 cd $(srcdir) && $(AUTOMAKE) --gnu \
199 && exit 0; \
200 exit 1;; \
201 esac; \
202 done; \
203 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
204 cd $(top_srcdir) && \
205 $(AUTOMAKE) --gnu 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: $(top_srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) $(am__configure_deps)
220 cd $(srcdir) && $(AUTOCONF)
221 $(ACLOCAL_M4): $(top_srcdir)/configure.in $(am__configure_deps)
222 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
223 install-binSCRIPTS: $(bin_SCRIPTS)
224 @$(NORMAL_INSTALL)
225 $(mkinstalldirs) $(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 .texi.info:
244 restore=: && \
245 backupdir="$(am__leading_dot)am$$$$" && \
246 rm -rf $$backupdir && mkdir $$backupdir && \
247 for f in $@ $@-[0-9] $@-[0-9][0-9] $(@:.info=).i[0-9] $(@:.info=).i[0-9][0-9]; do \
248 if test -f $$f; then \
249 mv $$f $$backupdir; \
250 restore=mv; \
251 fi; \
252 done; \
253 if $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
254 -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
255 then rc=0; else \
256 rc=$$?; \
257 $$restore $$backupdir/* `echo "./$@" | sed 's|[^/]*$$||'`; \
258 fi; \
259 rm -rf $$backupdir; \
260 exit $$rc
262 .texi.dvi:
263 TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
264 MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
265 $(TEXI2DVI) $<
267 .texi.pdf:
268 TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
269 MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
270 $(TEXI2PDF) $<
272 .texi.html:
273 $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) --html -I $(srcdir) \
274 -o $@ $<
275 automake.info: automake.texi version.texi
276 automake.dvi: automake.texi version.texi
277 automake.pdf: automake.texi version.texi
278 automake.html: automake.texi version.texi
279 version.texi: stamp-vti
280 stamp-vti: automake.texi $(top_srcdir)/configure
281 @(dir=.; test -f ./automake.texi || dir=$(srcdir); \
282 set `$(SHELL) $(top_srcdir)/lib/mdate-sh $$dir/automake.texi`; \
283 echo "@set UPDATED $$1 $$2 $$3"; \
284 echo "@set UPDATED-MONTH $$2 $$3"; \
285 echo "@set EDITION $(VERSION)"; \
286 echo "@set VERSION $(VERSION)") > vti.tmp
287 @cmp -s vti.tmp version.texi \
288 || (echo "Updating version.texi"; \
289 cp vti.tmp version.texi)
290 -@rm -f vti.tmp
291 @cp version.texi $@
293 mostlyclean-vti:
294 -rm -f vti.tmp
296 maintainer-clean-vti:
297 -rm -f stamp-vti version.texi
298 .dvi.ps:
299 $(DVIPS) -o $@ $<
301 uninstall-info-am:
302 $(PRE_UNINSTALL)
303 @if (install-info --version && \
304 install-info --version | grep -i -v debian) >/dev/null 2>&1; then \
305 list='$(INFO_DEPS)'; \
306 for file in $$list; do \
307 relfile=`echo "$$file" | sed 's|^.*/||'`; \
308 echo " install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$relfile"; \
309 install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$relfile; \
310 done; \
311 else :; fi
312 @$(NORMAL_UNINSTALL)
313 @list='$(INFO_DEPS)'; \
314 for file in $$list; do \
315 relfile=`echo "$$file" | sed 's|^.*/||'`; \
316 relfile_i=`echo "$$relfile" | sed 's|\.info$$||;s|$$|.i|'`; \
317 (if cd $(DESTDIR)$(infodir); then \
318 echo " rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9])"; \
319 rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9]; \
320 else :; fi); \
321 done
323 dist-info: $(INFO_DEPS)
324 list='$(INFO_DEPS)'; \
325 for base in $$list; do \
326 if test -f $$base; then d=.; else d=$(srcdir); fi; \
327 for file in $$d/$$base*; do \
328 relfile=`expr "$$file" : "$$d/\(.*\)"`; \
329 test -f $(distdir)/$$relfile || \
330 cp -p $$file $(distdir)/$$relfile; \
331 done; \
332 done
334 mostlyclean-aminfo:
335 -rm -rf automake.aux automake.cm automake.cp automake.cps automake.cv \
336 automake.fn automake.ky automake.kys automake.log \
337 automake.op automake.ov automake.pg automake.pgs \
338 automake.tmp automake.toc automake.tp automake.tps \
339 automake.tr automake.vr automake.vrs automake.dvi \
340 automake.pdf automake.ps automake.html
342 maintainer-clean-aminfo:
343 @list='$(INFO_DEPS)'; for i in $$list; do \
344 i_i=`echo "$$i" | sed 's|\.info$$||;s|$$|.i|'`; \
345 echo " rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]"; \
346 rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]; \
347 done
349 # This directory's subdirectories are mostly independent; you can cd
350 # into them and run `make' without going through this Makefile.
351 # To change the values of `make' variables: instead of editing Makefiles,
352 # (1) if the variable is set in `config.status', edit `config.status'
353 # (which will cause the Makefiles to be regenerated when you run `make');
354 # (2) otherwise, pass the desired values on the `make' command line.
355 $(RECURSIVE_TARGETS):
356 @set fnord $$MAKEFLAGS; amf=$$2; \
357 dot_seen=no; \
358 target=`echo $@ | sed s/-recursive//`; \
359 list='$(SUBDIRS)'; for subdir in $$list; do \
360 echo "Making $$target in $$subdir"; \
361 if test "$$subdir" = "."; then \
362 dot_seen=yes; \
363 local_target="$$target-am"; \
364 else \
365 local_target="$$target"; \
366 fi; \
367 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
368 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
369 done; \
370 if test "$$dot_seen" = "no"; then \
371 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
372 fi; test -z "$$fail"
374 mostlyclean-recursive clean-recursive distclean-recursive \
375 maintainer-clean-recursive:
376 @set fnord $$MAKEFLAGS; amf=$$2; \
377 dot_seen=no; \
378 case "$@" in \
379 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
380 *) list='$(SUBDIRS)' ;; \
381 esac; \
382 rev=''; for subdir in $$list; do \
383 if test "$$subdir" = "."; then :; else \
384 rev="$$subdir $$rev"; \
385 fi; \
386 done; \
387 rev="$$rev ."; \
388 target=`echo $@ | sed s/-recursive//`; \
389 for subdir in $$rev; do \
390 echo "Making $$target in $$subdir"; \
391 if test "$$subdir" = "."; then \
392 local_target="$$target-am"; \
393 else \
394 local_target="$$target"; \
395 fi; \
396 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
397 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
398 done && test -z "$$fail"
399 tags-recursive:
400 list='$(SUBDIRS)'; for subdir in $$list; do \
401 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
402 done
403 ctags-recursive:
404 list='$(SUBDIRS)'; for subdir in $$list; do \
405 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
406 done
408 tags: TAGS
410 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
411 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
412 unique=`for i in $$list; do \
413 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
414 done | \
415 $(AWK) ' { files[$$0] = 1; } \
416 END { for (i in files) print i; }'`; \
417 mkid -fID $$unique
419 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
420 $(TAGS_FILES) $(LISP)
421 tags=; \
422 here=`pwd`; \
423 if (etags --etags-include --version) >/dev/null 2>&1; then \
424 include_option=--etags-include; \
425 else \
426 include_option=--include; \
427 fi; \
428 list='$(SUBDIRS)'; for subdir in $$list; do \
429 if test "$$subdir" = .; then :; else \
430 test -f $$subdir/TAGS && \
431 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
432 fi; \
433 done; \
434 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
435 unique=`for i in $$list; do \
436 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
437 done | \
438 $(AWK) ' { files[$$0] = 1; } \
439 END { for (i in files) print i; }'`; \
440 test -z "$(ETAGS_ARGS)$$tags$$unique" \
441 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
442 $$tags $$unique
444 ctags: CTAGS
445 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
446 $(TAGS_FILES) $(LISP)
447 tags=; \
448 here=`pwd`; \
449 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
450 unique=`for i in $$list; do \
451 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
452 done | \
453 $(AWK) ' { files[$$0] = 1; } \
454 END { for (i in files) print i; }'`; \
455 test -z "$(CTAGS_ARGS)$$tags$$unique" \
456 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
457 $$tags $$unique
459 GTAGS:
460 here=`$(am__cd) $(top_builddir) && pwd` \
461 && cd $(top_srcdir) \
462 && gtags -i $(GTAGS_ARGS) $$here
464 distclean-tags:
465 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
467 distdir: $(DISTFILES)
468 $(am__remove_distdir)
469 mkdir $(distdir)
470 $(mkinstalldirs) $(distdir)/m4 $(distdir)/tests
471 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
472 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
473 list='$(DISTFILES)'; for file in $$list; do \
474 case $$file in \
475 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
476 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
477 esac; \
478 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
479 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
480 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
481 dir="/$$dir"; \
482 $(mkinstalldirs) "$(distdir)$$dir"; \
483 else \
484 dir=''; \
485 fi; \
486 if test -d $$d/$$file; then \
487 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
488 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
489 fi; \
490 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
491 else \
492 test -f $(distdir)/$$file \
493 || cp -p $$d/$$file $(distdir)/$$file \
494 || exit 1; \
495 fi; \
496 done
497 list='$(SUBDIRS)'; for subdir in $$list; do \
498 if test "$$subdir" = .; then :; else \
499 test -d "$(distdir)/$$subdir" \
500 || mkdir "$(distdir)/$$subdir" \
501 || exit 1; \
502 (cd $$subdir && \
503 $(MAKE) $(AM_MAKEFLAGS) \
504 top_distdir="../$(top_distdir)" \
505 distdir="../$(distdir)/$$subdir" \
506 distdir) \
507 || exit 1; \
508 fi; \
509 done
510 $(MAKE) $(AM_MAKEFLAGS) \
511 top_distdir="$(top_distdir)" distdir="$(distdir)" \
512 dist-info
513 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
514 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
515 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
516 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
517 || chmod -R a+r $(distdir)
518 dist-gzip: distdir
519 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
520 $(am__remove_distdir)
521 dist-bzip2: distdir
522 $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
523 $(am__remove_distdir)
525 dist-tarZ: distdir
526 $(AMTAR) chof - $(distdir) | compress -c >$(distdir).tar.Z
527 $(am__remove_distdir)
529 dist-shar: distdir
530 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
531 $(am__remove_distdir)
533 dist-zip: distdir
534 -rm -f $(distdir).zip
535 zip -rq $(distdir).zip $(distdir)
536 $(am__remove_distdir)
538 dist dist-all: distdir
539 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
540 $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
541 $(am__remove_distdir)
543 # This target untars the dist file and tries a VPATH configuration. Then
544 # it guarantees that the distribution is self-contained by making another
545 # tarfile.
546 distcheck: dist
547 case '$(DIST_ARCHIVES)' in \
548 *.tar.gz*) \
549 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - ;;\
550 *.tar.bz2*) \
551 bunzip2 -c $(distdir).tar.bz2 | $(AMTAR) xf - ;;\
552 *.tar.Z*) \
553 uncompress -c $(distdir).tar.Z | $(AMTAR) xf - ;;\
554 *.shar.gz*) \
555 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | unshar ;;\
556 *.zip*) \
557 unzip $(distdir).zip ;;\
558 esac
559 chmod -R a-w $(distdir); chmod a+w $(distdir)
560 mkdir $(distdir)/_build
561 mkdir $(distdir)/_inst
562 chmod a-w $(distdir)
563 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
564 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
565 && cd $(distdir)/_build \
566 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
567 $(DISTCHECK_CONFIGURE_FLAGS) \
568 && $(MAKE) $(AM_MAKEFLAGS) \
569 && $(MAKE) $(AM_MAKEFLAGS) dvi \
570 && $(MAKE) $(AM_MAKEFLAGS) check \
571 && $(MAKE) $(AM_MAKEFLAGS) install \
572 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
573 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
574 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
575 distuninstallcheck \
576 && chmod -R a-w "$$dc_install_base" \
577 && ({ \
578 (cd ../.. && $(mkinstalldirs) "$$dc_destdir") \
579 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
580 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
581 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
582 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
583 } || { rm -rf "$$dc_destdir"; exit 1; }) \
584 && rm -rf "$$dc_destdir" \
585 && $(MAKE) $(AM_MAKEFLAGS) dist \
586 && rm -rf $(DIST_ARCHIVES) \
587 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
588 $(am__remove_distdir)
589 @(echo "$(distdir) archives ready for distribution: "; \
590 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
591 sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
592 distuninstallcheck:
593 @cd $(distuninstallcheck_dir) \
594 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
595 || { echo "ERROR: files left after uninstall:" ; \
596 if test -n "$(DESTDIR)"; then \
597 echo " (check DESTDIR support)"; \
598 fi ; \
599 $(distuninstallcheck_listfiles) ; \
600 exit 1; } >&2
601 distcleancheck: distclean
602 @if test '$(srcdir)' = . ; then \
603 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
604 exit 1 ; \
606 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
607 || { echo "ERROR: files left in build directory after distclean:" ; \
608 $(distcleancheck_listfiles) ; \
609 exit 1; } >&2
610 check-am: all-am
611 check: check-recursive
612 all-am: Makefile $(INFO_DEPS) $(SCRIPTS)
613 installdirs: installdirs-recursive
614 installdirs-am:
615 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(infodir)
616 install: install-recursive
617 install-exec: install-exec-recursive
618 install-data: install-data-recursive
619 uninstall: uninstall-recursive
621 install-am: all-am
622 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
624 installcheck: installcheck-recursive
625 install-strip:
626 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
627 INSTALL_STRIP_FLAG=-s \
628 `test -z '$(STRIP)' || \
629 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
630 mostlyclean-generic:
632 clean-generic:
633 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
635 distclean-generic:
636 -rm -f $(CONFIG_CLEAN_FILES)
638 maintainer-clean-generic:
639 @echo "This command is intended for maintainers to use"
640 @echo "it deletes files that may require special tools to rebuild."
641 clean: clean-recursive
643 clean-am: clean-generic mostlyclean-am
645 distclean: distclean-recursive
646 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
648 -rm -f Makefile
649 distclean-am: clean-am distclean-generic distclean-tags
651 dvi: dvi-recursive
653 dvi-am: $(DVIS)
655 html: html-recursive
657 html-am: $(HTMLS)
659 info: info-recursive
661 info-am: $(INFO_DEPS)
663 install-data-am: install-info-am
665 install-exec-am: install-binSCRIPTS
666 @$(NORMAL_INSTALL)
667 $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
669 install-info: install-info-recursive
671 install-info-am: $(INFO_DEPS)
672 @$(NORMAL_INSTALL)
673 $(mkinstalldirs) $(DESTDIR)$(infodir)
674 @list='$(INFO_DEPS)'; \
675 for file in $$list; do \
676 if test -f $$file; then d=.; else d=$(srcdir); fi; \
677 file_i=`echo "$$file" | sed 's|\.info$$||;s|$$|.i|'`; \
678 for ifile in $$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9] \
679 $$d/$$file_i[0-9] $$d/$$file_i[0-9][0-9] ; do \
680 if test -f $$ifile; then \
681 relfile=`echo "$$ifile" | sed 's|^.*/||'`; \
682 echo " $(INSTALL_DATA) $$ifile $(DESTDIR)$(infodir)/$$relfile"; \
683 $(INSTALL_DATA) $$ifile $(DESTDIR)$(infodir)/$$relfile; \
684 else : ; fi; \
685 done; \
686 done
687 @$(POST_INSTALL)
688 @if (install-info --version && \
689 install-info --version | grep -i -v debian) >/dev/null 2>&1; then \
690 list='$(INFO_DEPS)'; \
691 for file in $$list; do \
692 relfile=`echo "$$file" | sed 's|^.*/||'`; \
693 echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$relfile";\
694 install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$relfile || :;\
695 done; \
696 else : ; fi
697 install-man:
699 installcheck-am:
701 maintainer-clean: maintainer-clean-recursive
702 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
703 -rm -rf $(top_srcdir)/autom4te.cache
705 -rm -f Makefile
706 maintainer-clean-am: distclean-am maintainer-clean-aminfo \
707 maintainer-clean-generic maintainer-clean-vti
709 mostlyclean: mostlyclean-recursive
711 mostlyclean-am: mostlyclean-aminfo mostlyclean-generic mostlyclean-vti
713 pdf: pdf-recursive
715 pdf-am: $(PDFS)
717 ps: ps-recursive
719 ps-am: $(PSS)
721 uninstall-am: uninstall-binSCRIPTS uninstall-info-am
722 @$(NORMAL_INSTALL)
723 $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
725 uninstall-info: uninstall-info-recursive
727 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
728 check-am clean clean-generic clean-recursive ctags \
729 ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-info \
730 dist-shar dist-tarZ dist-zip distcheck distclean \
731 distclean-generic distclean-recursive distclean-tags \
732 distcleancheck distdir distuninstallcheck dvi dvi-am html \
733 html-am info info-am install install-am install-binSCRIPTS \
734 install-data install-data-am install-exec install-exec-am \
735 install-info install-info-am install-man install-strip \
736 installcheck installcheck-am installdirs installdirs-am \
737 maintainer-clean maintainer-clean-aminfo \
738 maintainer-clean-generic maintainer-clean-recursive \
739 maintainer-clean-vti mostlyclean mostlyclean-aminfo \
740 mostlyclean-generic mostlyclean-recursive mostlyclean-vti pdf \
741 pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
742 uninstall-binSCRIPTS uninstall-info-am
745 install-exec-hook:
746 @$(POST_INSTALL)
747 @for p in $(bin_SCRIPTS); do \
748 f="`echo $$p|sed '$(transform)'`"; \
749 fv="$$f-$(APIVERSION)"; \
750 rm -f $(DESTDIR)$(bindir)/$$fv; \
751 echo " $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv"; \
752 $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv; \
753 done
755 uninstall-hook:
756 @for p in $(bin_SCRIPTS); do \
757 f="`echo $$p|sed '$(transform)'`"; \
758 fv="$$f-$(APIVERSION)"; \
759 rm -f $(DESTDIR)$(bindir)/$$fv; \
760 done
762 automake: automake.in Makefile
763 $(do_subst) < $(srcdir)/automake.in > automake
764 chmod +x automake
766 aclocal: aclocal.in Makefile
767 $(do_subst) < $(srcdir)/aclocal.in > aclocal
768 chmod +x aclocal
770 INSTALL: lib/INSTALL
771 cp lib/INSTALL $@
773 ################################################################
775 # Some simple checks, and then ordinary check. These are only really
776 # guaranteed to work on my machine.
777 maintainer-check: automake aclocal
778 @if test `diff $(srcdir)/automake.in automake | wc -l` -ne 20; then \
779 echo "found too many diffs between automake.in and automake"; 1>&2; \
780 diff -c $(srcdir)/automake.in automake; \
781 exit 1; \
783 perllibdir=./lib:$(srcdir)/lib $(PERL) -c -w automake
784 perllibdir=./lib:$(srcdir)/lib $(PERL) -c -w aclocal
785 @if grep -F '$${' $(srcdir)/lib/am/[a-z]*.am | \
786 grep -F -v '$$$$'; then \
787 echo "Found too many uses of '\$${' in the lines above." 1>&2; \
788 exit 1; \
789 else :; fi
790 @if grep -E '\<rm ([^-]|\-[^f ]*\>)' \
791 $(srcdir)/lib/am/[a-z]*.am $(srcdir)/tests/*.test | \
792 grep -v '##'; then \
793 echo "Suspicious 'rm' invocation." 1>&2; \
794 exit 1; \
795 else :; fi
796 @if grep 'for .* in \$$(' $(srcdir)/lib/am/[a-z]*.am; then \
797 echo 'Use "list=$$(mumble); for var in $$$$list".' 1>&2 ; \
798 exit 1; \
799 else :; fi
800 @if grep -n 'mkinstalldirs' $(srcdir)/lib/am/[a-z]*.am | \
801 grep -F -v '$$(mkinstalldirs)'; then \
802 echo "Found incorrect use of mkinstalldirs in the lines above" 1>&2; \
803 exit 1; \
804 else :; fi
805 @if grep -n -w 'undef ' $(srcdir)/automake.in | \
806 grep -F -v 'undef $$/'; then \
807 echo "Found undef in automake.in; use delete instead" 1>&2; \
808 exit 1; \
810 @if grep -n 'split (/ /' $(srcdir)/automake.in; then \
811 echo "Found bad split in the lines above." 1>&2; \
812 exit 1; \
814 @if grep -n '^[^#]*` *cd ' $(srcdir)/automake.in \
815 $(srcdir)/lib/am/*.am; then \
816 echo "Consider using $$$$(am__cd) in the line above." 1>&2; \
817 exit 1; \
819 @if grep -Hn '[^) ] *= *@_' $(srcdir)/automake.in; then \
820 echo "Using @_ in a scalar context in the lines above." 1>&2; \
821 exit 1; \
823 @if grep '^[ \t]*local *(' $(srcdir)/automake.in; then \
824 echo "Don't use \`local' with parens: use several \`local' above." >&2; \
825 exit 1; \
827 @if grep -v '^[ \t]*local \$$_;' $(srcdir)/automake.in | \
828 grep '^[ \t]*local [^*]'; then \
829 echo "Please avoid \`local'." 1>&2; \
830 exit 1; \
832 @if grep '@AMDEP''_TRUE@' $(srcdir)/automake.in; then \
833 echo "Don't put AMDEP_TRUE substitution in automake.in" 1>&2; \
834 exit 1; \
836 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*make'; then \
837 echo 'Do not run "make" in the above tests. Use "$$MAKE" instead.' 1>&2; \
838 exit 1; \
840 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*autoconf'; then \
841 echo 'Do not run "autoconf" in the above tests. Use "$$AUTOCONF" instead.' 1>&2; \
842 exit 1; \
844 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*autoupdate'; then \
845 echo 'Do not run "autoupdate" in the above tests. Use "$$AUTOUPDATE" instead.' 1>&2; \
846 exit 1; \
848 @if grep -v '^#' $(srcdir)/tests/*.test | grep -E ':[ ]*automake([^:]|$$)'; then \
849 echo 'Do not run "automake" in the above tests. Use "$$AUTOMAKE" instead.' 1>&2; \
850 exit 1; \
852 @if grep -v '^#' $(srcdir)/tests/*.test | grep '\$$AUTOMAKE.*&&.*exit'; then \
853 echo 'Use AUTOMAKE_fails + grep to catch automake failures in the above tests.' 1>&2; \
854 exit 1; \
856 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*aclocal'; then \
857 echo 'Do not run "aclocal" in the above tests. Use "$$ACLOCAL" instead.' 1>&2; \
858 exit 1; \
860 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*perl'; then \
861 echo 'Do not run "perl" in the above tests. Use "$$PERL" instead.' 1>&2; \
862 exit 1; \
864 @if grep -E '\$$MAKE .*(SHELL=.*=|=.*SHELL=)' $(srcdir)/tests/*.test; then \
865 echo 'Rewrite "$$MAKE foo=bar SHELL=$$SHELL" as "foo=bar $$MAKE -e SHELL=$$SHELL"' 1>&2; \
866 echo ' in the above lines, it is more portable.' 1>&2; \
867 exit 1; \
869 @if grep -v SHELL $(srcdir)/tests/*.test | grep '\$$MAKE .*=' ; then \
870 echo 'Rewrite "$$MAKE foo=bar" as "foo=bar $$MAKE -e" in the above lines,' 1>&2; \
871 echo 'it is more portable.' 1>&2; \
872 exit 1; \
874 @if grep 'SHELL=.*\$$MAKE' $(srcdir)/tests/*.test; then \
875 echo '$$MAKE ignores the SHELL envvar, use "$$MAKE SHELL=$$SHELL" in' 1>&2; \
876 echo 'the above lines.' 1>&2; \
877 exit 1; \
879 @if grep -E '\bsleep +[12345]\b' $(srcdir)/tests/*.test; then \
880 echo 'Do not use "sleep x" in the above tests. Use "$$sleep" instead.' 1>&2; \
881 exit 1; \
883 @if grep -E '\b[ef]grep\b' $(srcdir)/tests/*.test ; then \
884 echo 'Do not use egrep or fgrep in test cases. Use $$FGREP or $$EGREP.' 1>&2; \
885 exit 1; \
887 @if grep -E '\b[ef]grep\b' $(srcdir)/lib/am/*.am $(srcdir)/m4/*.m4; then \
888 echo 'Do not use egrep or fgrep in the above files, they are not portable.' 1>&2; \
889 exit 1; \
891 @if test `grep -E '^[^#]*@[A-Za-z_0-9]+@' aclocal | wc -l` -ne 0; then \
892 echo "Unresolved @...@ substitution in aclocal" 1>&2; \
893 exit 1; \
895 @if test `grep -E '^[^#]*@[A-Za-z_0-9]+@' automake | wc -l` -ne 0; then \
896 echo "Unresolved @...@ substitution in automake" 1>&2; \
897 exit 1; \
900 # Tag before making distribution. Also, don't make a distribution if
901 # checks fail. Also, make sure the NEWS file is up-to-date.
902 cvs-dist: maintainer-check distcheck
903 @if sed 1q $(srcdir)/NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
904 echo "NEWS not updated; not releasing" 1>&2; \
905 exit 1; \
907 cd $(srcdir) && cvs -q tag `echo "Release-$(VERSION)" | sed 's/\./-/g'`
908 $(MAKE) dist
910 cvs-diff:
911 thisver=`echo "Release-$(VERSION)" | sed 's/\./-/g'`; \
912 if test -z "$$OLDVERSION"; then \
913 prevno=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
914 else prevno="$$OLDVERSION"; fi; \
915 prevver=Release-`echo $$prevno | sed 's/\./-/g'`; \
916 cvs -f rdiff -c -r $$prevver -r $$thisver $(PACKAGE) \
917 > $(PACKAGE)-$$prevno-$(VERSION).diff
919 path-check: distdir
920 (cd $(distdir) && \
921 find . -print | xargs pathchk -p); \
922 status=$$?; \
923 chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir); \
924 exit $$status
926 fetch:
927 rm -rf Fetchdir > /dev/null 2>&1
928 mkdir Fetchdir; mkdir Fetchdir/Automake
929 (cd Fetchdir && \
930 $(WGET) ftp://ftp.gnu.org/gnu/config/config.guess; \
931 $(WGET) ftp://ftp.gnu.org/gnu/config/config.sub; \
932 $(WGET) ftp://ftp.gnu.org/gnu/texinfo/texinfo.tex; \
933 $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/autoconf/autoconf/lib/Autom4te/Struct.pm?content-type=text/plain -O Automake/Struct.pm; \
934 $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/autoconf/autoconf/lib/Autom4te/XFile.pm?content-type=text/plain -O Automake/XFile.pm; \
935 $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/autoconf/autoconf/INSTALL?content-type=text/plain -O INSTALL; \
936 $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/gcc/gcc/config-ml.in; \
937 $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/gcc/gcc/symlink-tree)
938 perl -pi -e 's/Autom4te::/Automake::/g' \
939 Fetchdir/Automake/Struct.pm Fetchdir/Automake/XFile.pm
940 @stat=0; for file in $(FETCHFILES); do \
941 if diff -u $(srcdir)/lib/$$file Fetchdir/$$file \
942 >>Fetchdir/update.patch 2>/dev/null; then :; \
943 else \
944 stat=1; \
945 echo "Updating $(srcdir)/lib/$$file..."; \
946 cp Fetchdir/$$file $(srcdir)/lib/$$file; \
947 fi; \
948 done; \
949 test $$stat = 1 && \
950 echo "See Fetchdir/update.patch for a log of the changes."; \
951 exit $$stat
952 # Tell versions [3.59,3.63) of GNU make to not export all variables.
953 # Otherwise a system limit (for SysV at least) may be exceeded.
954 .NOEXPORT: