2003-02-10 Richard Dawe <rich@phekda.freeserve.co.uk>
[automake.git] / Makefile.in
blobde30f1d2d16865852521955cc1f5bb4695b2cb24
1 # Makefile.in generated by automake 1.7.2a from Makefile.am.
2 # @configure_input@
4 # Copyright 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 = .
25 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
26 INSTALL = @INSTALL@
27 install_sh_DATA = $(install_sh) -c -m 644
28 install_sh_PROGRAM = $(install_sh) -c
29 install_sh_SCRIPT = $(install_sh) -c
30 INSTALL_HEADER = $(INSTALL_DATA)
31 transform = $(program_transform_name)
32 NORMAL_INSTALL = :
33 PRE_INSTALL = :
34 POST_INSTALL = :
35 NORMAL_UNINSTALL = :
36 PRE_UNINSTALL = :
37 POST_UNINSTALL = :
38 ACLOCAL = @ACLOCAL@
39 AMTAR = @AMTAR@
40 APIVERSION = @APIVERSION@
41 AUTOCONF = @AUTOCONF@
42 AUTOHEADER = @AUTOHEADER@
43 AUTOMAKE = @AUTOMAKE@
44 AWK = @AWK@
45 CYGPATH_W = @CYGPATH_W@
46 DEFS = @DEFS@
47 ECHO_C = @ECHO_C@
48 ECHO_N = @ECHO_N@
49 ECHO_T = @ECHO_T@
50 EGREP = @EGREP@
51 FGREP = @FGREP@
52 INSTALL_DATA = @INSTALL_DATA@
53 INSTALL_PROGRAM = @INSTALL_PROGRAM@
54 INSTALL_SCRIPT = @INSTALL_SCRIPT@
55 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
56 LIBOBJS = @LIBOBJS@
57 LIBS = @LIBS@
58 LN = @LN@
59 LTLIBOBJS = @LTLIBOBJS@
60 MAKEINFO = @MAKEINFO@
61 PACKAGE = @PACKAGE@
62 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
63 PACKAGE_NAME = @PACKAGE_NAME@
64 PACKAGE_STRING = @PACKAGE_STRING@
65 PACKAGE_TARNAME = @PACKAGE_TARNAME@
66 PACKAGE_VERSION = @PACKAGE_VERSION@
67 PATH_SEPARATOR = @PATH_SEPARATOR@
68 PERL = @PERL@
69 SET_MAKE = @SET_MAKE@
70 SHELL = @SHELL@
71 STRIP = @STRIP@
72 TEX = @TEX@
73 VERSION = @VERSION@
74 ac_ct_STRIP = @ac_ct_STRIP@
75 am__leading_dot = @am__leading_dot@
76 bindir = @bindir@
77 build_alias = @build_alias@
78 datadir = @datadir@
79 exec_prefix = @exec_prefix@
80 host_alias = @host_alias@
81 includedir = @includedir@
82 infodir = @infodir@
83 install_sh = @install_sh@
84 libdir = @libdir@
85 libexecdir = @libexecdir@
86 localstatedir = @localstatedir@
87 mandir = @mandir@
88 oldincludedir = @oldincludedir@
89 pkgvdatadir = @pkgvdatadir@
90 prefix = @prefix@
91 program_transform_name = @program_transform_name@
92 sbindir = @sbindir@
93 sharedstatedir = @sharedstatedir@
94 sysconfdir = @sysconfdir@
95 target_alias = @target_alias@
97 SUBDIRS = . m4 lib tests
99 bin_SCRIPTS = automake aclocal
100 info_TEXINFOS = automake.texi
102 CLEANFILES = $(bin_SCRIPTS)
103 AUTOMAKESOURCES = automake.in aclocal.in
105 TAGS_FILES = $(AUTOMAKESOURCES)
107 # The following requires a fixed version of the Emacs 19.30 etags.
108 ETAGS_ARGS = --lang=none \
109 --regex='/^@node[ \t]+\([^,]+\)/\1/' $(srcdir)/automake.texi
111 TAGS_DEPENDENCIES = automake.texi
113 EXTRA_DIST = ChangeLog.96 ChangeLog.98 ChangeLog.00 ChangeLog.01 \
114 $(AUTOMAKESOURCES)
117 do_subst = sed -e 's,[@]datadir[@],$(datadir),g' -e 's,[@]PERL[@],$(PERL),g' \
118 -e 's,[@]configure_input[@],@configure_input@,g' \
119 -e 's,[@]PACKAGE[@],$(PACKAGE),g' \
120 -e 's,[@]VERSION[@],$(VERSION),g' \
121 -e 's,[@]APIVERSION[@],$(APIVERSION),g' \
122 -e 's,[@]SHELL[@],$(SHELL),g'
125 WGET = wget
127 FETCHFILES = \
128 Automake/Struct.pm \
129 Automake/XFile.pm \
130 INSTALL \
131 config.guess \
132 config.sub \
133 texinfo.tex
135 subdir = .
136 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
137 mkinstalldirs = $(SHELL) $(top_srcdir)/lib/mkinstalldirs
138 CONFIG_CLEAN_FILES =
139 SCRIPTS = $(bin_SCRIPTS)
141 DIST_SOURCES =
142 TEXINFO_TEX = $(top_srcdir)/lib/texinfo.tex
143 am__TEXINFO_TEX_DIR = $(top_srcdir)/lib
144 INFO_DEPS = automake.info
145 DVIS = automake.dvi
146 PDFS = automake.pdf
147 PSS = automake.ps
148 TEXINFOS = automake.texi
150 RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
151 ps-recursive install-info-recursive uninstall-info-recursive \
152 all-recursive install-data-recursive install-exec-recursive \
153 installdirs-recursive install-recursive uninstall-recursive \
154 check-recursive installcheck-recursive
155 DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \
156 Makefile.in NEWS THANKS TODO aclocal.m4 configure configure.in \
157 stamp-vti version.texi
158 DIST_SUBDIRS = $(SUBDIRS)
159 all: all-recursive
161 .SUFFIXES:
162 .SUFFIXES: .dvi .info .pdf .ps .texi
164 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
165 configure.lineno
166 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
167 cd $(top_srcdir) && \
168 $(AUTOMAKE) --gnu Makefile
169 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
170 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
172 $(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
173 $(SHELL) ./config.status --recheck
174 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
175 cd $(srcdir) && $(AUTOCONF)
177 $(ACLOCAL_M4): configure.in
178 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
179 binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
180 install-binSCRIPTS: $(bin_SCRIPTS)
181 @$(NORMAL_INSTALL)
182 $(mkinstalldirs) $(DESTDIR)$(bindir)
183 @list='$(bin_SCRIPTS)'; for p in $$list; do \
184 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
185 if test -f $$d$$p; then \
186 f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
187 echo " $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f"; \
188 $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f; \
189 else :; fi; \
190 done
192 uninstall-binSCRIPTS:
193 @$(NORMAL_UNINSTALL)
194 @list='$(bin_SCRIPTS)'; for p in $$list; do \
195 f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
196 echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
197 rm -f $(DESTDIR)$(bindir)/$$f; \
198 done
200 .texi.info:
201 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
202 $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
203 -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
205 .texi.dvi:
206 TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
207 MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
208 $(TEXI2DVI) `test -f '$<' || echo '$(srcdir)/'`$<
210 .texi.pdf:
211 TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
212 MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
213 $(TEXI2PDF) `test -f '$<' || echo '$(srcdir)/'`$<
214 automake.info: automake.texi version.texi
215 automake.dvi: automake.texi version.texi
216 automake.pdf: automake.texi version.texi
217 version.texi: stamp-vti
218 stamp-vti: automake.texi $(top_srcdir)/configure
219 @(dir=.; test -f ./automake.texi || dir=$(srcdir); \
220 set `$(SHELL) $(top_srcdir)/lib/mdate-sh $$dir/automake.texi`; \
221 echo "@set UPDATED $$1 $$2 $$3"; \
222 echo "@set UPDATED-MONTH $$2 $$3"; \
223 echo "@set EDITION $(VERSION)"; \
224 echo "@set VERSION $(VERSION)") > vti.tmp
225 @cmp -s vti.tmp version.texi \
226 || (echo "Updating version.texi"; \
227 cp vti.tmp version.texi)
228 -@rm -f vti.tmp
229 @cp version.texi $@
231 mostlyclean-vti:
232 -rm -f vti.tmp
234 maintainer-clean-vti:
235 -rm -f stamp-vti version.texi
236 TEXI2DVI = texi2dvi
238 TEXI2PDF = $(TEXI2DVI) --pdf --batch
239 DVIPS = dvips
240 .dvi.ps:
241 $(DVIPS) -o $@ $<
243 uninstall-info-am:
244 $(PRE_UNINSTALL)
245 @if (install-info --version && \
246 install-info --version | grep -i -v debian) >/dev/null 2>&1; then \
247 list='$(INFO_DEPS)'; \
248 for file in $$list; do \
249 relfile=`echo "$$file" | sed 's|^.*/||'`; \
250 echo " install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$relfile"; \
251 install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$relfile; \
252 done; \
253 else :; fi
254 @$(NORMAL_UNINSTALL)
255 @list='$(INFO_DEPS)'; \
256 for file in $$list; do \
257 relfile=`echo "$$file" | sed 's|^.*/||'`; \
258 (if cd $(DESTDIR)$(infodir); then \
259 echo " rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9])"; \
260 rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9]; \
261 else :; fi); \
262 done
264 dist-info: $(INFO_DEPS)
265 list='$(INFO_DEPS)'; \
266 for base in $$list; do \
267 if test -f $$base; then d=.; else d=$(srcdir); fi; \
268 for file in $$d/$$base*; do \
269 relfile=`expr "$$file" : "$$d/\(.*\)"`; \
270 test -f $(distdir)/$$relfile || \
271 cp -p $$file $(distdir)/$$relfile; \
272 done; \
273 done
275 mostlyclean-aminfo:
276 -rm -f automake.aux automake.cm automake.cp automake.cps automake.cv \
277 automake.fn automake.ky automake.kys automake.log automake.op \
278 automake.ov automake.pg automake.pgs automake.tmp \
279 automake.toc automake.tp automake.tps automake.tr automake.vr \
280 automake.vrs automake.dvi automake.pdf automake.ps
282 maintainer-clean-aminfo:
283 list='$(INFO_DEPS)'; for i in $$list; do \
284 rm -f $$i; \
285 if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
286 rm -f $$i-[0-9]*; \
287 fi; \
288 done
290 # This directory's subdirectories are mostly independent; you can cd
291 # into them and run `make' without going through this Makefile.
292 # To change the values of `make' variables: instead of editing Makefiles,
293 # (1) if the variable is set in `config.status', edit `config.status'
294 # (which will cause the Makefiles to be regenerated when you run `make');
295 # (2) otherwise, pass the desired values on the `make' command line.
296 $(RECURSIVE_TARGETS):
297 @set fnord $$MAKEFLAGS; amf=$$2; \
298 dot_seen=no; \
299 target=`echo $@ | sed s/-recursive//`; \
300 list='$(SUBDIRS)'; for subdir in $$list; do \
301 echo "Making $$target in $$subdir"; \
302 if test "$$subdir" = "."; then \
303 dot_seen=yes; \
304 local_target="$$target-am"; \
305 else \
306 local_target="$$target"; \
307 fi; \
308 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
309 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
310 done; \
311 if test "$$dot_seen" = "no"; then \
312 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
313 fi; test -z "$$fail"
315 mostlyclean-recursive clean-recursive distclean-recursive \
316 maintainer-clean-recursive:
317 @set fnord $$MAKEFLAGS; amf=$$2; \
318 dot_seen=no; \
319 case "$@" in \
320 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
321 *) list='$(SUBDIRS)' ;; \
322 esac; \
323 rev=''; for subdir in $$list; do \
324 if test "$$subdir" = "."; then :; else \
325 rev="$$subdir $$rev"; \
326 fi; \
327 done; \
328 rev="$$rev ."; \
329 target=`echo $@ | sed s/-recursive//`; \
330 for subdir in $$rev; do \
331 echo "Making $$target in $$subdir"; \
332 if test "$$subdir" = "."; then \
333 local_target="$$target-am"; \
334 else \
335 local_target="$$target"; \
336 fi; \
337 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
338 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
339 done && test -z "$$fail"
340 tags-recursive:
341 list='$(SUBDIRS)'; for subdir in $$list; do \
342 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
343 done
344 ctags-recursive:
345 list='$(SUBDIRS)'; for subdir in $$list; do \
346 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
347 done
349 ETAGS = etags
350 ETAGSFLAGS =
352 CTAGS = ctags
353 CTAGSFLAGS =
355 tags: TAGS
357 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
358 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
359 unique=`for i in $$list; do \
360 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
361 done | \
362 $(AWK) ' { files[$$0] = 1; } \
363 END { for (i in files) print i; }'`; \
364 mkid -fID $$unique
366 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
367 $(TAGS_FILES) $(LISP)
368 tags=; \
369 here=`pwd`; \
370 list='$(SUBDIRS)'; for subdir in $$list; do \
371 if test "$$subdir" = .; then :; else \
372 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
373 fi; \
374 done; \
375 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
376 unique=`for i in $$list; do \
377 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
378 done | \
379 $(AWK) ' { files[$$0] = 1; } \
380 END { for (i in files) print i; }'`; \
381 test -z "$(ETAGS_ARGS)$$tags$$unique" \
382 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
383 $$tags $$unique
385 ctags: CTAGS
386 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
387 $(TAGS_FILES) $(LISP)
388 tags=; \
389 here=`pwd`; \
390 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
391 unique=`for i in $$list; do \
392 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
393 done | \
394 $(AWK) ' { files[$$0] = 1; } \
395 END { for (i in files) print i; }'`; \
396 test -z "$(CTAGS_ARGS)$$tags$$unique" \
397 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
398 $$tags $$unique
400 GTAGS:
401 here=`$(am__cd) $(top_builddir) && pwd` \
402 && cd $(top_srcdir) \
403 && gtags -i $(GTAGS_ARGS) $$here
405 distclean-tags:
406 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
407 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
409 top_distdir = .
410 distdir = $(PACKAGE)-$(VERSION)
412 am__remove_distdir = \
413 { test ! -d $(distdir) \
414 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
415 && rm -fr $(distdir); }; }
417 GZIP_ENV = --best
418 distuninstallcheck_listfiles = find . -type f -print
419 distcleancheck_listfiles = find . -type f -print
421 distdir: $(DISTFILES)
422 $(am__remove_distdir)
423 mkdir $(distdir)
424 $(mkinstalldirs) $(distdir)/m4 $(distdir)/tests
425 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
426 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
427 list='$(DISTFILES)'; for file in $$list; do \
428 case $$file in \
429 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
430 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
431 esac; \
432 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
433 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
434 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
435 dir="/$$dir"; \
436 $(mkinstalldirs) "$(distdir)$$dir"; \
437 else \
438 dir=''; \
439 fi; \
440 if test -d $$d/$$file; then \
441 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
442 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
443 fi; \
444 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
445 else \
446 test -f $(distdir)/$$file \
447 || cp -p $$d/$$file $(distdir)/$$file \
448 || exit 1; \
449 fi; \
450 done
451 list='$(SUBDIRS)'; for subdir in $$list; do \
452 if test "$$subdir" = .; then :; else \
453 test -d $(distdir)/$$subdir \
454 || mkdir $(distdir)/$$subdir \
455 || exit 1; \
456 (cd $$subdir && \
457 $(MAKE) $(AM_MAKEFLAGS) \
458 top_distdir="$(top_distdir)" \
459 distdir=../$(distdir)/$$subdir \
460 distdir) \
461 || exit 1; \
462 fi; \
463 done
464 $(MAKE) $(AM_MAKEFLAGS) \
465 top_distdir="$(top_distdir)" distdir="$(distdir)" \
466 dist-info
467 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
468 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
469 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
470 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
471 || chmod -R a+r $(distdir)
472 dist-gzip: distdir
473 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
474 $(am__remove_distdir)
476 dist-bzip2: distdir
477 $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
478 $(am__remove_distdir)
480 dist dist-all: distdir
481 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
482 $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
483 $(am__remove_distdir)
485 # This target untars the dist file and tries a VPATH configuration. Then
486 # it guarantees that the distribution is self-contained by making another
487 # tarfile.
488 distcheck: dist
489 $(am__remove_distdir)
490 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
491 chmod -R a-w $(distdir); chmod a+w $(distdir)
492 mkdir $(distdir)/_build
493 mkdir $(distdir)/_inst
494 chmod a-w $(distdir)
495 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd` \
496 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
497 && cd $(distdir)/_build \
498 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
499 $(DISTCHECK_CONFIGURE_FLAGS) \
500 && $(MAKE) $(AM_MAKEFLAGS) \
501 && $(MAKE) $(AM_MAKEFLAGS) dvi \
502 && $(MAKE) $(AM_MAKEFLAGS) check \
503 && $(MAKE) $(AM_MAKEFLAGS) install \
504 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
505 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
506 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
507 distuninstallcheck \
508 && chmod -R a-w "$$dc_install_base" \
509 && ({ \
510 (cd ../.. && $(mkinstalldirs) "$$dc_destdir") \
511 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
512 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
513 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
514 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
515 } || { rm -rf "$$dc_destdir"; exit 1; }) \
516 && rm -rf "$$dc_destdir" \
517 && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
518 && rm -f $(distdir).tar.gz \
519 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
520 $(am__remove_distdir)
521 @echo "$(distdir).tar.gz is ready for distribution" | \
522 sed 'h;s/./=/g;p;x;p;x'
523 distuninstallcheck:
524 cd $(distuninstallcheck_dir) \
525 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
526 || { echo "ERROR: files left after uninstall:" ; \
527 if test -n "$(DESTDIR)"; then \
528 echo " (check DESTDIR support)"; \
529 fi ; \
530 $(distuninstallcheck_listfiles) ; \
531 exit 1; } >&2
532 distcleancheck: distclean
533 if test '$(srcdir)' = . ; then \
534 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
535 exit 1 ; \
537 test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
538 || { echo "ERROR: files left in build directory after distclean:" ; \
539 $(distcleancheck_listfiles) ; \
540 exit 1; } >&2
541 check-am: all-am
542 check: check-recursive
543 all-am: Makefile $(INFO_DEPS) $(SCRIPTS)
544 installdirs: installdirs-recursive
545 installdirs-am:
546 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(infodir)
548 install: install-recursive
549 install-exec: install-exec-recursive
550 install-data: install-data-recursive
551 uninstall: uninstall-recursive
553 install-am: all-am
554 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
556 installcheck: installcheck-recursive
557 install-strip:
558 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
559 INSTALL_STRIP_FLAG=-s \
560 `test -z '$(STRIP)' || \
561 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
562 mostlyclean-generic:
564 clean-generic:
565 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
567 distclean-generic:
568 -rm -f Makefile $(CONFIG_CLEAN_FILES)
570 maintainer-clean-generic:
571 @echo "This command is intended for maintainers to use"
572 @echo "it deletes files that may require special tools to rebuild."
573 clean: clean-recursive
575 clean-am: clean-generic mostlyclean-am
577 distclean: distclean-recursive
578 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
579 distclean-am: clean-am distclean-generic distclean-tags
581 dvi: dvi-recursive
583 dvi-am: $(DVIS)
585 info: info-recursive
587 info-am: $(INFO_DEPS)
589 install-data-am: install-info-am
591 install-exec-am: install-binSCRIPTS
592 @$(NORMAL_INSTALL)
593 $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
595 install-info: install-info-recursive
597 install-info-am: $(INFO_DEPS)
598 @$(NORMAL_INSTALL)
599 $(mkinstalldirs) $(DESTDIR)$(infodir)
600 @list='$(INFO_DEPS)'; \
601 for file in $$list; do \
602 if test -f $$file; then d=.; else d=$(srcdir); fi; \
603 for ifile in $$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9]; do \
604 if test -f $$ifile; then \
605 relfile=`echo "$$ifile" | sed 's|^.*/||'`; \
606 echo " $(INSTALL_DATA) $$ifile $(DESTDIR)$(infodir)/$$relfile"; \
607 $(INSTALL_DATA) $$ifile $(DESTDIR)$(infodir)/$$relfile; \
608 else : ; fi; \
609 done; \
610 done
611 @$(POST_INSTALL)
612 @if (install-info --version && \
613 install-info --version | grep -i -v debian) >/dev/null 2>&1; then \
614 list='$(INFO_DEPS)'; \
615 for file in $$list; do \
616 relfile=`echo "$$file" | sed 's|^.*/||'`; \
617 echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$relfile";\
618 install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$relfile || :;\
619 done; \
620 else : ; fi
621 install-man:
623 installcheck-am:
625 maintainer-clean: maintainer-clean-recursive
626 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
627 -rm -rf autom4te.cache
628 maintainer-clean-am: distclean-am maintainer-clean-aminfo \
629 maintainer-clean-generic maintainer-clean-vti
631 mostlyclean: mostlyclean-recursive
633 mostlyclean-am: mostlyclean-aminfo mostlyclean-generic mostlyclean-vti
635 pdf: pdf-recursive
637 pdf-am: $(PDFS)
639 ps: ps-recursive
641 ps-am: $(PSS)
643 uninstall-am: uninstall-binSCRIPTS uninstall-info-am
644 @$(NORMAL_INSTALL)
645 $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
647 uninstall-info: uninstall-info-recursive
649 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \
650 clean-generic clean-recursive ctags ctags-recursive dist \
651 dist-all dist-bzip2 dist-gzip dist-info distcheck distclean \
652 distclean-generic distclean-recursive distclean-tags \
653 distcleancheck distdir distuninstallcheck dvi dvi-am \
654 dvi-recursive info info-am info-recursive install install-am \
655 install-binSCRIPTS install-data install-data-am \
656 install-data-recursive install-exec install-exec-am \
657 install-exec-recursive install-info install-info-am \
658 install-info-recursive install-man install-recursive \
659 install-strip installcheck installcheck-am installdirs \
660 installdirs-am installdirs-recursive maintainer-clean \
661 maintainer-clean-aminfo maintainer-clean-generic \
662 maintainer-clean-recursive maintainer-clean-vti mostlyclean \
663 mostlyclean-aminfo mostlyclean-generic mostlyclean-recursive \
664 mostlyclean-vti pdf pdf-am pdf-recursive ps ps-am ps-recursive \
665 tags tags-recursive uninstall uninstall-am uninstall-binSCRIPTS \
666 uninstall-info-am uninstall-info-recursive uninstall-recursive
669 install-exec-hook:
670 @$(POST_INSTALL)
671 @for p in $(bin_SCRIPTS); do \
672 f="`echo $$p|sed '$(transform)'`"; \
673 fv="$$f-$(APIVERSION)"; \
674 rm -f $(DESTDIR)$(bindir)/$$fv; \
675 echo " $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv"; \
676 $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv; \
677 done
679 uninstall-hook:
680 @for p in $(bin_SCRIPTS); do \
681 f="`echo $$p|sed '$(transform)'`"; \
682 fv="$$f-$(APIVERSION)"; \
683 rm -f $(DESTDIR)$(bindir)/$$fv; \
684 done
686 automake: automake.in Makefile
687 $(do_subst) < $(srcdir)/automake.in > automake
688 chmod +x automake
690 aclocal: aclocal.in Makefile
691 $(do_subst) < $(srcdir)/aclocal.in > aclocal
692 chmod +x aclocal
694 INSTALL: lib/INSTALL
695 cp lib/INSTALL $@
697 ################################################################
699 # Some simple checks, and then ordinary check. These are only really
700 # guaranteed to work on my machine.
701 maintainer-check: automake aclocal
702 @if test `diff $(srcdir)/automake.in automake | wc -l` -ne 24; then \
703 echo "found too many diffs between automake.in and automake"; 1>&2; \
704 diff -c $(srcdir)/automake.in automake; \
705 exit 1; \
707 perllibdir=$(srcdir)/lib $(PERL) -c -w automake
708 perllibdir=$(srcdir)/lib $(PERL) -c -w aclocal
709 @if grep -F '$${' $(srcdir)/lib/am/[a-z]*.am | \
710 grep -F -v '$$$$'; then \
711 echo "Found too many uses of '\$${' in the lines above." 1>&2; \
712 exit 1; \
713 else :; fi
714 @if grep -E '\<rm ([^-]|\-[^f ]*\>)' \
715 $(srcdir)/lib/am/[a-z]*.am $(srcdir)/tests/*.test | \
716 grep -v '##'; then \
717 echo "Suspicious 'rm' invocation." 1>&2; \
718 exit 1; \
719 else :; fi
720 @if grep 'for .* in \$$(' $(srcdir)/lib/am/[a-z]*.am; then \
721 echo 'Use "list=$$(mumble); for var in $$$$list".' 1>&2 ; \
722 exit 1; \
723 else :; fi
724 @if grep -n 'mkinstalldirs' $(srcdir)/lib/am/[a-z]*.am | \
725 grep -F -v '$$(mkinstalldirs)'; then \
726 echo "Found incorrect use of mkinstalldirs in the lines above" 1>&2; \
727 exit 1; \
728 else :; fi
729 @if grep -n -w 'undef ' $(srcdir)/automake.in | \
730 grep -F -v 'undef $$/'; then \
731 echo "Found undef in automake.in; use delete instead" 1>&2; \
732 exit 1; \
734 @if grep -n 'split (/ /' $(srcdir)/automake.in; then \
735 echo "Found bad split in the lines above." 1>&2; \
736 exit 1; \
738 @if grep -n '^[^#]*` *cd ' $(srcdir)/automake.in \
739 $(srcdir)/lib/am/*.am; then \
740 echo "Consider using $$$$(am__cd) in the line above." 1>&2; \
741 exit 1; \
743 @if grep -Hn '[^) ] *= *@_' $(srcdir)/automake.in; then \
744 echo "Using @_ in a scalar context in the lines above." 1>&2; \
745 exit 1; \
747 @if grep '^[ \t]*local *(' $(srcdir)/automake.in; then \
748 echo "Don't use \`local' with parens: use several \`local' above." >&2; \
749 exit 1; \
751 @locals=`grep -v '^[ \t]*local \$$_;' $(srcdir)/automake.in | \
752 grep -c '^[ \t]*local [^*]'`; \
753 case $$locals in \
754 [0] ) \
755 echo "Wow, congrats! There are no \`local' now!." >&2; \
756 echo "Please update Makefile.am (maintainer-check)." >&2; \
757 exit 1; \
758 ;; \
759 1 ) ;; \
760 * ) \
761 echo "Too many \`local'! Are you sure you need $$locals of them?" >&2; \
762 echo "Up to now 1 was enough." >&2; \
763 exit 1; \
764 ;; \
765 esac
766 @if grep '@AMDEP''_TRUE@' $(srcdir)/automake.in; then \
767 echo "Don't put AMDEP_TRUE substitution in automake.in" 1>&2; \
768 exit 1; \
770 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*make'; then \
771 echo 'Do not run "make" in the above tests. Use "$$MAKE" instead.' 1>&2; \
772 exit 1; \
774 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*autoconf'; then \
775 echo 'Do not run "autoconf" in the above tests. Use "$$AUTOCONF" instead.' 1>&2; \
776 exit 1; \
778 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*autoupdate'; then \
779 echo 'Do not run "autoupdate" in the above tests. Use "$$AUTOUPDATE" instead.' 1>&2; \
780 exit 1; \
782 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*automake'; then \
783 echo 'Do not run "automake" in the above tests. Use "$$AUTOMAKE" instead.' 1>&2; \
784 exit 1; \
786 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*aclocal'; then \
787 echo 'Do not run "aclocal" in the above tests. Use "$$ACLOCAL" instead.' 1>&2; \
788 exit 1; \
790 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*perl'; then \
791 echo 'Do not run "perl" in the above tests. Use "$$PERL" instead.' 1>&2; \
792 exit 1; \
794 @if grep -E '\$$MAKE .*(SHELL=.*=|=.*SHELL=)' $(srcdir)/tests/*.test; then \
795 echo 'Rewrite "$$MAKE foo=bar SHELL=$$SHELL" as "foo=bar $$MAKE -e SHELL=$$SHELL"' 1>&2; \
796 echo ' in the above lines, it is more portable.' 1>&2; \
797 exit 1; \
799 @if grep -v SHELL $(srcdir)/tests/*.test | grep '\$$MAKE .*=' ; then \
800 echo 'Rewrite "$$MAKE foo=bar" as "foo=bar $$MAKE -e" in the above lines,' 1>&2; \
801 echo 'it is more portable.' 1>&2; \
802 exit 1; \
804 @if grep 'SHELL=.*\$$MAKE' $(srcdir)/tests/*.test; then \
805 echo '$$MAKE ignores the SHELL envvar, use "$$MAKE SHELL=$$SHELL" in' 1>&2; \
806 echo 'the above lines.' 1>&2; \
807 exit 1; \
809 @if grep -E '\bsleep +[12345]\b' $(srcdir)/tests/*.test; then \
810 echo 'Do not use "sleep x" in the above tests. Use "$$sleep" instead.' 1>&2; \
811 exit 1; \
813 @if grep -E '\b[ef]grep\b' $(srcdir)/tests/*.test ; then \
814 echo 'Do not use egrep or fgrep in test cases. Use $$FGREP or $$EGREP.' 1>&2; \
815 exit 1; \
817 @if grep -E '\b[ef]grep\b' $(srcdir)/lib/am/*.am $(srcdir)/m4/*.m4; then \
818 echo 'Do not use egrep or fgrep in the above files, they are not portable.' 1>&2; \
819 exit 1; \
821 @if test `grep -E '@[A-Za-z_0-9]+@' aclocal | wc -l` -ne 0; then \
822 echo "Unresolved @...@ substitution in aclocal" 1>&2; \
823 exit 1; \
825 @if test `grep -E '@[A-Za-z_0-9]+@' automake | wc -l` -ne 4; then \
826 echo "Unresolved @...@ substitution in aclocal" 1>&2; \
827 exit 1; \
830 # Tag before making distribution. Also, don't make a distribution if
831 # checks fail. Also, make sure the NEWS file is up-to-date.
832 cvs-dist: maintainer-check distcheck
833 @if sed 1q $(srcdir)/NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
834 echo "NEWS not updated; not releasing" 1>&2; \
835 exit 1; \
837 cd $(srcdir) && cvs -q tag `echo "Release-$(VERSION)" | sed 's/\./-/g'`
838 $(MAKE) dist
840 cvs-diff:
841 thisver=`echo "Release-$(VERSION)" | sed 's/\./-/g'`; \
842 if test -z "$$OLDVERSION"; then \
843 prevno=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
844 else prevno="$$OLDVERSION"; fi; \
845 prevver=Release-`echo $$prevno | sed 's/\./-/g'`; \
846 cvs -f rdiff -c -r $$prevver -r $$thisver $(PACKAGE) \
847 > $(PACKAGE)-$$prevno-$(VERSION).diff
849 path-check: distdir
850 (cd $(distdir) && \
851 find . -print | xargs pathchk -p); \
852 status=$$?; \
853 chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir); \
854 exit $$status
856 fetch:
857 rm -rf Fetchdir > /dev/null 2>&1
858 mkdir Fetchdir; mkdir Fetchdir/Automake
859 (cd Fetchdir && \
860 $(WGET) ftp://ftp.gnu.org/gnu/config/config.guess; \
861 $(WGET) ftp://ftp.gnu.org/gnu/config/config.sub; \
862 $(WGET) ftp://ftp.gnu.org/gnu/texinfo/texinfo.tex; \
863 $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/autoconf/autoconf/lib/Autom4te/Struct.pm?content-type=text/plain -O Automake/Struct.pm; \
864 $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/autoconf/autoconf/lib/Autom4te/XFile.pm?content-type=text/plain -O Automake/XFile.pm; \
865 $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/autoconf/autoconf/INSTALL?content-type=text/plain -O INSTALL)
866 perl -pi -e 's/Autom4te::/Automake::/g' \
867 Fetchdir/Automake/Struct.pm Fetchdir/Automake/XFile.pm
868 @stat=0; for file in $(FETCHFILES); do \
869 if diff -u $(srcdir)/lib/$$file Fetchdir/$$file \
870 >>Fetchdir/update.patch 2>/dev/null; then :; \
871 else \
872 stat=1; \
873 echo "Updating $(srcdir)/lib/$$file..."; \
874 cp Fetchdir/$$file $(srcdir)/lib/$$file; \
875 fi; \
876 done; \
877 test $$stat = 1 && \
878 echo "See Fetchdir/update.patch for a log of the changes."; \
879 exit $$stat
880 # Tell versions [3.59,3.63) of GNU make to not export all variables.
881 # Otherwise a system limit (for SysV at least) may be exceeded.
882 .NOEXPORT: