source: trunk/essentials/sys-devel/automake-1.7/Makefile.in@ 3604

Last change on this file since 3604 was 3120, checked in by bird, 18 years ago

automake 1.7.9

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