Vala: for now, require GNU make.
[automake.git] / Makefile.in
blob56a3126717a8f38e2e5d36d69ffe1140c399b7b5
1 # Makefile.in generated by automake 1.10c 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_VERSION = @PACKAGE_VERSION@
166 PATH_SEPARATOR = @PATH_SEPARATOR@
167 PERL = @PERL@
168 PERL_THREADS = @PERL_THREADS@
169 SET_MAKE = @SET_MAKE@
170 SHELL = @SHELL@
171 STRIP = @STRIP@
172 TEX = @TEX@
173 VERSION = @VERSION@
174 abs_builddir = @abs_builddir@
175 abs_srcdir = @abs_srcdir@
176 abs_top_builddir = @abs_top_builddir@
177 abs_top_srcdir = @abs_top_srcdir@
178 am_AUTOCONF = @am_AUTOCONF@
179 am_AUTOHEADER = @am_AUTOHEADER@
180 am__leading_dot = @am__leading_dot@
181 am__tar = @am__tar@
182 am__untar = @am__untar@
183 bindir = @bindir@
184 build = @build@
185 build_alias = @build_alias@
186 build_cpu = @build_cpu@
187 build_os = @build_os@
188 build_vendor = @build_vendor@
189 builddir = @builddir@
190 datadir = @datadir@
191 datarootdir = @datarootdir@
192 docdir = @docdir@
193 dvidir = @dvidir@
194 exec_prefix = @exec_prefix@
195 host_alias = @host_alias@
196 htmldir = @htmldir@
197 includedir = @includedir@
198 infodir = @infodir@
199 install_sh = @install_sh@
200 libdir = @libdir@
201 libexecdir = @libexecdir@
202 localedir = @localedir@
203 localstatedir = @localstatedir@
204 mandir = @mandir@
205 mkdir_p = @mkdir_p@
206 oldincludedir = @oldincludedir@
207 pdfdir = @pdfdir@
208 pkgvdatadir = @pkgvdatadir@
209 prefix = @prefix@
210 program_transform_name = @program_transform_name@
211 psdir = @psdir@
212 sbindir = @sbindir@
213 sh_errexit_works = @sh_errexit_works@
214 sharedstatedir = @sharedstatedir@
215 srcdir = @srcdir@
216 sysconfdir = @sysconfdir@
217 target_alias = @target_alias@
218 top_build_prefix = @top_build_prefix@
219 top_builddir = @top_builddir@
220 top_srcdir = @top_srcdir@
221 SUBDIRS = lib . doc m4 tests
222 bin_SCRIPTS = automake aclocal
223 CLEANFILES = $(bin_SCRIPTS)
224 AUTOMAKESOURCES = automake.in aclocal.in
225 TAGS_FILES = $(AUTOMAKESOURCES)
226 EXTRA_DIST = \
227 ChangeLog.96 \
228 ChangeLog.98 \
229 ChangeLog.00 \
230 ChangeLog.01 \
231 ChangeLog.02 \
232 ChangeLog.03 \
233 ChangeLog.04 \
234 $(AUTOMAKESOURCES)
236 do_subst = sed \
237 -e 's,[@]APIVERSION[@],$(APIVERSION),g' \
238 -e 's,[@]PACKAGE[@],$(PACKAGE),g' \
239 -e 's,[@]PATH_SEPARATOR[@],$(PATH_SEPARATOR),g' \
240 -e 's,[@]PERL[@],$(PERL),g' \
241 -e 's,[@]PERL_THREADS[@],$(PERL_THREADS),g' \
242 -e 's,[@]SHELL[@],$(SHELL),g' \
243 -e 's,[@]VERSION[@],$(VERSION),g' \
244 -e 's,[@]configure_input[@],Generated from $@.in; do not edit by hand.,g' \
245 -e 's,[@]datadir[@],$(datadir),g'
248 # Some simple checks, and then ordinary check. These are only really
249 # guaranteed to work on my machine.
250 syntax_check_rules = \
251 sc_diff_automake_in_automake \
252 sc_perl_syntax \
253 sc_no_brace_variable_expansions \
254 sc_rm_minus_f \
255 sc_no_for_variable_in_macro \
256 sc_mkinstalldirs \
257 sc_pre_normal_post_install_uninstall \
258 sc_perl_no_undef \
259 sc_perl_no_split_regex_space \
260 sc_cd_in_backquotes \
261 sc_cd_relative_dir \
262 sc_perl_at_uscore_in_scalar_context \
263 sc_perl_local_no_parens \
264 sc_perl_local \
265 sc_AMDEP_TRUE_in_automake_in \
266 sc_tests_make_without_am_makeflags \
267 sc_tests_plain_make \
268 sc_tests_plain_autoconf \
269 sc_tests_plain_autoupdate \
270 sc_tests_plain_automake \
271 sc_tests_here_document_format \
272 sc_tests_Exit_not_exit \
273 sc_tests_automake_fails \
274 sc_tests_plain_aclocal \
275 sc_tests_plain_perl \
276 sc_tests_required_after_defs \
277 sc_tests_overriding_macros_on_cmdline \
278 sc_tests_plain_sleep \
279 sc_tests_plain_egrep_fgrep \
280 sc_mkdir_p \
281 sc_perl_at_substs \
282 sc_unquoted_DESTDIR \
283 sc_tabs_in_texi \
284 sc_at_in_texi
286 WGET = wget
287 WGET_SV_CVS = $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/
288 WGET_SV_GIT_CF = $(WGET) 'http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;hb=HEAD;f='
289 WGET_SV_GIT_AC = $(WGET) 'http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=blob_plain;hb=HEAD;f='
290 WGET_SV_GIT_GL = $(WGET) 'http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob_plain;hb=HEAD;f='
291 WGET_GCC = $(WGET) 'http://gcc.gnu.org/viewcvs/*checkout*/trunk/'
292 FETCHFILES = \
293 INSTALL \
294 config-ml.in \
295 config.guess \
296 config.sub \
297 symlink-tree \
298 texinfo.tex
300 all: all-recursive
302 .SUFFIXES:
303 am--refresh:
305 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
306 @for dep in $?; do \
307 case '$(am__configure_deps)' in \
308 *$$dep*) \
309 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
310 $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
311 && exit 0; \
312 exit 1;; \
313 esac; \
314 done; \
315 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
316 $(am__cd) $(top_srcdir) && \
317 $(AUTOMAKE) --gnu Makefile
318 .PRECIOUS: Makefile
319 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
320 @case '$?' in \
321 *config.status*) \
322 echo ' $(SHELL) ./config.status'; \
323 $(SHELL) ./config.status;; \
324 *) \
325 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
326 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
327 esac;
329 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
330 $(SHELL) ./config.status --recheck
332 $(top_srcdir)/configure: $(am__configure_deps)
333 $(am__cd) $(srcdir) && $(AUTOCONF)
334 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
335 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
336 $(am__aclocal_m4_deps):
337 install-binSCRIPTS: $(bin_SCRIPTS)
338 @$(NORMAL_INSTALL)
339 test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
340 @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \
341 for p in $$list; do \
342 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
343 if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
344 done | \
345 sed -e 'p;s,.*/,,;n' \
346 -e 'h;s|.*|.|' \
347 -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
348 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
349 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
350 if ($$2 == $$4) { files[d] = files[d] " " $$1; \
351 if (++n[d] == $(am__install_max)) { \
352 print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
353 else { print "f", d "/" $$4, $$1 } } \
354 END { for (d in files) print "f", d, files[d] }' | \
355 while read type dir files; do \
356 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
357 test -z "$$files" || { \
358 echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \
359 $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
361 ; done
363 uninstall-binSCRIPTS:
364 @$(NORMAL_UNINSTALL)
365 @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \
366 files=`for p in $$list; do echo "$$p"; done | \
367 sed -e 's,.*/,,;$(transform)'`; \
368 test -n "$$list" || exit 0; \
369 echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
370 cd "$(DESTDIR)$(bindir)" && rm -f $$files
372 # This directory's subdirectories are mostly independent; you can cd
373 # into them and run `make' without going through this Makefile.
374 # To change the values of `make' variables: instead of editing Makefiles,
375 # (1) if the variable is set in `config.status', edit `config.status'
376 # (which will cause the Makefiles to be regenerated when you run `make');
377 # (2) otherwise, pass the desired values on the `make' command line.
378 $(RECURSIVE_TARGETS):
379 @failcom='exit 1'; \
380 for f in x $$MAKEFLAGS; do \
381 case $$f in \
382 *=* | --[!k]*);; \
383 *k*) failcom='fail=yes';; \
384 esac; \
385 done; \
386 dot_seen=no; \
387 target=`echo $@ | sed s/-recursive//`; \
388 list='$(SUBDIRS)'; for subdir in $$list; do \
389 echo "Making $$target in $$subdir"; \
390 if test "$$subdir" = "."; then \
391 dot_seen=yes; \
392 local_target="$$target-am"; \
393 else \
394 local_target="$$target"; \
395 fi; \
396 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
397 || eval $$failcom; \
398 done; \
399 if test "$$dot_seen" = "no"; then \
400 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
401 fi; test -z "$$fail"
403 $(RECURSIVE_CLEAN_TARGETS):
404 @failcom='exit 1'; \
405 for f in x $$MAKEFLAGS; do \
406 case $$f in \
407 *=* | --[!k]*);; \
408 *k*) failcom='fail=yes';; \
409 esac; \
410 done; \
411 dot_seen=no; \
412 case "$@" in \
413 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
414 *) list='$(SUBDIRS)' ;; \
415 esac; \
416 rev=''; for subdir in $$list; do \
417 if test "$$subdir" = "."; then :; else \
418 rev="$$subdir $$rev"; \
419 fi; \
420 done; \
421 rev="$$rev ."; \
422 target=`echo $@ | sed s/-recursive//`; \
423 for subdir in $$rev; do \
424 echo "Making $$target in $$subdir"; \
425 if test "$$subdir" = "."; then \
426 local_target="$$target-am"; \
427 else \
428 local_target="$$target"; \
429 fi; \
430 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
431 || eval $$failcom; \
432 done && test -z "$$fail"
433 tags-recursive:
434 list='$(SUBDIRS)'; for subdir in $$list; do \
435 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
436 done
437 ctags-recursive:
438 list='$(SUBDIRS)'; for subdir in $$list; do \
439 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
440 done
442 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
443 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
444 unique=`for i in $$list; do \
445 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
446 done | \
447 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
448 END { if (nonempty) { for (i in files) print i; }; }'`; \
449 mkid -fID $$unique
450 tags: TAGS
452 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
453 $(TAGS_FILES) $(LISP)
454 set x; \
455 here=`pwd`; \
456 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
457 include_option=--etags-include; \
458 empty_fix=.; \
459 else \
460 include_option=--include; \
461 empty_fix=; \
462 fi; \
463 list='$(SUBDIRS)'; for subdir in $$list; do \
464 if test "$$subdir" = .; then :; else \
465 test ! -f $$subdir/TAGS || \
466 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
467 fi; \
468 done; \
469 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
470 unique=`for i in $$list; do \
471 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
472 done | \
473 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
474 END { if (nonempty) { for (i in files) print i; }; }'`; \
475 shift; \
476 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
477 test -n "$$unique" || unique=$$empty_fix; \
478 if test $$# -gt 0; then \
479 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
480 "$$@" $$unique; \
481 else \
482 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
483 $$unique; \
484 fi; \
486 ctags: CTAGS
487 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
488 $(TAGS_FILES) $(LISP)
489 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
490 unique=`for i in $$list; do \
491 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
492 done | \
493 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
494 END { if (nonempty) { for (i in files) print i; }; }'`; \
495 test -z "$(CTAGS_ARGS)$$unique" \
496 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
497 $$unique
499 GTAGS:
500 here=`$(am__cd) $(top_builddir) && pwd` \
501 && $(am__cd) $(top_srcdir) \
502 && gtags -i $(GTAGS_ARGS) "$$here"
504 distclean-tags:
505 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
507 distdir: $(DISTFILES)
508 $(am__remove_distdir)
509 test -d "$(distdir)" || mkdir "$(distdir)"
510 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
511 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
512 list='$(DISTFILES)'; \
513 dist_files=`for file in $$list; do echo $$file; done | \
514 sed -e "s|^$$srcdirstrip/||;t" \
515 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
516 case $$dist_files in \
517 */*) $(MKDIR_P) `echo "$$dist_files" | \
518 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
519 sort -u` ;; \
520 esac; \
521 for file in $$dist_files; do \
522 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
523 if test -d $$d/$$file; then \
524 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
525 if test -d "$(distdir)/$$file"; then \
526 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
527 fi; \
528 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
529 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
530 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
531 fi; \
532 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
533 else \
534 test -f "$(distdir)/$$file" \
535 || cp -p $$d/$$file "$(distdir)/$$file" \
536 || exit 1; \
537 fi; \
538 done
539 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
540 if test "$$subdir" = .; then :; else \
541 test -d "$(distdir)/$$subdir" \
542 || $(MKDIR_P) "$(distdir)/$$subdir" \
543 || exit 1; \
544 fi; \
545 done
546 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
547 if test "$$subdir" = .; then :; else \
548 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
549 $(am__relativize); \
550 new_distdir=$$reldir; \
551 dir1=$$subdir; dir2="$(top_distdir)"; \
552 $(am__relativize); \
553 new_top_distdir=$$reldir; \
554 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
555 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
556 ($(am__cd) $$subdir && \
557 $(MAKE) $(AM_MAKEFLAGS) \
558 top_distdir="$$new_top_distdir" \
559 distdir="$$new_distdir" \
560 am__remove_distdir=: \
561 am__skip_length_check=: \
562 am__skip_mode_fix=: \
563 distdir) \
564 || exit 1; \
565 fi; \
566 done
567 $(MAKE) $(AM_MAKEFLAGS) \
568 top_distdir="$(top_distdir)" distdir="$(distdir)" \
569 dist-hook
570 -test -n "$(am__skip_mode_fix)" \
571 || find "$(distdir)" -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
572 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
573 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
574 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
575 || chmod -R a+r "$(distdir)"
576 @if test -z "$(am__skip_length_check)" && find "$(distdir)" -type f -print | \
577 grep '^...................................................................................................' 1>&2; then \
578 echo 'error: the above filenames are too long' 1>&2; \
579 exit 1; \
580 else :; fi
581 dist-gzip: distdir
582 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
583 $(am__remove_distdir)
584 dist-bzip2: distdir
585 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
586 $(am__remove_distdir)
588 dist-lzma: distdir
589 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
590 $(am__remove_distdir)
592 dist-xz: distdir
593 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
594 $(am__remove_distdir)
596 dist-tarZ: distdir
597 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
598 $(am__remove_distdir)
600 dist-shar: distdir
601 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
602 $(am__remove_distdir)
604 dist-zip: distdir
605 -rm -f $(distdir).zip
606 zip -rq $(distdir).zip $(distdir)
607 $(am__remove_distdir)
609 dist dist-all: distdir
610 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
611 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
612 $(am__remove_distdir)
614 # This target untars the dist file and tries a VPATH configuration. Then
615 # it guarantees that the distribution is self-contained by making another
616 # tarfile.
617 distcheck: dist
618 case '$(DIST_ARCHIVES)' in \
619 *.tar.gz*) \
620 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
621 *.tar.bz2*) \
622 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
623 *.tar.lzma*) \
624 unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
625 *.tar.xz*) \
626 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
627 *.tar.Z*) \
628 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
629 *.shar.gz*) \
630 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
631 *.zip*) \
632 unzip $(distdir).zip ;;\
633 esac
634 chmod -R a-w $(distdir); chmod a+w $(distdir)
635 mkdir $(distdir)/_build
636 mkdir $(distdir)/_inst
637 chmod a-w $(distdir)
638 test -d $(distdir)/_build || exit 0; \
639 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
640 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
641 && $(am__cd) $(distdir)/_build \
642 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
643 $(DISTCHECK_CONFIGURE_FLAGS) \
644 && $(MAKE) $(AM_MAKEFLAGS) \
645 && $(MAKE) $(AM_MAKEFLAGS) dvi \
646 && $(MAKE) $(AM_MAKEFLAGS) check \
647 && $(MAKE) $(AM_MAKEFLAGS) install \
648 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
649 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
650 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
651 distuninstallcheck \
652 && chmod -R a-w "$$dc_install_base" \
653 && ({ \
654 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
655 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
656 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
657 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
658 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
659 } || { rm -rf "$$dc_destdir"; exit 1; }) \
660 && rm -rf "$$dc_destdir" \
661 && $(MAKE) $(AM_MAKEFLAGS) dist \
662 && rm -rf $(DIST_ARCHIVES) \
663 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
664 $(am__remove_distdir)
665 @(echo "$(distdir) archives ready for distribution: "; \
666 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
667 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
668 distuninstallcheck:
669 @$(am__cd) '$(distuninstallcheck_dir)' \
670 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
671 || { echo "ERROR: files left after uninstall:" ; \
672 if test -n "$(DESTDIR)"; then \
673 echo " (check DESTDIR support)"; \
674 fi ; \
675 $(distuninstallcheck_listfiles) ; \
676 exit 1; } >&2
677 distcleancheck: distclean
678 @if test '$(srcdir)' = . ; then \
679 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
680 exit 1 ; \
682 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
683 || { echo "ERROR: files left in build directory after distclean:" ; \
684 $(distcleancheck_listfiles) ; \
685 exit 1; } >&2
686 check-am: all-am
687 check: check-recursive
688 all-am: Makefile $(SCRIPTS)
689 installdirs: installdirs-recursive
690 installdirs-am:
691 for dir in "$(DESTDIR)$(bindir)"; do \
692 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
693 done
694 install: install-recursive
695 install-exec: install-exec-recursive
696 install-data: install-data-recursive
697 uninstall: uninstall-recursive
699 install-am: all-am
700 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
702 installcheck: installcheck-recursive
703 install-strip:
704 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
705 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
706 `test -z '$(STRIP)' || \
707 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
708 mostlyclean-generic:
710 clean-generic:
711 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
713 distclean-generic:
714 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
715 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
717 maintainer-clean-generic:
718 @echo "This command is intended for maintainers to use"
719 @echo "it deletes files that may require special tools to rebuild."
720 clean: clean-recursive
722 clean-am: clean-generic mostlyclean-am
724 distclean: distclean-recursive
725 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
726 -rm -f Makefile
727 distclean-am: clean-am distclean-generic distclean-tags
729 dvi: dvi-recursive
731 dvi-am:
733 html: html-recursive
735 html-am:
737 info: info-recursive
739 info-am:
741 install-data-am:
743 install-dvi: install-dvi-recursive
745 install-dvi-am:
747 install-exec-am: install-binSCRIPTS
748 @$(NORMAL_INSTALL)
749 $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
750 install-html: install-html-recursive
752 install-html-am:
754 install-info: install-info-recursive
756 install-info-am:
758 install-man:
760 install-pdf: install-pdf-recursive
762 install-pdf-am:
764 install-ps: install-ps-recursive
766 install-ps-am:
768 installcheck-am:
770 maintainer-clean: maintainer-clean-recursive
771 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
772 -rm -rf $(top_srcdir)/autom4te.cache
773 -rm -f Makefile
774 maintainer-clean-am: distclean-am maintainer-clean-generic
776 mostlyclean: mostlyclean-recursive
778 mostlyclean-am: mostlyclean-generic
780 pdf: pdf-recursive
782 pdf-am:
784 ps: ps-recursive
786 ps-am:
788 uninstall-am: uninstall-binSCRIPTS
789 @$(NORMAL_INSTALL)
790 $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
791 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
792 install-am install-exec-am install-strip tags-recursive \
793 uninstall-am
795 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
796 all all-am am--refresh check check-am clean clean-generic \
797 ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
798 dist-hook dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
799 distcheck distclean distclean-generic distclean-tags \
800 distcleancheck distdir distuninstallcheck dvi dvi-am html \
801 html-am info info-am install install-am install-binSCRIPTS \
802 install-data install-data-am install-dvi install-dvi-am \
803 install-exec install-exec-am install-exec-hook install-html \
804 install-html-am install-info install-info-am install-man \
805 install-pdf install-pdf-am install-ps install-ps-am \
806 install-strip installcheck installcheck-am installdirs \
807 installdirs-am maintainer-clean maintainer-clean-generic \
808 mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags \
809 tags-recursive uninstall uninstall-am uninstall-binSCRIPTS \
810 uninstall-hook
813 install-exec-hook:
814 @$(POST_INSTALL)
815 @for p in $(bin_SCRIPTS); do \
816 f="`echo $$p|sed '$(transform)'`"; \
817 fv="$$f-$(APIVERSION)"; \
818 rm -f $(DESTDIR)$(bindir)/$$fv; \
819 echo " $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv"; \
820 $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv; \
821 done
823 uninstall-hook:
824 @for p in $(bin_SCRIPTS); do \
825 f="`echo $$p|sed '$(transform)'`"; \
826 fv="$$f-$(APIVERSION)"; \
827 rm -f $(DESTDIR)$(bindir)/$$fv; \
828 done
830 automake: automake.in
831 aclocal: aclocal.in
832 automake aclocal: Makefile
833 rm -f $@ $@.tmp
834 $(do_subst) $(srcdir)/$@.in >$@.tmp
835 chmod +x $@.tmp
836 chmod a-w $@.tmp
837 mv -f $@.tmp $@
839 INSTALL: lib/INSTALL
840 cp $(srcdir)/lib/INSTALL $@
842 ################################################################
844 # Ensure tests are world-executable
845 dist-hook:
846 cd $(distdir)/tests && chmod a+rx *.test
848 .PHONY: $(syntax_check_rules)
849 $(syntax_check_rules): automake aclocal
850 maintainer-check: $(syntax_check_rules)
852 sc_diff_automake_in_automake:
853 @if test `diff $(srcdir)/automake.in automake | wc -l` -ne 22; then \
854 echo "found too many diffs between automake.in and automake"; 1>&2; \
855 diff -c $(srcdir)/automake.in automake; \
856 exit 1; \
859 sc_perl_syntax:
860 perllibdir="./lib$(PATH_SEPARATOR)$(srcdir)/lib" $(PERL) -c -w automake
861 perllibdir="./lib$(PATH_SEPARATOR)$(srcdir)/lib" $(PERL) -c -w aclocal
863 sc_no_brace_variable_expansions:
864 @if grep -F '$${' $(srcdir)/lib/am/[a-z]*.am | \
865 grep -F -v '$$$$'; then \
866 echo "Found too many uses of '\$${' in the lines above." 1>&2; \
867 exit 1; \
868 else :; fi
870 sc_rm_minus_f:
871 @if grep -v '^#' $(srcdir)/lib/am/[a-z]*.am $(srcdir)/tests/*.test | \
872 grep -E '\<rm ([^-]|\-[^f ]*\>)'; then \
873 echo "Suspicious 'rm' invocation." 1>&2; \
874 exit 1; \
875 else :; fi
877 sc_no_for_variable_in_macro:
878 @if grep 'for .* in \$$(' $(srcdir)/lib/am/[a-z]*.am; then \
879 echo 'Use "list=$$(mumble); for var in $$$$list".' 1>&2 ; \
880 exit 1; \
881 else :; fi
883 sc_mkinstalldirs:
884 @if grep -n 'mkinstalldirs' $(srcdir)/lib/am/[a-z]*.am | \
885 grep -F -v '$$(mkinstalldirs)'; then \
886 echo "Found incorrect use of mkinstalldirs in the lines above" 1>&2; \
887 exit 1; \
888 else :; fi
890 sc_pre_normal_post_install_uninstall:
891 @if grep -E -n '\((PRE|NORMAL|POST)_(|UN)INSTALL\)' \
892 $(srcdir)/lib/am/[a-z]*.am | \
893 grep -v ':##' | grep -v ': @\$$('; then \
894 echo "Found incorrect use of PRE/NORMAL/POST_INSTALL/UNINSTALL in the lines above" 1>&2; \
895 exit 1; \
896 else :; fi
898 sc_perl_no_undef:
899 @if grep -n -w 'undef ' $(srcdir)/automake.in | \
900 grep -F -v 'undef $$/'; then \
901 echo "Found undef in automake.in; use delete instead" 1>&2; \
902 exit 1; \
905 sc_perl_no_split_regex_space:
906 @if grep -n 'split (/ /' $(srcdir)/automake.in; then \
907 echo "Found bad split in the lines above." 1>&2; \
908 exit 1; \
911 sc_cd_in_backquotes:
912 @if grep -n '^[^#]*` *cd ' $(srcdir)/automake.in \
913 $(srcdir)/lib/am/*.am; then \
914 echo "Consider using \$$(am__cd) in the lines above." 1>&2; \
915 exit 1; \
918 sc_cd_relative_dir:
919 @if grep -n '^[^#]*cd ' $(srcdir)/automake.in \
920 $(srcdir)/lib/am/*.am | \
921 grep -v 'echo.*cd ' | \
922 grep -v 'am__cd =' | \
923 grep -v '^[^#]*cd [./]' | \
924 grep -v '^[^#]*cd \$$(top_builddir)' | \
925 grep -v '^[^#]*cd "\$$\$$am__cwd' | \
926 grep -v '^[^#]*cd \$$(abs' | \
927 grep -v '^[^#]*cd "\$$(DESTDIR)'; then \
928 echo "Consider using \$$(am__cd) in the lines above." 1>&2; \
929 exit 1; \
932 sc_perl_at_uscore_in_scalar_context:
933 @if grep -Hn '[^@_A-Za-z0-9][_A-Za-z0-9]*[^) ] *= *@_' $(srcdir)/automake.in; then \
934 echo "Using @_ in a scalar context in the lines above." 1>&2; \
935 exit 1; \
938 sc_perl_local_no_parens:
939 @if grep '^[ \t]*local *(' $(srcdir)/automake.in; then \
940 echo "Don't use \`local' with parens: use several \`local' above." >&2; \
941 exit 1; \
944 sc_perl_local:
945 @if grep -v '^[ \t]*local \$$_;' $(srcdir)/automake.in | \
946 grep '^[ \t]*local [^*]'; then \
947 echo "Please avoid \`local'." 1>&2; \
948 exit 1; \
951 sc_AMDEP_TRUE_in_automake_in:
952 @if grep '@AMDEP''_TRUE@' $(srcdir)/automake.in; then \
953 echo "Don't put AMDEP_TRUE substitution in automake.in" 1>&2; \
954 exit 1; \
957 sc_tests_make_without_am_makeflags:
958 @if grep '^[^#].*(MAKE) ' $(srcdir)/lib/am/*.am $(srcdir)/automake.in |\
959 grep -v 'AM_MAKEFLAGS'; then \
960 echo 'Use $$(MAKE) $$(AM_MAKEFLAGS).' 1>&2; \
961 exit 1; \
964 sc_tests_plain_make:
965 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*make'; then \
966 echo 'Do not run "make" in the above tests. Use "$$MAKE" instead.' 1>&2; \
967 exit 1; \
970 sc_tests_plain_autoconf:
971 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*autoconf'; then \
972 echo 'Do not run "autoconf" in the above tests. Use "$$AUTOCONF" instead.' 1>&2; \
973 exit 1; \
976 sc_tests_plain_autoupdate:
977 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*autoupdate'; then \
978 echo 'Do not run "autoupdate" in the above tests. Use "$$AUTOUPDATE" instead.' 1>&2; \
979 exit 1; \
982 sc_tests_plain_automake:
983 @if grep -v '^#' $(srcdir)/tests/*.test | grep -E ':[ ]*automake([^:]|$$)'; then \
984 echo 'Do not run "automake" in the above tests. Use "$$AUTOMAKE" instead.' 1>&2; \
985 exit 1; \
988 sc_tests_here_document_format:
989 @if grep '<<' $(srcdir)/tests/*.test | grep -v 'END' | grep -v 'EOF'; then \
990 echo 'Use here documents with "END" and "EOF" only, for greppability.' 1>&2; \
991 exit 1; \
994 sc_tests_Exit_not_exit:
995 @found=false; for file in $(srcdir)/tests/*.test; do \
996 res=`sed -n '/^#/d; /^\$$PERL/d; /<<.*END/,/^END/{b;}; /<<.*EOF/,/^EOF/{b;}; /exit [$$0-9]/p' $$file`; \
997 if test -n "$$res"; then \
998 echo "$$file:$$res"; \
999 found=true; \
1000 fi; \
1001 done; \
1002 if $$found; then \
1003 echo 'Do not call plain "exit", use "Exit" instead, in above tests.' 1>&2; \
1004 exit 1; \
1007 sc_tests_automake_fails:
1008 @if grep -v '^#' $(srcdir)/tests/*.test | grep '\$$AUTOMAKE.*&&.*[eE]xit'; then \
1009 echo 'Use AUTOMAKE_fails + grep to catch automake failures in the above tests.' 1>&2; \
1010 exit 1; \
1013 sc_tests_plain_aclocal:
1014 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*aclocal'; then \
1015 echo 'Do not run "aclocal" in the above tests. Use "$$ACLOCAL" instead.' 1>&2; \
1016 exit 1; \
1019 sc_tests_plain_perl:
1020 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*perl'; then \
1021 echo 'Do not run "perl" in the above tests. Use "$$PERL" instead.' 1>&2; \
1022 exit 1; \
1025 sc_tests_required_after_defs:
1026 @for file in $(srcdir)/tests/*.test; do \
1027 if out=`sed -n '/defs/,$${/required=/p;}' $$file`; test -n "$$out"; then \
1028 echo 'Do not set "required" after sourcing "defs" in '"$$file: $$out" 1>&2; \
1029 exit 1; \
1030 fi; \
1031 done
1033 sc_tests_overriding_macros_on_cmdline:
1034 @if grep -E '\$$MAKE .*(SHELL=.*=|=.*SHELL=)' $(srcdir)/tests/*.test; then \
1035 echo 'Rewrite "$$MAKE foo=bar SHELL=$$SHELL" as "foo=bar $$MAKE -e SHELL=$$SHELL"' 1>&2; \
1036 echo ' in the above lines, it is more portable.' 1>&2; \
1037 exit 1; \
1039 @if sed 's/DESTDIR=[^ ]*//; s/SHELL=[^ ]*//; s/V=[^ ]*//' $(srcdir)/tests/*.test | \
1040 grep '\$$MAKE .*=' ; then \
1041 echo 'Rewrite "$$MAKE foo=bar" as "foo=bar $$MAKE -e" in the above lines,' 1>&2; \
1042 echo 'it is more portable.' 1>&2; \
1043 exit 1; \
1045 @if grep 'SHELL=.*\$$MAKE' $(srcdir)/tests/*.test; then \
1046 echo '$$MAKE ignores the SHELL envvar, use "$$MAKE SHELL=$$SHELL" in' 1>&2; \
1047 echo 'the above lines.' 1>&2; \
1048 exit 1; \
1051 sc_tests_plain_sleep:
1052 @if grep -E '\bsleep +[12345]\b' $(srcdir)/tests/*.test; then \
1053 echo 'Do not use "sleep x" in the above tests. Use "$$sleep" instead.' 1>&2; \
1054 exit 1; \
1057 sc_tests_plain_egrep_fgrep:
1058 @if grep -E '\b[ef]grep\b' $(srcdir)/tests/*.test ; then \
1059 echo 'Do not use egrep or fgrep in test cases. Use $$FGREP or $$EGREP.' 1>&2; \
1060 exit 1; \
1062 @if grep -E '\b[ef]grep\b' $(srcdir)/lib/am/*.am $(srcdir)/m4/*.m4; then \
1063 echo 'Do not use egrep or fgrep in the above files, they are not portable.' 1>&2; \
1064 exit 1; \
1067 sc_mkdir_p:
1068 @if grep 'mkdir_p' $(srcdir)/automake.in \
1069 $(srcdir)/lib/am/*.am $(srcdir)/tests/*.test; then \
1070 echo 'Do not use mkdir_p in the above files, use MKDIR_P.' 1>&2; \
1071 exit 1; \
1074 sc_perl_at_substs:
1075 @if test `grep -E '^[^#]*@[A-Za-z_0-9]+@' aclocal | wc -l` -ne 0; then \
1076 echo "Unresolved @...@ substitution in aclocal" 1>&2; \
1077 exit 1; \
1079 @if test `grep -E '^[^#]*@[A-Za-z_0-9]+@' automake | wc -l` -ne 0; then \
1080 echo "Unresolved @...@ substitution in automake" 1>&2; \
1081 exit 1; \
1084 sc_unquoted_DESTDIR:
1085 @if grep -E "[^\'\"]\\\$$\(DESTDIR" $(srcdir)/lib/am/*.am; then \
1086 echo 'Suspicious unquoted DESTDIR uses.' 1>&2 ; \
1087 exit 1; \
1090 sc_tabs_in_texi:
1091 @if grep ' ' $(srcdir)/doc/automake.texi; then \
1092 echo 'Do not use tabs in the manual.' 1>&2; \
1093 exit 1; \
1096 sc_at_in_texi:
1097 @if grep -E '([^@]|^)@([ ][^@]|$$)' $(srcdir)/doc/automake.texi; \
1098 then \
1099 echo 'Unescaped @.' 1>&2; \
1100 exit 1; \
1103 git-dist: maintainer-check
1104 @if sed 1q $(srcdir)/NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
1105 echo "NEWS not updated; not releasing" 1>&2; \
1106 exit 1; \
1108 $(MAKE) $(AM_MAKEFLAGS) distcheck
1109 cd $(srcdir) && git commit -a -s && \
1110 git tag -s "v$(VERSION)" -m "Release $(VERSION)"
1112 git-release: git-dist
1113 case $(VERSION) in \
1114 *[a-z]) dest=alpha;; \
1115 *) dest=ftp;; \
1116 esac; \
1117 $(srcdir)/lib/gnupload $(GNUPLOADFLAGS) \
1118 --to $$dest.gnu.org:automake $(DIST_ARCHIVES)
1120 git-diff:
1121 thisver="v$(VERSION)"; \
1122 if test -z "$$OLDVERSION"; then \
1123 prevno=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
1124 else prevno="$$OLDVERSION"; fi; \
1125 prevver=v$$prevno; \
1126 git diff $$prevver..$$thisver $(PACKAGE) \
1127 > $(PACKAGE)-$$prevno-$(VERSION).diff
1129 path-check: distdir
1130 (cd $(distdir) && \
1131 find . -print | xargs pathchk -p); \
1132 status=$$?; \
1133 chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir); \
1134 exit $$status
1136 fetch:
1137 rm -rf Fetchdir > /dev/null 2>&1
1138 mkdir Fetchdir
1139 (cd Fetchdir && \
1140 $(WGET_SV_GIT_CF)config.guess -O config.guess && \
1141 $(WGET_SV_GIT_CF)config.sub -O config.sub && \
1142 $(WGET_SV_CVS)texinfo/texinfo/doc/texinfo.tex -O texinfo.tex && \
1143 $(WGET_SV_GIT_GL)doc/INSTALL -O INSTALL && \
1144 $(WGET_GCC)config-ml.in -O config-ml.in && \
1145 $(WGET_GCC)symlink-tree -O symlink-tree)
1146 @stat=0; for file in $(FETCHFILES); do \
1147 if diff -u $(srcdir)/lib/$$file Fetchdir/$$file \
1148 >>Fetchdir/update.patch 2>/dev/null; then :; \
1149 else \
1150 stat=1; \
1151 echo "Updating $(srcdir)/lib/$$file..."; \
1152 cp Fetchdir/$$file $(srcdir)/lib/$$file; \
1153 fi; \
1154 done; \
1155 test $$stat = 0 || \
1156 echo "See Fetchdir/update.patch for a log of the changes."; \
1157 exit $$stat
1159 release-stats: ps
1160 @am=`wc -l < automake` && \
1161 acl=`wc -l < aclocal` && \
1162 pmfiles="lib/Automake/*.pm" && \
1163 if test . != '$(srcdir)'; then pmfiles="$$pmfiles $(srcdir)/lib/Automake/*.pm"; \
1164 else :; fi && \
1165 pm=`cat $$pmfiles | wc -l` && \
1166 dot_am_files=`ls -1 $(srcdir)/lib/am/*.am | grep -v Makefile.am` && \
1167 amf=`echo "$$dot_am_files" | wc -l` && \
1168 aml=`cat $$dot_am_files | wc -l` && \
1169 m4f=`ls -1 $(srcdir)/m4/*.m4 | wc -l` && \
1170 m4l=`cat $(srcdir)/m4/*.m4 | wc -l` && \
1171 doc_text=`cd doc && LC_ALL=C pstops 0 automake.ps unused.ps 2>&1` && \
1172 rm -f doc/unused.ps && \
1173 doc=`echo "$$doc_text" | sed -n 's/.*Wrote \([1-9][0-9]*\) pages.*/\1/p'` && \
1174 tests="tests/*.test"; \
1175 if test . != '$(srcdir)'; then tests="$$tests $(srcdir)/tests/*.test"; \
1176 else :; fi && \
1177 t=`ls -1 $$tests | wc -l` && \
1178 tgen=`ls -1 $$tests | grep '.-p\.test' | wc -l` && \
1179 today=`date +%Y-%m-%d` && \
1180 echo "add this to the table in doc/automake.texi after verification:" && \
1181 printf '@item %s @tab %-6s @tab %4d @tab %4d @tab %4d @tab %4d %-4s @tab %4d %-4s @tab %3d @tab %d %-4s\n' \
1182 $$today $(VERSION) $$am $$acl $$pm $$aml "($$amf)" $$m4l "($$m4f)" $$doc $$t "($$tgen)"
1183 .PHONY: release-stats
1185 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1186 # Otherwise a system limit (for SysV at least) may be exceeded.
1187 .NOEXPORT: