* pr87.test: New file. From PR automake/87.
[automake.git] / Makefile.in
blob15220e5a68b5a16035845eb7a590c60b74cbb3dd
1 # Makefile.in generated automatically by automake 1.4a from Makefile.am
3 # Copyright (C) 1994, 1995-9, 2000 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 pkgdatadir = $(datadir)/@PACKAGE@
35 pkglibdir = $(libdir)/@PACKAGE@
36 pkgincludedir = $(includedir)/@PACKAGE@
38 top_builddir = .
40 ACLOCAL = @ACLOCAL@
41 AUTOCONF = @AUTOCONF@
42 AUTOMAKE = @AUTOMAKE@
43 AUTOHEADER = @AUTOHEADER@
45 INSTALL = @INSTALL@
46 INSTALL_PROGRAM = @INSTALL_PROGRAM@
47 INSTALL_DATA = @INSTALL_DATA@
48 INSTALL_SCRIPT = @INSTALL_SCRIPT@
49 INSTALL_STRIP_FLAG =
50 transform = @program_transform_name@
52 NORMAL_INSTALL = :
53 PRE_INSTALL = :
54 POST_INSTALL = :
55 NORMAL_UNINSTALL = :
56 PRE_UNINSTALL = :
57 POST_UNINSTALL = :
59 @SET_MAKE@
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 py-compile \
124 stamp-vti 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
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 @(set `$(SHELL) $(srcdir)/mdate-sh $(srcdir)/automake.texi`; \
179 echo "@set UPDATED $$1 $$2 $$3"; \
180 echo "@set UPDATED-MONTH $$2 $$3"; \
181 echo "@set EDITION $(VERSION)"; \
182 echo "@set VERSION $(VERSION)") > vti.tmp
183 @cmp -s vti.tmp $(srcdir)/version.texi \
184 || (echo "Updating $(srcdir)/version.texi"; \
185 cp vti.tmp $(srcdir)/version.texi)
186 -@rm -f vti.tmp
187 @cp $(srcdir)/version.texi $@
189 mostlyclean-vti:
190 -rm -f vti.tmp
192 clean-vti:
194 distclean-vti:
196 maintainer-clean-vti:
197 -rm -f $(srcdir)/stamp-vti $(srcdir)/version.texi
199 automake.info: automake.texi version.texi
200 automake.dvi: automake.texi version.texi
203 DVIPS = dvips
205 .texi.info:
206 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
207 cd $(srcdir) \
208 && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
210 .texi.dvi:
211 TEXINPUTS=$(srcdir):$$TEXINPUTS \
212 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
214 .texi:
215 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
216 cd $(srcdir) \
217 && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
219 .texinfo.info:
220 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
221 cd $(srcdir) \
222 && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
224 .texinfo:
225 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
226 cd $(srcdir) \
227 && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
229 .texinfo.dvi:
230 TEXINPUTS=$(srcdir):$$TEXINPUTS \
231 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
233 .txi.info:
234 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
235 cd $(srcdir) \
236 && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
238 .txi.dvi:
239 TEXINPUTS=$(srcdir):$$TEXINPUTS \
240 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
242 .txi:
243 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
244 cd $(srcdir) \
245 && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
246 .dvi.ps:
247 $(DVIPS) $< -o $@
249 install-info-am: $(INFO_DEPS)
250 @$(NORMAL_INSTALL)
251 $(mkinstalldirs) $(DESTDIR)$(infodir)
252 @list='$(INFO_DEPS)'; \
253 for file in $$list; do \
254 d=$(srcdir); \
255 for ifile in `CDPATH=: && cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
256 if test -f $$d/$$ifile; then \
257 echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
258 $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
259 else : ; fi; \
260 done; \
261 done
262 @$(POST_INSTALL)
263 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
264 list='$(INFO_DEPS)'; \
265 for file in $$list; do \
266 echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
267 install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
268 done; \
269 else : ; fi
271 uninstall-info:
272 $(PRE_UNINSTALL)
273 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
274 list='$(INFO_DEPS)'; \
275 for file in $$list; do \
276 echo " install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file"; \
277 install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file; \
278 done; \
279 else :; fi
280 @$(NORMAL_UNINSTALL)
281 @list='$(INFO_DEPS)'; \
282 for file in $$list; do \
283 (if cd $(DESTDIR)$(infodir); then \
284 echo " rm -f $$file $$file-[0-9] $$file-[0-9][0-9])"; \
285 rm -f $$file $$file-[0-9] $$file-[0-9][0-9]; \
286 else :; fi); \
287 done
289 dist-info: $(INFO_DEPS)
290 list='$(INFO_DEPS)'; \
291 for base in $$list; do \
292 d=$(srcdir); \
293 for file in `CDPATH=: && cd $$d && eval echo $$base*`; do \
294 test -f $(distdir)/$$file \
295 || cp -p $$d/$$file $(distdir)/$$file; \
296 done; \
297 done
299 mostlyclean-aminfo:
300 -rm -f automake.aux automake.cp automake.cps automake.dvi automake.fn \
301 automake.fns automake.pgs automake.ky automake.kys \
302 automake.ps automake.log automake.pg automake.toc automake.tp \
303 automake.tps automake.vr automake.vrs automake.op automake.tr \
304 automake.cv automake.cn automake.cm automake.ov
306 clean-aminfo:
308 distclean-aminfo:
310 maintainer-clean-aminfo:
311 cd $(srcdir) && for i in $(INFO_DEPS); do \
312 rm -f $$i; \
313 if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
314 rm -f $$i-[0-9]*; \
315 fi; \
316 done
318 install-dist_pkgdataDATA: $(dist_pkgdata_DATA)
319 @$(NORMAL_INSTALL)
320 $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
321 @list='$(dist_pkgdata_DATA)'; for p in $$list; do \
322 if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
323 f="`echo $$p | sed -e 's|^.*/||'`"; \
324 echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f"; \
325 $(INSTALL_DATA) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f; \
326 done
328 uninstall-dist_pkgdataDATA:
329 @$(NORMAL_UNINSTALL)
330 @list='$(dist_pkgdata_DATA)'; for p in $$list; do \
331 f="`echo $$p | sed -e 's|^.*/||'`"; \
332 echo " rm -f $(DESTDIR)$(pkgdatadir)/$$f"; \
333 rm -f $(DESTDIR)$(pkgdatadir)/$$f; \
334 done
336 install-dist_scriptDATA: $(dist_script_DATA)
337 @$(NORMAL_INSTALL)
338 $(mkinstalldirs) $(DESTDIR)$(scriptdir)
339 @list='$(dist_script_DATA)'; for p in $$list; do \
340 if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
341 f="`echo $$p | sed -e 's|^.*/||'`"; \
342 echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(scriptdir)/$$f"; \
343 $(INSTALL_DATA) $$d$$p $(DESTDIR)$(scriptdir)/$$f; \
344 done
346 uninstall-dist_scriptDATA:
347 @$(NORMAL_UNINSTALL)
348 @list='$(dist_script_DATA)'; for p in $$list; do \
349 f="`echo $$p | sed -e 's|^.*/||'`"; \
350 echo " rm -f $(DESTDIR)$(scriptdir)/$$f"; \
351 rm -f $(DESTDIR)$(scriptdir)/$$f; \
352 done
354 # This directory's subdirectories are mostly independent; you can cd
355 # into them and run `make' without going through this Makefile.
356 # To change the values of `make' variables: instead of editing Makefiles,
357 # (1) if the variable is set in `config.status', edit `config.status'
358 # (which will cause the Makefiles to be regenerated when you run `make');
359 # (2) otherwise, pass the desired values on the `make' command line.
361 all-recursive install-data-recursive install-exec-recursive \
362 installdirs-recursive install-recursive uninstall-recursive \
363 check-recursive installcheck-recursive info-recursive dvi-recursive:
364 @set fnord $(MAKEFLAGS); amf=$$2; \
365 dot_seen=no; \
366 target=`echo $@ | sed s/-recursive//`; \
367 list='$(SUBDIRS)'; for subdir in $$list; do \
368 echo "Making $$target in $$subdir"; \
369 if test "$$subdir" = "."; then \
370 dot_seen=yes; \
371 local_target="$$target-am"; \
372 else \
373 local_target="$$target"; \
374 fi; \
375 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
376 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
377 done; \
378 if test "$$dot_seen" = "no"; then \
379 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
380 fi; test -z "$$fail"
382 mostlyclean-recursive clean-recursive distclean-recursive \
383 maintainer-clean-recursive:
384 @set fnord $(MAKEFLAGS); amf=$$2; \
385 dot_seen=no; \
386 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
387 if test "$$subdir" = "."; then :; else \
388 rev="$$subdir $$rev"; \
389 fi; \
390 done; \
391 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 -fID $$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 -400 -exec chmod a+r {} \; -o \
484 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
485 || chmod -R a+r $(distdir)
486 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c > $(distdir).tar.gz
487 -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
488 dist-all: distdir
489 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
490 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
491 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
492 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
493 || chmod -R a+r $(distdir)
494 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c > $(distdir).tar.gz
495 -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
496 distdir: $(DISTFILES)
497 @if sed 15q $(srcdir)/NEWS | fgrep -e "$(VERSION)" > /dev/null; then :; else \
498 echo "NEWS not updated; not releasing" 1>&2; \
499 exit 1; \
501 -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
502 mkdir $(distdir)
503 @for file in $(DISTFILES); do \
504 d=$(srcdir); \
505 if test -d $$d/$$file; then \
506 cp -pR $$d/$$file $(distdir) \
507 || exit 1; \
508 else \
509 test -f $(distdir)/$$file \
510 || cp -p $$d/$$file $(distdir)/$$file \
511 || exit 1; \
512 fi; \
513 done
514 for subdir in $(SUBDIRS); do \
515 if test "$$subdir" = .; then :; else \
516 test -d $(distdir)/$$subdir \
517 || mkdir $(distdir)/$$subdir \
518 || exit 1; \
519 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
520 || exit 1; \
521 fi; \
522 done
523 $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info
524 info-am: $(INFO_DEPS)
525 info: info-recursive
526 dvi-am: $(DVIS)
527 dvi: dvi-recursive
528 check-am: all-am
529 check: check-recursive
530 installcheck-am: installcheck-local
531 installcheck: installcheck-recursive
532 install-exec-am: install-binSCRIPTS
533 install-exec: install-exec-recursive
535 install-data-am: install-info-am install-dist_pkgdataDATA \
536 install-dist_scriptDATA
537 @$(NORMAL_INSTALL)
538 $(MAKE) $(AM_MAKEFLAGS) install-data-hook
539 install-data: install-data-recursive
541 install-am: all-am
542 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
543 install: install-recursive
544 uninstall-am: uninstall-binSCRIPTS uninstall-info \
545 uninstall-dist_pkgdataDATA uninstall-dist_scriptDATA
546 uninstall: uninstall-recursive
547 all-am: Makefile $(INFO_DEPS) $(SCRIPTS) $(DATA)
548 all-redirect: all-recursive
549 install-strip:
550 $(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
551 installdirs: installdirs-recursive
552 installdirs-am:
553 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(infodir) \
554 $(DESTDIR)$(dist_pkgdatadir) \
555 $(DESTDIR)$(dist_scriptdir)
558 mostlyclean-generic:
560 clean-generic:
562 distclean-generic:
563 -rm -f Makefile $(CONFIG_CLEAN_FILES)
564 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
566 maintainer-clean-generic:
567 -rm -f Makefile.in
568 mostlyclean-am: mostlyclean-vti mostlyclean-aminfo mostlyclean-tags \
569 mostlyclean-generic
571 mostlyclean: mostlyclean-recursive
573 clean-am: clean-vti clean-aminfo clean-tags clean-generic \
574 mostlyclean-am
576 clean: clean-recursive
578 distclean-am: distclean-vti distclean-aminfo distclean-tags \
579 distclean-generic clean-am
581 distclean: distclean-recursive
582 -rm -f config.status
584 maintainer-clean-am: maintainer-clean-vti maintainer-clean-aminfo \
585 maintainer-clean-tags maintainer-clean-generic \
586 distclean-am
587 @echo "This command is intended for maintainers to use;"
588 @echo "it deletes files that may require special tools to rebuild."
590 maintainer-clean: maintainer-clean-recursive
591 -rm -f config.status
593 .PHONY: uninstall-binSCRIPTS install-binSCRIPTS mostlyclean-vti \
594 distclean-vti clean-vti maintainer-clean-vti install-info-am \
595 uninstall-info mostlyclean-aminfo distclean-aminfo clean-aminfo \
596 maintainer-clean-aminfo uninstall-dist_pkgdataDATA \
597 install-dist_pkgdataDATA uninstall-dist_scriptDATA \
598 install-dist_scriptDATA install-recursive uninstall-recursive \
599 install-data-recursive uninstall-data-recursive install-exec-recursive \
600 uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
601 all-recursive check-recursive installcheck-recursive info-recursive \
602 dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
603 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
604 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
605 dvi-am dvi check check-am installcheck-local installcheck-am \
606 installcheck install-exec-am install-exec install-data-am install-data \
607 install-am install uninstall-am uninstall all-redirect all-am all \
608 install-strip installdirs-am installdirs mostlyclean-generic \
609 distclean-generic clean-generic maintainer-clean-generic clean \
610 mostlyclean distclean maintainer-clean
613 install-data-hook:
614 @$(POST_INSTALL)
615 @for prog in $(dist_script_DATA); do \
616 echo " chmod +x $(DESTDIR)$(scriptdir)/$$prog"; \
617 chmod +x $(DESTDIR)$(scriptdir)/$$prog; \
618 done
620 installcheck-local:
621 for file in $(dist_script_DATA); do \
622 $(PERL) -e "exit ! -x '$(pkgdatadir)/$$file';" || exit 1; \
623 done
625 ################################################################
627 # Run the test suite using Perl 4.
628 perl4-check: automake aclocal
629 @if $(SHELL) -c 'perl4.036 -v' > /dev/null 2>&1; then \
630 $(MAKE) PERL=perl4.036 check; \
631 else :; fi
633 # Some simple checks, and then ordinary check. These are only really
634 # guaranteed to work on my machine.
635 maintainer-check: automake aclocal
636 @if test `diff $(srcdir)/automake.in automake | wc -l` -ne 22; then \
637 echo "found too many diffs between automake.in and automake"; 1>&2; \
638 diff -c $(srcdir)/automake.in automake; \
639 exit 1; \
641 $(PERL) -c -w automake
642 $(PERL) -c -w aclocal
643 @if test `fgrep '\$${' $(srcdir)/[a-z]*.am | fgrep -v '$$$$' | wc -l` -ne 0; then \
644 echo "found too many uses of '\$${'" 1>&2; \
645 exit 1; \
646 else :; fi
647 @if test `fgrep 'mkinstalldirs' $(srcdir)/[a-z]*.am | fgrep -v '$$(mkinstalldirs)' | wc -l` -ne 0; then \
648 echo "found incorrect use of mkinstalldirs" 1>&2; \
649 exit 1; \
650 else :; fi
651 @if $(SHELL) -c 'perl4.036 -v' >/dev/null 2>&1; then \
652 perl4.036 -c -w automake; \
653 perl4.036 -c -w aclocal; \
654 else :; fi
655 @if grep undef $(srcdir)/automake.in > /dev/null 2>&1; then \
656 echo "Found undef in automake.in; use delete instead" 1>&2; \
657 exit 1; \
659 @if fgrep 'split (/ /' $(srcdir)/automake.in > /dev/null 2>&1; then \
660 echo "Found bad split in automake.in" 1>&2; \
661 exit 1; \
663 @if grep '` *cd ' $(srcdir)/automake.in $(srcdir)/*.am \
664 $(srcdir)/m4/*.m4; then \
665 echo "Consider setting CDPATH in the lines above" 1>&2; \
666 exit 1; \
669 # Tag before making distribution. Also, don't make a distribution if
670 # checks fail. Also, make sure the NEWS file is up-to-date.
671 cvs-dist: maintainer-check perl4-check distcheck
672 @if sed 1q $(srcdir)/NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
673 echo "NEWS not updated; not releasing" 1>&2; \
674 exit 1; \
676 cd $(srcdir) && cvs -q tag `echo "Release-$(VERSION)" | sed 's/\./-/g'`
677 $(MAKE) dist
679 cvs-diff:
680 thisver=`echo "Release-$(VERSION)" | sed 's/\./-/g'`; \
681 if test -z "$$OLDVERSION"; then \
682 prevno=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
683 else prevno="$$OLDVERSION"; fi; \
684 prevver=Release-`echo $$prevno | sed 's/\./-/g'`; \
685 cvs -f rdiff -c -r $$prevver -r $$thisver $(PACKAGE) \
686 > $(PACKAGE)-$$prevno-$(VERSION).diff
688 path-check: distdir
689 (cd $(distdir) && \
690 find . -print | xargs pathchk -p); \
691 status=$$?; \
692 chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir); \
693 exit $$status
695 # Tell versions [3.59,3.63) of GNU make to not export all variables.
696 # Otherwise a system limit (for SysV at least) may be exceeded.
697 .NOEXPORT: