* lib/ylwrap: Do not overwrite headers if they haven't changed.
[automake.git] / Makefile.in
blobd8a5e80a0f3fbf0fbac56e08350c4908beb23cf1
1 # Makefile.in generated by automake 1.7c from Makefile.am.
2 # @configure_input@
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
5 # Free Software Foundation, Inc.
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 # PARTICULAR PURPOSE.
15 @SET_MAKE@
17 srcdir = @srcdir@
18 top_srcdir = @top_srcdir@
19 VPATH = @srcdir@
20 pkgdatadir = $(datadir)/@PACKAGE@
21 pkglibdir = $(libdir)/@PACKAGE@
22 pkgincludedir = $(includedir)/@PACKAGE@
23 top_builddir = .
24 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
25 INSTALL = @INSTALL@
26 install_sh_DATA = $(install_sh) -c -m 644
27 install_sh_PROGRAM = $(install_sh) -c
28 install_sh_SCRIPT = $(install_sh) -c
29 INSTALL_HEADER = $(INSTALL_DATA)
30 transform = $(program_transform_name)
31 NORMAL_INSTALL = :
32 PRE_INSTALL = :
33 POST_INSTALL = :
34 NORMAL_UNINSTALL = :
35 PRE_UNINSTALL = :
36 POST_UNINSTALL = :
37 subdir = .
38 DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.in \
39 $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL \
40 Makefile.am NEWS THANKS TODO configure configure.ac
41 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
42 am__aclocal_m4_deps = $(top_srcdir)/m4/amversion.m4 \
43 $(top_srcdir)/m4/auxdir.m4 $(top_srcdir)/m4/init.m4 \
44 $(top_srcdir)/m4/install-sh.m4 $(top_srcdir)/m4/lead-dot.m4 \
45 $(top_srcdir)/m4/missing.m4 $(top_srcdir)/m4/mkdirp.m4 \
46 $(top_srcdir)/m4/options.m4 $(top_srcdir)/m4/runlog.m4 \
47 $(top_srcdir)/m4/sanity.m4 $(top_srcdir)/m4/strip.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
53 mkinstalldirs = $(SHELL) $(top_srcdir)/lib/mkinstalldirs
54 CONFIG_CLEAN_FILES =
55 am__installdirs = $(DESTDIR)$(bindir)
56 binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
57 SCRIPTS = $(bin_SCRIPTS)
58 SOURCES =
59 DIST_SOURCES =
60 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
61 html-recursive info-recursive install-data-recursive \
62 install-exec-recursive install-info-recursive \
63 install-recursive installcheck-recursive installdirs-recursive \
64 pdf-recursive ps-recursive uninstall-info-recursive \
65 uninstall-recursive
66 ETAGS = etags
67 CTAGS = ctags
68 DIST_SUBDIRS = $(SUBDIRS)
69 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
70 distdir = $(PACKAGE)-$(VERSION)
71 top_distdir = $(distdir)
72 am__remove_distdir = \
73 { test ! -d $(distdir) \
74 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
75 && rm -fr $(distdir); }; }
76 DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
77 GZIP_ENV = --best
78 distuninstallcheck_listfiles = find . -type f -print
79 distcleancheck_listfiles = find . -type f -print
80 ACLOCAL = @ACLOCAL@
81 AMTAR = @AMTAR@
82 APIVERSION = @APIVERSION@
83 AUTOCONF = @AUTOCONF@
84 AUTOHEADER = @AUTOHEADER@
85 AUTOMAKE = @AUTOMAKE@
86 AWK = @AWK@
87 CYGPATH_W = @CYGPATH_W@
88 DEFS = @DEFS@
89 ECHO_C = @ECHO_C@
90 ECHO_N = @ECHO_N@
91 ECHO_T = @ECHO_T@
92 EGREP = @EGREP@
93 FGREP = @FGREP@
94 INSTALL_DATA = @INSTALL_DATA@
95 INSTALL_PROGRAM = @INSTALL_PROGRAM@
96 INSTALL_SCRIPT = @INSTALL_SCRIPT@
97 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
98 LIBOBJS = @LIBOBJS@
99 LIBS = @LIBS@
100 LN = @LN@
101 LTLIBOBJS = @LTLIBOBJS@
102 MAKEINFO = @MAKEINFO@
103 MODIFICATION_DELAY = @MODIFICATION_DELAY@
104 PACKAGE = @PACKAGE@
105 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
106 PACKAGE_NAME = @PACKAGE_NAME@
107 PACKAGE_STRING = @PACKAGE_STRING@
108 PACKAGE_TARNAME = @PACKAGE_TARNAME@
109 PACKAGE_VERSION = @PACKAGE_VERSION@
110 PATH_SEPARATOR = @PATH_SEPARATOR@
111 PERL = @PERL@
112 SET_MAKE = @SET_MAKE@
113 SHELL = @SHELL@
114 STRIP = @STRIP@
115 TEX = @TEX@
116 VERSION = @VERSION@
117 ac_ct_STRIP = @ac_ct_STRIP@
118 am__leading_dot = @am__leading_dot@
119 bindir = @bindir@
120 build = @build@
121 build_alias = @build_alias@
122 build_cpu = @build_cpu@
123 build_os = @build_os@
124 build_vendor = @build_vendor@
125 datadir = @datadir@
126 exec_prefix = @exec_prefix@
127 host_alias = @host_alias@
128 includedir = @includedir@
129 infodir = @infodir@
130 install_sh = @install_sh@
131 libdir = @libdir@
132 libexecdir = @libexecdir@
133 localstatedir = @localstatedir@
134 mandir = @mandir@
135 mkdir_p = @mkdir_p@
136 oldincludedir = @oldincludedir@
137 pkgvdatadir = @pkgvdatadir@
138 prefix = @prefix@
139 program_transform_name = @program_transform_name@
140 sbindir = @sbindir@
141 sharedstatedir = @sharedstatedir@
142 sysconfdir = @sysconfdir@
143 target_alias = @target_alias@
144 SUBDIRS = . doc m4 lib tests
145 bin_SCRIPTS = automake aclocal
146 CLEANFILES = $(bin_SCRIPTS)
147 AUTOMAKESOURCES = automake.in aclocal.in
148 TAGS_FILES = $(AUTOMAKESOURCES)
149 EXTRA_DIST = ChangeLog.96 ChangeLog.98 ChangeLog.00 ChangeLog.01 ChangeLog.02 \
150 $(AUTOMAKESOURCES)
152 do_subst = sed -e 's,[@]datadir[@],$(datadir),g' -e 's,[@]PERL[@],$(PERL),g' \
153 -e 's,[@]configure_input[@],@configure_input@,g' \
154 -e 's,[@]PACKAGE[@],$(PACKAGE),g' \
155 -e 's,[@]VERSION[@],$(VERSION),g' \
156 -e 's,[@]APIVERSION[@],$(APIVERSION),g' \
157 -e 's,[@]SHELL[@],$(SHELL),g'
159 WGET = wget
160 WGETSGO = $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~
161 FETCHFILES = \
162 INSTALL \
163 config-ml.in \
164 config.guess \
165 config.sub \
166 symlink-tree \
167 texinfo.tex
169 all: all-recursive
171 .SUFFIXES:
172 am--refresh:
174 $(srcdir)/Makefile.in: Makefile.am $(am__configure_deps)
175 @for dep in $?; do \
176 case '$(am__configure_deps)' in \
177 *$$dep*) \
178 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
179 cd $(srcdir) && $(AUTOMAKE) --gnu \
180 && exit 0; \
181 exit 1;; \
182 esac; \
183 done; \
184 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
185 cd $(top_srcdir) && \
186 $(AUTOMAKE) --gnu Makefile
187 .PRECIOUS: Makefile
188 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
189 @case '$?' in \
190 *config.status*) \
191 echo ' $(SHELL) ./config.status'; \
192 $(SHELL) ./config.status;; \
193 *) \
194 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
195 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
196 esac;
198 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
199 $(SHELL) ./config.status --recheck
201 $(top_srcdir)/configure: $(am__configure_deps)
202 cd $(srcdir) && $(AUTOCONF)
203 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
204 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
205 install-binSCRIPTS: $(bin_SCRIPTS)
206 @$(NORMAL_INSTALL)
207 $(mkdir_p) $(DESTDIR)$(bindir)
208 @list='$(bin_SCRIPTS)'; for p in $$list; do \
209 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
210 if test -f $$d$$p; then \
211 f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
212 echo " $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f"; \
213 $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f; \
214 else :; fi; \
215 done
217 uninstall-binSCRIPTS:
218 @$(NORMAL_UNINSTALL)
219 @list='$(bin_SCRIPTS)'; for p in $$list; do \
220 f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
221 echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
222 rm -f $(DESTDIR)$(bindir)/$$f; \
223 done
224 uninstall-info-am:
226 # This directory's subdirectories are mostly independent; you can cd
227 # into them and run `make' without going through this Makefile.
228 # To change the values of `make' variables: instead of editing Makefiles,
229 # (1) if the variable is set in `config.status', edit `config.status'
230 # (which will cause the Makefiles to be regenerated when you run `make');
231 # (2) otherwise, pass the desired values on the `make' command line.
232 $(RECURSIVE_TARGETS):
233 @set fnord $$MAKEFLAGS; amf=$$2; \
234 dot_seen=no; \
235 target=`echo $@ | sed s/-recursive//`; \
236 list='$(SUBDIRS)'; for subdir in $$list; do \
237 echo "Making $$target in $$subdir"; \
238 if test "$$subdir" = "."; then \
239 dot_seen=yes; \
240 local_target="$$target-am"; \
241 else \
242 local_target="$$target"; \
243 fi; \
244 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
245 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
246 done; \
247 if test "$$dot_seen" = "no"; then \
248 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
249 fi; test -z "$$fail"
251 mostlyclean-recursive clean-recursive distclean-recursive \
252 maintainer-clean-recursive:
253 @set fnord $$MAKEFLAGS; amf=$$2; \
254 dot_seen=no; \
255 case "$@" in \
256 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
257 *) list='$(SUBDIRS)' ;; \
258 esac; \
259 rev=''; for subdir in $$list; do \
260 if test "$$subdir" = "."; then :; else \
261 rev="$$subdir $$rev"; \
262 fi; \
263 done; \
264 rev="$$rev ."; \
265 target=`echo $@ | sed s/-recursive//`; \
266 for subdir in $$rev; do \
267 echo "Making $$target in $$subdir"; \
268 if test "$$subdir" = "."; then \
269 local_target="$$target-am"; \
270 else \
271 local_target="$$target"; \
272 fi; \
273 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
274 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
275 done && test -z "$$fail"
276 tags-recursive:
277 list='$(SUBDIRS)'; for subdir in $$list; do \
278 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
279 done
280 ctags-recursive:
281 list='$(SUBDIRS)'; for subdir in $$list; do \
282 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
283 done
285 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
286 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
287 unique=`for i in $$list; do \
288 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
289 done | \
290 $(AWK) ' { files[$$0] = 1; } \
291 END { for (i in files) print i; }'`; \
292 mkid -fID $$unique
293 tags: TAGS
295 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
296 $(TAGS_FILES) $(LISP)
297 tags=; \
298 here=`pwd`; \
299 if (etags --etags-include --version) >/dev/null 2>&1; then \
300 include_option=--etags-include; \
301 else \
302 include_option=--include; \
303 fi; \
304 list='$(SUBDIRS)'; for subdir in $$list; do \
305 if test "$$subdir" = .; then :; else \
306 test -f $$subdir/TAGS && \
307 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
308 fi; \
309 done; \
310 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
311 unique=`for i in $$list; do \
312 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
313 done | \
314 $(AWK) ' { files[$$0] = 1; } \
315 END { for (i in files) print i; }'`; \
316 test -z "$(ETAGS_ARGS)$$tags$$unique" \
317 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
318 $$tags $$unique
319 ctags: CTAGS
320 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
321 $(TAGS_FILES) $(LISP)
322 tags=; \
323 here=`pwd`; \
324 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
325 unique=`for i in $$list; do \
326 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
327 done | \
328 $(AWK) ' { files[$$0] = 1; } \
329 END { for (i in files) print i; }'`; \
330 test -z "$(CTAGS_ARGS)$$tags$$unique" \
331 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
332 $$tags $$unique
334 GTAGS:
335 here=`$(am__cd) $(top_builddir) && pwd` \
336 && cd $(top_srcdir) \
337 && gtags -i $(GTAGS_ARGS) $$here
339 distclean-tags:
340 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
342 distdir: $(DISTFILES)
343 $(am__remove_distdir)
344 mkdir $(distdir)
345 $(mkdir_p) $(distdir)/m4 $(distdir)/tests
346 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
347 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
348 list='$(DISTFILES)'; for file in $$list; do \
349 case $$file in \
350 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
351 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
352 esac; \
353 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
354 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
355 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
356 dir="/$$dir"; \
357 $(mkdir_p) "$(distdir)$$dir"; \
358 else \
359 dir=''; \
360 fi; \
361 if test -d $$d/$$file; then \
362 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
363 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
364 fi; \
365 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
366 else \
367 test -f $(distdir)/$$file \
368 || cp -p $$d/$$file $(distdir)/$$file \
369 || exit 1; \
370 fi; \
371 done
372 list='$(SUBDIRS)'; for subdir in $$list; do \
373 if test "$$subdir" = .; then :; else \
374 test -d "$(distdir)/$$subdir" \
375 || mkdir "$(distdir)/$$subdir" \
376 || exit 1; \
377 (cd $$subdir && \
378 $(MAKE) $(AM_MAKEFLAGS) \
379 top_distdir="../$(top_distdir)" \
380 distdir="../$(distdir)/$$subdir" \
381 distdir) \
382 || exit 1; \
383 fi; \
384 done
385 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
386 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
387 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
388 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
389 || chmod -R a+r $(distdir)
390 dist-gzip: distdir
391 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
392 $(am__remove_distdir)
393 dist-bzip2: distdir
394 $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
395 $(am__remove_distdir)
397 dist-tarZ: distdir
398 $(AMTAR) chof - $(distdir) | compress -c >$(distdir).tar.Z
399 $(am__remove_distdir)
401 dist-shar: distdir
402 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
403 $(am__remove_distdir)
405 dist-zip: distdir
406 -rm -f $(distdir).zip
407 zip -rq $(distdir).zip $(distdir)
408 $(am__remove_distdir)
410 dist dist-all: distdir
411 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
412 $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
413 $(am__remove_distdir)
415 # This target untars the dist file and tries a VPATH configuration. Then
416 # it guarantees that the distribution is self-contained by making another
417 # tarfile.
418 distcheck: dist
419 case '$(DIST_ARCHIVES)' in \
420 *.tar.gz*) \
421 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - ;;\
422 *.tar.bz2*) \
423 bunzip2 -c $(distdir).tar.bz2 | $(AMTAR) xf - ;;\
424 *.tar.Z*) \
425 uncompress -c $(distdir).tar.Z | $(AMTAR) xf - ;;\
426 *.shar.gz*) \
427 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | unshar ;;\
428 *.zip*) \
429 unzip $(distdir).zip ;;\
430 esac
431 chmod -R a-w $(distdir); chmod a+w $(distdir)
432 mkdir $(distdir)/_build
433 mkdir $(distdir)/_inst
434 chmod a-w $(distdir)
435 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
436 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
437 && cd $(distdir)/_build \
438 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
439 $(DISTCHECK_CONFIGURE_FLAGS) \
440 && $(MAKE) $(AM_MAKEFLAGS) \
441 && $(MAKE) $(AM_MAKEFLAGS) dvi \
442 && $(MAKE) $(AM_MAKEFLAGS) check \
443 && $(MAKE) $(AM_MAKEFLAGS) install \
444 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
445 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
446 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
447 distuninstallcheck \
448 && chmod -R a-w "$$dc_install_base" \
449 && ({ \
450 (cd ../.. && $(mkdir_p) "$$dc_destdir") \
451 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
452 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
453 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
454 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
455 } || { rm -rf "$$dc_destdir"; exit 1; }) \
456 && rm -rf "$$dc_destdir" \
457 && $(MAKE) $(AM_MAKEFLAGS) dist \
458 && rm -rf $(DIST_ARCHIVES) \
459 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
460 $(am__remove_distdir)
461 @(echo "$(distdir) archives ready for distribution: "; \
462 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
463 sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
464 distuninstallcheck:
465 @cd $(distuninstallcheck_dir) \
466 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
467 || { echo "ERROR: files left after uninstall:" ; \
468 if test -n "$(DESTDIR)"; then \
469 echo " (check DESTDIR support)"; \
470 fi ; \
471 $(distuninstallcheck_listfiles) ; \
472 exit 1; } >&2
473 distcleancheck: distclean
474 @if test '$(srcdir)' = . ; then \
475 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
476 exit 1 ; \
478 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
479 || { echo "ERROR: files left in build directory after distclean:" ; \
480 $(distcleancheck_listfiles) ; \
481 exit 1; } >&2
482 check-am: all-am
483 check: check-recursive
484 all-am: Makefile $(SCRIPTS)
485 installdirs: installdirs-recursive
486 installdirs-am:
487 $(mkdir_p) $(DESTDIR)$(bindir)
488 install: install-recursive
489 install-exec: install-exec-recursive
490 install-data: install-data-recursive
491 uninstall: uninstall-recursive
493 install-am: all-am
494 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
496 installcheck: installcheck-recursive
497 install-strip:
498 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
499 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
500 `test -z '$(STRIP)' || \
501 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
502 mostlyclean-generic:
504 clean-generic:
505 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
507 distclean-generic:
508 -rm -f $(CONFIG_CLEAN_FILES)
510 maintainer-clean-generic:
511 @echo "This command is intended for maintainers to use"
512 @echo "it deletes files that may require special tools to rebuild."
513 clean: clean-recursive
515 clean-am: clean-generic mostlyclean-am
517 distclean: distclean-recursive
518 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
519 -rm -f Makefile
520 distclean-am: clean-am distclean-generic distclean-tags
522 dvi: dvi-recursive
524 dvi-am:
526 html: html-recursive
528 info: info-recursive
530 info-am:
532 install-data-am:
534 install-exec-am: install-binSCRIPTS
535 @$(NORMAL_INSTALL)
536 $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
538 install-info: install-info-recursive
540 install-man:
542 installcheck-am:
544 maintainer-clean: maintainer-clean-recursive
545 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
546 -rm -rf $(top_srcdir)/autom4te.cache
547 -rm -f Makefile
548 maintainer-clean-am: distclean-am maintainer-clean-generic
550 mostlyclean: mostlyclean-recursive
552 mostlyclean-am: mostlyclean-generic
554 pdf: pdf-recursive
556 pdf-am:
558 ps: ps-recursive
560 ps-am:
562 uninstall-am: uninstall-binSCRIPTS uninstall-info-am
563 @$(NORMAL_INSTALL)
564 $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
566 uninstall-info: uninstall-info-recursive
568 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
569 check-am clean clean-generic clean-recursive ctags \
570 ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-shar \
571 dist-tarZ dist-zip distcheck distclean distclean-generic \
572 distclean-recursive distclean-tags distcleancheck distdir \
573 distuninstallcheck dvi dvi-am html html-am info info-am \
574 install install-am install-binSCRIPTS install-data \
575 install-data-am install-exec install-exec-am install-info \
576 install-info-am install-man install-strip installcheck \
577 installcheck-am installdirs installdirs-am maintainer-clean \
578 maintainer-clean-generic maintainer-clean-recursive \
579 mostlyclean mostlyclean-generic mostlyclean-recursive pdf \
580 pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
581 uninstall-binSCRIPTS uninstall-info-am
584 install-exec-hook:
585 @$(POST_INSTALL)
586 @for p in $(bin_SCRIPTS); do \
587 f="`echo $$p|sed '$(transform)'`"; \
588 fv="$$f-$(APIVERSION)"; \
589 rm -f $(DESTDIR)$(bindir)/$$fv; \
590 echo " $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv"; \
591 $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv; \
592 done
594 uninstall-hook:
595 @for p in $(bin_SCRIPTS); do \
596 f="`echo $$p|sed '$(transform)'`"; \
597 fv="$$f-$(APIVERSION)"; \
598 rm -f $(DESTDIR)$(bindir)/$$fv; \
599 done
601 automake: automake.in Makefile
602 $(do_subst) < $(srcdir)/automake.in > automake
603 chmod +x automake
605 aclocal: aclocal.in Makefile
606 $(do_subst) < $(srcdir)/aclocal.in > aclocal
607 chmod +x aclocal
609 INSTALL: lib/INSTALL
610 cp lib/INSTALL $@
612 ################################################################
614 # Some simple checks, and then ordinary check. These are only really
615 # guaranteed to work on my machine.
616 maintainer-check: automake aclocal
617 @if test `diff $(srcdir)/automake.in automake | wc -l` -ne 20; then \
618 echo "found too many diffs between automake.in and automake"; 1>&2; \
619 diff -c $(srcdir)/automake.in automake; \
620 exit 1; \
622 perllibdir=./lib:$(srcdir)/lib $(PERL) -c -w automake
623 perllibdir=./lib:$(srcdir)/lib $(PERL) -c -w aclocal
624 @if grep -F '$${' $(srcdir)/lib/am/[a-z]*.am | \
625 grep -F -v '$$$$'; then \
626 echo "Found too many uses of '\$${' in the lines above." 1>&2; \
627 exit 1; \
628 else :; fi
629 @if grep -v '^#' $(srcdir)/lib/am/[a-z]*.am $(srcdir)/tests/*.test | \
630 grep -E '\<rm ([^-]|\-[^f ]*\>)'; then \
631 echo "Suspicious 'rm' invocation." 1>&2; \
632 exit 1; \
633 else :; fi
634 @if grep 'for .* in \$$(' $(srcdir)/lib/am/[a-z]*.am; then \
635 echo 'Use "list=$$(mumble); for var in $$$$list".' 1>&2 ; \
636 exit 1; \
637 else :; fi
638 @if grep -n 'mkinstalldirs' $(srcdir)/lib/am/[a-z]*.am | \
639 grep -F -v '$$(mkinstalldirs)'; then \
640 echo "Found incorrect use of mkinstalldirs in the lines above" 1>&2; \
641 exit 1; \
642 else :; fi
643 @if grep -n -w 'undef ' $(srcdir)/automake.in | \
644 grep -F -v 'undef $$/'; then \
645 echo "Found undef in automake.in; use delete instead" 1>&2; \
646 exit 1; \
648 @if grep -n 'split (/ /' $(srcdir)/automake.in; then \
649 echo "Found bad split in the lines above." 1>&2; \
650 exit 1; \
652 @if grep -n '^[^#]*` *cd ' $(srcdir)/automake.in \
653 $(srcdir)/lib/am/*.am; then \
654 echo "Consider using $$$$(am__cd) in the line above." 1>&2; \
655 exit 1; \
657 @if grep -Hn '[^) ] *= *@_' $(srcdir)/automake.in; then \
658 echo "Using @_ in a scalar context in the lines above." 1>&2; \
659 exit 1; \
661 @if grep '^[ \t]*local *(' $(srcdir)/automake.in; then \
662 echo "Don't use \`local' with parens: use several \`local' above." >&2; \
663 exit 1; \
665 @if grep -v '^[ \t]*local \$$_;' $(srcdir)/automake.in | \
666 grep '^[ \t]*local [^*]'; then \
667 echo "Please avoid \`local'." 1>&2; \
668 exit 1; \
670 @if grep '@AMDEP''_TRUE@' $(srcdir)/automake.in; then \
671 echo "Don't put AMDEP_TRUE substitution in automake.in" 1>&2; \
672 exit 1; \
674 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*make'; then \
675 echo 'Do not run "make" in the above tests. Use "$$MAKE" instead.' 1>&2; \
676 exit 1; \
678 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*autoconf'; then \
679 echo 'Do not run "autoconf" in the above tests. Use "$$AUTOCONF" instead.' 1>&2; \
680 exit 1; \
682 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*autoupdate'; then \
683 echo 'Do not run "autoupdate" in the above tests. Use "$$AUTOUPDATE" instead.' 1>&2; \
684 exit 1; \
686 @if grep -v '^#' $(srcdir)/tests/*.test | grep -E ':[ ]*automake([^:]|$$)'; then \
687 echo 'Do not run "automake" in the above tests. Use "$$AUTOMAKE" instead.' 1>&2; \
688 exit 1; \
690 @if grep -v '^#' $(srcdir)/tests/*.test | grep '\$$AUTOMAKE.*&&.*exit'; then \
691 echo 'Use AUTOMAKE_fails + grep to catch automake failures in the above tests.' 1>&2; \
692 exit 1; \
694 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*aclocal'; then \
695 echo 'Do not run "aclocal" in the above tests. Use "$$ACLOCAL" instead.' 1>&2; \
696 exit 1; \
698 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*perl'; then \
699 echo 'Do not run "perl" in the above tests. Use "$$PERL" instead.' 1>&2; \
700 exit 1; \
702 @if grep -E '\$$MAKE .*(SHELL=.*=|=.*SHELL=)' $(srcdir)/tests/*.test; then \
703 echo 'Rewrite "$$MAKE foo=bar SHELL=$$SHELL" as "foo=bar $$MAKE -e SHELL=$$SHELL"' 1>&2; \
704 echo ' in the above lines, it is more portable.' 1>&2; \
705 exit 1; \
707 @if grep -v SHELL $(srcdir)/tests/*.test | grep '\$$MAKE .*=' ; then \
708 echo 'Rewrite "$$MAKE foo=bar" as "foo=bar $$MAKE -e" in the above lines,' 1>&2; \
709 echo 'it is more portable.' 1>&2; \
710 exit 1; \
712 @if grep 'SHELL=.*\$$MAKE' $(srcdir)/tests/*.test; then \
713 echo '$$MAKE ignores the SHELL envvar, use "$$MAKE SHELL=$$SHELL" in' 1>&2; \
714 echo 'the above lines.' 1>&2; \
715 exit 1; \
717 @if grep -E '\bsleep +[12345]\b' $(srcdir)/tests/*.test; then \
718 echo 'Do not use "sleep x" in the above tests. Use "$$sleep" instead.' 1>&2; \
719 exit 1; \
721 @if grep -E '\b[ef]grep\b' $(srcdir)/tests/*.test ; then \
722 echo 'Do not use egrep or fgrep in test cases. Use $$FGREP or $$EGREP.' 1>&2; \
723 exit 1; \
725 @if grep -E '\b[ef]grep\b' $(srcdir)/lib/am/*.am $(srcdir)/m4/*.m4; then \
726 echo 'Do not use egrep or fgrep in the above files, they are not portable.' 1>&2; \
727 exit 1; \
729 @if test `grep -E '^[^#]*@[A-Za-z_0-9]+@' aclocal | wc -l` -ne 0; then \
730 echo "Unresolved @...@ substitution in aclocal" 1>&2; \
731 exit 1; \
733 @if test `grep -E '^[^#]*@[A-Za-z_0-9]+@' automake | wc -l` -ne 0; then \
734 echo "Unresolved @...@ substitution in automake" 1>&2; \
735 exit 1; \
738 cvs-dist: maintainer-check
739 @if (clcommit --version)>/dev/null 2>/dev/null; then :; else \
740 echo "Get clcommit from module cvs-utils on Savannah."; \
741 exit 1; \
743 @if sed 1q $(srcdir)/NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
744 echo "NEWS not updated; not releasing" 1>&2; \
745 exit 1; \
747 $(MAKE) distcheck
748 cd $(srcdir) && clcommit && \
749 cvs -q tag -c `echo "Release-$(VERSION)" | sed 's/\./-/g'`
751 cvs-diff:
752 thisver=`echo "Release-$(VERSION)" | sed 's/\./-/g'`; \
753 if test -z "$$OLDVERSION"; then \
754 prevno=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
755 else prevno="$$OLDVERSION"; fi; \
756 prevver=Release-`echo $$prevno | sed 's/\./-/g'`; \
757 cvs -f rdiff -c -r $$prevver -r $$thisver $(PACKAGE) \
758 > $(PACKAGE)-$$prevno-$(VERSION).diff
760 path-check: distdir
761 (cd $(distdir) && \
762 find . -print | xargs pathchk -p); \
763 status=$$?; \
764 chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir); \
765 exit $$status
767 fetch:
768 rm -rf Fetchdir > /dev/null 2>&1
769 mkdir Fetchdir
770 (cd Fetchdir && \
771 $(WGETSGO)/config/config/config.guess; \
772 $(WGETSGO)/config/config/config.sub; \
773 $(WGETSGO)/texinfo/texinfo/doc/texinfo.tex; \
774 $(WGETSGO)/autoconf/autoconf/INSTALL; \
775 $(WGETSGO)/gcc/gcc/config-ml.in; \
776 $(WGETSGO)/gcc/gcc/symlink-tree)
777 @stat=0; for file in $(FETCHFILES); do \
778 if diff -u $(srcdir)/lib/$$file Fetchdir/$$file \
779 >>Fetchdir/update.patch 2>/dev/null; then :; \
780 else \
781 stat=1; \
782 echo "Updating $(srcdir)/lib/$$file..."; \
783 cp Fetchdir/$$file $(srcdir)/lib/$$file; \
784 fi; \
785 done; \
786 test $$stat = 1 && \
787 echo "See Fetchdir/update.patch for a log of the changes."; \
788 exit $$stat
789 # Tell versions [3.59,3.63) of GNU make to not export all variables.
790 # Otherwise a system limit (for SysV at least) may be exceeded.
791 .NOEXPORT: