Bug fixes
[automake.git] / Makefile.in
blob3c47ce18afa780485d78931a7a962bfdf60a2d3c
1 # Makefile.in generated automatically by automake 1.1a 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 dejagnu.am depend.am dist-vars.am footer.am \
54 header.am header-vars.am kr-vars.am libraries.am library.am \
55 mans-vars.am program.am programs.am remake-hdr.am remake-subd.am \
56 remake.am scripts.am subdirs.am tags.am tags-subd.am tags-clean.am \
57 texi-version.am texinfos-vars.am texinfos.am libraries-clean.am \
58 programs-clean.am data-clean.am COPYING INSTALL texinfo.tex ansi2knr.c \
59 ansi2knr.1 aclocal.m4 lisp.am
61 pkgdata_SCRIPTS = config.guess config.sub install-sh mdate-sh \
62 mkinstalldirs elisp-comp
64 CLEANFILES = automake
66 # The following requires a fixed version of the Emacs 19.30 etags.
67 ETAGS_ARGS = automake.in --lang=none \
68 --regex='/^@node[ \t]+\([^,]+\)/\1/' automake.texi
69 TAGS_DEPENDENCIES = automake.in automake.texi
70 ACLOCAL = aclocal.m4
71 mkinstalldirs = $(top_srcdir)/mkinstalldirs
72 SCRIPTS = $(bin_SCRIPTS) $(pkgdata_SCRIPTS)
75 MAKEINFO = makeinfo
76 TEXI2DVI = texi2dvi
77 INFOS = automake.info*
78 INFO_DEPS = automake.info
79 DVIS = automake.dvi
80 TEXINFOS = automake.texi
82 DATA = $(pkgdata_DATA)
84 DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \
85 Makefile.in NEWS README THANKS TODO aclocal.m4 automake.in config.guess \
86 config.sub configure configure.in install-sh mdate-sh mkinstalldirs \
87 stamp-vti texinfo.tex version.texi
90 PACKAGE = @PACKAGE@
91 VERSION = @VERSION@
93 DISTFILES = $(DIST_COMMON) $(SOURCES) $(BUILT_SOURCES) $(HEADERS) \
94 $(TEXINFOS) $(INFOS) $(MANS) $(EXTRA_DIST) $(DATA)
95 DEP_DISTFILES = $(DIST_COMMON) $(SOURCES) $(BUILT_SOURCES) $(HEADERS) \
96 $(TEXINFOS) $(INFO_DEPS) $(MANS) $(EXTRA_DIST) $(DATA)
98 TAR = tar
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) $(CONFIGURE_DEPENDENCIES)
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 $(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 $(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 $(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 $(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-recursive:
245 list="$(SUBDIRS)"; for subdir in $$list; do \
246 (cd $$subdir && $(MAKE) tags); \
247 done
249 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(CONFIG_HEADER) \
250 $(TAGS_DEPENDENCIES)
251 tags=; \
252 here=`pwd`; \
253 for subdir in $(SUBDIRS); do \
254 test -f $$subdir/TAGS && { \
255 tags="$$tags -i $$here/$$subdir/TAGS"; \
257 done; \
258 test -z "$(ETAGS_ARGS)$(CONFIG_HEADER)$(SOURCES)$(HEADERS)$$tags" \
259 || etags $(ETAGS_ARGS) $$tags $(CONFIG_HEADER) $(SOURCES) $(HEADERS)
261 mostlyclean-tags:
263 clean-tags:
265 distclean-tags:
266 rm -f TAGS ID
268 maintainer-clean-tags:
270 distdir = $(PACKAGE)-$(VERSION)
271 # This target untars the dist file and tries a VPATH configuration. Then
272 # it guarantees that the distribution is self-contained by making another
273 # tarfile.
274 distcheck: dist
275 rm -rf $(distdir)
276 $(TAR) zxf $(distdir).tar.gz
277 mkdir $(distdir)/=build
278 mkdir $(distdir)/=inst
279 dc_install_base=`cd $(distdir)/=inst && pwd`; \
280 cd $(distdir)/=build \
281 && ../configure --srcdir=.. --prefix=$$dc_install_base \
282 && $(MAKE) \
283 && $(MAKE) check \
284 && $(MAKE) install \
285 && $(MAKE) installcheck \
286 && $(MAKE) dist
287 rm -rf $(distdir)
288 @echo "========================"; \
289 echo "$(distdir).tar.gz is ready for distribution"; \
290 echo "========================"
291 dist: distdir
292 chmod -R a+r $(distdir)
293 $(TAR) chozf $(distdir).tar.gz $(distdir)
294 rm -rf $(distdir)
295 distdir: $(DEP_DISTFILES)
296 @if sed 15q $(srcdir)/NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
297 echo "NEWS not updated; not releasing" 1>&2; \
298 exit 1; \
300 rm -rf $(distdir)
301 mkdir $(distdir)
302 chmod 777 $(distdir)
303 distdir=`cd $(distdir) && pwd` \
304 && cd $(srcdir) \
305 && automake --include-deps --output-dir=$$distdir --strictness=gnits
306 @for file in `cd $(srcdir) && echo $(DISTFILES)`; do \
307 test -f $(distdir)/$$file \
308 || ln $(srcdir)/$$file $(distdir)/$$file 2> /dev/null \
309 || cp -p $(srcdir)/$$file $(distdir)/$$file; \
310 done
311 for subdir in $(SUBDIRS); do \
312 test -d $(distdir)/$$subdir \
313 || mkdir $(distdir)/$$subdir \
314 || exit 1; \
315 chmod 777 $(distdir)/$$subdir; \
316 (cd $$subdir && $(MAKE) distdir=../$(distdir)/$$subdir distdir) \
317 || exit 1; \
318 done
319 info: $(INFO_DEPS) info-recursive
321 dvi: $(DVIS) dvi-recursive
323 check: check-recursive
325 installcheck: installcheck-recursive installcheck-local
327 all-am: $(INFO_DEPS) $(SCRIPTS) $(DATA) Makefile
329 install-exec-am: install-binSCRIPTS
331 install-data-am: install-info install-pkgdataSCRIPTS install-pkgdataDATA
333 uninstall-am: uninstall-binSCRIPTS uninstall-pkgdataSCRIPTS uninstall-info uninstall-pkgdataDATA
335 install-exec: install-exec-recursive install-exec-am
337 install-data: install-data-recursive install-data-am
339 install: install-recursive install-exec-am install-data-am
342 uninstall: uninstall-recursive uninstall-am
344 all: all-recursive all-am
346 install-strip:
347 $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install
348 installdirs: installdirs-recursive
349 $(mkinstalldirs) $(bindir) $(pkgdatadir) $(infodir) $(pkgdatadir)
352 mostlyclean-generic:
353 test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
355 clean-generic:
356 test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
358 distclean-generic:
359 rm -f Makefile $(DISTCLEANFILES)
360 rm -f config.cache config.log $(CONFIG_HEADER) stamp-h
362 maintainer-clean-generic:
363 test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
364 test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
365 mostlyclean-am: mostlyclean-vti mostlyclean-info mostlyclean-tags \
366 mostlyclean-generic
368 clean-am: clean-vti clean-info clean-tags clean-generic mostlyclean-am
370 distclean-am: distclean-vti distclean-info distclean-tags \
371 distclean-generic clean-am
373 maintainer-clean-am: maintainer-clean-vti maintainer-clean-info \
374 maintainer-clean-tags maintainer-clean-generic \
375 distclean-am
377 mostlyclean: mostlyclean-am mostlyclean-recursive
379 clean: clean-am clean-recursive
381 distclean: distclean-am distclean-recursive
382 rm -f config.status
384 maintainer-clean: maintainer-clean-am maintainer-clean-recursive
385 @echo "This command is intended for maintainers to use;"
386 @echo "it deletes files that may require special tools to rebuild."
387 rm -f config.status
389 .PHONY: default uninstall-binSCRIPTS install-binSCRIPTS \
390 uninstall-pkgdataSCRIPTS install-pkgdataSCRIPTS mostlyclean-vti \
391 distclean-vti clean-vti maintainer-clean-vti install-info \
392 uninstall-info mostlyclean-info distclean-info clean-info \
393 maintainer-clean-info uninstall-pkgdataDATA install-pkgdataDATA \
394 install-data-recursive uninstall-data-recursive install-exec-recursive \
395 uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
396 all-recursive check-recursive installcheck-recursive info-recursive \
397 dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
398 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
399 distclean-tags clean-tags maintainer-clean-tags distdir info dvi check \
400 installcheck-local installcheck all-am install-exec-am install-data-am \
401 uninstall-am install-exec install-data install uninstall all \
402 installdirs mostlyclean-generic distclean-generic clean-generic \
403 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
406 # Check to make sure some installed files are executable.
407 installcheck-local:
408 $(PERL) -e "exit ! -x '$(pkgdatadir)/config.guess';"
409 $(PERL) -e "exit ! -x '$(pkgdatadir)/config.sub';"
410 $(PERL) -e "exit ! -x '$(pkgdatadir)/install-sh';"
411 $(PERL) -e "exit ! -x '$(pkgdatadir)/mdate-sh';"
412 $(PERL) -e "exit ! -x '$(pkgdatadir)/mkinstalldirs';"
414 # Some simple checks, and then ordinary check. These are only really
415 # guaranteed to work on my machine.
416 maintainer-check: automake
417 $(PERL) -c -w automake
418 @if grep '^[^#].*true' $(srcdir)/[a-z]*.am; then \
419 echo "can't use 'true' in GNU Makefile" 1>&2; \
420 exit 1; \
421 else :; fi
422 @if test `fgrep '$${' $(srcdir)/[a-z]*.am | fgrep -v '$$$$' | wc -l` -ne 0; then \
423 echo "found too many uses of '\$${'" 1>&2; \
424 exit 1; \
426 if $(SHELL) -c 'perl4.036 -v' >/dev/null 2>&1; then \
427 perl4.036 -c -w automake; \
428 else :; fi
429 $(MAKE) check
431 # Tag before making distribution. Also, don't make a distribution if
432 # checks fail. Also, make sure the NEWS file is up-to-date.
433 cvs-dist: maintainer-check
434 @if sed 1q $(srcdir)/NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
435 echo "NEWS not updated; not releasing" 1>&2; \
436 exit 1; \
438 cvs -q tag `echo "Release-$(VERSION)" | sed 's/\./-/g'`
439 $(MAKE) dist
441 cvs-diff:
442 thisver=`echo "Release-$(VERSION)" | sed 's/\./-/g'`; \
443 prevno=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
444 prevver=Release-`echo $$prevno | sed 's/\./-/g'`; \
445 cvs -f rdiff -c -r $$prevver -r $$thisver $(PACKAGE) \
446 > $(PACKAGE)-$$prevno-$(VERSION).diff
447 .SUFFIXES:
448 .SUFFIXES: .texi .info .dvi
450 # Tell versions [3.59,3.63) of GNU make to not export all variables.
451 # Otherwise a system limit (for SysV at least) may be exceeded.
452 .NOEXPORT: