More bug fixes
[automake.git] / Makefile.in
blobbdb419989b9bdf644f4d46463b2c9a1e6e4f5e03
1 # Makefile.in generated automatically by automake 0.32 from Makefile.am
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.
8 SHELL = /bin/sh
10 srcdir = @srcdir@
11 top_srcdir = @top_srcdir@
12 VPATH = @srcdir@
13 prefix = @prefix@
14 exec_prefix = @exec_prefix@
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
29 pkgdatadir = $(datadir)/@PACKAGE@
30 pkglibdir = $(libdir)/@PACKAGE@
31 pkgincludedir = $(includedir)/@PACKAGE@
33 top_builddir = .
35 INSTALL = @INSTALL@
36 INSTALL_PROGRAM = @INSTALL_PROGRAM@
37 INSTALL_DATA = @INSTALL_DATA@
38 INSTALL_SCRIPT = @INSTALL_SCRIPT@
39 transform = @program_transform_name@
41 AUTOMAKE_OPTIONS = gnits
42 MAINT_CHARSET = latin1
43 PERL = @PERL@
45 SUBDIRS = tests
47 bin_SCRIPTS = automake
48 info_TEXINFOS = automake.texi
49 # SUBDIRS = intl po
50 # CONFIG_HEADER = config.h
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 \
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
66 pkgdata_SCRIPTS = config.guess config.sub install-sh mdate-sh mkinstalldirs
68 CLEANFILES = automake
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)
77 MAKEINFO = makeinfo
78 TEXI2DVI = texi2dvi
79 INFOS = automake.info*
80 INFO_DEPS = automake.info
81 DVIS = automake.dvi
82 TEXINFOS = automake.texi
84 DATA = $(pkgdata_DATA)
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
92 PACKAGE = @PACKAGE@
93 VERSION = @VERSION@
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
102 $(srcdir)/Makefile.in: Makefile.am configure.in
103 cd $(srcdir) && automake Makefile
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
116 install-binSCRIPTS: $(bin_SCRIPTS)
117 $(top_srcdir)/mkinstalldirs $(bindir)
118 list="$(bin_SCRIPTS)"; for p in $$list; do \
119 if test -f $$p; then \
120 $(INSTALL_SCRIPT) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
121 else if test -f $(srcdir)/$$p; then \
122 $(INSTALL_SCRIPT) $(srcdir)/$$p \
123 $(bindir)/`echo $$p|sed '$(transform)'`; \
124 else :; fi; fi; \
125 done
127 uninstall-binSCRIPTS:
128 list="$(bin_SCRIPTS)"; for p in $$list; do \
129 rm -f $(bindir)/`echo $$p|sed '$(transform)'`; \
130 done
132 install-pkgdataSCRIPTS: $(pkgdata_SCRIPTS)
133 $(top_srcdir)/mkinstalldirs $(pkgdatadir)
134 list="$(pkgdata_SCRIPTS)"; for p in $$list; do \
135 if test -f $$p; then \
136 $(INSTALL_SCRIPT) $$p $(pkgdatadir)/`echo $$p|sed '$(transform)'`; \
137 else if test -f $(srcdir)/$$p; then \
138 $(INSTALL_SCRIPT) $(srcdir)/$$p \
139 $(pkgdatadir)/`echo $$p|sed '$(transform)'`; \
140 else :; fi; fi; \
141 done
143 uninstall-pkgdataSCRIPTS:
144 list="$(pkgdata_SCRIPTS)"; for p in $$list; do \
145 rm -f $(pkgdatadir)/`echo $$p|sed '$(transform)'`; \
146 done
148 version.texi: stamp-vti
150 stamp-vti: automake.texi $(top_srcdir)/configure.in
151 echo "@set UPDATED `cd $(srcdir) \
152 && $(SHELL) ./mdate-sh automake.texi`" > vti.tmp
153 echo "@set EDITION $(VERSION)" >> vti.tmp
154 echo "@set VERSION $(VERSION)" >> vti.tmp
155 if cmp -s vti.tmp $(srcdir)/version.texi; then \
156 rm vti.tmp; \
157 else \
158 mv vti.tmp $(srcdir)/version.texi; \
160 echo timestamp > $(srcdir)/stamp-vti
162 mostlyclean-vti:
163 rm -f vti.tmp
165 clean-vti:
167 distclean-vti:
169 maintainer-clean-vti:
170 rm -f stamp-vti version.texi
172 automake.info: automake.texi version.texi
175 .texi.info:
176 $(MAKEINFO) -I$(srcdir) $< -o $(srcdir)/$@
178 .texi.dvi:
179 TEXINPUTS=$(srcdir):$$TEXINPUTS $(TEXI2DVI) $<
181 install-info: $(INFO_DEPS)
182 $(top_srcdir)/mkinstalldirs $(infodir)
183 for file in $(INFO_DEPS); do \
184 for ifile in `cd $(srcdir) && echo $$file*`; do \
185 $(INSTALL_DATA) $(srcdir)/$$ifile $(infodir)/$$ifile; \
186 done; \
187 done
189 uninstall-info:
190 cd $(srcdir) && for file in *.info*; do \
191 rm -f $(infodir)/$$file; \
192 done
194 mostlyclean-info:
195 rm -f automake.aux automake.cp automake.cps automake.dvi automake.fn \
196 automake.fns automake.ky automake.log automake.pg \
197 automake.toc automake.tp automake.vr automake.op
199 clean-info:
201 distclean-info:
203 maintainer-clean-info:
204 rm -f $(INFOS)
206 install-pkgdataDATA: $(pkgdata_DATA)
207 $(top_srcdir)/mkinstalldirs $(pkgdatadir)
208 list="$(pkgdata_DATA)"; for p in $$list; do \
209 if test -f $(srcdir)/$$p; then \
210 $(INSTALL_DATA) $(srcdir)/$$p $(pkgdatadir)/$$p; \
211 else if test -f $$p; then \
212 $(INSTALL_DATA) $$p $(pkgdatadir)/$$p; \
213 fi; fi; \
214 done
216 uninstall-pkgdataDATA:
217 list="$(pkgdata_DATA)"; for p in $$list; do \
218 rm -f $(pkgdatadir)/$$p; \
219 done
221 # This directory's subdirectories are mostly independent; you can cd
222 # into them and run `make' without going through this Makefile.
223 # To change the values of `make' variables: instead of editing Makefiles,
224 # (1) if the variable is set in `config.status', edit `config.status'
225 # (which will cause the Makefiles to be regenerated when you run `make');
226 # (2) otherwise, pass the desired values on the `make' command line.
228 @SET_MAKE@
230 all-recursive install-data-recursive install-exec-recursive \
231 installdirs-recursive install-recursive uninstall-recursive \
232 check-recursive installcheck-recursive info-recursive dvi-recursive \
233 mostlyclean-recursive clean-recursive distclean-recursive \
234 maintainer-clean-recursive:
235 for subdir in $(SUBDIRS); do \
236 target=`echo $@ | sed s/-recursive//`; \
237 echo making $$target in $$subdir; \
238 (cd $$subdir && $(MAKE) $$target) \
239 || case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac; \
240 done && test -z "$$fail"
242 tags: TAGS
244 TAGS:
245 tags=; \
246 here=`pwd`; \
247 for subdir in $(SUBDIRS); do \
248 (cd $$subdir && $(MAKE) TAGS); \
249 test -f $$subdir/TAGS && { \
250 tags="$$tags -i $$here/$$subdir/TAGS"; \
252 done; \
253 test -z "$(ETAGS_ARGS)$(CONFIG_HEADER)$(SOURCES)$(HEADERS)$$tags" \
254 || etags $(ETAGS_ARGS) $$tags $(CONFIG_HEADER) $(SOURCES) $(HEADERS)
256 mostlyclean-tags:
258 clean-tags:
260 distclean-tags:
261 rm -f TAGS ID
263 maintainer-clean-tags:
265 distdir = $(PACKAGE)-$(VERSION)
266 dist: $(DEP_DISTFILES)
267 @if sed 15q $(srcdir)/NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
268 echo "NEWS not updated; not releasing" 1>&2; \
269 exit 1; \
271 rm -rf $(distdir)
272 mkdir $(distdir)
273 chmod 777 $(distdir)
274 distdir=`cd $(distdir) && pwd` \
275 && cd $(srcdir) \
276 && automake --include-deps --output-dir=$$distdir --strictness=gnits
277 @for file in `cd $(srcdir) && echo $(DISTFILES)`; do \
278 test -f $(distdir)/$$file \
279 || ln $(srcdir)/$$file $(distdir)/$$file 2> /dev/null \
280 || cp -p $(srcdir)/$$file $(distdir)/$$file; \
281 done
282 for subdir in $(SUBDIRS); do \
283 test -d $(distdir)/$$subdir \
284 || mkdir $(distdir)/$$subdir \
285 || exit 1; \
286 chmod 777 $(distdir)/$$subdir; \
287 (cd $$subdir && $(MAKE) dist) || exit 1; \
288 done
289 chmod -R a+r $(distdir)
290 tar chozf $(distdir).tar.gz $(distdir)
291 rm -rf $(distdir)
292 info: $(INFO_DEPS) info-recursive
294 dvi: $(DVIS) dvi-recursive
296 check: check-recursive
298 installcheck: installcheck-recursive installcheck-local
300 all-am: $(INFO_DEPS) $(SCRIPTS) $(DATA) Makefile
302 install-exec-am: install-binSCRIPTS
304 install-data-am: install-info install-pkgdataSCRIPTS install-pkgdataDATA
306 uninstall-am: uninstall-binSCRIPTS uninstall-pkgdataSCRIPTS uninstall-info uninstall-pkgdataDATA
308 install-exec: install-exec-recursive install-exec-am
310 install-data: install-data-recursive install-data-am
312 install: install-recursive install-exec-am install-data-am
315 uninstall: uninstall-recursive uninstall-am
317 all: all-recursive all-am
319 install-strip:
320 $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install
321 installdirs: installdirs-recursive
322 ./mkinstalldirs $(bindir) $(pkgdatadir) $(infodir) $(pkgdatadir)
325 mostlyclean-generic:
326 test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
328 clean-generic:
329 test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
331 distclean-generic:
332 rm -f Makefile $(DISTCLEANFILES)
333 rm -f config.cache config.log $(CONFIG_HEADER) stamp-h
335 maintainer-clean-generic:
336 test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
337 test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
338 mostlyclean-am: mostlyclean-vti mostlyclean-info mostlyclean-tags \
339 mostlyclean-generic
341 clean-am: clean-vti clean-info clean-tags clean-generic mostlyclean-am
343 distclean-am: distclean-vti distclean-info distclean-tags \
344 distclean-generic clean-am
346 maintainer-clean-am: maintainer-clean-vti maintainer-clean-info \
347 maintainer-clean-tags maintainer-clean-generic \
348 distclean-am
350 mostlyclean: mostlyclean-am mostlyclean-recursive
352 clean: clean-am clean-recursive
354 distclean: distclean-am distclean-recursive
355 rm -f config.status
357 maintainer-clean: maintainer-clean-am maintainer-clean-recursive
358 @echo "This command is intended for maintainers to use;"
359 @echo "it deletes files that may require special tools to rebuild."
360 rm -f config.status
362 .PHONY: default uninstall-binSCRIPTS install-binSCRIPTS \
363 uninstall-pkgdataSCRIPTS install-pkgdataSCRIPTS mostlyclean-vti \
364 distclean-vti clean-vti maintainer-clean-vti install-info \
365 uninstall-info mostlyclean-info distclean-info clean-info \
366 maintainer-clean-info uninstall-pkgdataDATA install-pkgdataDATA \
367 install-data-recursive uninstall-data-recursive install-exec-recursive \
368 uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
369 all-recursive check-recursive installcheck-recursive info-recursive \
370 dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
371 maintainer-clean-recursive tags mostlyclean-tags distclean-tags \
372 clean-tags maintainer-clean-tags dist info dvi check installcheck-local \
373 installcheck all-am install-exec-am install-data-am uninstall-am \
374 install-exec install-data install uninstall all installdirs \
375 mostlyclean-generic distclean-generic clean-generic \
376 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
379 # Check to make sure some installed files are executable.
380 installcheck-local:
381 $(PERL) -e "exit ! -x '$(pkgdatadir)/config.guess';"
382 $(PERL) -e "exit ! -x '$(pkgdatadir)/config.sub';"
383 $(PERL) -e "exit ! -x '$(pkgdatadir)/install-sh';"
384 $(PERL) -e "exit ! -x '$(pkgdatadir)/mdate-sh';"
385 $(PERL) -e "exit ! -x '$(pkgdatadir)/mkinstalldirs';"
387 # Some simple checks:
388 # * syntax check with perl4 and perl5.
389 # * make sure the scripts don't use 'true'
390 # * expect no instances of '${...}'
391 # These are only really guaranteed to work on my machine.
392 maintainer-check: automake
393 $(PERL) -c -w automake
394 @if grep '^[^#].*true' $(srcdir)/[a-z]*.am; then \
395 echo "can't use 'true' in GNU Makefile" 1>&2; \
396 exit 1; \
397 else :; fi
398 @if test `fgrep '$${' $(srcdir)/[a-z]*.am | wc -l` -ne 0; then \
399 echo "found too many uses of '\$${'" 1>&2; \
400 exit 1; \
402 if $(SHELL) -c 'perl4.036 -v' >/dev/null 2>&1; then \
403 perl4.036 -c -w automake; \
404 else :; fi
405 $(MAKE) check
407 # Tag before making distribution. Also, don't make a distribution if
408 # checks fail. Also, make sure the NEWS file is up-to-date.
409 cvs-dist: maintainer-check
410 @if sed 1q $(srcdir)/NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
411 echo "NEWS not updated; not releasing" 1>&2; \
412 exit 1; \
414 cvs -q tag `echo "Release-$(VERSION)" | sed 's/\./-/g'`
415 $(MAKE) dist
417 cvs-diff:
418 thisver=`echo "Release-$(VERSION)" | sed 's/\./-/g'`; \
419 prevno=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
420 prevver=Release-`echo $$prevno | sed 's/\./-/g'`; \
421 cvs -f rdiff -c -r $$prevver -r $$thisver $(PACKAGE) \
422 > $(PACKAGE)-$$prevno-$(VERSION).diff
423 .SUFFIXES:
424 .SUFFIXES: .texi .info .dvi
426 # Tell versions [3.59,3.63) of GNU make to not export all variables.
427 # Otherwise a system limit (for SysV at least) may be exceeded.
428 .NOEXPORT: