d7d27ffd96c8ddee81890c9db5f2a7525be14ab5
[platform/upstream/automake.git] / Makefile.in
1 # Makefile.in generated automatically by automake 1.1l from Makefile.am
2
3 # Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
4 # This Makefile.in is free software; the Free Software Foundation
5 # gives unlimited permission to copy, distribute and modify it.
6
7
8 SHELL = /bin/sh
9
10 srcdir = @srcdir@
11 top_srcdir = @top_srcdir@
12 VPATH = @srcdir@
13 prefix = @prefix@
14 exec_prefix = @exec_prefix@
15
16 bindir = @bindir@
17 sbindir = @sbindir@
18 libexecdir = @libexecdir@
19 datadir = @datadir@
20 sysconfdir = @sysconfdir@
21 sharedstatedir = @sharedstatedir@
22 localstatedir = @localstatedir@
23 libdir = @libdir@
24 infodir = @infodir@
25 mandir = @mandir@
26 includedir = @includedir@
27 oldincludedir = /usr/include
28
29 pkgdatadir = $(datadir)/@PACKAGE@
30 pkglibdir = $(libdir)/@PACKAGE@
31 pkgincludedir = $(includedir)/@PACKAGE@
32
33 top_builddir = .
34
35 INSTALL = @INSTALL@
36 INSTALL_PROGRAM = @INSTALL_PROGRAM@
37 INSTALL_DATA = @INSTALL_DATA@
38 INSTALL_SCRIPT = @INSTALL_SCRIPT@
39 transform = @program_transform_name@
40 INSTALL_SCRIPT = @INSTALL_SCRIPT@
41 PACKAGE = @PACKAGE@
42 PERL = @PERL@
43 TAR = @TAR@
44 VERSION = @VERSION@
45
46 AUTOMAKE_OPTIONS = gnits
47 MAINT_CHARSET = latin1
48
49 SUBDIRS = tests m4
50
51 bin_SCRIPTS = automake aclocal
52 info_TEXINFOS = automake.texi
53
54 pkgdata_DATA = clean-kr.am clean.am compile-kr.am comp-vars.am \
55 compile.am data.am dejagnu.am depend.am depend2.am dist-vars.am footer.am \
56 header.am header-vars.am kr-extra.am libs.am library.am libtool.am ltlibs.am \
57 mans-vars.am program.am progs.am remake-hdr.am \
58 remake.am scripts.am subdirs.am tags.am tags-clean.am \
59 texi-vers.am texinfos.am libs-clean.am \
60 progs-clean.am data-clean.am COPYING INSTALL texinfo.tex ansi2knr.c \
61 ansi2knr.1 lisp.am lisp-clean.am
62
63 pkgdata_SCRIPTS = config.guess config.sub install-sh interlock mdate-sh \
64 mkinstalldirs elisp-comp ylwrap acinstall
65
66 EXTRA_DIST = acinstall $(pkgdata_DATA)
67
68 # The following requires a fixed version of the Emacs 19.30 etags.
69 ETAGS_ARGS = automake.in aclocal.in --lang=none \
70  --regex='/^@node[ \t]+\([^,]+\)/\1/' automake.texi
71 TAGS_DEPENDENCIES = automake.in aclocal.in automake.texi
72 ACLOCAL = $(top_srcdir)/aclocal.m4
73 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
74 CONFIG_CLEAN_FILES =  automake aclocal
75 SCRIPTS =  $(bin_SCRIPTS) $(pkgdata_SCRIPTS)
76
77 MAKEINFO = makeinfo
78 TEXI2DVI = texi2dvi
79 INFO_DEPS = automake.info
80 DVIS = automake.dvi
81 TEXINFOS = automake.texi
82 DATA =  $(pkgdata_DATA)
83
84 DIST_COMMON =  README AUTHORS COPYING ChangeLog INSTALL Makefile.am \
85 Makefile.in NEWS README README-alpha THANKS TODO aclocal.in aclocal.m4 \
86 ansi2knr.1 ansi2knr.c automake.in config.guess config.sub configure \
87 configure.in elisp-comp install-sh interlock mdate-sh mkinstalldirs \
88 stamp-vti texinfo.tex version.texi ylwrap
89
90
91 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) \
92         $(TEXINFOS) $(MANS) $(EXTRA_DIST)
93 default: all
94
95 .SUFFIXES:
96 .SUFFIXES: .texi .texinfo .info .dvi .ps
97 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL) 
98         cd $(top_srcdir) && automake --gnits Makefile
99
100 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
101         cd $(top_builddir) \
102           && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
103
104 $(srcdir)/aclocal.m4: configure.in
105         cd $(srcdir) && aclocal
106
107 config.status: configure
108         $(SHELL) ./config.status --recheck
109 $(srcdir)/configure: configure.in $(ACLOCAL) $(CONFIGURE_DEPENDENCIES)
110         cd $(srcdir) && autoconf
111 automake: $(top_builddir)/config.status automake.in
112         cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status
113 aclocal: $(top_builddir)/config.status aclocal.in
114         cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status
115
116 install-binSCRIPTS: $(bin_SCRIPTS)
117         $(NORMAL_INSTALL)
118         $(mkinstalldirs) $(bindir)
119         @list="$(bin_SCRIPTS)"; for p in $$list; do \
120           if test -f $$p; then \
121             echo "$(INSTALL_SCRIPT) $$p $(bindir)/`echo $$p|sed '$(transform)'`"; \
122             $(INSTALL_SCRIPT) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
123           else if test -f $(srcdir)/$$p; then \
124             echo "$(INSTALL_SCRIPT) $(srcdir)/$$p $(bindir)/`echo $$p|sed '$(transform)'`"; \
125             $(INSTALL_SCRIPT) $(srcdir)/$$p $(bindir)/`echo $$p|sed '$(transform)'`; \
126           else :; fi; fi; \
127         done
128
129 uninstall-binSCRIPTS:
130         list="$(bin_SCRIPTS)"; for p in $$list; do \
131           rm -f $(bindir)/`echo $$p|sed '$(transform)'`; \
132         done
133
134 install-pkgdataSCRIPTS: $(pkgdata_SCRIPTS)
135         $(NORMAL_INSTALL)
136         $(mkinstalldirs) $(pkgdatadir)
137         @list="$(pkgdata_SCRIPTS)"; for p in $$list; do \
138           if test -f $$p; then \
139             echo "$(INSTALL_SCRIPT) $$p $(pkgdatadir)/`echo $$p|sed '$(transform)'`"; \
140             $(INSTALL_SCRIPT) $$p $(pkgdatadir)/`echo $$p|sed '$(transform)'`; \
141           else if test -f $(srcdir)/$$p; then \
142             echo "$(INSTALL_SCRIPT) $(srcdir)/$$p $(pkgdatadir)/`echo $$p|sed '$(transform)'`"; \
143             $(INSTALL_SCRIPT) $(srcdir)/$$p $(pkgdatadir)/`echo $$p|sed '$(transform)'`; \
144           else :; fi; fi; \
145         done
146
147 uninstall-pkgdataSCRIPTS:
148         list="$(pkgdata_SCRIPTS)"; for p in $$list; do \
149           rm -f $(pkgdatadir)/`echo $$p|sed '$(transform)'`; \
150         done
151
152 version.texi: stamp-vti
153
154 stamp-vti: automake.texi $(top_srcdir)/configure.in
155         echo "@set UPDATED `cd $(srcdir) \
156           && $(SHELL) ./mdate-sh automake.texi`" > vti.tmp
157         echo "@set EDITION $(VERSION)" >> vti.tmp
158         echo "@set VERSION $(VERSION)" >> vti.tmp
159         cmp -s vti.tmp $(srcdir)/version.texi || cp vti.tmp $(srcdir)/version.texi
160         rm vti.tmp
161         echo timestamp > $(srcdir)/stamp-vti
162
163 mostlyclean-vti:
164         rm -f vti.tmp
165
166 clean-vti:
167
168 distclean-vti:
169
170 maintainer-clean-vti:
171         rm -f stamp-vti version.texi
172
173 automake.info: automake.texi version.texi
174 automake.dvi: automake.texi version.texi
175
176
177 DVIPS = dvips
178
179 .texi.info:
180         cd $(srcdir) \
181           && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
182
183 .texi.dvi:
184         TEXINPUTS=$(srcdir):$$TEXINPUTS \
185           MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
186
187 .texinfo.info:
188         cd $(srcdir) \
189           && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
190
191 .texinfo.dvi:
192         TEXINPUTS=$(srcdir):$$TEXINPUTS $(TEXI2DVI) $<
193 .dvi.ps:
194         $(DVIPS) $< -o $@
195
196 install-info-am: $(INFO_DEPS)
197         $(NORMAL_INSTALL)
198         $(mkinstalldirs) $(infodir)
199         @for file in $(INFO_DEPS); do \
200           for ifile in `cd $(srcdir) && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
201             if test -f $(srcdir)/$$ifile; then \
202               echo "$(INSTALL_DATA) $(srcdir)/$$ifile $(infodir)/$$ifile"; \
203               $(INSTALL_DATA) $(srcdir)/$$ifile $(infodir)/$$ifile; \
204             else : ; fi; \
205           done; \
206         done
207         $(POST_INSTALL)
208         @if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
209           for file in $(INFO_DEPS); do \
210             echo "install-info --info-dir=$(infodir) $(infodir)/$$file";\
211             install-info --info-dir=$(infodir) $(infodir)/$$file; :;\
212           done; \
213         else : ; fi
214
215 uninstall-info:
216         if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
217           ii=yes; \
218         else ii=; fi; \
219         for file in $(INFO_DEPS); do \
220           (cd $(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \
221           test -z $ii || install-info --info-dir=$(infodir) --remove $$file; \
222         done
223
224 dist-info: $(INFO_DEPS)
225         for base in $(INFO_DEPS); do \
226           d=$(srcdir); \
227           for file in `cd $$d && eval echo $$base*`; do \
228             test -f $(distdir)/$$file \
229             || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
230             || cp -p $$d/$$file $(distdir)/$$file; \
231           done; \
232         done
233
234 mostlyclean-info:
235         rm -f automake.aux automake.cp automake.cps automake.dvi automake.fn \
236           automake.fns automake.ky automake.log automake.pg \
237           automake.toc automake.tp automake.vr automake.op
238
239 clean-info:
240
241 distclean-info:
242
243 maintainer-clean-info:
244         for i in $(INFO_DEPS); do rm -f `eval echo $$i*`; done
245
246 install-pkgdataDATA: $(pkgdata_DATA)
247         $(NORMAL_INSTALL)
248         $(mkinstalldirs) $(pkgdatadir)
249         @list="$(pkgdata_DATA)"; for p in $$list; do \
250           if test -f $(srcdir)/$$p; then \
251             echo "$(INSTALL_DATA) $(srcdir)/$$p $(pkgdatadir)/$$p"; \
252             $(INSTALL_DATA) $(srcdir)/$$p $(pkgdatadir)/$$p; \
253           else if test -f $$p; then \
254             echo "$(INSTALL_DATA) $$p $(pkgdatadir)/$$p"; \
255             $(INSTALL_DATA) $$p $(pkgdatadir)/$$p; \
256           fi; fi; \
257         done
258
259 uninstall-pkgdataDATA:
260         list="$(pkgdata_DATA)"; for p in $$list; do \
261           rm -f $(pkgdatadir)/$$p; \
262         done
263
264 # This directory's subdirectories are mostly independent; you can cd
265 # into them and run `make' without going through this Makefile.
266 # To change the values of `make' variables: instead of editing Makefiles,
267 # (1) if the variable is set in `config.status', edit `config.status'
268 #     (which will cause the Makefiles to be regenerated when you run `make');
269 # (2) otherwise, pass the desired values on the `make' command line.
270
271 @SET_MAKE@
272
273 all-recursive install-data-recursive install-exec-recursive \
274 installdirs-recursive install-recursive uninstall-recursive  \
275 check-recursive installcheck-recursive info-recursive dvi-recursive \
276 mostlyclean-recursive clean-recursive distclean-recursive \
277 maintainer-clean-recursive:
278         @for subdir in $(SUBDIRS); do \
279           target=`echo $@ | sed s/-recursive//`; \
280           echo "Making $$target in $$subdir"; \
281           (cd $$subdir && $(MAKE) $$target) \
282            || case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac; \
283         done && test -z "$$fail"
284 tags-recursive:
285         list="$(SUBDIRS)"; for subdir in $$list; do \
286           (cd $$subdir && $(MAKE) tags); \
287         done
288
289 tags: TAGS
290
291 ID: $(HEADERS) $(SOURCES)
292         here=`pwd` && cd $(srcdir) && mkid -f$$here/ID $(SOURCES) $(HEADERS)
293
294 TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES)
295         tags=; \
296         here=`pwd`; \
297         list="$(SUBDIRS)"; for subdir in $$list; do \
298           test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
299         done; \
300         test -z "$(ETAGS_ARGS)$(SOURCES)$(HEADERS)$$tags" \
301           || cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $(SOURCES) $(HEADERS) -o $$here/TAGS
302
303 mostlyclean-tags:
304
305 clean-tags:
306
307 distclean-tags:
308         rm -f TAGS ID
309
310 maintainer-clean-tags:
311
312 distdir = $(PACKAGE)-$(VERSION)
313 # This target untars the dist file and tries a VPATH configuration.  Then
314 # it guarantees that the distribution is self-contained by making another
315 # tarfile.
316 distcheck: dist
317         rm -rf $(distdir)
318         $(TAR) zxf $(distdir).tar.gz
319         mkdir $(distdir)/=build
320         mkdir $(distdir)/=inst
321         dc_install_base=`cd $(distdir)/=inst && pwd`; \
322         cd $(distdir)/=build \
323           && ../configure --srcdir=.. --prefix=$$dc_install_base \
324           && $(MAKE) \
325           && $(MAKE) dvi \
326           && $(MAKE) check \
327           && $(MAKE) install \
328           && $(MAKE) installcheck \
329           && $(MAKE) dist
330         rm -rf $(distdir)
331         @echo "========================"; \
332         echo "$(distdir).tar.gz is ready for distribution"; \
333         echo "========================"
334 dist: distdir
335         -chmod -R a+r $(distdir)
336         $(TAR) chozf $(distdir).tar.gz $(distdir)
337         rm -rf $(distdir)
338 dist-all: distdir
339         -chmod -R a+r $(distdir)
340         $(TAR) chozf $(distdir).tar.gz $(distdir)
341         rm -rf $(distdir)
342 distdir: $(DISTFILES)
343         @if sed 15q $(srcdir)/NEWS | fgrep -e "$(VERSION)" > /dev/null; then :; else \
344           echo "NEWS not updated; not releasing" 1>&2; \
345           exit 1; \
346         fi
347         rm -rf $(distdir)
348         mkdir $(distdir)
349         -chmod 755 $(distdir)
350         here=`pwd`; distdir=`cd $(distdir) && pwd` \
351           && cd $(srcdir) \
352           && automake --include-deps --build-dir=$$here --srcdir-name=$(srcdir) --output-dir=$$distdir --gnits
353         @for file in $(DISTFILES); do \
354           d=$(srcdir); \
355           test -f $(distdir)/$$file \
356           || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
357           || cp -p $$d/$$file $(distdir)/$$file; \
358         done
359         for subdir in $(SUBDIRS); do            \
360           test -d $(distdir)/$$subdir           \
361           || mkdir $(distdir)/$$subdir          \
362           || exit 1;                            \
363           chmod 755 $(distdir)/$$subdir;        \
364           (cd $$subdir && $(MAKE) distdir=../$(distdir)/$$subdir distdir) \
365             || exit 1; \
366         done
367         $(MAKE) distdir="$(distdir)" dist-info
368 info: $(INFO_DEPS) info-recursive
369 dvi: $(DVIS) dvi-recursive
370 check: all-am
371         $(MAKE) check-recursive
372 installcheck: installcheck-recursive installcheck-local
373 all-am: $(INFO_DEPS) $(SCRIPTS) $(DATA) Makefile
374
375 install-exec-am: install-binSCRIPTS
376
377 install-data-am: install-info-am install-pkgdataSCRIPTS install-pkgdataDATA
378
379 uninstall-am: uninstall-binSCRIPTS uninstall-pkgdataSCRIPTS uninstall-info uninstall-pkgdataDATA
380
381 install-exec: install-exec-recursive install-exec-am
382         $(NORMAL_INSTALL)
383
384 install-data: install-data-recursive install-data-am
385         $(NORMAL_INSTALL)
386
387 install: install-recursive install-exec-am install-data-am
388         @:
389
390 uninstall: uninstall-recursive uninstall-am
391
392 all: all-recursive all-am
393
394 install-strip:
395         $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install
396 installdirs: installdirs-recursive
397         $(mkinstalldirs)  $(bindir) $(pkgdatadir) $(infodir) $(pkgdatadir)
398
399
400 mostlyclean-generic:
401         test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
402
403 clean-generic:
404         test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
405
406 distclean-generic:
407         rm -f Makefile $(DISTCLEANFILES)
408         rm -f config.cache config.log stamp-h
409         test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
410
411 maintainer-clean-generic:
412         test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
413         test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
414 mostlyclean-am:  mostlyclean-vti mostlyclean-info mostlyclean-tags \
415                 mostlyclean-generic
416
417 clean-am:  clean-vti clean-info clean-tags clean-generic mostlyclean-am
418
419 distclean-am:  distclean-vti distclean-info distclean-tags \
420                 distclean-generic clean-am
421
422 maintainer-clean-am:  maintainer-clean-vti maintainer-clean-info \
423                 maintainer-clean-tags maintainer-clean-generic \
424                 distclean-am
425
426 mostlyclean:  mostlyclean-recursive mostlyclean-am
427
428 clean:  clean-recursive clean-am
429
430 distclean:  distclean-recursive distclean-am
431         rm -f config.status
432
433 maintainer-clean:  maintainer-clean-recursive maintainer-clean-am
434         @echo "This command is intended for maintainers to use;"
435         @echo "it deletes files that may require special tools to rebuild."
436         rm -f config.status
437
438 .PHONY: default uninstall-binSCRIPTS install-binSCRIPTS \
439 uninstall-pkgdataSCRIPTS install-pkgdataSCRIPTS mostlyclean-vti \
440 distclean-vti clean-vti maintainer-clean-vti install-info-am \
441 uninstall-info mostlyclean-info distclean-info clean-info \
442 maintainer-clean-info uninstall-pkgdataDATA install-pkgdataDATA \
443 install-data-recursive uninstall-data-recursive install-exec-recursive \
444 uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
445 all-recursive check-recursive installcheck-recursive info-recursive \
446 dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
447 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
448 distclean-tags clean-tags maintainer-clean-tags distdir info dvi \
449 installcheck-local installcheck all-am install-exec-am install-data-am \
450 uninstall-am install-exec install-data install uninstall all \
451 installdirs mostlyclean-generic distclean-generic clean-generic \
452 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
453
454
455 # Check to make sure some installed files are executable.
456 installcheck-local:
457         for file in $(pkgdata_SCRIPTS); do \
458           $(PERL) -e "exit ! -x '$(pkgdatadir)/$$file';" || exit 1; \
459         done
460
461 ################################################################
462
463 # Run the test suite using Perl 4.
464 perl4-check: automake aclocal
465         @if $(SHELL) -c 'perl4.036 -v' > /dev/null 2>&1; then \
466           $(MAKE) PERL=perl4.036 check; \
467         else :; fi
468
469 # Some simple checks, and then ordinary check.  These are only really
470 # guaranteed to work on my machine.
471 maintainer-check: automake aclocal
472         $(PERL) -c -w automake
473         $(PERL) -c -w aclocal
474         @if grep '^[^#].*true' $(srcdir)/[a-z]*.am; then \
475           echo "can't use 'true' in GNU Makefile" 1>&2; \
476           exit 1;                               \
477         else :; fi
478         @if test `fgrep '$${' $(srcdir)/[a-z]*.am | fgrep -v '$$$$' | wc -l` -ne 0; then \
479           echo "found too many uses of '\$${'" 1>&2; \
480           exit 1;                               \
481         else :; fi
482         @if test `fgrep 'mkinstalldirs' $(srcdir)/[a-z]*.am | fgrep -v '$$(mkinstalldirs)' | wc -l` -ne 0; then \
483           echo "found incorrect use of mkinstalldirs" 1>&2; \
484           exit 1; \
485         else :; fi
486         @if $(SHELL) -c 'perl4.036 -v' >/dev/null 2>&1; then \
487           perl4.036 -c -w automake; \
488           perl4.036 -c -w aclocal; \
489         else :; fi
490
491 # Tag before making distribution.  Also, don't make a distribution if
492 # checks fail.  Also, make sure the NEWS file is up-to-date.
493 cvs-dist: maintainer-check perl4-check distcheck
494         @if sed 1q $(srcdir)/NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
495           echo "NEWS not updated; not releasing" 1>&2; \
496           exit 1;                               \
497         fi
498         cvs -q tag `echo "Release-$(VERSION)" | sed 's/\./-/g'`
499         $(MAKE) dist
500
501 cvs-diff:
502         thisver=`echo "Release-$(VERSION)" | sed 's/\./-/g'`; \
503         if test -z "$$OLDVERSION"; then \
504           prevno=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
505         else prevno="$$OLDVERSION"; fi; \
506         prevver=Release-`echo $$prevno | sed 's/\./-/g'`; \
507         cvs -f rdiff -c -r $$prevver -r $$thisver $(PACKAGE) \
508             > $(PACKAGE)-$$prevno-$(VERSION).diff
509
510 path-check: distdir
511         (cd $(distdir) && \
512           find . -print | xargs pathchk -p); \
513           status=$$?; \
514           rm -rf $(distdir); \
515           exit $$status
516
517 # Tell versions [3.59,3.63) of GNU make to not export all variables.
518 # Otherwise a system limit (for SysV at least) may be exceeded.
519 .NOEXPORT: