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