Various fixups
[automake.git] / Makefile.in
blob34b02333be2d0378b8050483139a3a0bbbde5e48
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 .info-[0-9] .info-[0-9][0-9]
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 --strictness=gnits 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 $$file-[0-9] $$file-[0-9][0-9]`; do \
185 test -f $(srcdir)/$$ifile \
186 && $(INSTALL_DATA) $(srcdir)/$$ifile $(infodir)/$$ifile; \
187 done; \
188 done
190 uninstall-info:
191 cd $(srcdir) && for file in *.info*; do \
192 rm -f $(infodir)/$$file; \
193 done
195 mostlyclean-info:
196 rm -f automake.aux automake.cp automake.cps automake.dvi automake.fn \
197 automake.fns automake.ky automake.log automake.pg \
198 automake.toc automake.tp automake.vr automake.op
200 clean-info:
202 distclean-info:
204 maintainer-clean-info:
205 rm -f $(INFOS)
207 install-pkgdataDATA: $(pkgdata_DATA)
208 $(mkinstalldirs) $(pkgdatadir)
209 list="$(pkgdata_DATA)"; for p in $$list; do \
210 if test -f $(srcdir)/$$p; then \
211 $(INSTALL_DATA) $(srcdir)/$$p $(pkgdatadir)/$$p; \
212 else if test -f $$p; then \
213 $(INSTALL_DATA) $$p $(pkgdatadir)/$$p; \
214 fi; fi; \
215 done
217 uninstall-pkgdataDATA:
218 list="$(pkgdata_DATA)"; for p in $$list; do \
219 rm -f $(pkgdatadir)/$$p; \
220 done
222 # This directory's subdirectories are mostly independent; you can cd
223 # into them and run `make' without going through this Makefile.
224 # To change the values of `make' variables: instead of editing Makefiles,
225 # (1) if the variable is set in `config.status', edit `config.status'
226 # (which will cause the Makefiles to be regenerated when you run `make');
227 # (2) otherwise, pass the desired values on the `make' command line.
229 @SET_MAKE@
231 all-recursive install-data-recursive install-exec-recursive \
232 installdirs-recursive install-recursive uninstall-recursive \
233 check-recursive installcheck-recursive info-recursive dvi-recursive \
234 mostlyclean-recursive clean-recursive distclean-recursive \
235 maintainer-clean-recursive:
236 for subdir in $(SUBDIRS); do \
237 target=`echo $@ | sed s/-recursive//`; \
238 echo making $$target in $$subdir; \
239 (cd $$subdir && $(MAKE) $$target) \
240 || case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac; \
241 done && test -z "$$fail"
243 tags: TAGS
245 tags-recursive:
246 list="$(SUBDIRS)"; for subdir in $$list; do \
247 (cd $$subdir && $(MAKE) tags); \
248 done
250 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(CONFIG_HEADER) \
251 $(TAGS_DEPENDENCIES)
252 tags=; \
253 here=`pwd`; \
254 for subdir in $(SUBDIRS); do \
255 test -f $$subdir/TAGS && { \
256 tags="$$tags -i $$here/$$subdir/TAGS"; \
258 done; \
259 test -z "$(ETAGS_ARGS)$(CONFIG_HEADER)$(SOURCES)$(HEADERS)$$tags" \
260 || etags $(ETAGS_ARGS) $$tags $(CONFIG_HEADER) $(SOURCES) $(HEADERS)
262 mostlyclean-tags:
264 clean-tags:
266 distclean-tags:
267 rm -f TAGS ID
269 maintainer-clean-tags:
271 distdir = $(PACKAGE)-$(VERSION)
272 # This target untars the dist file and tries a VPATH configuration. Then
273 # it guarantees that the distribution is self-contained by making another
274 # tarfile.
275 distcheck: dist
276 rm -rf $(distdir)
277 $(TAR) zxf $(distdir).tar.gz
278 mkdir $(distdir)/=build
279 mkdir $(distdir)/=inst
280 dc_install_base=`cd $(distdir)/=inst && pwd`; \
281 cd $(distdir)/=build \
282 && ../configure --srcdir=.. --prefix=$$dc_install_base \
283 && $(MAKE) \
284 && $(MAKE) dvi \
285 && $(MAKE) check \
286 && $(MAKE) install \
287 && $(MAKE) installcheck \
288 && $(MAKE) dist
289 rm -rf $(distdir)
290 @echo "========================"; \
291 echo "$(distdir).tar.gz is ready for distribution"; \
292 echo "========================"
293 dist: distdir
294 chmod -R a+r $(distdir)
295 $(TAR) chozf $(distdir).tar.gz $(distdir)
296 rm -rf $(distdir)
297 distdir: $(DEP_DISTFILES)
298 @if sed 15q $(srcdir)/NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
299 echo "NEWS not updated; not releasing" 1>&2; \
300 exit 1; \
302 rm -rf $(distdir)
303 mkdir $(distdir)
304 chmod 777 $(distdir)
305 distdir=`cd $(distdir) && pwd` \
306 && cd $(srcdir) \
307 && automake --include-deps --output-dir=$$distdir --strictness=gnits
308 @for file in `cd $(srcdir) && echo $(DISTFILES)`; do \
309 test -f $(distdir)/$$file \
310 || ln $(srcdir)/$$file $(distdir)/$$file 2> /dev/null \
311 || cp -p $(srcdir)/$$file $(distdir)/$$file; \
312 done
313 for subdir in $(SUBDIRS); do \
314 test -d $(distdir)/$$subdir \
315 || mkdir $(distdir)/$$subdir \
316 || exit 1; \
317 chmod 777 $(distdir)/$$subdir; \
318 (cd $$subdir && $(MAKE) distdir=../$(distdir)/$$subdir distdir) \
319 || exit 1; \
320 done
321 info: $(INFO_DEPS) info-recursive
323 dvi: $(DVIS) dvi-recursive
325 check: check-recursive
327 installcheck: installcheck-recursive installcheck-local
329 all-am: $(INFO_DEPS) $(SCRIPTS) $(DATA) Makefile
331 install-exec-am: install-binSCRIPTS
333 install-data-am: install-info install-pkgdataSCRIPTS install-pkgdataDATA
335 uninstall-am: uninstall-binSCRIPTS uninstall-pkgdataSCRIPTS uninstall-info uninstall-pkgdataDATA
337 install-exec: install-exec-recursive install-exec-am
339 install-data: install-data-recursive install-data-am
341 install: install-recursive install-exec-am install-data-am
344 uninstall: uninstall-recursive uninstall-am
346 all: all-recursive all-am
348 install-strip:
349 $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install
350 installdirs: installdirs-recursive
351 $(mkinstalldirs) $(bindir) $(pkgdatadir) $(infodir) $(pkgdatadir)
354 mostlyclean-generic:
355 test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
357 clean-generic:
358 test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
360 distclean-generic:
361 rm -f Makefile $(DISTCLEANFILES)
362 rm -f config.cache config.log $(CONFIG_HEADER) stamp-h
364 maintainer-clean-generic:
365 test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
366 test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
367 mostlyclean-am: mostlyclean-vti mostlyclean-info mostlyclean-tags \
368 mostlyclean-generic
370 clean-am: clean-vti clean-info clean-tags clean-generic mostlyclean-am
372 distclean-am: distclean-vti distclean-info distclean-tags \
373 distclean-generic clean-am
375 maintainer-clean-am: maintainer-clean-vti maintainer-clean-info \
376 maintainer-clean-tags maintainer-clean-generic \
377 distclean-am
379 mostlyclean: mostlyclean-am mostlyclean-recursive
381 clean: clean-am clean-recursive
383 distclean: distclean-am distclean-recursive
384 rm -f config.status
386 maintainer-clean: maintainer-clean-am maintainer-clean-recursive
387 @echo "This command is intended for maintainers to use;"
388 @echo "it deletes files that may require special tools to rebuild."
389 rm -f config.status
391 .PHONY: default uninstall-binSCRIPTS install-binSCRIPTS \
392 uninstall-pkgdataSCRIPTS install-pkgdataSCRIPTS mostlyclean-vti \
393 distclean-vti clean-vti maintainer-clean-vti install-info \
394 uninstall-info mostlyclean-info distclean-info clean-info \
395 maintainer-clean-info uninstall-pkgdataDATA install-pkgdataDATA \
396 install-data-recursive uninstall-data-recursive install-exec-recursive \
397 uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
398 all-recursive check-recursive installcheck-recursive info-recursive \
399 dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
400 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
401 distclean-tags clean-tags maintainer-clean-tags distdir info dvi check \
402 installcheck-local installcheck all-am install-exec-am install-data-am \
403 uninstall-am install-exec install-data install uninstall all \
404 installdirs mostlyclean-generic distclean-generic clean-generic \
405 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
408 # Check to make sure some installed files are executable.
409 installcheck-local:
410 $(PERL) -e "exit ! -x '$(pkgdatadir)/config.guess';"
411 $(PERL) -e "exit ! -x '$(pkgdatadir)/config.sub';"
412 $(PERL) -e "exit ! -x '$(pkgdatadir)/install-sh';"
413 $(PERL) -e "exit ! -x '$(pkgdatadir)/mdate-sh';"
414 $(PERL) -e "exit ! -x '$(pkgdatadir)/mkinstalldirs';"
416 # Some simple checks, and then ordinary check. These are only really
417 # guaranteed to work on my machine.
418 maintainer-check: automake
419 $(PERL) -c -w automake
420 @if grep '^[^#].*true' $(srcdir)/[a-z]*.am; then \
421 echo "can't use 'true' in GNU Makefile" 1>&2; \
422 exit 1; \
423 else :; fi
424 @if test `fgrep '$${' $(srcdir)/[a-z]*.am | fgrep -v '$$$$' | wc -l` -ne 0; then \
425 echo "found too many uses of '\$${'" 1>&2; \
426 exit 1; \
427 else :; fi
428 @if test `fgrep 'mkinstalldirs' $(srcdir)/[a-z]*.am | fgrep -v '$$(mkinstalldirs)' | wc -l` -ne 0; then \
429 echo "found incorrect use of mkinstalldirs" 1>&2; \
430 exit 1; \
431 else :; fi
432 @if $(SHELL) -c 'perl4.036 -v' >/dev/null 2>&1; then \
433 perl4.036 -c -w automake; \
434 else :; fi
435 $(MAKE) check
437 # Tag before making distribution. Also, don't make a distribution if
438 # checks fail. Also, make sure the NEWS file is up-to-date.
439 cvs-dist: maintainer-check
440 @if sed 1q $(srcdir)/NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
441 echo "NEWS not updated; not releasing" 1>&2; \
442 exit 1; \
444 cvs -q tag `echo "Release-$(VERSION)" | sed 's/\./-/g'`
445 $(MAKE) dist
447 cvs-diff:
448 thisver=`echo "Release-$(VERSION)" | sed 's/\./-/g'`; \
449 prevno=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
450 prevver=Release-`echo $$prevno | sed 's/\./-/g'`; \
451 cvs -f rdiff -c -r $$prevver -r $$thisver $(PACKAGE) \
452 > $(PACKAGE)-$$prevno-$(VERSION).diff
453 .SUFFIXES:
454 .SUFFIXES: .texi .info .dvi
456 # Tell versions [3.59,3.63) of GNU make to not export all variables.
457 # Otherwise a system limit (for SysV at least) may be exceeded.
458 .NOEXPORT: