Quote @abs_top_builddir@ and @abs_top_srcdir@.
[automake/plouj.git] / Makefile.in
blobbdbeaea7da5b121e1856a04006cc6c0dccc8a4db
1 # Makefile.in generated by automake 1.10a from Makefile.am.
2 # @configure_input@
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007 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 VPATH = @srcdir@
18 pkgdatadir = $(datadir)/@PACKAGE@
19 pkgincludedir = $(includedir)/@PACKAGE@
20 pkglibdir = $(libdir)/@PACKAGE@
21 pkglibexecdir = $(libexecdir)/@PACKAGE@
22 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
23 install_sh_DATA = $(install_sh) -c -m 644
24 install_sh_PROGRAM = $(install_sh) -c
25 install_sh_SCRIPT = $(install_sh) -c
26 INSTALL_HEADER = $(INSTALL_DATA)
27 transform = $(program_transform_name)
28 NORMAL_INSTALL = :
29 PRE_INSTALL = :
30 POST_INSTALL = :
31 NORMAL_UNINSTALL = :
32 PRE_UNINSTALL = :
33 POST_UNINSTALL = :
34 build_triplet = @build@
35 subdir = .
36 DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
37 $(srcdir)/Makefile.in $(top_srcdir)/configure AUTHORS COPYING \
38 ChangeLog INSTALL NEWS THANKS TODO
39 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
40 am__aclocal_m4_deps = $(top_srcdir)/m4/amversion.m4 \
41 $(top_srcdir)/m4/auxdir.m4 $(top_srcdir)/m4/init.m4 \
42 $(top_srcdir)/m4/install-sh.m4 $(top_srcdir)/m4/lead-dot.m4 \
43 $(top_srcdir)/m4/missing.m4 $(top_srcdir)/m4/mkdirp.m4 \
44 $(top_srcdir)/m4/options.m4 $(top_srcdir)/m4/runlog.m4 \
45 $(top_srcdir)/m4/sanity.m4 $(top_srcdir)/m4/strip.m4 \
46 $(top_srcdir)/m4/substnot.m4 $(top_srcdir)/m4/tar.m4 \
47 $(top_srcdir)/configure.ac
48 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
49 $(ACLOCAL_M4)
50 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
51 configure.lineno config.status.lineno
52 mkinstalldirs = $(SHELL) $(top_srcdir)/lib/mkinstalldirs
53 CONFIG_CLEAN_FILES =
54 am__installdirs = "$(DESTDIR)$(bindir)"
55 binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
56 SCRIPTS = $(bin_SCRIPTS)
57 SOURCES =
58 DIST_SOURCES =
59 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
60 html-recursive info-recursive install-data-recursive \
61 install-dvi-recursive install-exec-recursive \
62 install-html-recursive install-info-recursive \
63 install-pdf-recursive install-ps-recursive install-recursive \
64 installcheck-recursive installdirs-recursive pdf-recursive \
65 ps-recursive uninstall-recursive
66 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
67 distclean-recursive maintainer-clean-recursive
68 ETAGS = etags
69 CTAGS = ctags
70 DIST_SUBDIRS = $(SUBDIRS)
71 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
72 distdir = $(PACKAGE)-$(VERSION)
73 top_distdir = $(distdir)
74 am__remove_distdir = \
75 { test ! -d $(distdir) \
76 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
77 && rm -fr $(distdir); }; }
78 DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
79 GZIP_ENV = --best
80 distuninstallcheck_listfiles = find . -type f -print
81 distcleancheck_listfiles = find . -type f -print
82 ACLOCAL = @ACLOCAL@
83 AMTAR = @AMTAR@
84 APIVERSION = @APIVERSION@
85 AUTOCONF = @AUTOCONF@
86 AUTOHEADER = @AUTOHEADER@
87 AUTOMAKE = @AUTOMAKE@
88 AWK = @AWK@
89 CYGPATH_W = @CYGPATH_W@
90 DEFS = @DEFS@
91 ECHO_C = @ECHO_C@
92 ECHO_N = @ECHO_N@
93 ECHO_T = @ECHO_T@
94 EGREP = @EGREP@
95 FGREP = @FGREP@
96 GREP = @GREP@
97 INSTALL = @INSTALL@
98 INSTALL_DATA = @INSTALL_DATA@
99 INSTALL_PROGRAM = @INSTALL_PROGRAM@
100 INSTALL_SCRIPT = @INSTALL_SCRIPT@
101 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
102 LIBOBJS = @LIBOBJS@
103 LIBS = @LIBS@
104 LN = @LN@
105 LTLIBOBJS = @LTLIBOBJS@
106 MAKEINFO = @MAKEINFO@
107 MKDIR_P = @MKDIR_P@
108 MODIFICATION_DELAY = @MODIFICATION_DELAY@
109 PACKAGE = @PACKAGE@
110 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
111 PACKAGE_NAME = @PACKAGE_NAME@
112 PACKAGE_STRING = @PACKAGE_STRING@
113 PACKAGE_TARNAME = @PACKAGE_TARNAME@
114 PACKAGE_VERSION = @PACKAGE_VERSION@
115 PATH_SEPARATOR = @PATH_SEPARATOR@
116 PERL = @PERL@
117 SET_MAKE = @SET_MAKE@
118 SHELL = @SHELL@
119 STRIP = @STRIP@
120 TEX = @TEX@
121 VERSION = @VERSION@
122 abs_builddir = @abs_builddir@
123 abs_srcdir = @abs_srcdir@
124 abs_top_builddir = @abs_top_builddir@
125 abs_top_srcdir = @abs_top_srcdir@
126 am_AUTOCONF = @am_AUTOCONF@
127 am__leading_dot = @am__leading_dot@
128 am__tar = @am__tar@
129 am__untar = @am__untar@
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 builddir = @builddir@
137 datadir = @datadir@
138 datarootdir = @datarootdir@
139 docdir = @docdir@
140 dvidir = @dvidir@
141 exec_prefix = @exec_prefix@
142 host_alias = @host_alias@
143 htmldir = @htmldir@
144 includedir = @includedir@
145 infodir = @infodir@
146 install_sh = @install_sh@
147 libdir = @libdir@
148 libexecdir = @libexecdir@
149 localedir = @localedir@
150 localstatedir = @localstatedir@
151 mandir = @mandir@
152 mkdir_p = @mkdir_p@
153 oldincludedir = @oldincludedir@
154 pdfdir = @pdfdir@
155 pkgvdatadir = @pkgvdatadir@
156 prefix = @prefix@
157 program_transform_name = @program_transform_name@
158 psdir = @psdir@
159 sbindir = @sbindir@
160 sharedstatedir = @sharedstatedir@
161 srcdir = @srcdir@
162 sysconfdir = @sysconfdir@
163 target_alias = @target_alias@
164 top_builddir = @top_builddir@
165 top_srcdir = @top_srcdir@
166 SUBDIRS = lib . doc m4 tests
167 bin_SCRIPTS = automake aclocal
168 CLEANFILES = $(bin_SCRIPTS)
169 AUTOMAKESOURCES = automake.in aclocal.in
170 TAGS_FILES = $(AUTOMAKESOURCES)
171 EXTRA_DIST = \
172 ChangeLog.96 \
173 ChangeLog.98 \
174 ChangeLog.00 \
175 ChangeLog.01 \
176 ChangeLog.02 \
177 ChangeLog.03 \
178 ChangeLog.04 \
179 $(AUTOMAKESOURCES)
181 do_subst = sed \
182 -e 's,[@]APIVERSION[@],$(APIVERSION),g' \
183 -e 's,[@]PACKAGE[@],$(PACKAGE),g' \
184 -e 's,[@]PATH_SEPARATOR[@],$(PATH_SEPARATOR),g' \
185 -e 's,[@]PERL[@],$(PERL),g' \
186 -e 's,[@]SHELL[@],$(SHELL),g' \
187 -e 's,[@]VERSION[@],$(VERSION),g' \
188 -e 's,[@]configure_input[@],Generated from $@.in; do not edit by hand.,g' \
189 -e 's,[@]datadir[@],$(datadir),g'
191 WGET = wget
192 WGETSGO = $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~
193 FETCHFILES = \
194 INSTALL \
195 config-ml.in \
196 config.guess \
197 config.sub \
198 symlink-tree \
199 texinfo.tex
201 all: all-recursive
203 .SUFFIXES:
204 am--refresh:
206 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
207 @for dep in $?; do \
208 case '$(am__configure_deps)' in \
209 *$$dep*) \
210 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
211 cd $(srcdir) && $(AUTOMAKE) --gnu \
212 && exit 0; \
213 exit 1;; \
214 esac; \
215 done; \
216 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
217 cd $(top_srcdir) && \
218 $(AUTOMAKE) --gnu Makefile
219 .PRECIOUS: Makefile
220 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
221 @case '$?' in \
222 *config.status*) \
223 echo ' $(SHELL) ./config.status'; \
224 $(SHELL) ./config.status;; \
225 *) \
226 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
227 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
228 esac;
230 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
231 $(SHELL) ./config.status --recheck
233 $(top_srcdir)/configure: $(am__configure_deps)
234 cd $(srcdir) && $(AUTOCONF)
235 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
236 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
237 $(am__aclocal_m4_deps):
238 install-binSCRIPTS: $(bin_SCRIPTS)
239 @$(NORMAL_INSTALL)
240 test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
241 @list='$(bin_SCRIPTS)'; for p in $$list; do \
242 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
243 if test -f $$d$$p; then \
244 f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
245 echo " $(binSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(bindir)/$$f'"; \
246 $(binSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(bindir)/$$f"; \
247 else :; fi; \
248 done
250 uninstall-binSCRIPTS:
251 @$(NORMAL_UNINSTALL)
252 @list='$(bin_SCRIPTS)'; for p in $$list; do \
253 f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
254 echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
255 rm -f "$(DESTDIR)$(bindir)/$$f"; \
256 done
258 # This directory's subdirectories are mostly independent; you can cd
259 # into them and run `make' without going through this Makefile.
260 # To change the values of `make' variables: instead of editing Makefiles,
261 # (1) if the variable is set in `config.status', edit `config.status'
262 # (which will cause the Makefiles to be regenerated when you run `make');
263 # (2) otherwise, pass the desired values on the `make' command line.
264 $(RECURSIVE_TARGETS):
265 @failcom='exit 1'; \
266 for f in x $$MAKEFLAGS; do \
267 case $$f in \
268 *=* | --[!k]*);; \
269 *k*) failcom='fail=yes';; \
270 esac; \
271 done; \
272 dot_seen=no; \
273 target=`echo $@ | sed s/-recursive//`; \
274 list='$(SUBDIRS)'; for subdir in $$list; do \
275 echo "Making $$target in $$subdir"; \
276 if test "$$subdir" = "."; then \
277 dot_seen=yes; \
278 local_target="$$target-am"; \
279 else \
280 local_target="$$target"; \
281 fi; \
282 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
283 || eval $$failcom; \
284 done; \
285 if test "$$dot_seen" = "no"; then \
286 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
287 fi; test -z "$$fail"
289 $(RECURSIVE_CLEAN_TARGETS):
290 @failcom='exit 1'; \
291 for f in x $$MAKEFLAGS; do \
292 case $$f in \
293 *=* | --[!k]*);; \
294 *k*) failcom='fail=yes';; \
295 esac; \
296 done; \
297 dot_seen=no; \
298 case "$@" in \
299 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
300 *) list='$(SUBDIRS)' ;; \
301 esac; \
302 rev=''; for subdir in $$list; do \
303 if test "$$subdir" = "."; then :; else \
304 rev="$$subdir $$rev"; \
305 fi; \
306 done; \
307 rev="$$rev ."; \
308 target=`echo $@ | sed s/-recursive//`; \
309 for subdir in $$rev; do \
310 echo "Making $$target in $$subdir"; \
311 if test "$$subdir" = "."; then \
312 local_target="$$target-am"; \
313 else \
314 local_target="$$target"; \
315 fi; \
316 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
317 || eval $$failcom; \
318 done && test -z "$$fail"
319 tags-recursive:
320 list='$(SUBDIRS)'; for subdir in $$list; do \
321 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
322 done
323 ctags-recursive:
324 list='$(SUBDIRS)'; for subdir in $$list; do \
325 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
326 done
328 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
329 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
330 unique=`for i in $$list; do \
331 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
332 done | \
333 $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
334 END { if (nonempty) { for (i in files) print i; }; }'`; \
335 mkid -fID $$unique
336 tags: TAGS
338 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
339 $(TAGS_FILES) $(LISP)
340 set x; \
341 here=`pwd`; \
342 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
343 include_option=--etags-include; \
344 empty_fix=.; \
345 else \
346 include_option=--include; \
347 empty_fix=; \
348 fi; \
349 list='$(SUBDIRS)'; for subdir in $$list; do \
350 if test "$$subdir" = .; then :; else \
351 test ! -f $$subdir/TAGS || \
352 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
353 fi; \
354 done; \
355 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
356 unique=`for i in $$list; do \
357 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
358 done | \
359 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
360 END { if (nonempty) { for (i in files) print i; }; }'`; \
361 shift; \
362 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
363 test -n "$$unique" || unique=$$empty_fix; \
364 if test $$# -gt 0; then \
365 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
366 "$$@" $$unique; \
367 else \
368 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
369 $$unique; \
370 fi; \
372 ctags: CTAGS
373 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
374 $(TAGS_FILES) $(LISP)
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; nonempty = 1; } \
380 END { if (nonempty) { for (i in files) print i; }; }'`; \
381 test -z "$(CTAGS_ARGS)$$unique" \
382 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
383 $$unique
385 GTAGS:
386 here=`$(am__cd) $(top_builddir) && pwd` \
387 && cd $(top_srcdir) \
388 && gtags -i $(GTAGS_ARGS) "$$here"
390 distclean-tags:
391 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
393 distdir: $(DISTFILES)
394 $(am__remove_distdir)
395 test -d $(distdir) || mkdir $(distdir)
396 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
397 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
398 list='$(DISTFILES)'; \
399 dist_files=`for file in $$list; do echo $$file; done | \
400 sed -e "s|^$$srcdirstrip/||;t" \
401 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
402 case $$dist_files in \
403 */*) $(MKDIR_P) `echo "$$dist_files" | \
404 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
405 sort -u` ;; \
406 esac; \
407 for file in $$dist_files; do \
408 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
409 if test -d $$d/$$file; then \
410 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
411 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
412 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
413 fi; \
414 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
415 else \
416 test -f $(distdir)/$$file \
417 || cp -p $$d/$$file $(distdir)/$$file \
418 || exit 1; \
419 fi; \
420 done
421 list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
422 if test "$$subdir" = .; then :; else \
423 test -d "$(distdir)/$$subdir" \
424 || $(MKDIR_P) "$(distdir)/$$subdir" \
425 || exit 1; \
426 distdir=`$(am__cd) $(distdir) && pwd`; \
427 top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
428 (cd $$subdir && \
429 $(MAKE) $(AM_MAKEFLAGS) \
430 top_distdir="$$top_distdir" \
431 distdir="$$distdir/$$subdir" \
432 am__remove_distdir=: \
433 am__skip_length_check=: \
434 distdir) \
435 || exit 1; \
436 fi; \
437 done
438 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
439 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
440 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
441 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
442 || chmod -R a+r $(distdir)
443 @if test -z "$(am__skip_length_check)" && find $(distdir) -type f -print | \
444 grep '^...................................................................................................' 1>&2; then \
445 echo 'error: the above filenames are too long' 1>&2; \
446 exit 1; \
447 else :; fi
448 dist-gzip: distdir
449 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
450 $(am__remove_distdir)
451 dist-bzip2: distdir
452 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
453 $(am__remove_distdir)
455 dist-lzma: distdir
456 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
457 $(am__remove_distdir)
459 dist-tarZ: distdir
460 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
461 $(am__remove_distdir)
463 dist-shar: distdir
464 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
465 $(am__remove_distdir)
467 dist-zip: distdir
468 -rm -f $(distdir).zip
469 zip -rq $(distdir).zip $(distdir)
470 $(am__remove_distdir)
472 dist dist-all: distdir
473 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
474 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
475 $(am__remove_distdir)
477 # This target untars the dist file and tries a VPATH configuration. Then
478 # it guarantees that the distribution is self-contained by making another
479 # tarfile.
480 distcheck: dist
481 case '$(DIST_ARCHIVES)' in \
482 *.tar.gz*) \
483 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
484 *.tar.bz2*) \
485 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
486 *.tar.lzma*) \
487 unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
488 *.tar.Z*) \
489 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
490 *.shar.gz*) \
491 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
492 *.zip*) \
493 unzip $(distdir).zip ;;\
494 esac
495 chmod -R a-w $(distdir); chmod a+w $(distdir)
496 mkdir $(distdir)/_build
497 mkdir $(distdir)/_inst
498 chmod a-w $(distdir)
499 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
500 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
501 && cd $(distdir)/_build \
502 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
503 $(DISTCHECK_CONFIGURE_FLAGS) \
504 && $(MAKE) $(AM_MAKEFLAGS) \
505 && $(MAKE) $(AM_MAKEFLAGS) dvi \
506 && $(MAKE) $(AM_MAKEFLAGS) check \
507 && $(MAKE) $(AM_MAKEFLAGS) install \
508 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
509 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
510 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
511 distuninstallcheck \
512 && chmod -R a-w "$$dc_install_base" \
513 && ({ \
514 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
515 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
516 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
517 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
518 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
519 } || { rm -rf "$$dc_destdir"; exit 1; }) \
520 && rm -rf "$$dc_destdir" \
521 && $(MAKE) $(AM_MAKEFLAGS) dist \
522 && rm -rf $(DIST_ARCHIVES) \
523 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
524 $(am__remove_distdir)
525 @(echo "$(distdir) archives ready for distribution: "; \
526 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
527 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
528 distuninstallcheck:
529 @cd $(distuninstallcheck_dir) \
530 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
531 || { echo "ERROR: files left after uninstall:" ; \
532 if test -n "$(DESTDIR)"; then \
533 echo " (check DESTDIR support)"; \
534 fi ; \
535 $(distuninstallcheck_listfiles) ; \
536 exit 1; } >&2
537 distcleancheck: distclean
538 @if test '$(srcdir)' = . ; then \
539 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
540 exit 1 ; \
542 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
543 || { echo "ERROR: files left in build directory after distclean:" ; \
544 $(distcleancheck_listfiles) ; \
545 exit 1; } >&2
546 check-am: all-am
547 check: check-recursive
548 all-am: Makefile $(SCRIPTS)
549 installdirs: installdirs-recursive
550 installdirs-am:
551 for dir in "$(DESTDIR)$(bindir)"; do \
552 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
553 done
554 install: install-recursive
555 install-exec: install-exec-recursive
556 install-data: install-data-recursive
557 uninstall: uninstall-recursive
559 install-am: all-am
560 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
562 installcheck: installcheck-recursive
563 install-strip:
564 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
565 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
566 `test -z '$(STRIP)' || \
567 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
568 mostlyclean-generic:
570 clean-generic:
571 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
573 distclean-generic:
574 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
576 maintainer-clean-generic:
577 @echo "This command is intended for maintainers to use"
578 @echo "it deletes files that may require special tools to rebuild."
579 clean: clean-recursive
581 clean-am: clean-generic mostlyclean-am
583 distclean: distclean-recursive
584 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
585 -rm -f Makefile
586 distclean-am: clean-am distclean-generic distclean-tags
588 dvi: dvi-recursive
590 dvi-am:
592 html: html-recursive
594 info: info-recursive
596 info-am:
598 install-data-am:
600 install-dvi: install-dvi-recursive
602 install-exec-am: install-binSCRIPTS
603 @$(NORMAL_INSTALL)
604 $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
605 install-html: install-html-recursive
607 install-info: install-info-recursive
609 install-man:
611 install-pdf: install-pdf-recursive
613 install-ps: install-ps-recursive
615 installcheck-am:
617 maintainer-clean: maintainer-clean-recursive
618 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
619 -rm -rf $(top_srcdir)/autom4te.cache
620 -rm -f Makefile
621 maintainer-clean-am: distclean-am maintainer-clean-generic
623 mostlyclean: mostlyclean-recursive
625 mostlyclean-am: mostlyclean-generic
627 pdf: pdf-recursive
629 pdf-am:
631 ps: ps-recursive
633 ps-am:
635 uninstall-am: uninstall-binSCRIPTS
636 @$(NORMAL_INSTALL)
637 $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
638 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
639 install-exec-am install-strip uninstall-am
641 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
642 all all-am am--refresh check check-am clean clean-generic \
643 ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
644 dist-lzma dist-shar dist-tarZ dist-zip distcheck distclean \
645 distclean-generic distclean-tags distcleancheck distdir \
646 distuninstallcheck dvi dvi-am html html-am info info-am \
647 install install-am install-binSCRIPTS install-data \
648 install-data-am install-dvi install-dvi-am install-exec \
649 install-exec-am install-exec-hook install-html install-html-am \
650 install-info install-info-am install-man install-pdf \
651 install-pdf-am install-ps install-ps-am install-strip \
652 installcheck installcheck-am installdirs installdirs-am \
653 maintainer-clean maintainer-clean-generic mostlyclean \
654 mostlyclean-generic pdf pdf-am ps ps-am tags tags-recursive \
655 uninstall uninstall-am uninstall-binSCRIPTS uninstall-hook
658 install-exec-hook:
659 @$(POST_INSTALL)
660 @for p in $(bin_SCRIPTS); do \
661 f="`echo $$p|sed '$(transform)'`"; \
662 fv="$$f-$(APIVERSION)"; \
663 rm -f $(DESTDIR)$(bindir)/$$fv; \
664 echo " $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv"; \
665 $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv; \
666 done
668 uninstall-hook:
669 @for p in $(bin_SCRIPTS); do \
670 f="`echo $$p|sed '$(transform)'`"; \
671 fv="$$f-$(APIVERSION)"; \
672 rm -f $(DESTDIR)$(bindir)/$$fv; \
673 done
675 automake: automake.in
676 aclocal: aclocal.in
677 automake aclocal: Makefile
678 rm -f $@ $@.tmp
679 $(do_subst) $(srcdir)/$@.in >$@.tmp
680 chmod +x $@.tmp
681 chmod a-w $@.tmp
682 mv -f $@.tmp $@
684 INSTALL: lib/INSTALL
685 cp $(srcdir)/lib/INSTALL $@
687 ################################################################
689 # Some simple checks, and then ordinary check. These are only really
690 # guaranteed to work on my machine.
691 maintainer-check: automake aclocal
692 @if test `diff $(srcdir)/automake.in automake | wc -l` -ne 22; then \
693 echo "found too many diffs between automake.in and automake"; 1>&2; \
694 diff -c $(srcdir)/automake.in automake; \
695 exit 1; \
697 perllibdir="./lib$(PATH_SEPARATOR)$(srcdir)/lib" $(PERL) -c -w automake
698 perllibdir="./lib$(PATH_SEPARATOR)$(srcdir)/lib" $(PERL) -c -w aclocal
699 @if grep -F '$${' $(srcdir)/lib/am/[a-z]*.am | \
700 grep -F -v '$$$$'; then \
701 echo "Found too many uses of '\$${' in the lines above." 1>&2; \
702 exit 1; \
703 else :; fi
704 @if grep -v '^#' $(srcdir)/lib/am/[a-z]*.am $(srcdir)/tests/*.test | \
705 grep -E '\<rm ([^-]|\-[^f ]*\>)'; then \
706 echo "Suspicious 'rm' invocation." 1>&2; \
707 exit 1; \
708 else :; fi
709 @if grep 'for .* in \$$(' $(srcdir)/lib/am/[a-z]*.am; then \
710 echo 'Use "list=$$(mumble); for var in $$$$list".' 1>&2 ; \
711 exit 1; \
712 else :; fi
713 @if grep -n 'mkinstalldirs' $(srcdir)/lib/am/[a-z]*.am | \
714 grep -F -v '$$(mkinstalldirs)'; then \
715 echo "Found incorrect use of mkinstalldirs in the lines above" 1>&2; \
716 exit 1; \
717 else :; fi
718 @if grep -E -n '\((PRE|NORMAL|POST)_(|UN)INSTALL\)' \
719 $(srcdir)/lib/am/[a-z]*.am | \
720 grep -v ':##' | grep -v ': @\$$('; then \
721 echo "Found incorrect use of PRE/NORMAL/POST_INSTALL/UNINSTALL in the lines above" 1>&2; \
722 exit 1; \
723 else :; fi
724 @if grep -n -w 'undef ' $(srcdir)/automake.in | \
725 grep -F -v 'undef $$/'; then \
726 echo "Found undef in automake.in; use delete instead" 1>&2; \
727 exit 1; \
729 @if grep -n 'split (/ /' $(srcdir)/automake.in; then \
730 echo "Found bad split in the lines above." 1>&2; \
731 exit 1; \
733 @if grep -n '^[^#]*` *cd ' $(srcdir)/automake.in \
734 $(srcdir)/lib/am/*.am; then \
735 echo "Consider using $$$$(am__cd) in the line above." 1>&2; \
736 exit 1; \
738 @if grep -Hn '[^@_A-Za-z0-9][_A-Za-z0-9]*[^) ] *= *@_' $(srcdir)/automake.in; then \
739 echo "Using @_ in a scalar context in the lines above." 1>&2; \
740 exit 1; \
742 @if grep '^[ \t]*local *(' $(srcdir)/automake.in; then \
743 echo "Don't use \`local' with parens: use several \`local' above." >&2; \
744 exit 1; \
746 @if grep -v '^[ \t]*local \$$_;' $(srcdir)/automake.in | \
747 grep '^[ \t]*local [^*]'; then \
748 echo "Please avoid \`local'." 1>&2; \
749 exit 1; \
751 @if grep '@AMDEP''_TRUE@' $(srcdir)/automake.in; then \
752 echo "Don't put AMDEP_TRUE substitution in automake.in" 1>&2; \
753 exit 1; \
755 @if grep '^[^#].*(MAKE) ' $(srcdir)/lib/am/*.am $(srcdir)/automake.in |\
756 grep -v 'AM_MAKEFLAGS'; then \
757 echo 'Use $$(MAKE) $$(AM_MAKEFLAGS).' 1>&2; \
758 exit 1; \
760 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*make'; then \
761 echo 'Do not run "make" in the above tests. Use "$$MAKE" instead.' 1>&2; \
762 exit 1; \
764 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*autoconf'; then \
765 echo 'Do not run "autoconf" in the above tests. Use "$$AUTOCONF" instead.' 1>&2; \
766 exit 1; \
768 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*autoupdate'; then \
769 echo 'Do not run "autoupdate" in the above tests. Use "$$AUTOUPDATE" instead.' 1>&2; \
770 exit 1; \
772 @if grep -v '^#' $(srcdir)/tests/*.test | grep -E ':[ ]*automake([^:]|$$)'; then \
773 echo 'Do not run "automake" in the above tests. Use "$$AUTOMAKE" instead.' 1>&2; \
774 exit 1; \
776 @if grep -v '^#' $(srcdir)/tests/*.test | grep '\$$AUTOMAKE.*&&.*exit'; then \
777 echo 'Use AUTOMAKE_fails + grep to catch automake failures in the above tests.' 1>&2; \
778 exit 1; \
780 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*aclocal'; then \
781 echo 'Do not run "aclocal" in the above tests. Use "$$ACLOCAL" instead.' 1>&2; \
782 exit 1; \
784 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*perl'; then \
785 echo 'Do not run "perl" in the above tests. Use "$$PERL" instead.' 1>&2; \
786 exit 1; \
788 @for file in $(srcdir)/tests/*.test; do \
789 if out=`sed -n '/defs/,$${/required=/p;}' $$file`; test -n "$$out"; then \
790 echo 'Do not set "required" after sourcing "defs" in '"$$file: $$out" 1>&2; \
791 exit 1; \
792 fi; \
793 done
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 grep 'mkdir_p' $(srcdir)/automake.in \
822 $(srcdir)/lib/am/*.am $(srcdir)/tests/*.test; then \
823 echo 'Do not use mkdir_p in the above files, use MKDIR_P.' 1>&2; \
824 exit 1; \
826 @if test `grep -E '^[^#]*@[A-Za-z_0-9]+@' aclocal | wc -l` -ne 0; then \
827 echo "Unresolved @...@ substitution in aclocal" 1>&2; \
828 exit 1; \
830 @if test `grep -E '^[^#]*@[A-Za-z_0-9]+@' automake | wc -l` -ne 0; then \
831 echo "Unresolved @...@ substitution in automake" 1>&2; \
832 exit 1; \
833 fi; \
834 if grep -E "[^\'\"]\\\$$\(DESTDIR" $(srcdir)/lib/am/*.am; then \
835 echo 'Suspicious unquoted DESTDIR uses.' 1>&2 ; \
836 exit 1; \
838 @if grep ' ' $(srcdir)/doc/automake.texi; then \
839 echo 'Do not use tabs in the manual.' 1>&2; \
840 exit 1; \
842 @if grep -E '([^@]|^)@([ ][^@]|$$)' $(srcdir)/doc/automake.texi; \
843 then \
844 echo 'Unescaped @.' 1>&2; \
845 exit 1; \
848 git-dist: maintainer-check
849 @if (clcommit --version)>/dev/null 2>/dev/null; then :; else \
850 echo "Get clcommit from module cvs-utils on Savannah."; \
851 exit 1; \
853 @if sed 1q $(srcdir)/NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
854 echo "NEWS not updated; not releasing" 1>&2; \
855 exit 1; \
857 $(MAKE) distcheck
858 cd $(srcdir) && clcommit && \
859 git tag -s `echo "Release-$(VERSION)" | sed 's/\./-/g'`
861 git-release: git-dist
862 case $(VERSION) in \
863 *[a-z]) dest=alpha;; \
864 *) dest=ftp;; \
865 esac; \
866 $(srcdir)/lib/gnupload $(GNUPLOADFLAGS) \
867 --to sources.redhat.com:~ftp/pub/automake \
868 --to $$dest.gnu.org:automake $(DIST_ARCHIVES)
870 cvs-diff:
871 thisver=`echo "Release-$(VERSION)" | sed 's/\./-/g'`; \
872 if test -z "$$OLDVERSION"; then \
873 prevno=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
874 else prevno="$$OLDVERSION"; fi; \
875 prevver=Release-`echo $$prevno | sed 's/\./-/g'`; \
876 cvs -f rdiff -c -r $$prevver -r $$thisver $(PACKAGE) \
877 > $(PACKAGE)-$$prevno-$(VERSION).diff
879 git-diff:
880 thisver=`echo "Release-$(VERSION)" | sed 's/\./-/g'`; \
881 if test -z "$$OLDVERSION"; then \
882 prevno=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
883 else prevno="$$OLDVERSION"; fi; \
884 prevver=Release-`echo $$prevno | sed 's/\./-/g'`; \
885 git diff $$prevver $$thisver $(PACKAGE) \
886 > $(PACKAGE)-$$prevno-$(VERSION).diff
888 path-check: distdir
889 (cd $(distdir) && \
890 find . -print | xargs pathchk -p); \
891 status=$$?; \
892 chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir); \
893 exit $$status
895 fetch:
896 rm -rf Fetchdir > /dev/null 2>&1
897 mkdir Fetchdir
898 (cd Fetchdir && \
899 $(WGETSGO)/config/config/config.guess; \
900 $(WGETSGO)/config/config/config.sub; \
901 $(WGETSGO)/texinfo/texinfo/doc/texinfo.tex; \
902 $(WGETSGO)/autoconf/autoconf/INSTALL; \
903 $(WGETSGO)/gcc/gcc/config-ml.in; \
904 $(WGETSGO)/gcc/gcc/symlink-tree)
905 @stat=0; for file in $(FETCHFILES); do \
906 if diff -u $(srcdir)/lib/$$file Fetchdir/$$file \
907 >>Fetchdir/update.patch 2>/dev/null; then :; \
908 else \
909 stat=1; \
910 echo "Updating $(srcdir)/lib/$$file..."; \
911 cp Fetchdir/$$file $(srcdir)/lib/$$file; \
912 fi; \
913 done; \
914 test $$stat = 0 || \
915 echo "See Fetchdir/update.patch for a log of the changes."; \
916 exit $$stat
917 # Tell versions [3.59,3.63) of GNU make to not export all variables.
918 # Otherwise a system limit (for SysV at least) may be exceeded.
919 .NOEXPORT: