Merge branch 'maint' into branch-1.11
[automake.git] / Makefile.in
blob32d86295a57ecc75f4526056b219d94ba8215f2e
1 # Makefile.in generated by automake 1.11.0a from Makefile.am.
2 # @configure_input@
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
6 # Inc.
7 # This Makefile.in is free software; the Free Software Foundation
8 # gives unlimited permission to copy and/or distribute it,
9 # with or without modifications, as long as this notice is preserved.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14 # PARTICULAR PURPOSE.
16 @SET_MAKE@
18 VPATH = @srcdir@
19 pkgdatadir = $(datadir)/@PACKAGE@
20 pkgincludedir = $(includedir)/@PACKAGE@
21 pkglibdir = $(libdir)/@PACKAGE@
22 pkglibexecdir = $(libexecdir)/@PACKAGE@
23 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
24 install_sh_DATA = $(install_sh) -c -m 644
25 install_sh_PROGRAM = $(install_sh) -c
26 install_sh_SCRIPT = $(install_sh) -c
27 INSTALL_HEADER = $(INSTALL_DATA)
28 transform = $(program_transform_name)
29 NORMAL_INSTALL = :
30 PRE_INSTALL = :
31 POST_INSTALL = :
32 NORMAL_UNINSTALL = :
33 PRE_UNINSTALL = :
34 POST_UNINSTALL = :
35 build_triplet = @build@
36 subdir = .
37 DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
38 $(srcdir)/Makefile.in $(top_srcdir)/configure AUTHORS COPYING \
39 ChangeLog INSTALL NEWS THANKS TODO
40 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
41 am__aclocal_m4_deps = $(top_srcdir)/m4/amversion.m4 \
42 $(top_srcdir)/m4/auxdir.m4 $(top_srcdir)/m4/init.m4 \
43 $(top_srcdir)/m4/install-sh.m4 $(top_srcdir)/m4/lead-dot.m4 \
44 $(top_srcdir)/m4/missing.m4 $(top_srcdir)/m4/mkdirp.m4 \
45 $(top_srcdir)/m4/options.m4 $(top_srcdir)/m4/runlog.m4 \
46 $(top_srcdir)/m4/sanity.m4 $(top_srcdir)/m4/strip.m4 \
47 $(top_srcdir)/m4/substnot.m4 $(top_srcdir)/m4/tar.m4 \
48 $(top_srcdir)/configure.ac
49 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
50 $(ACLOCAL_M4)
51 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
52 configure.lineno config.status.lineno
53 mkinstalldirs = $(SHELL) $(top_srcdir)/lib/mkinstalldirs
54 CONFIG_CLEAN_FILES =
55 CONFIG_CLEAN_VPATH_FILES =
56 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
57 am__vpath_adj = case $$p in \
58 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
59 *) f=$$p;; \
60 esac;
61 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
62 am__install_max = 40
63 am__nobase_strip_setup = \
64 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
65 am__nobase_strip = \
66 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
67 am__nobase_list = $(am__nobase_strip_setup); \
68 for p in $$list; do echo "$$p $$p"; done | \
69 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
70 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
71 if (++n[$$2] == $(am__install_max)) \
72 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
73 END { for (dir in files) print dir, files[dir] }'
74 am__base_list = \
75 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
76 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
77 am__installdirs = "$(DESTDIR)$(bindir)"
78 SCRIPTS = $(bin_SCRIPTS)
79 SOURCES =
80 DIST_SOURCES =
81 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
82 html-recursive info-recursive install-data-recursive \
83 install-dvi-recursive install-exec-recursive \
84 install-html-recursive install-info-recursive \
85 install-pdf-recursive install-ps-recursive install-recursive \
86 installcheck-recursive installdirs-recursive pdf-recursive \
87 ps-recursive uninstall-recursive
88 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
89 distclean-recursive maintainer-clean-recursive
90 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
91 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
92 distdir dist dist-all distcheck
93 ETAGS = etags
94 CTAGS = ctags
95 DIST_SUBDIRS = $(SUBDIRS)
96 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
97 distdir = $(PACKAGE)-$(VERSION)
98 top_distdir = $(distdir)
99 am__remove_distdir = \
100 { test ! -d "$(distdir)" \
101 || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
102 && rm -fr "$(distdir)"; }; }
103 am__relativize = \
104 dir0=`pwd`; \
105 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
106 sed_rest='s,^[^/]*/*,,'; \
107 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
108 sed_butlast='s,/*[^/]*$$,,'; \
109 while test -n "$$dir1"; do \
110 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
111 if test "$$first" != "."; then \
112 if test "$$first" = ".."; then \
113 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
114 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
115 else \
116 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
117 if test "$$first2" = "$$first"; then \
118 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
119 else \
120 dir2="../$$dir2"; \
121 fi; \
122 dir0="$$dir0"/"$$first"; \
123 fi; \
124 fi; \
125 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
126 done; \
127 reldir="$$dir2"
128 DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
129 GZIP_ENV = --best
130 distuninstallcheck_listfiles = find . -type f -print
131 distcleancheck_listfiles = find . -type f -print
132 ACLOCAL = @ACLOCAL@
133 AMTAR = @AMTAR@
134 APIVERSION = @APIVERSION@
135 AUTOCONF = @AUTOCONF@
136 AUTOHEADER = @AUTOHEADER@
137 AUTOMAKE = @AUTOMAKE@
138 AWK = @AWK@
139 CYGPATH_W = @CYGPATH_W@
140 DEFS = @DEFS@
141 ECHO_C = @ECHO_C@
142 ECHO_N = @ECHO_N@
143 ECHO_T = @ECHO_T@
144 EGREP = @EGREP@
145 FGREP = @FGREP@
146 GREP = @GREP@
147 HELP2MAN = @HELP2MAN@
148 INSTALL = @INSTALL@
149 INSTALL_DATA = @INSTALL_DATA@
150 INSTALL_PROGRAM = @INSTALL_PROGRAM@
151 INSTALL_SCRIPT = @INSTALL_SCRIPT@
152 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
153 LIBOBJS = @LIBOBJS@
154 LIBS = @LIBS@
155 LN = @LN@
156 LTLIBOBJS = @LTLIBOBJS@
157 MAKEINFO = @MAKEINFO@
158 MKDIR_P = @MKDIR_P@
159 MODIFICATION_DELAY = @MODIFICATION_DELAY@
160 PACKAGE = @PACKAGE@
161 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
162 PACKAGE_NAME = @PACKAGE_NAME@
163 PACKAGE_STRING = @PACKAGE_STRING@
164 PACKAGE_TARNAME = @PACKAGE_TARNAME@
165 PACKAGE_URL = @PACKAGE_URL@
166 PACKAGE_VERSION = @PACKAGE_VERSION@
167 PATH_SEPARATOR = @PATH_SEPARATOR@
168 PERL = @PERL@
169 PERL_THREADS = @PERL_THREADS@
170 SET_MAKE = @SET_MAKE@
171 SHELL = @SHELL@
172 STRIP = @STRIP@
173 TEX = @TEX@
174 VERSION = @VERSION@
175 abs_builddir = @abs_builddir@
176 abs_srcdir = @abs_srcdir@
177 abs_top_builddir = @abs_top_builddir@
178 abs_top_srcdir = @abs_top_srcdir@
179 am_AUTOCONF = @am_AUTOCONF@
180 am_AUTOHEADER = @am_AUTOHEADER@
181 am__leading_dot = @am__leading_dot@
182 am__tar = @am__tar@
183 am__untar = @am__untar@
184 bindir = @bindir@
185 build = @build@
186 build_alias = @build_alias@
187 build_cpu = @build_cpu@
188 build_os = @build_os@
189 build_vendor = @build_vendor@
190 builddir = @builddir@
191 datadir = @datadir@
192 datarootdir = @datarootdir@
193 docdir = @docdir@
194 dvidir = @dvidir@
195 exec_prefix = @exec_prefix@
196 host_alias = @host_alias@
197 htmldir = @htmldir@
198 includedir = @includedir@
199 infodir = @infodir@
200 install_sh = @install_sh@
201 libdir = @libdir@
202 libexecdir = @libexecdir@
203 localedir = @localedir@
204 localstatedir = @localstatedir@
205 mandir = @mandir@
206 mkdir_p = @mkdir_p@
207 oldincludedir = @oldincludedir@
208 pdfdir = @pdfdir@
209 pkgvdatadir = @pkgvdatadir@
210 prefix = @prefix@
211 program_transform_name = @program_transform_name@
212 psdir = @psdir@
213 sbindir = @sbindir@
214 sh_errexit_works = @sh_errexit_works@
215 sharedstatedir = @sharedstatedir@
216 srcdir = @srcdir@
217 sysconfdir = @sysconfdir@
218 target_alias = @target_alias@
219 top_build_prefix = @top_build_prefix@
220 top_builddir = @top_builddir@
221 top_srcdir = @top_srcdir@
222 SUBDIRS = lib . doc m4 tests
223 bin_SCRIPTS = automake aclocal
224 CLEANFILES = $(bin_SCRIPTS)
225 AUTOMAKESOURCES = automake.in aclocal.in
226 TAGS_FILES = $(AUTOMAKESOURCES)
227 EXTRA_DIST = \
228 ChangeLog.96 \
229 ChangeLog.98 \
230 ChangeLog.00 \
231 ChangeLog.01 \
232 ChangeLog.02 \
233 ChangeLog.03 \
234 ChangeLog.04 \
235 $(AUTOMAKESOURCES)
237 do_subst = sed \
238 -e 's,[@]APIVERSION[@],$(APIVERSION),g' \
239 -e 's,[@]PACKAGE[@],$(PACKAGE),g' \
240 -e 's,[@]PATH_SEPARATOR[@],$(PATH_SEPARATOR),g' \
241 -e 's,[@]PERL[@],$(PERL),g' \
242 -e 's,[@]PERL_THREADS[@],$(PERL_THREADS),g' \
243 -e 's,[@]SHELL[@],$(SHELL),g' \
244 -e 's,[@]VERSION[@],$(VERSION),g' \
245 -e 's,[@]configure_input[@],Generated from $@.in; do not edit by hand.,g' \
246 -e 's,[@]datadir[@],$(datadir),g'
249 # Some simple checks, and then ordinary check. These are only really
250 # guaranteed to work on my machine.
251 syntax_check_rules = \
252 sc_diff_automake_in_automake \
253 sc_perl_syntax \
254 sc_no_brace_variable_expansions \
255 sc_rm_minus_f \
256 sc_no_for_variable_in_macro \
257 sc_mkinstalldirs \
258 sc_pre_normal_post_install_uninstall \
259 sc_perl_no_undef \
260 sc_perl_no_split_regex_space \
261 sc_cd_in_backquotes \
262 sc_cd_relative_dir \
263 sc_perl_at_uscore_in_scalar_context \
264 sc_perl_local_no_parens \
265 sc_perl_local \
266 sc_AMDEP_TRUE_in_automake_in \
267 sc_tests_make_without_am_makeflags \
268 sc_tests_plain_make \
269 sc_tests_plain_autoconf \
270 sc_tests_plain_autoupdate \
271 sc_tests_plain_automake \
272 sc_tests_here_document_format \
273 sc_tests_Exit_not_exit \
274 sc_tests_automake_fails \
275 sc_tests_plain_aclocal \
276 sc_tests_plain_perl \
277 sc_tests_required_after_defs \
278 sc_tests_overriding_macros_on_cmdline \
279 sc_tests_plain_sleep \
280 sc_tests_plain_egrep_fgrep \
281 sc_mkdir_p \
282 sc_perl_at_substs \
283 sc_unquoted_DESTDIR \
284 sc_tabs_in_texi \
285 sc_at_in_texi
287 WGET = wget
288 WGET_SV_CVS = $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/
289 WGET_SV_GIT_CF = $(WGET) 'http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;hb=HEAD;f='
290 WGET_SV_GIT_AC = $(WGET) 'http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=blob_plain;hb=HEAD;f='
291 WGET_SV_GIT_GL = $(WGET) 'http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob_plain;hb=HEAD;f='
292 WGET_GCC = $(WGET) 'http://gcc.gnu.org/viewcvs/*checkout*/trunk/'
293 FETCHFILES = \
294 INSTALL \
295 config-ml.in \
296 config.guess \
297 config.sub \
298 symlink-tree \
299 texinfo.tex
301 all: all-recursive
303 .SUFFIXES:
304 am--refresh:
306 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
307 @for dep in $?; do \
308 case '$(am__configure_deps)' in \
309 *$$dep*) \
310 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
311 $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
312 && exit 0; \
313 exit 1;; \
314 esac; \
315 done; \
316 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
317 $(am__cd) $(top_srcdir) && \
318 $(AUTOMAKE) --gnu Makefile
319 .PRECIOUS: Makefile
320 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
321 @case '$?' in \
322 *config.status*) \
323 echo ' $(SHELL) ./config.status'; \
324 $(SHELL) ./config.status;; \
325 *) \
326 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
327 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
328 esac;
330 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
331 $(SHELL) ./config.status --recheck
333 $(top_srcdir)/configure: $(am__configure_deps)
334 $(am__cd) $(srcdir) && $(AUTOCONF)
335 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
336 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
337 $(am__aclocal_m4_deps):
338 install-binSCRIPTS: $(bin_SCRIPTS)
339 @$(NORMAL_INSTALL)
340 test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
341 @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \
342 for p in $$list; do \
343 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
344 if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
345 done | \
346 sed -e 'p;s,.*/,,;n' \
347 -e 'h;s|.*|.|' \
348 -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
349 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
350 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
351 if ($$2 == $$4) { files[d] = files[d] " " $$1; \
352 if (++n[d] == $(am__install_max)) { \
353 print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
354 else { print "f", d "/" $$4, $$1 } } \
355 END { for (d in files) print "f", d, files[d] }' | \
356 while read type dir files; do \
357 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
358 test -z "$$files" || { \
359 echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \
360 $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
362 ; done
364 uninstall-binSCRIPTS:
365 @$(NORMAL_UNINSTALL)
366 @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \
367 files=`for p in $$list; do echo "$$p"; done | \
368 sed -e 's,.*/,,;$(transform)'`; \
369 test -n "$$list" || exit 0; \
370 echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
371 cd "$(DESTDIR)$(bindir)" && rm -f $$files
373 # This directory's subdirectories are mostly independent; you can cd
374 # into them and run `make' without going through this Makefile.
375 # To change the values of `make' variables: instead of editing Makefiles,
376 # (1) if the variable is set in `config.status', edit `config.status'
377 # (which will cause the Makefiles to be regenerated when you run `make');
378 # (2) otherwise, pass the desired values on the `make' command line.
379 $(RECURSIVE_TARGETS):
380 @failcom='exit 1'; \
381 for f in x $$MAKEFLAGS; do \
382 case $$f in \
383 *=* | --[!k]*);; \
384 *k*) failcom='fail=yes';; \
385 esac; \
386 done; \
387 dot_seen=no; \
388 target=`echo $@ | sed s/-recursive//`; \
389 list='$(SUBDIRS)'; for subdir in $$list; do \
390 echo "Making $$target in $$subdir"; \
391 if test "$$subdir" = "."; then \
392 dot_seen=yes; \
393 local_target="$$target-am"; \
394 else \
395 local_target="$$target"; \
396 fi; \
397 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
398 || eval $$failcom; \
399 done; \
400 if test "$$dot_seen" = "no"; then \
401 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
402 fi; test -z "$$fail"
404 $(RECURSIVE_CLEAN_TARGETS):
405 @failcom='exit 1'; \
406 for f in x $$MAKEFLAGS; do \
407 case $$f in \
408 *=* | --[!k]*);; \
409 *k*) failcom='fail=yes';; \
410 esac; \
411 done; \
412 dot_seen=no; \
413 case "$@" in \
414 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
415 *) list='$(SUBDIRS)' ;; \
416 esac; \
417 rev=''; for subdir in $$list; do \
418 if test "$$subdir" = "."; then :; else \
419 rev="$$subdir $$rev"; \
420 fi; \
421 done; \
422 rev="$$rev ."; \
423 target=`echo $@ | sed s/-recursive//`; \
424 for subdir in $$rev; do \
425 echo "Making $$target in $$subdir"; \
426 if test "$$subdir" = "."; then \
427 local_target="$$target-am"; \
428 else \
429 local_target="$$target"; \
430 fi; \
431 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
432 || eval $$failcom; \
433 done && test -z "$$fail"
434 tags-recursive:
435 list='$(SUBDIRS)'; for subdir in $$list; do \
436 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
437 done
438 ctags-recursive:
439 list='$(SUBDIRS)'; for subdir in $$list; do \
440 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
441 done
443 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
444 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
445 unique=`for i in $$list; do \
446 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
447 done | \
448 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
449 END { if (nonempty) { for (i in files) print i; }; }'`; \
450 mkid -fID $$unique
451 tags: TAGS
453 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
454 $(TAGS_FILES) $(LISP)
455 set x; \
456 here=`pwd`; \
457 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
458 include_option=--etags-include; \
459 empty_fix=.; \
460 else \
461 include_option=--include; \
462 empty_fix=; \
463 fi; \
464 list='$(SUBDIRS)'; for subdir in $$list; do \
465 if test "$$subdir" = .; then :; else \
466 test ! -f $$subdir/TAGS || \
467 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
468 fi; \
469 done; \
470 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
471 unique=`for i in $$list; do \
472 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
473 done | \
474 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
475 END { if (nonempty) { for (i in files) print i; }; }'`; \
476 shift; \
477 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
478 test -n "$$unique" || unique=$$empty_fix; \
479 if test $$# -gt 0; then \
480 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
481 "$$@" $$unique; \
482 else \
483 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
484 $$unique; \
485 fi; \
487 ctags: CTAGS
488 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
489 $(TAGS_FILES) $(LISP)
490 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
491 unique=`for i in $$list; do \
492 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
493 done | \
494 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
495 END { if (nonempty) { for (i in files) print i; }; }'`; \
496 test -z "$(CTAGS_ARGS)$$unique" \
497 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
498 $$unique
500 GTAGS:
501 here=`$(am__cd) $(top_builddir) && pwd` \
502 && $(am__cd) $(top_srcdir) \
503 && gtags -i $(GTAGS_ARGS) "$$here"
505 distclean-tags:
506 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
508 distdir: $(DISTFILES)
509 $(am__remove_distdir)
510 test -d "$(distdir)" || mkdir "$(distdir)"
511 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
512 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
513 list='$(DISTFILES)'; \
514 dist_files=`for file in $$list; do echo $$file; done | \
515 sed -e "s|^$$srcdirstrip/||;t" \
516 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
517 case $$dist_files in \
518 */*) $(MKDIR_P) `echo "$$dist_files" | \
519 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
520 sort -u` ;; \
521 esac; \
522 for file in $$dist_files; do \
523 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
524 if test -d $$d/$$file; then \
525 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
526 if test -d "$(distdir)/$$file"; then \
527 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
528 fi; \
529 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
530 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
531 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
532 fi; \
533 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
534 else \
535 test -f "$(distdir)/$$file" \
536 || cp -p $$d/$$file "$(distdir)/$$file" \
537 || exit 1; \
538 fi; \
539 done
540 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
541 if test "$$subdir" = .; then :; else \
542 test -d "$(distdir)/$$subdir" \
543 || $(MKDIR_P) "$(distdir)/$$subdir" \
544 || exit 1; \
545 fi; \
546 done
547 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
548 if test "$$subdir" = .; then :; else \
549 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
550 $(am__relativize); \
551 new_distdir=$$reldir; \
552 dir1=$$subdir; dir2="$(top_distdir)"; \
553 $(am__relativize); \
554 new_top_distdir=$$reldir; \
555 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
556 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
557 ($(am__cd) $$subdir && \
558 $(MAKE) $(AM_MAKEFLAGS) \
559 top_distdir="$$new_top_distdir" \
560 distdir="$$new_distdir" \
561 am__remove_distdir=: \
562 am__skip_length_check=: \
563 am__skip_mode_fix=: \
564 distdir) \
565 || exit 1; \
566 fi; \
567 done
568 $(MAKE) $(AM_MAKEFLAGS) \
569 top_distdir="$(top_distdir)" distdir="$(distdir)" \
570 dist-hook
571 -test -n "$(am__skip_mode_fix)" \
572 || find "$(distdir)" -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
573 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
574 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
575 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
576 || chmod -R a+r "$(distdir)"
577 @if test -z "$(am__skip_length_check)" && find "$(distdir)" -type f -print | \
578 grep '^...................................................................................................' 1>&2; then \
579 echo 'error: the above filenames are too long' 1>&2; \
580 exit 1; \
581 else :; fi
582 dist-gzip: distdir
583 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
584 $(am__remove_distdir)
585 dist-bzip2: distdir
586 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
587 $(am__remove_distdir)
589 dist-lzma: distdir
590 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
591 $(am__remove_distdir)
593 dist-xz: distdir
594 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
595 $(am__remove_distdir)
597 dist-tarZ: distdir
598 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
599 $(am__remove_distdir)
601 dist-shar: distdir
602 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
603 $(am__remove_distdir)
605 dist-zip: distdir
606 -rm -f $(distdir).zip
607 zip -rq $(distdir).zip $(distdir)
608 $(am__remove_distdir)
610 dist dist-all: distdir
611 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
612 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
613 $(am__remove_distdir)
615 # This target untars the dist file and tries a VPATH configuration. Then
616 # it guarantees that the distribution is self-contained by making another
617 # tarfile.
618 distcheck: dist
619 case '$(DIST_ARCHIVES)' in \
620 *.tar.gz*) \
621 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
622 *.tar.bz2*) \
623 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
624 *.tar.lzma*) \
625 unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
626 *.tar.xz*) \
627 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
628 *.tar.Z*) \
629 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
630 *.shar.gz*) \
631 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
632 *.zip*) \
633 unzip $(distdir).zip ;;\
634 esac
635 chmod -R a-w $(distdir); chmod a+w $(distdir)
636 mkdir $(distdir)/_build
637 mkdir $(distdir)/_inst
638 chmod a-w $(distdir)
639 test -d $(distdir)/_build || exit 0; \
640 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
641 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
642 && am__cwd=`pwd` \
643 && $(am__cd) $(distdir)/_build \
644 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
645 $(DISTCHECK_CONFIGURE_FLAGS) \
646 && $(MAKE) $(AM_MAKEFLAGS) \
647 && $(MAKE) $(AM_MAKEFLAGS) dvi \
648 && $(MAKE) $(AM_MAKEFLAGS) check \
649 && $(MAKE) $(AM_MAKEFLAGS) install \
650 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
651 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
652 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
653 distuninstallcheck \
654 && chmod -R a-w "$$dc_install_base" \
655 && ({ \
656 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
657 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
658 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
659 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
660 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
661 } || { rm -rf "$$dc_destdir"; exit 1; }) \
662 && rm -rf "$$dc_destdir" \
663 && $(MAKE) $(AM_MAKEFLAGS) dist \
664 && rm -rf $(DIST_ARCHIVES) \
665 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
666 && cd "$$am__cwd" \
667 || exit 1
668 $(am__remove_distdir)
669 @(echo "$(distdir) archives ready for distribution: "; \
670 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
671 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
672 distuninstallcheck:
673 @$(am__cd) '$(distuninstallcheck_dir)' \
674 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
675 || { echo "ERROR: files left after uninstall:" ; \
676 if test -n "$(DESTDIR)"; then \
677 echo " (check DESTDIR support)"; \
678 fi ; \
679 $(distuninstallcheck_listfiles) ; \
680 exit 1; } >&2
681 distcleancheck: distclean
682 @if test '$(srcdir)' = . ; then \
683 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
684 exit 1 ; \
686 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
687 || { echo "ERROR: files left in build directory after distclean:" ; \
688 $(distcleancheck_listfiles) ; \
689 exit 1; } >&2
690 check-am: all-am
691 check: check-recursive
692 all-am: Makefile $(SCRIPTS)
693 installdirs: installdirs-recursive
694 installdirs-am:
695 for dir in "$(DESTDIR)$(bindir)"; do \
696 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
697 done
698 install: install-recursive
699 install-exec: install-exec-recursive
700 install-data: install-data-recursive
701 uninstall: uninstall-recursive
703 install-am: all-am
704 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
706 installcheck: installcheck-recursive
707 install-strip:
708 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
709 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
710 `test -z '$(STRIP)' || \
711 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
712 mostlyclean-generic:
714 clean-generic:
715 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
717 distclean-generic:
718 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
719 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
721 maintainer-clean-generic:
722 @echo "This command is intended for maintainers to use"
723 @echo "it deletes files that may require special tools to rebuild."
724 clean: clean-recursive
726 clean-am: clean-generic mostlyclean-am
728 distclean: distclean-recursive
729 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
730 -rm -f Makefile
731 distclean-am: clean-am distclean-generic distclean-tags
733 dvi: dvi-recursive
735 dvi-am:
737 html: html-recursive
739 html-am:
741 info: info-recursive
743 info-am:
745 install-data-am:
747 install-dvi: install-dvi-recursive
749 install-dvi-am:
751 install-exec-am: install-binSCRIPTS
752 @$(NORMAL_INSTALL)
753 $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
754 install-html: install-html-recursive
756 install-html-am:
758 install-info: install-info-recursive
760 install-info-am:
762 install-man:
764 install-pdf: install-pdf-recursive
766 install-pdf-am:
768 install-ps: install-ps-recursive
770 install-ps-am:
772 installcheck-am:
774 maintainer-clean: maintainer-clean-recursive
775 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
776 -rm -rf $(top_srcdir)/autom4te.cache
777 -rm -f Makefile
778 maintainer-clean-am: distclean-am maintainer-clean-generic
780 mostlyclean: mostlyclean-recursive
782 mostlyclean-am: mostlyclean-generic
784 pdf: pdf-recursive
786 pdf-am:
788 ps: ps-recursive
790 ps-am:
792 uninstall-am: uninstall-binSCRIPTS
793 @$(NORMAL_INSTALL)
794 $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
795 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
796 install-am install-exec-am install-strip tags-recursive \
797 uninstall-am
799 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
800 all all-am am--refresh check check-am clean clean-generic \
801 ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
802 dist-hook dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
803 distcheck distclean distclean-generic distclean-tags \
804 distcleancheck distdir distuninstallcheck dvi dvi-am html \
805 html-am info info-am install install-am install-binSCRIPTS \
806 install-data install-data-am install-dvi install-dvi-am \
807 install-exec install-exec-am install-exec-hook install-html \
808 install-html-am install-info install-info-am install-man \
809 install-pdf install-pdf-am install-ps install-ps-am \
810 install-strip installcheck installcheck-am installdirs \
811 installdirs-am maintainer-clean maintainer-clean-generic \
812 mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags \
813 tags-recursive uninstall uninstall-am uninstall-binSCRIPTS \
814 uninstall-hook
817 install-exec-hook:
818 @$(POST_INSTALL)
819 @for p in $(bin_SCRIPTS); do \
820 f="`echo $$p|sed '$(transform)'`"; \
821 fv="$$f-$(APIVERSION)"; \
822 rm -f $(DESTDIR)$(bindir)/$$fv; \
823 echo " $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv"; \
824 $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv; \
825 done
827 uninstall-hook:
828 @for p in $(bin_SCRIPTS); do \
829 f="`echo $$p|sed '$(transform)'`"; \
830 fv="$$f-$(APIVERSION)"; \
831 rm -f $(DESTDIR)$(bindir)/$$fv; \
832 done
834 automake: automake.in
835 aclocal: aclocal.in
836 automake aclocal: Makefile
837 rm -f $@ $@.tmp
838 $(do_subst) $(srcdir)/$@.in >$@.tmp
839 chmod +x $@.tmp
840 chmod a-w $@.tmp
841 mv -f $@.tmp $@
843 INSTALL: lib/INSTALL
844 cp $(srcdir)/lib/INSTALL $@
846 ################################################################
848 # Ensure tests are world-executable
849 dist-hook:
850 cd $(distdir)/tests && chmod a+rx *.test
852 .PHONY: $(syntax_check_rules)
853 $(syntax_check_rules): automake aclocal
854 maintainer-check: $(syntax_check_rules)
856 sc_diff_automake_in_automake:
857 @if test `diff $(srcdir)/automake.in automake | wc -l` -ne 22; then \
858 echo "found too many diffs between automake.in and automake"; 1>&2; \
859 diff -c $(srcdir)/automake.in automake; \
860 exit 1; \
863 sc_perl_syntax:
864 perllibdir="./lib$(PATH_SEPARATOR)$(srcdir)/lib" $(PERL) -c -w automake
865 perllibdir="./lib$(PATH_SEPARATOR)$(srcdir)/lib" $(PERL) -c -w aclocal
867 sc_no_brace_variable_expansions:
868 @if grep -F '$${' $(srcdir)/lib/am/[a-z]*.am | \
869 grep -F -v '$$$$'; then \
870 echo "Found too many uses of '\$${' in the lines above." 1>&2; \
871 exit 1; \
872 else :; fi
874 sc_rm_minus_f:
875 @if grep -v '^#' $(srcdir)/lib/am/[a-z]*.am $(srcdir)/tests/*.test | \
876 grep -E '\<rm ([^-]|\-[^f ]*\>)'; then \
877 echo "Suspicious 'rm' invocation." 1>&2; \
878 exit 1; \
879 else :; fi
881 sc_no_for_variable_in_macro:
882 @if grep 'for .* in \$$(' $(srcdir)/lib/am/[a-z]*.am; then \
883 echo 'Use "list=$$(mumble); for var in $$$$list".' 1>&2 ; \
884 exit 1; \
885 else :; fi
887 sc_mkinstalldirs:
888 @if grep -n 'mkinstalldirs' $(srcdir)/lib/am/[a-z]*.am | \
889 grep -F -v '$$(mkinstalldirs)'; then \
890 echo "Found incorrect use of mkinstalldirs in the lines above" 1>&2; \
891 exit 1; \
892 else :; fi
894 sc_pre_normal_post_install_uninstall:
895 @if grep -E -n '\((PRE|NORMAL|POST)_(|UN)INSTALL\)' \
896 $(srcdir)/lib/am/[a-z]*.am | \
897 grep -v ':##' | grep -v ': @\$$('; then \
898 echo "Found incorrect use of PRE/NORMAL/POST_INSTALL/UNINSTALL in the lines above" 1>&2; \
899 exit 1; \
900 else :; fi
902 sc_perl_no_undef:
903 @if grep -n -w 'undef ' $(srcdir)/automake.in | \
904 grep -F -v 'undef $$/'; then \
905 echo "Found undef in automake.in; use delete instead" 1>&2; \
906 exit 1; \
909 sc_perl_no_split_regex_space:
910 @if grep -n 'split (/ /' $(srcdir)/automake.in; then \
911 echo "Found bad split in the lines above." 1>&2; \
912 exit 1; \
915 sc_cd_in_backquotes:
916 @if grep -n '^[^#]*` *cd ' $(srcdir)/automake.in \
917 $(srcdir)/lib/am/*.am; then \
918 echo "Consider using \$$(am__cd) in the lines above." 1>&2; \
919 exit 1; \
922 sc_cd_relative_dir:
923 @if grep -n '^[^#]*cd ' $(srcdir)/automake.in \
924 $(srcdir)/lib/am/*.am | \
925 grep -v 'echo.*cd ' | \
926 grep -v 'am__cd =' | \
927 grep -v '^[^#]*cd [./]' | \
928 grep -v '^[^#]*cd \$$(top_builddir)' | \
929 grep -v '^[^#]*cd "\$$\$$am__cwd' | \
930 grep -v '^[^#]*cd \$$(abs' | \
931 grep -v '^[^#]*cd "\$$(DESTDIR)'; then \
932 echo "Consider using \$$(am__cd) in the lines above." 1>&2; \
933 exit 1; \
936 sc_perl_at_uscore_in_scalar_context:
937 @if grep -Hn '[^@_A-Za-z0-9][_A-Za-z0-9]*[^) ] *= *@_' $(srcdir)/automake.in; then \
938 echo "Using @_ in a scalar context in the lines above." 1>&2; \
939 exit 1; \
942 sc_perl_local_no_parens:
943 @if grep '^[ \t]*local *(' $(srcdir)/automake.in; then \
944 echo "Don't use \`local' with parens: use several \`local' above." >&2; \
945 exit 1; \
948 sc_perl_local:
949 @if grep -v '^[ \t]*local \$$_;' $(srcdir)/automake.in | \
950 grep '^[ \t]*local [^*]'; then \
951 echo "Please avoid \`local'." 1>&2; \
952 exit 1; \
955 sc_AMDEP_TRUE_in_automake_in:
956 @if grep '@AMDEP''_TRUE@' $(srcdir)/automake.in; then \
957 echo "Don't put AMDEP_TRUE substitution in automake.in" 1>&2; \
958 exit 1; \
961 sc_tests_make_without_am_makeflags:
962 @if grep '^[^#].*(MAKE) ' $(srcdir)/lib/am/*.am $(srcdir)/automake.in |\
963 grep -v 'AM_MAKEFLAGS'; then \
964 echo 'Use $$(MAKE) $$(AM_MAKEFLAGS).' 1>&2; \
965 exit 1; \
968 sc_tests_plain_make:
969 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*make'; then \
970 echo 'Do not run "make" in the above tests. Use "$$MAKE" instead.' 1>&2; \
971 exit 1; \
974 sc_tests_plain_autoconf:
975 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*autoconf'; then \
976 echo 'Do not run "autoconf" in the above tests. Use "$$AUTOCONF" instead.' 1>&2; \
977 exit 1; \
980 sc_tests_plain_autoupdate:
981 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*autoupdate'; then \
982 echo 'Do not run "autoupdate" in the above tests. Use "$$AUTOUPDATE" instead.' 1>&2; \
983 exit 1; \
986 sc_tests_plain_automake:
987 @if grep -v '^#' $(srcdir)/tests/*.test | grep -E ':[ ]*automake([^:]|$$)'; then \
988 echo 'Do not run "automake" in the above tests. Use "$$AUTOMAKE" instead.' 1>&2; \
989 exit 1; \
992 sc_tests_here_document_format:
993 @if grep '<<' $(srcdir)/tests/*.test | grep -v 'END' | grep -v 'EOF'; then \
994 echo 'Use here documents with "END" and "EOF" only, for greppability.' 1>&2; \
995 exit 1; \
998 sc_tests_Exit_not_exit:
999 @found=false; for file in $(srcdir)/tests/*.test; do \
1000 res=`sed -n '/^#/d; /^\$$PERL/d; /<<.*END/,/^END/{b;}; /<<.*EOF/,/^EOF/{b;}; /exit [$$0-9]/p' $$file`; \
1001 if test -n "$$res"; then \
1002 echo "$$file:$$res"; \
1003 found=true; \
1004 fi; \
1005 done; \
1006 if $$found; then \
1007 echo 'Do not call plain "exit", use "Exit" instead, in above tests.' 1>&2; \
1008 exit 1; \
1011 sc_tests_automake_fails:
1012 @if grep -v '^#' $(srcdir)/tests/*.test | grep '\$$AUTOMAKE.*&&.*[eE]xit'; then \
1013 echo 'Use AUTOMAKE_fails + grep to catch automake failures in the above tests.' 1>&2; \
1014 exit 1; \
1017 sc_tests_plain_aclocal:
1018 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*aclocal'; then \
1019 echo 'Do not run "aclocal" in the above tests. Use "$$ACLOCAL" instead.' 1>&2; \
1020 exit 1; \
1023 sc_tests_plain_perl:
1024 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*perl'; then \
1025 echo 'Do not run "perl" in the above tests. Use "$$PERL" instead.' 1>&2; \
1026 exit 1; \
1029 sc_tests_required_after_defs:
1030 @for file in $(srcdir)/tests/*.test; do \
1031 if out=`sed -n '/defs/,$${/required=/p;}' $$file`; test -n "$$out"; then \
1032 echo 'Do not set "required" after sourcing "defs" in '"$$file: $$out" 1>&2; \
1033 exit 1; \
1034 fi; \
1035 done
1037 sc_tests_overriding_macros_on_cmdline:
1038 @if grep -E '\$$MAKE .*(SHELL=.*=|=.*SHELL=)' $(srcdir)/tests/*.test; then \
1039 echo 'Rewrite "$$MAKE foo=bar SHELL=$$SHELL" as "foo=bar $$MAKE -e SHELL=$$SHELL"' 1>&2; \
1040 echo ' in the above lines, it is more portable.' 1>&2; \
1041 exit 1; \
1043 @if sed 's/DESTDIR=[^ ]*//; s/SHELL=[^ ]*//; s/V=[^ ]*//' $(srcdir)/tests/*.test | \
1044 grep '\$$MAKE .*=' ; then \
1045 echo 'Rewrite "$$MAKE foo=bar" as "foo=bar $$MAKE -e" in the above lines,' 1>&2; \
1046 echo 'it is more portable.' 1>&2; \
1047 exit 1; \
1049 @if grep 'SHELL=.*\$$MAKE' $(srcdir)/tests/*.test; then \
1050 echo '$$MAKE ignores the SHELL envvar, use "$$MAKE SHELL=$$SHELL" in' 1>&2; \
1051 echo 'the above lines.' 1>&2; \
1052 exit 1; \
1055 sc_tests_plain_sleep:
1056 @if grep -E '\bsleep +[12345]\b' $(srcdir)/tests/*.test; then \
1057 echo 'Do not use "sleep x" in the above tests. Use "$$sleep" instead.' 1>&2; \
1058 exit 1; \
1061 sc_tests_plain_egrep_fgrep:
1062 @if grep -E '\b[ef]grep\b' $(srcdir)/tests/*.test ; then \
1063 echo 'Do not use egrep or fgrep in test cases. Use $$FGREP or $$EGREP.' 1>&2; \
1064 exit 1; \
1066 @if grep -E '\b[ef]grep\b' $(srcdir)/lib/am/*.am $(srcdir)/m4/*.m4; then \
1067 echo 'Do not use egrep or fgrep in the above files, they are not portable.' 1>&2; \
1068 exit 1; \
1071 sc_mkdir_p:
1072 @if grep 'mkdir_p' $(srcdir)/automake.in \
1073 $(srcdir)/lib/am/*.am $(srcdir)/tests/*.test; then \
1074 echo 'Do not use mkdir_p in the above files, use MKDIR_P.' 1>&2; \
1075 exit 1; \
1078 sc_perl_at_substs:
1079 @if test `grep -E '^[^#]*@[A-Za-z_0-9]+@' aclocal | wc -l` -ne 0; then \
1080 echo "Unresolved @...@ substitution in aclocal" 1>&2; \
1081 exit 1; \
1083 @if test `grep -E '^[^#]*@[A-Za-z_0-9]+@' automake | wc -l` -ne 0; then \
1084 echo "Unresolved @...@ substitution in automake" 1>&2; \
1085 exit 1; \
1088 sc_unquoted_DESTDIR:
1089 @if grep -E "[^\'\"]\\\$$\(DESTDIR" $(srcdir)/lib/am/*.am; then \
1090 echo 'Suspicious unquoted DESTDIR uses.' 1>&2 ; \
1091 exit 1; \
1094 sc_tabs_in_texi:
1095 @if grep ' ' $(srcdir)/doc/automake.texi; then \
1096 echo 'Do not use tabs in the manual.' 1>&2; \
1097 exit 1; \
1100 sc_at_in_texi:
1101 @if grep -E '([^@]|^)@([ ][^@]|$$)' $(srcdir)/doc/automake.texi; \
1102 then \
1103 echo 'Unescaped @.' 1>&2; \
1104 exit 1; \
1107 git-dist: maintainer-check
1108 @if sed 1q $(srcdir)/NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
1109 echo "NEWS not updated; not releasing" 1>&2; \
1110 exit 1; \
1112 $(MAKE) $(AM_MAKEFLAGS) distcheck
1113 cd $(srcdir) && git commit -a -s && \
1114 git tag -s "v$(VERSION)" -m "Release $(VERSION)"
1116 git-release: git-dist
1117 case $(VERSION) in \
1118 *[a-z]) dest=alpha;; \
1119 *) dest=ftp;; \
1120 esac; \
1121 $(srcdir)/lib/gnupload $(GNUPLOADFLAGS) \
1122 --to $$dest.gnu.org:automake $(DIST_ARCHIVES)
1124 git-diff:
1125 thisver="v$(VERSION)"; \
1126 if test -z "$$OLDVERSION"; then \
1127 prevno=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
1128 else prevno="$$OLDVERSION"; fi; \
1129 prevver=v$$prevno; \
1130 git diff $$prevver..$$thisver $(PACKAGE) \
1131 > $(PACKAGE)-$$prevno-$(VERSION).diff
1133 path-check: distdir
1134 (cd $(distdir) && \
1135 find . -print | xargs pathchk -p); \
1136 status=$$?; \
1137 chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir); \
1138 exit $$status
1140 fetch:
1141 rm -rf Fetchdir > /dev/null 2>&1
1142 mkdir Fetchdir
1143 (cd Fetchdir && \
1144 $(WGET_SV_GIT_CF)config.guess -O config.guess && \
1145 $(WGET_SV_GIT_CF)config.sub -O config.sub && \
1146 $(WGET_SV_CVS)texinfo/texinfo/doc/texinfo.tex -O texinfo.tex && \
1147 $(WGET_SV_GIT_GL)doc/INSTALL -O INSTALL && \
1148 $(WGET_GCC)config-ml.in -O config-ml.in && \
1149 $(WGET_GCC)symlink-tree -O symlink-tree)
1150 @stat=0; for file in $(FETCHFILES); do \
1151 if diff -u $(srcdir)/lib/$$file Fetchdir/$$file \
1152 >>Fetchdir/update.patch 2>/dev/null; then :; \
1153 else \
1154 stat=1; \
1155 echo "Updating $(srcdir)/lib/$$file..."; \
1156 cp Fetchdir/$$file $(srcdir)/lib/$$file; \
1157 fi; \
1158 done; \
1159 test $$stat = 0 || \
1160 echo "See Fetchdir/update.patch for a log of the changes."; \
1161 exit $$stat
1163 release-stats: ps
1164 @am=`wc -l < automake` && \
1165 acl=`wc -l < aclocal` && \
1166 pmfiles="lib/Automake/*.pm" && \
1167 if test . != '$(srcdir)'; then pmfiles="$$pmfiles $(srcdir)/lib/Automake/*.pm"; \
1168 else :; fi && \
1169 pm=`cat $$pmfiles | wc -l` && \
1170 dot_am_files=`ls -1 $(srcdir)/lib/am/*.am | grep -v Makefile.am` && \
1171 amf=`echo "$$dot_am_files" | wc -l` && \
1172 aml=`cat $$dot_am_files | wc -l` && \
1173 m4f=`ls -1 $(srcdir)/m4/*.m4 | wc -l` && \
1174 m4l=`cat $(srcdir)/m4/*.m4 | wc -l` && \
1175 doc_text=`cd doc && LC_ALL=C pstops 0 automake.ps unused.ps 2>&1` && \
1176 echo "$$doc_text" && \
1177 rm -f doc/unused.ps && \
1178 doc=`echo "$$doc_text" | sed -n 's/.*Wrote \([1-9][0-9]*\) pages.*/\1/p'` && \
1179 tests="tests/*.test"; \
1180 if test . != '$(srcdir)'; then tests="$$tests $(srcdir)/tests/*.test"; \
1181 else :; fi && \
1182 t=`ls -1 $$tests | wc -l` && \
1183 tgen=`ls -1 $$tests | grep '.-p\.test' | wc -l` && \
1184 today=`date +%Y-%m-%d` && \
1185 echo "add this to the table in doc/automake.texi after verification:" && \
1186 printf '@item %s @tab %-6s @tab %4d @tab %4d @tab %4d @tab %4d %-4s @tab %4d %-4s @tab %3d @tab %d %-4s\n' \
1187 $$today $(VERSION) $$am $$acl $$pm $$aml "($$amf)" $$m4l "($$m4f)" $$doc $$t "($$tgen)"
1188 .PHONY: release-stats
1190 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1191 # Otherwise a system limit (for SysV at least) may be exceeded.
1192 .NOEXPORT: