Bug and doc fixes
[platform/upstream/automake.git] / Makefile.in
1 # Makefile.in generated automatically by automake 0.31 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
41 AUTOMAKE_OPTIONS = gnits
42 MAINT_CHARSET = latin1
43 PERL = @PERL@
44
45 SUBDIRS = tests
46
47 bin_SCRIPTS = automake
48 info_TEXINFOS = automake.texi
49 # SUBDIRS = intl po
50 # CONFIG_HEADER = config.h
51
52 pkgdata_DATA = clean-kr.am clean.am compile-kr.am compile-vars.am \
53 compile.am data.am depend.am \
54 dist-vars.am footer.am header.am header-vars.am \
55 kr-vars.am libraries-vars.am \
56 libraries.am library.am mans-vars.am \
57 program.am programs.am remake-hdr.am \
58 remake-subd.am remake.am scripts.am subdirs.am tags.am tags-subd.am \
59 tags-clean.am \
60 texi-version.am texinfos-vars.am texinfos.am \
61 libraries-clean.am programs-clean.am data-clean.am \
62 COPYING INSTALL texinfo.tex \
63 ansi2knr.c ansi2knr.1 \
64 aclocal.m4
65
66 pkgdata_SCRIPTS = config.guess config.sub install-sh mdate-sh mkinstalldirs
67
68 CLEANFILES = automake
69
70 # The following requires a fixed version of the Emacs 19.30 etags.
71 ETAGS_ARGS = automake.in --lang=none \
72  --regex='/^@node[ \t]+\([^,]+\)/\1/' automake.texi
73 ACLOCAL = aclocal.m4
74 SCRIPTS = $(bin_SCRIPTS) $(pkgdata_SCRIPTS)
75
76
77 MAKEINFO = makeinfo
78 TEXI2DVI = texi2dvi
79 INFOS = automake.info*
80 INFO_DEPS = automake.info
81 DVIS = automake.dvi
82 TEXINFOS = automake.texi
83
84 DATA = $(pkgdata_DATA)
85
86 DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \
87 Makefile.in NEWS README THANKS TODO aclocal.m4 automake.in config.guess \
88 config.sub configure configure.in install-sh mdate-sh mkinstalldirs \
89 stamp-vti texinfo.tex version.texi
90
91
92 PACKAGE = @PACKAGE@
93 VERSION = @VERSION@
94
95 DISTFILES = $(DIST_COMMON) $(SOURCES) $(BUILT_SOURCES) $(HEADERS) \
96         $(TEXINFOS) $(INFOS) $(MANS) $(EXTRA_DIST) $(DATA)
97 DEP_DISTFILES = $(DIST_COMMON) $(SOURCES) $(BUILT_SOURCES) $(HEADERS) \
98         $(TEXINFOS) $(INFO_DEPS) $(MANS) $(EXTRA_DIST) $(DATA)
99 default: all
100
101
102 $(srcdir)/Makefile.in: Makefile.am configure.in
103         cd $(srcdir) && automake Makefile
104
105 # For an explanation of the following Makefile rules, see node
106 # `Automatic Remaking' in GNU Autoconf documentation.
107 Makefile: Makefile.in config.status
108         CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status
109 config.status: configure
110         ./config.status --recheck
111 $(srcdir)/configure: configure.in $(ACLOCAL)
112         cd $(srcdir) && autoconf
113 automake: $(top_builddir)/config.status automake.in
114         cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status
115
116 install-binSCRIPTS: $(bin_SCRIPTS)
117         $(top_srcdir)/mkinstalldirs $(bindir)
118         for p in $(bin_SCRIPTS); do             \
119           if test -f $$p; then                  \
120             $(INSTALL_SCRIPT) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
121           else :; fi;                           \
122         done
123
124 uninstall-binSCRIPTS:
125         for p in $(bin_SCRIPTS); do             \
126           rm -f $(bindir)/`echo $$p|sed '$(transform)'`; \
127         done
128
129 install-pkgdataSCRIPTS: $(pkgdata_SCRIPTS)
130         $(top_srcdir)/mkinstalldirs $(pkgdatadir)
131         for p in $(pkgdata_SCRIPTS); do         \
132           if test -f $$p; then                  \
133             $(INSTALL_SCRIPT) $$p $(pkgdatadir)/`echo $$p|sed '$(transform)'`; \
134           else :; fi;                           \
135         done
136
137 uninstall-pkgdataSCRIPTS:
138         for p in $(pkgdata_SCRIPTS); do         \
139           rm -f $(pkgdatadir)/`echo $$p|sed '$(transform)'`; \
140         done
141
142 version.texi: stamp-vti
143
144 stamp-vti: automake.texi $(top_srcdir)/configure.in
145         echo "@set UPDATED `cd $(srcdir) && $(SHELL) mdate-sh automake.texi`" \
146           > vti.tmp
147         echo "@set EDITION $(VERSION)" >> vti.tmp
148         echo "@set VERSION $(VERSION)" >> vti.tmp
149         if cmp -s vti.tmp $(srcdir)/version.texi; then \
150           rm vti.tmp;                   \
151         else                                    \
152           mv vti.tmp $(srcdir)/version.texi; \
153         fi
154         echo timestamp > $(srcdir)/stamp-vti
155
156 mostlyclean-vti:
157         rm -f vti.tmp
158
159 clean-vti:
160
161 distclean-vti:
162
163 maintainer-clean-vti:
164         rm -f stamp-vti version.texi
165
166 automake.info: automake.texi version.texi
167
168
169 .texi.info:
170         $(MAKEINFO) -I$(srcdir) $<
171
172 .texi.dvi:
173         TEXINPUTS=$(srcdir):$$TEXINPUTS $(TEXI2DVI) $<
174
175 install-info: $(INFO_DEPS)
176         $(top_srcdir)/mkinstalldirs $(infodir)
177         for file in $(INFO_DEPS); do            \
178           for ifile in `cd $(srcdir) && echo $$file*`; do \
179             $(INSTALL_DATA) $(srcdir)/$$ifile $(infodir)/$$ifile; \
180           done;                                 \
181         done
182
183 uninstall-info:
184         cd $(srcdir) && for file in *.info*; do \
185           rm -f $(infodir)/$$file; \
186         done
187
188 mostlyclean-info:
189         rm -f automake.aux automake.cp automake.cps automake.dvi automake.fn \
190           automake.fns automake.ky automake.log automake.pg \
191           automake.toc automake.tp automake.vr automake.op
192
193 clean-info:
194
195 distclean-info:
196
197 maintainer-clean-info:
198         rm -f $(INFOS)
199
200 install-pkgdataDATA: $(pkgdata_DATA)
201         $(top_srcdir)/mkinstalldirs $(pkgdatadir)
202         for p in $(pkgdata_DATA); do            \
203           $(INSTALL_DATA) $(srcdir)/$$p $(pkgdatadir)/$$p; \
204         done
205
206 uninstall-pkgdataDATA:
207         for p in $(pkgdata_DATA); do            \
208           rm -f $(pkgdatadir)/$$p;              \
209         done
210
211 # This directory's subdirectories are mostly independent; you can cd
212 # into them and run `make' without going through this Makefile.
213 # To change the values of `make' variables: instead of editing Makefiles,
214 # (1) if the variable is set in `config.status', edit `config.status'
215 #     (which will cause the Makefiles to be regenerated when you run `make');
216 # (2) otherwise, pass the desired values on the `make' command line.
217
218 @SET_MAKE@
219
220 all-recursive install-data-recursive install-exec-recursive \
221 installdirs-recursive install-recursive uninstall-recursive \
222 check-recursive installcheck-recursive info-recursive dvi-recursive \
223 mostlyclean-recursive clean-recursive distclean-recursive \
224 maintainer-clean-recursive:
225         for subdir in $(SUBDIRS); do            \
226           target=`echo $@ | sed s/-recursive//`; \
227           echo making $$target in $$subdir;     \
228           (cd $$subdir && $(MAKE) $$target)     \
229            || case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac; \
230         done && test -z "$$fail"
231
232 tags: TAGS
233
234 TAGS:
235         tags=;                                  \
236         here=`pwd`;                             \
237         for subdir in $(SUBDIRS); do            \
238           (cd $$subdir && $(MAKE) TAGS);        \
239           test -f $$subdir/TAGS && {            \
240             tags="$$tags -i $$here/$$subdir/TAGS"; \
241           }                                     \
242         done;                                   \
243         test -z "$(ETAGS_ARGS)$(CONFIG_HEADER)$(SOURCES)$(HEADERS)$$tags" \
244           || etags $(ETAGS_ARGS) $$tags $(CONFIG_HEADER) $(SOURCES) $(HEADERS)
245
246 mostlyclean-tags:
247
248 clean-tags:
249
250 distclean-tags:
251         rm -f TAGS ID
252
253 maintainer-clean-tags:
254
255 distdir = $(PACKAGE)-$(VERSION)
256 dist: $(DEP_DISTFILES)
257         @if sed 15q NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
258           echo "NEWS not updated; not releasing" 1>&2; \
259           exit 1;                               \
260         fi
261         rm -rf $(distdir)
262         mkdir $(distdir)
263         chmod 777 $(distdir)
264         distdir=`cd $(distdir) && pwd` \
265           && cd $(srcdir) \
266           && automake --include-deps --output-dir=$$distdir --strictness=gnits
267         @for file in `cd $(srcdir) && echo $(DISTFILES)`; do \
268           test -f $(distdir)/$$file \
269           || ln $(srcdir)/$$file $(distdir)/$$file 2> /dev/null \
270           || cp -p $(srcdir)/$$file $(distdir)/$$file; \
271         done
272         for subdir in $(SUBDIRS); do            \
273           test -d $(distdir)/$$subdir           \
274           || mkdir $(distdir)/$$subdir          \
275           || exit 1;                            \
276           chmod 777 $(distdir)/$$subdir;        \
277           (cd $$subdir && $(MAKE) dist) || exit 1; \
278         done
279         chmod -R a+r $(distdir)
280         tar chozf $(distdir).tar.gz $(distdir)
281         rm -rf $(distdir)
282 info: $(INFO_DEPS) info-recursive
283
284 dvi: $(DVIS) dvi-recursive
285
286 check: check-recursive
287
288 installcheck: installcheck-recursive installcheck-local
289
290 all-am: $(INFO_DEPS) $(SCRIPTS) $(DATA) Makefile
291
292 install-exec-am: install-binSCRIPTS
293
294 install-data-am: install-info install-pkgdataSCRIPTS install-pkgdataDATA
295
296 uninstall-am: uninstall-binSCRIPTS uninstall-pkgdataSCRIPTS uninstall-info uninstall-pkgdataDATA
297
298 install-exec: install-exec-recursive install-exec-am
299
300 install-data: install-data-recursive install-data-am
301
302 install: install-recursive install-exec-am install-data-am
303         @:
304
305 uninstall: uninstall-recursive uninstall-am
306
307 all: all-recursive all-am
308
309 install-strip:
310         $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install
311 installdirs: installdirs-recursive
312         $(top_srcdir)/mkinstalldirs  $(bindir) $(pkgdatadir) $(infodir) \
313                 $(pkgdatadir)
314
315
316 mostlyclean-generic:
317         test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
318
319 clean-generic:
320         test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
321
322 distclean-generic:
323         rm -f Makefile $(DISTCLEANFILES)
324         rm -f config.cache config.log $(CONFIG_HEADER) stamp-h
325
326 maintainer-clean-generic:
327         test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
328         test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
329 mostlyclean-am:  mostlyclean-vti mostlyclean-info mostlyclean-tags \
330                 mostlyclean-generic
331
332 clean-am:  clean-vti clean-info clean-tags clean-generic mostlyclean-am 
333
334 distclean-am:  distclean-vti distclean-info distclean-tags \
335                 distclean-generic clean-am 
336
337 maintainer-clean-am:  maintainer-clean-vti maintainer-clean-info \
338                 maintainer-clean-tags maintainer-clean-generic \
339                 distclean-am 
340
341 mostlyclean:  mostlyclean-am mostlyclean-recursive
342
343 clean:  clean-am clean-recursive
344
345 distclean:  distclean-am distclean-recursive
346         rm -f config.status
347
348 maintainer-clean:  maintainer-clean-am maintainer-clean-recursive
349         @echo "This command is intended for maintainers to use;"
350         @echo "it deletes files that may require special tools to rebuild."
351         rm -f config.status
352
353 .PHONY: default uninstall-binSCRIPTS install-binSCRIPTS \
354 uninstall-pkgdataSCRIPTS install-pkgdataSCRIPTS mostlyclean-vti \
355 distclean-vti clean-vti maintainer-clean-vti install-info \
356 uninstall-info mostlyclean-info distclean-info clean-info \
357 maintainer-clean-info uninstall-pkgdataDATA install-pkgdataDATA \
358 install-data-recursive uninstall-data-recursive install-exec-recursive \
359 uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
360 all-recursive check-recursive installcheck-recursive info-recursive \
361 dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
362 maintainer-clean-recursive tags mostlyclean-tags distclean-tags \
363 clean-tags maintainer-clean-tags dist info dvi check installcheck-local \
364 installcheck all-am install-exec-am install-data-am uninstall-am \
365 install-exec install-data install uninstall all installdirs \
366 mostlyclean-generic distclean-generic clean-generic \
367 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
368
369
370 # Check to make sure some installed files are executable.
371 installcheck-local:
372         $(PERL) -e "exit ! -x '$(pkgdatadir)/config.guess';"
373         $(PERL) -e "exit ! -x '$(pkgdatadir)/config.sub';"
374         $(PERL) -e "exit ! -x '$(pkgdatadir)/install-sh';"
375         $(PERL) -e "exit ! -x '$(pkgdatadir)/mdate-sh';"
376         $(PERL) -e "exit ! -x '$(pkgdatadir)/mkinstalldirs';"
377
378 # Some simple checks:
379 # * syntax check with perl4 and perl5.
380 # * make sure the scripts don't use 'true'
381 # * expect no instances of '${...}'
382 # These are only really guaranteed to work on my machine.
383 maintainer-check: automake check
384         $(PERL) -c -w automake
385         @if grep '^[^#].*true' $(srcdir)/[a-z]*.am; then \
386           echo "can't use 'true' in GNU Makefile" 1>&2; \
387           exit 1;                               \
388         else :; fi
389         @if test `fgrep '$${' $(srcdir)/[a-z]*.am | wc -l` -ne 0; then \
390           echo "found too many uses of '\$${'" 1>&2; \
391           exit 1;                               \
392         fi
393         if $(SHELL) -c 'perl4.036 -v' >/dev/null 2>&1; then \
394           perl4.036 -c -w automake; \
395         else :; fi
396
397 # Tag before making distribution.  Also, don't make a distribution if
398 # checks fail.  Also, make sure the NEWS file is up-to-date.
399 cvs-dist: maintainer-check
400         @if sed 1q NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
401           echo "NEWS not updated; not releasing" 1>&2; \
402           exit 1;                               \
403         fi
404         cvs tag `echo "Release-$(VERSION)" | sed 's/\./-/g'`
405         $(MAKE) dist
406 .SUFFIXES:
407 .SUFFIXES: .texi .info .dvi
408
409 # Tell versions [3.59,3.63) of GNU make to not export all variables.
410 # Otherwise a system limit (for SysV at least) may be exceeded.
411 .NOEXPORT: