Bug fixes, test feature
[automake.git] / Makefile.in
blob86863ade2db558bfb17a3a8afc88e284d9533ab6
1 # Makefile.in generated automatically by automake 0.31 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 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
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) $(DIST_OTHER) $(DATA)
97 DEP_DISTFILES = $(DIST_COMMON) $(SOURCES) $(BUILT_SOURCES) $(HEADERS) \
98 $(TEXINFOS) $(INFO_DEPS) $(MANS) $(DIST_OTHER) $(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 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
124 uninstall-binSCRIPTS:
125 for p in $(bin_SCRIPTS); do \
126 rm -f $(bindir)/`echo $$p|sed '$(transform)'`; \
127 done
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
137 uninstall-pkgdataSCRIPTS:
138 for p in $(pkgdata_SCRIPTS); do \
139 rm -f $(pkgdatadir)/`echo $$p|sed '$(transform)'`; \
140 done
142 version.texi: stamp-vti
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; \
154 echo timestamp > $(srcdir)/stamp-vti
156 mostlyclean-vti:
157 rm -f vti.tmp
159 clean-vti:
161 distclean-vti:
163 maintainer-clean-vti:
164 rm -f stamp-vti version.texi
166 automake.info: automake.texi version.texi
169 .texi.info:
170 $(MAKEINFO) -I$(srcdir) $<
172 .texi.dvi:
173 TEXINPUTS=$(srcdir):$$TEXINPUTS $(TEXI2DVI) $<
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
183 uninstall-info:
184 cd $(srcdir) && for file in *.info*; do \
185 rm -f $(infodir)/$$file; \
186 done
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
193 clean-info:
195 distclean-info:
197 maintainer-clean-info:
198 rm -f $(INFOS)
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
206 uninstall-pkgdataDATA:
207 for p in $(pkgdata_DATA); do \
208 rm -f $(pkgdatadir)/$$p; \
209 done
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.
218 @SET_MAKE@
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"
232 tags: TAGS
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"; \
242 done; \
243 test -z "$(ETAGS_ARGS)$(CONFIG_HEADER)$(SOURCES)$(HEADERS)$$tags" \
244 || etags $(ETAGS_ARGS) $$tags $(CONFIG_HEADER) $(SOURCES) $(HEADERS)
246 mostlyclean-tags:
248 clean-tags:
250 distclean-tags:
251 rm -f TAGS ID
253 maintainer-clean-tags:
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; \
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
284 dvi: $(DVIS) dvi-recursive
286 check: check-recursive
288 installcheck: installcheck-recursive installcheck-local
290 all-am: $(INFO_DEPS) $(SCRIPTS) $(DATA) Makefile
292 install-exec-am: install-binSCRIPTS
294 install-data-am: install-info install-pkgdataSCRIPTS install-pkgdataDATA
296 uninstall-am: uninstall-binSCRIPTS uninstall-pkgdataSCRIPTS uninstall-info uninstall-pkgdataDATA
298 install-exec: install-exec-recursive install-exec-am
300 install-data: install-data-recursive install-data-am
302 install: install-recursive install-exec-am install-data-am
305 uninstall: uninstall-recursive uninstall-am
307 all: all-recursive all-am
309 installdirs: installdirs-recursive
310 $(top_srcdir)/mkinstalldirs $(bindir) $(pkgdatadir) $(infodir) \
311 $(pkgdatadir)
314 mostlyclean-generic:
315 test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
317 clean-generic:
318 test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
320 distclean-generic:
321 rm -f Makefile $(DISTCLEANFILES)
322 rm -f config.cache config.log $(CONFIG_HEADER) stamp-h
324 maintainer-clean-generic:
325 test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
326 test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
327 mostlyclean-am: mostlyclean-vti mostlyclean-info mostlyclean-tags \
328 mostlyclean-generic
330 clean-am: clean-vti clean-info clean-tags clean-generic mostlyclean-am
332 distclean-am: distclean-vti distclean-info distclean-tags \
333 distclean-generic clean-am
335 maintainer-clean-am: maintainer-clean-vti maintainer-clean-info \
336 maintainer-clean-tags maintainer-clean-generic \
337 distclean-am
339 mostlyclean: mostlyclean-am mostlyclean-recursive
341 clean: clean-am clean-recursive
343 distclean: distclean-am distclean-recursive
344 rm -f config.status
346 maintainer-clean: maintainer-clean-am maintainer-clean-recursive
347 @echo "This command is intended for maintainers to use;"
348 @echo "it deletes files that may require special tools to rebuild."
349 rm -f config.status
351 .PHONY: default uninstall-binSCRIPTS install-binSCRIPTS \
352 uninstall-pkgdataSCRIPTS install-pkgdataSCRIPTS mostlyclean-vti \
353 distclean-vti clean-vti maintainer-clean-vti install-info \
354 uninstall-info mostlyclean-info distclean-info clean-info \
355 maintainer-clean-info uninstall-pkgdataDATA install-pkgdataDATA \
356 install-data-recursive uninstall-data-recursive install-exec-recursive \
357 uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
358 all-recursive check-recursive installcheck-recursive info-recursive \
359 dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
360 maintainer-clean-recursive tags mostlyclean-tags distclean-tags \
361 clean-tags maintainer-clean-tags dist info dvi check installcheck-local \
362 installcheck all-am install-exec-am install-data-am uninstall-am \
363 install-exec install-data install uninstall all installdirs \
364 mostlyclean-generic distclean-generic clean-generic \
365 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
368 # Check to make sure some installed files are executable.
369 installcheck-local:
370 $(PERL) -e "exit ! -x '$(pkgdatadir)/config.guess';"
371 $(PERL) -e "exit ! -x '$(pkgdatadir)/config.sub';"
372 $(PERL) -e "exit ! -x '$(pkgdatadir)/install-sh';"
373 $(PERL) -e "exit ! -x '$(pkgdatadir)/mdate-sh';"
374 $(PERL) -e "exit ! -x '$(pkgdatadir)/mkinstalldirs';"
376 # Some simple checks:
377 # * syntax check with perl4 and perl5.
378 # * make sure the scripts don't use 'true'
379 # * expect no instances of '${...}'
380 # These are only really guaranteed to work on my machine.
381 maintainer-check: automake check
382 $(PERL) -c -w automake
383 @if grep '^[^#].*true' $(srcdir)/[a-z]*.am; then \
384 echo "can't use 'true' in GNU Makefile" 1>&2; \
385 exit 1; \
386 else :; fi
387 @if test `fgrep '$${' $(srcdir)/[a-z]*.am | wc -l` -ne 0; then \
388 echo "found too many uses of '\$${'" 1>&2; \
389 exit 1; \
391 if $(SHELL) -c 'perl4.036 -v' >/dev/null 2>&1; then \
392 perl4.036 -c -w automake; \
393 else :; fi
395 # Tag before making distribution. Also, don't make a distribution if
396 # checks fail. Also, make sure the NEWS file is up-to-date.
397 cvs-dist: maintainer-check
398 @if sed 1q NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
399 echo "NEWS not updated; not releasing" 1>&2; \
400 exit 1; \
402 cvs tag `echo "Release-$(VERSION)" | sed 's/\./-/g'`
403 $(MAKE) dist
404 .SUFFIXES:
405 .SUFFIXES: .texi .info .dvi
407 # Tell versions [3.59,3.63) of GNU make to not export all variables.
408 # Otherwise a system limit (for SysV at least) may be exceeded.
409 .NOEXPORT: