* automake.in (initialize_global_constants): If unreadable by
[automake.git] / Makefile.in
blobb897d512d37939fc077683a5bfeb77c0e2914def
1 # Makefile.in generated automatically by automake 1.4a from Makefile.am
3 # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
4 # This Makefile.in is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11 # PARTICULAR PURPOSE.
13 SHELL = @SHELL@
15 srcdir = @srcdir@
16 top_srcdir = @top_srcdir@
17 VPATH = @srcdir@
18 prefix = @prefix@
19 exec_prefix = @exec_prefix@
21 bindir = @bindir@
22 sbindir = @sbindir@
23 libexecdir = @libexecdir@
24 datadir = @datadir@
25 sysconfdir = @sysconfdir@
26 sharedstatedir = @sharedstatedir@
27 localstatedir = @localstatedir@
28 libdir = @libdir@
29 infodir = @infodir@
30 mandir = @mandir@
31 includedir = @includedir@
32 oldincludedir = /usr/include
34 DESTDIR =
36 pkgdatadir = $(datadir)/@PACKAGE@
37 pkglibdir = $(libdir)/@PACKAGE@
38 pkgincludedir = $(includedir)/@PACKAGE@
40 top_builddir = .
42 ACLOCAL = @ACLOCAL@
43 AUTOCONF = @AUTOCONF@
44 AUTOMAKE = @AUTOMAKE@
45 AUTOHEADER = @AUTOHEADER@
47 INSTALL = @INSTALL@
48 INSTALL_PROGRAM = @INSTALL_PROGRAM@
49 INSTALL_DATA = @INSTALL_DATA@
50 INSTALL_SCRIPT = @INSTALL_SCRIPT@
51 INSTALL_STRIP_FLAG =
52 transform = @program_transform_name@
54 NORMAL_INSTALL = :
55 PRE_INSTALL = :
56 POST_INSTALL = :
57 NORMAL_UNINSTALL = :
58 PRE_UNINSTALL = :
59 POST_UNINSTALL = :
60 AMTAR = @AMTAR@
61 AMTARFLAGS = @AMTARFLAGS@
62 AWK = @AWK@
63 MAKEINFO = @MAKEINFO@
64 PACKAGE = @PACKAGE@
65 PERL = @PERL@
66 VERSION = @VERSION@
67 install_sh = @install_sh@
70 AUTOMAKE_OPTIONS = gnits 1.4
71 MAINT_CHARSET = latin1
73 SUBDIRS = . m4 tests
75 bin_SCRIPTS = automake aclocal
76 info_TEXINFOS = automake.texi
78 amfiles = clean-hdr.am clean-kr.am clean.am comp-vars.am compile.am \
79 data-clean.am data.am dejagnu.am depend.am depend2.am dist.am \
80 dist-vars.am footer.am header-vars.am header.am java-clean.am java.am \
81 kr-extra.am library.am libs-clean.am libs.am libtool.am lisp-clean.am \
82 lisp.am ltlib-clean.am ltlib.am ltlibrary.am mans-vars.am mans.am \
83 multilib.am program.am progs-clean.am progs.am python.am \
84 python-clean.am remake-hdr.am remake.am scripts.am subdirs.am \
85 tags-clean.am tags.am texi-vers.am texinfos.am
88 dist_pkgdata_DATA = COPYING INSTALL texinfo.tex ansi2knr.c ansi2knr.1 \
89 $(amfiles)
92 scriptdir = $(pkgdatadir)
93 dist_script_DATA = config.guess config.sub install-sh mdate-sh missing \
94 mkinstalldirs elisp-comp ylwrap acinstall depcomp compile py-compile
97 TAGS_FILES = automake.in aclocal.in $(amfiles)
99 # The following requires a fixed version of the Emacs 19.30 etags.
100 ETAGS_ARGS = --lang=none \
101 --regex='/^@node[ \t]+\([^,]+\)/\1/' $(srcdir)/automake.texi
103 TAGS_DEPENDENCIES = automake.texi
105 EXTRA_DIST = ChangeLog.1996 ChangeLog.1998
106 subdir = .
107 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
108 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
109 CONFIG_CLEAN_FILES = automake aclocal
110 SCRIPTS = $(bin_SCRIPTS)
112 DIST_SOURCES =
113 TEXI2DVI = texi2dvi
114 INFO_DEPS = automake.info
115 DVIS = automake.dvi
116 TEXINFOS = automake.texi
117 DATA = $(dist_pkgdata_DATA) $(dist_script_DATA)
119 DIST_COMMON = README $(dist_pkgdata_DATA) $(dist_script_DATA) AUTHORS \
120 COPYING ChangeLog INSTALL Makefile.am Makefile.in NEWS README-alpha \
121 THANKS TODO aclocal.in aclocal.m4 ansi2knr.1 ansi2knr.c automake.in \
122 compile config.guess config.sub configure configure.in depcomp \
123 elisp-comp install-sh mdate-sh missing mkinstalldirs stamp-vti \
124 texinfo.tex version.texi ylwrap
127 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
129 GZIP_ENV = --best
130 all: all-redirect
131 .SUFFIXES:
132 .SUFFIXES: .dvi .info .ps .texi .texinfo .txi
133 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
134 cd $(top_srcdir) && $(AUTOMAKE) --gnits Makefile
136 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
137 cd $(top_builddir) \
138 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
140 $(ACLOCAL_M4): configure.in
141 cd $(srcdir) && $(ACLOCAL)
143 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
144 $(SHELL) ./config.status --recheck
145 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
146 cd $(srcdir) && $(AUTOCONF)
147 automake: $(top_builddir)/config.status automake.in
148 cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
149 aclocal: $(top_builddir)/config.status aclocal.in
150 cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
152 install-binSCRIPTS: $(bin_SCRIPTS)
153 @$(NORMAL_INSTALL)
154 $(mkinstalldirs) $(DESTDIR)$(bindir)
155 @list='$(bin_SCRIPTS)'; for p in $$list; do \
156 f="`echo $$p|sed '$(transform)'`"; \
157 if test -f $$p; then \
158 echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/$$f"; \
159 $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/$$f; \
160 elif test -f $(srcdir)/$$p; then \
161 echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/$$f"; \
162 $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/$$f; \
163 else :; fi; \
164 done
166 uninstall-binSCRIPTS:
167 @$(NORMAL_UNINSTALL)
168 @list='$(bin_SCRIPTS)'; for p in $$list; do \
169 f="`echo $$p|sed '$(transform)'`"; \
170 echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
171 rm -f $(DESTDIR)$(bindir)/$$f; \
172 done
174 $(srcdir)/version.texi: stamp-vti
177 $(srcdir)/stamp-vti: automake.texi $(top_srcdir)/configure.in
178 @echo "@set UPDATED `$(SHELL) $(srcdir)/mdate-sh $(srcdir)/automake.texi`" > vti.tmp
179 @echo "@set EDITION $(VERSION)" >> vti.tmp
180 @echo "@set VERSION $(VERSION)" >> vti.tmp
181 @cmp -s vti.tmp $(srcdir)/version.texi \
182 || (echo "Updating $(srcdir)/version.texi"; \
183 cp vti.tmp $(srcdir)/version.texi)
184 -@rm -f vti.tmp
185 @cp $(srcdir)/version.texi $@
187 mostlyclean-vti:
188 -rm -f vti.tmp
190 clean-vti:
192 distclean-vti:
194 maintainer-clean-vti:
195 -rm -f $(srcdir)/stamp-vti $(srcdir)/version.texi
197 automake.info: automake.texi version.texi
198 automake.dvi: automake.texi version.texi
201 DVIPS = dvips
203 .texi.info:
204 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
205 cd $(srcdir) \
206 && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
208 .texi.dvi:
209 TEXINPUTS=$(srcdir):$$TEXINPUTS \
210 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
212 .texi:
213 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
214 cd $(srcdir) \
215 && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
217 .texinfo.info:
218 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
219 cd $(srcdir) \
220 && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
222 .texinfo:
223 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
224 cd $(srcdir) \
225 && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
227 .texinfo.dvi:
228 TEXINPUTS=$(srcdir):$$TEXINPUTS \
229 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
231 .txi.info:
232 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
233 cd $(srcdir) \
234 && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
236 .txi.dvi:
237 TEXINPUTS=$(srcdir):$$TEXINPUTS \
238 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
240 .txi:
241 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
242 cd $(srcdir) \
243 && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
244 .dvi.ps:
245 $(DVIPS) $< -o $@
247 install-info-am: $(INFO_DEPS)
248 @$(NORMAL_INSTALL)
249 $(mkinstalldirs) $(DESTDIR)$(infodir)
250 @list='$(INFO_DEPS)'; \
251 for file in $$list; do \
252 d=$(srcdir); \
253 for ifile in `CDPATH=: && cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
254 if test -f $$d/$$ifile; then \
255 echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
256 $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
257 else : ; fi; \
258 done; \
259 done
260 @$(POST_INSTALL)
261 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
262 list='$(INFO_DEPS)'; \
263 for file in $$list; do \
264 echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
265 install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
266 done; \
267 else : ; fi
269 uninstall-info:
270 $(PRE_UNINSTALL)
271 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
272 list='$(INFO_DEPS)'; \
273 for file in $$list; do \
274 echo " install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file"; \
275 install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file; \
276 done; \
277 else :; fi
278 @$(NORMAL_UNINSTALL)
279 @list='$(INFO_DEPS)'; \
280 for file in $$list; do \
281 (if cd $(DESTDIR)$(infodir); then \
282 echo " rm -f $$file $$file-[0-9] $$file-[0-9][0-9])"; \
283 rm -f $$file $$file-[0-9] $$file-[0-9][0-9]; \
284 else :; fi); \
285 done
287 dist-info: $(INFO_DEPS)
288 list='$(INFO_DEPS)'; \
289 for base in $$list; do \
290 d=$(srcdir); \
291 for file in `CDPATH=: && cd $$d && eval echo $$base*`; do \
292 test -f $(distdir)/$$file \
293 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
294 || cp -p $$d/$$file $(distdir)/$$file; \
295 done; \
296 done
298 mostlyclean-aminfo:
299 -rm -f automake.aux automake.cp automake.cps automake.dvi automake.fn \
300 automake.fns automake.pgs automake.ky automake.kys \
301 automake.ps automake.log automake.pg automake.toc automake.tp \
302 automake.tps automake.vr automake.vrs automake.op automake.tr \
303 automake.cv automake.cn automake.cm automake.ov
305 clean-aminfo:
307 distclean-aminfo:
309 maintainer-clean-aminfo:
310 cd $(srcdir) && for i in $(INFO_DEPS); do \
311 rm -f $$i; \
312 if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
313 rm -f $$i-[0-9]*; \
314 fi; \
315 done
317 install-dist_pkgdataDATA: $(dist_pkgdata_DATA)
318 @$(NORMAL_INSTALL)
319 $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
320 @list='$(dist_pkgdata_DATA)'; for p in $$list; do \
321 if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
322 f="`echo $$p | sed -e 's|^.*/||'`"; \
323 echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f"; \
324 $(INSTALL_DATA) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f; \
325 done
327 uninstall-dist_pkgdataDATA:
328 @$(NORMAL_UNINSTALL)
329 @list='$(dist_pkgdata_DATA)'; for p in $$list; do \
330 f="`echo $$p | sed -e 's|^.*/||'`"; \
331 echo " rm -f $(DESTDIR)$(pkgdatadir)/$$f"; \
332 rm -f $(DESTDIR)$(pkgdatadir)/$$f; \
333 done
335 install-dist_scriptDATA: $(dist_script_DATA)
336 @$(NORMAL_INSTALL)
337 $(mkinstalldirs) $(DESTDIR)$(scriptdir)
338 @list='$(dist_script_DATA)'; for p in $$list; do \
339 if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
340 f="`echo $$p | sed -e 's|^.*/||'`"; \
341 echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(scriptdir)/$$f"; \
342 $(INSTALL_DATA) $$d$$p $(DESTDIR)$(scriptdir)/$$f; \
343 done
345 uninstall-dist_scriptDATA:
346 @$(NORMAL_UNINSTALL)
347 @list='$(dist_script_DATA)'; for p in $$list; do \
348 f="`echo $$p | sed -e 's|^.*/||'`"; \
349 echo " rm -f $(DESTDIR)$(scriptdir)/$$f"; \
350 rm -f $(DESTDIR)$(scriptdir)/$$f; \
351 done
353 # This directory's subdirectories are mostly independent; you can cd
354 # into them and run `make' without going through this Makefile.
355 # To change the values of `make' variables: instead of editing Makefiles,
356 # (1) if the variable is set in `config.status', edit `config.status'
357 # (which will cause the Makefiles to be regenerated when you run `make');
358 # (2) otherwise, pass the desired values on the `make' command line.
360 @SET_MAKE@
362 all-recursive install-data-recursive install-exec-recursive \
363 installdirs-recursive install-recursive uninstall-recursive \
364 check-recursive installcheck-recursive info-recursive dvi-recursive:
365 @set fnord $(MAKEFLAGS); amf=$$2; \
366 dot_seen=no; \
367 target=`echo $@ | sed s/-recursive//`; \
368 list='$(SUBDIRS)'; for subdir in $$list; do \
369 echo "Making $$target in $$subdir"; \
370 if test "$$subdir" = "."; then \
371 dot_seen=yes; \
372 local_target="$$target-am"; \
373 else \
374 local_target="$$target"; \
375 fi; \
376 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
377 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
378 done; \
379 if test "$$dot_seen" = "no"; then \
380 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
381 fi; test -z "$$fail"
383 mostlyclean-recursive clean-recursive distclean-recursive \
384 maintainer-clean-recursive:
385 @set fnord $(MAKEFLAGS); amf=$$2; \
386 dot_seen=no; \
387 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
388 rev="$$subdir $$rev"; \
389 if test "$$subdir" = "."; then dot_seen=yes; else :; fi; \
390 done; \
391 test "$$dot_seen" = "no" && rev=". $$rev"; \
392 target=`echo $@ | sed s/-recursive//`; \
393 for subdir in $$rev; do \
394 echo "Making $$target in $$subdir"; \
395 if test "$$subdir" = "."; then \
396 local_target="$$target-am"; \
397 else \
398 local_target="$$target"; \
399 fi; \
400 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
401 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
402 done && test -z "$$fail"
403 tags-recursive:
404 list='$(SUBDIRS)'; for subdir in $$list; do \
405 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
406 done
408 tags: TAGS
410 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
411 list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
412 unique=`for i in $$list; do \
413 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
414 done | \
415 $(AWK) ' { files[$$0] = 1; } \
416 END { for (i in files) print i; }'`; \
417 mkid -f$$here/ID $$unique $(LISP)
419 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
420 $(TAGS_FILES) $(LISP)
421 tags=; \
422 here=`pwd`; \
423 list='$(SUBDIRS)'; for subdir in $$list; do \
424 if test "$$subdir" = .; then :; else \
425 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
426 fi; \
427 done; \
428 list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
429 unique=`for i in $$list; do \
430 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
431 done | \
432 $(AWK) ' { files[$$0] = 1; } \
433 END { for (i in files) print i; }'`; \
434 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
435 || etags $(ETAGS_ARGS) $$tags $$unique $(LISP)
437 mostlyclean-tags:
439 clean-tags:
441 distclean-tags:
442 -rm -f TAGS ID
444 maintainer-clean-tags:
446 distdir = $(PACKAGE)-$(VERSION)
447 top_distdir = $(distdir)
450 # This target untars the dist file and tries a VPATH configuration. Then
451 # it guarantees that the distribution is self-contained by making another
452 # tarfile.
453 distcheck: dist
454 -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
455 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
456 chmod -R a-w $(distdir); chmod a+w $(distdir)
457 mkdir $(distdir)/=build
458 mkdir $(distdir)/=inst
459 chmod a-w $(distdir)
460 dc_install_base=`CDPATH=: && cd $(distdir)/=inst && pwd` \
461 && cd $(distdir)/=build \
462 && ../configure --srcdir=.. --prefix=$$dc_install_base \
463 && $(MAKE) $(AM_MAKEFLAGS) \
464 && $(MAKE) $(AM_MAKEFLAGS) dvi \
465 && $(MAKE) $(AM_MAKEFLAGS) check \
466 && $(MAKE) $(AM_MAKEFLAGS) install \
467 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
468 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
469 && test `find $$dc_install_base -type f -print | wc -l` -le 1 \
470 && $(MAKE) $(AM_MAKEFLAGS) dist \
471 && $(MAKE) $(AM_MAKEFLAGS) distclean \
472 && rm -f $(distdir).tar.gz \
473 && test `find . -type f -print | wc -l` -eq 0
474 -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
475 @banner="$(distdir).tar.gz is ready for distribution"; \
476 dashes=`echo "$$banner" | sed s/./=/g`; \
477 echo "$$dashes"; \
478 echo "$$banner"; \
479 echo "$$dashes"
480 dist: distdir
481 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
482 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
483 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
484 || chmod -R a+r $(distdir)
485 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c > $(distdir).tar.gz
486 -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
487 dist-all: distdir
488 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
489 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
490 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
491 || chmod -R a+r $(distdir)
492 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c > $(distdir).tar.gz
493 -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
494 distdir: $(DISTFILES)
495 @if sed 15q $(srcdir)/NEWS | fgrep -e "$(VERSION)" > /dev/null; then :; else \
496 echo "NEWS not updated; not releasing" 1>&2; \
497 exit 1; \
499 -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
500 mkdir $(distdir)
501 @for file in $(DISTFILES); do \
502 d=$(srcdir); \
503 if test -d $$d/$$file; then \
504 cp -pR $$d/$$file $(distdir); \
505 else \
506 test -f $(distdir)/$$file \
507 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
508 || cp -p $$d/$$file $(distdir)/$$file || :; \
509 fi; \
510 done
511 for subdir in $(SUBDIRS); do \
512 if test "$$subdir" = .; then :; else \
513 test -d $(distdir)/$$subdir \
514 || mkdir $(distdir)/$$subdir \
515 || exit 1; \
516 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
517 || exit 1; \
518 fi; \
519 done
520 $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info
521 info-am: $(INFO_DEPS)
522 info: info-recursive
523 dvi-am: $(DVIS)
524 dvi: dvi-recursive
525 check-am: all-am
526 check: check-recursive
527 installcheck-am: installcheck-local
528 installcheck: installcheck-recursive
529 install-exec-am: install-binSCRIPTS
530 install-exec: install-exec-recursive
532 install-data-am: install-info-am install-dist_pkgdataDATA \
533 install-dist_scriptDATA
534 @$(NORMAL_INSTALL)
535 $(MAKE) $(AM_MAKEFLAGS) install-data-hook
536 install-data: install-data-recursive
538 install-am: all-am
539 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
540 install: install-recursive
541 uninstall-am: uninstall-binSCRIPTS uninstall-info \
542 uninstall-dist_pkgdataDATA uninstall-dist_scriptDATA
543 uninstall: uninstall-recursive
544 all-am: Makefile $(INFO_DEPS) $(SCRIPTS) $(DATA)
545 all-redirect: all-recursive
546 install-strip:
547 $(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
548 installdirs: installdirs-recursive
549 installdirs-am:
550 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(infodir) \
551 $(DESTDIR)$(dist_pkgdatadir) \
552 $(DESTDIR)$(dist_scriptdir)
555 mostlyclean-generic:
557 clean-generic:
559 distclean-generic:
560 -rm -f Makefile $(CONFIG_CLEAN_FILES)
561 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
563 maintainer-clean-generic:
564 -rm -f Makefile.in
565 mostlyclean-am: mostlyclean-vti mostlyclean-aminfo mostlyclean-tags \
566 mostlyclean-generic
568 mostlyclean: mostlyclean-recursive
570 clean-am: clean-vti clean-aminfo clean-tags clean-generic \
571 mostlyclean-am
573 clean: clean-recursive
575 distclean-am: distclean-vti distclean-aminfo distclean-tags \
576 distclean-generic clean-am
578 distclean: distclean-recursive
579 -rm -f config.status
581 maintainer-clean-am: maintainer-clean-vti maintainer-clean-aminfo \
582 maintainer-clean-tags maintainer-clean-generic \
583 distclean-am
584 @echo "This command is intended for maintainers to use;"
585 @echo "it deletes files that may require special tools to rebuild."
587 maintainer-clean: maintainer-clean-recursive
588 -rm -f config.status
590 .PHONY: uninstall-binSCRIPTS install-binSCRIPTS mostlyclean-vti \
591 distclean-vti clean-vti maintainer-clean-vti install-info-am \
592 uninstall-info mostlyclean-aminfo distclean-aminfo clean-aminfo \
593 maintainer-clean-aminfo uninstall-dist_pkgdataDATA \
594 install-dist_pkgdataDATA uninstall-dist_scriptDATA \
595 install-dist_scriptDATA install-recursive uninstall-recursive \
596 install-data-recursive uninstall-data-recursive install-exec-recursive \
597 uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
598 all-recursive check-recursive installcheck-recursive info-recursive \
599 dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
600 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
601 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
602 dvi-am dvi check check-am installcheck-local installcheck-am \
603 installcheck install-exec-am install-exec install-data-am install-data \
604 install-am install uninstall-am uninstall all-redirect all-am all \
605 install-strip installdirs-am installdirs mostlyclean-generic \
606 distclean-generic clean-generic maintainer-clean-generic clean \
607 mostlyclean distclean maintainer-clean
610 install-data-hook:
611 @$(POST_INSTALL)
612 @for prog in $(dist_script_DATA); do \
613 echo " chmod +x $(DESTDIR)$(scriptdir)/$$prog"; \
614 chmod +x $(DESTDIR)$(scriptdir)/$$prog; \
615 done
617 installcheck-local:
618 for file in $(dist_script_DATA); do \
619 $(PERL) -e "exit ! -x '$(pkgdatadir)/$$file';" || exit 1; \
620 done
622 ################################################################
624 # Run the test suite using Perl 4.
625 perl4-check: automake aclocal
626 @if $(SHELL) -c 'perl4.036 -v' > /dev/null 2>&1; then \
627 $(MAKE) PERL=perl4.036 check; \
628 else :; fi
630 # Some simple checks, and then ordinary check. These are only really
631 # guaranteed to work on my machine.
632 maintainer-check: automake aclocal
633 @if test `diff $(srcdir)/automake.in automake | wc -l` -ne 22; then \
634 echo "found too many diffs between automake.in and automake"; 1>&2; \
635 diff -c $(srcdir)/automake.in automake; \
636 exit 1; \
638 $(PERL) -c -w automake
639 $(PERL) -c -w aclocal
640 @if test `fgrep '\$${' $(srcdir)/[a-z]*.am | fgrep -v '$$$$' | wc -l` -ne 0; then \
641 echo "found too many uses of '\$${'" 1>&2; \
642 exit 1; \
643 else :; fi
644 @if test `fgrep 'mkinstalldirs' $(srcdir)/[a-z]*.am | fgrep -v '$$(mkinstalldirs)' | wc -l` -ne 0; then \
645 echo "found incorrect use of mkinstalldirs" 1>&2; \
646 exit 1; \
647 else :; fi
648 @if $(SHELL) -c 'perl4.036 -v' >/dev/null 2>&1; then \
649 perl4.036 -c -w automake; \
650 perl4.036 -c -w aclocal; \
651 else :; fi
652 @if grep undef $(srcdir)/automake.in > /dev/null 2>&1; then \
653 echo "Found undef in automake.in; use delete instead" 1>&2; \
654 exit 1; \
656 @if fgrep 'split (/ /' $(srcdir)/automake.in > /dev/null 2>&1; then \
657 echo "Found bad split in automake.in" 1>&2; \
658 exit 1; \
660 @if grep '` *cd ' $(srcdir)/automake.in $(srcdir)/*.am \
661 $(srcdir)/m4/*.m4; then \
662 echo "Consider setting CDPATH in the lines above" 1>&2; \
663 exit 1; \
666 # Tag before making distribution. Also, don't make a distribution if
667 # checks fail. Also, make sure the NEWS file is up-to-date.
668 cvs-dist: maintainer-check perl4-check distcheck
669 @if sed 1q $(srcdir)/NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
670 echo "NEWS not updated; not releasing" 1>&2; \
671 exit 1; \
673 cd $(srcdir) && cvs -q tag `echo "Release-$(VERSION)" | sed 's/\./-/g'`
674 $(MAKE) dist
676 cvs-diff:
677 thisver=`echo "Release-$(VERSION)" | sed 's/\./-/g'`; \
678 if test -z "$$OLDVERSION"; then \
679 prevno=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
680 else prevno="$$OLDVERSION"; fi; \
681 prevver=Release-`echo $$prevno | sed 's/\./-/g'`; \
682 cvs -f rdiff -c -r $$prevver -r $$thisver $(PACKAGE) \
683 > $(PACKAGE)-$$prevno-$(VERSION).diff
685 path-check: distdir
686 (cd $(distdir) && \
687 find . -print | xargs pathchk -p); \
688 status=$$?; \
689 chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir); \
690 exit $$status
692 # Tell versions [3.59,3.63) of GNU make to not export all variables.
693 # Otherwise a system limit (for SysV at least) may be exceeded.
694 .NOEXPORT: