Bug fix
[automake.git] / Makefile.in
blobf33aae8ea00349dd688df3ae619a784128a4e725
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 m4
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.in aclocal.m4 automake.in \
86 config.guess config.sub configure configure.in install-sh mdate-sh \
87 mkinstalldirs 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
115 aclocal: $(top_builddir)/config.status aclocal.in
116 cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status
118 install-binSCRIPTS: $(bin_SCRIPTS)
119 $(mkinstalldirs) $(bindir)
120 list="$(bin_SCRIPTS)"; for p in $$list; do \
121 if test -f $$p; then \
122 $(INSTALL_SCRIPT) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
123 else if test -f $(srcdir)/$$p; then \
124 $(INSTALL_SCRIPT) $(srcdir)/$$p \
125 $(bindir)/`echo $$p|sed '$(transform)'`; \
126 else :; fi; fi; \
127 done
129 uninstall-binSCRIPTS:
130 list="$(bin_SCRIPTS)"; for p in $$list; do \
131 rm -f $(bindir)/`echo $$p|sed '$(transform)'`; \
132 done
134 install-pkgdataSCRIPTS: $(pkgdata_SCRIPTS)
135 $(mkinstalldirs) $(pkgdatadir)
136 list="$(pkgdata_SCRIPTS)"; for p in $$list; do \
137 if test -f $$p; then \
138 $(INSTALL_SCRIPT) $$p $(pkgdatadir)/`echo $$p|sed '$(transform)'`; \
139 else if test -f $(srcdir)/$$p; then \
140 $(INSTALL_SCRIPT) $(srcdir)/$$p \
141 $(pkgdatadir)/`echo $$p|sed '$(transform)'`; \
142 else :; fi; fi; \
143 done
145 uninstall-pkgdataSCRIPTS:
146 list="$(pkgdata_SCRIPTS)"; for p in $$list; do \
147 rm -f $(pkgdatadir)/`echo $$p|sed '$(transform)'`; \
148 done
150 version.texi: stamp-vti
152 stamp-vti: automake.texi $(top_srcdir)/configure.in
153 echo "@set UPDATED `cd $(srcdir) \
154 && $(SHELL) ./mdate-sh automake.texi`" > vti.tmp
155 echo "@set EDITION $(VERSION)" >> vti.tmp
156 echo "@set VERSION $(VERSION)" >> vti.tmp
157 if cmp -s vti.tmp $(srcdir)/version.texi; then \
158 rm vti.tmp; \
159 else \
160 mv vti.tmp $(srcdir)/version.texi; \
162 echo timestamp > $(srcdir)/stamp-vti
164 mostlyclean-vti:
165 rm -f vti.tmp
167 clean-vti:
169 distclean-vti:
171 maintainer-clean-vti:
172 rm -f stamp-vti version.texi
174 automake.info: automake.texi version.texi
177 .texi.info:
178 $(MAKEINFO) -I$(srcdir) $< -o $(srcdir)/$@
180 .texi.dvi:
181 TEXINPUTS=$(srcdir):$$TEXINPUTS $(TEXI2DVI) $<
183 install-info: $(INFO_DEPS)
184 $(mkinstalldirs) $(infodir)
185 for file in $(INFO_DEPS); do \
186 for ifile in `cd $(srcdir) && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
187 if test -f $(srcdir)/$$ifile; then \
188 $(INSTALL_DATA) $(srcdir)/$$ifile $(infodir)/$$ifile; \
189 else : ; fi; \
190 done; \
191 done
193 uninstall-info:
194 cd $(srcdir) && for file in *.info*; do \
195 rm -f $(infodir)/$$file; \
196 done
198 mostlyclean-info:
199 rm -f automake.aux automake.cp automake.cps automake.dvi automake.fn \
200 automake.fns automake.ky automake.log automake.pg \
201 automake.toc automake.tp automake.vr automake.op
203 clean-info:
205 distclean-info:
207 maintainer-clean-info:
208 rm -f $(INFOS)
210 install-pkgdataDATA: $(pkgdata_DATA)
211 $(mkinstalldirs) $(pkgdatadir)
212 list="$(pkgdata_DATA)"; for p in $$list; do \
213 if test -f $(srcdir)/$$p; then \
214 $(INSTALL_DATA) $(srcdir)/$$p $(pkgdatadir)/$$p; \
215 else if test -f $$p; then \
216 $(INSTALL_DATA) $$p $(pkgdatadir)/$$p; \
217 fi; fi; \
218 done
220 uninstall-pkgdataDATA:
221 list="$(pkgdata_DATA)"; for p in $$list; do \
222 rm -f $(pkgdatadir)/$$p; \
223 done
225 # This directory's subdirectories are mostly independent; you can cd
226 # into them and run `make' without going through this Makefile.
227 # To change the values of `make' variables: instead of editing Makefiles,
228 # (1) if the variable is set in `config.status', edit `config.status'
229 # (which will cause the Makefiles to be regenerated when you run `make');
230 # (2) otherwise, pass the desired values on the `make' command line.
232 @SET_MAKE@
234 all-recursive install-data-recursive install-exec-recursive \
235 installdirs-recursive install-recursive uninstall-recursive \
236 check-recursive installcheck-recursive info-recursive dvi-recursive \
237 mostlyclean-recursive clean-recursive distclean-recursive \
238 maintainer-clean-recursive:
239 for subdir in $(SUBDIRS); do \
240 target=`echo $@ | sed s/-recursive//`; \
241 echo making $$target in $$subdir; \
242 (cd $$subdir && $(MAKE) $$target) \
243 || case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac; \
244 done && test -z "$$fail"
246 tags: TAGS
248 tags-recursive:
249 list="$(SUBDIRS)"; for subdir in $$list; do \
250 (cd $$subdir && $(MAKE) tags); \
251 done
253 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(CONFIG_HEADER) \
254 $(TAGS_DEPENDENCIES)
255 tags=; \
256 here=`pwd`; \
257 for subdir in $(SUBDIRS); do \
258 test -f $$subdir/TAGS && { \
259 tags="$$tags -i $$here/$$subdir/TAGS"; \
261 done; \
262 test -z "$(ETAGS_ARGS)$(CONFIG_HEADER)$(SOURCES)$(HEADERS)$$tags" \
263 || etags $(ETAGS_ARGS) $$tags $(CONFIG_HEADER) $(SOURCES) $(HEADERS)
265 mostlyclean-tags:
267 clean-tags:
269 distclean-tags:
270 rm -f TAGS ID
272 maintainer-clean-tags:
274 distdir = $(PACKAGE)-$(VERSION)
275 # This target untars the dist file and tries a VPATH configuration. Then
276 # it guarantees that the distribution is self-contained by making another
277 # tarfile.
278 distcheck: dist
279 rm -rf $(distdir)
280 $(TAR) zxf $(distdir).tar.gz
281 mkdir $(distdir)/=build
282 mkdir $(distdir)/=inst
283 dc_install_base=`cd $(distdir)/=inst && pwd`; \
284 cd $(distdir)/=build \
285 && ../configure --srcdir=.. --prefix=$$dc_install_base \
286 && $(MAKE) \
287 && $(MAKE) dvi \
288 && $(MAKE) check \
289 && $(MAKE) install \
290 && $(MAKE) installcheck \
291 && $(MAKE) dist
292 rm -rf $(distdir)
293 @echo "========================"; \
294 echo "$(distdir).tar.gz is ready for distribution"; \
295 echo "========================"
296 dist: distdir
297 chmod -R a+r $(distdir)
298 $(TAR) chozf $(distdir).tar.gz $(distdir)
299 rm -rf $(distdir)
300 distdir: $(DEP_DISTFILES)
301 @if sed 15q $(srcdir)/NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
302 echo "NEWS not updated; not releasing" 1>&2; \
303 exit 1; \
305 rm -rf $(distdir)
306 mkdir $(distdir)
307 chmod 777 $(distdir)
308 distdir=`cd $(distdir) && pwd` \
309 && cd $(srcdir) \
310 && automake --include-deps --output-dir=$$distdir --strictness=gnits
311 @for file in `cd $(srcdir) && echo $(DISTFILES)`; do \
312 test -f $(distdir)/$$file \
313 || ln $(srcdir)/$$file $(distdir)/$$file 2> /dev/null \
314 || cp -p $(srcdir)/$$file $(distdir)/$$file; \
315 done
316 for subdir in $(SUBDIRS); do \
317 test -d $(distdir)/$$subdir \
318 || mkdir $(distdir)/$$subdir \
319 || exit 1; \
320 chmod 777 $(distdir)/$$subdir; \
321 (cd $$subdir && $(MAKE) distdir=../$(distdir)/$$subdir distdir) \
322 || exit 1; \
323 done
324 info: $(INFO_DEPS) info-recursive
326 dvi: $(DVIS) dvi-recursive
328 check: check-recursive
330 installcheck: installcheck-recursive installcheck-local
332 all-am: $(INFO_DEPS) $(SCRIPTS) $(DATA) Makefile
334 install-exec-am: install-binSCRIPTS
336 install-data-am: install-info install-pkgdataSCRIPTS install-pkgdataDATA
338 uninstall-am: uninstall-binSCRIPTS uninstall-pkgdataSCRIPTS uninstall-info uninstall-pkgdataDATA
340 install-exec: install-exec-recursive install-exec-am
342 install-data: install-data-recursive install-data-am
344 install: install-recursive install-exec-am install-data-am
347 uninstall: uninstall-recursive uninstall-am
349 all: all-recursive all-am
351 install-strip:
352 $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install
353 installdirs: installdirs-recursive
354 $(mkinstalldirs) $(bindir) $(pkgdatadir) $(infodir) $(pkgdatadir)
357 mostlyclean-generic:
358 test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
360 clean-generic:
361 test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
363 distclean-generic:
364 rm -f Makefile $(DISTCLEANFILES)
365 rm -f config.cache config.log $(CONFIG_HEADER) stamp-h
367 maintainer-clean-generic:
368 test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
369 test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
370 mostlyclean-am: mostlyclean-vti mostlyclean-info mostlyclean-tags \
371 mostlyclean-generic
373 clean-am: clean-vti clean-info clean-tags clean-generic mostlyclean-am
375 distclean-am: distclean-vti distclean-info distclean-tags \
376 distclean-generic clean-am
378 maintainer-clean-am: maintainer-clean-vti maintainer-clean-info \
379 maintainer-clean-tags maintainer-clean-generic \
380 distclean-am
382 mostlyclean: mostlyclean-am mostlyclean-recursive
384 clean: clean-am clean-recursive
386 distclean: distclean-am distclean-recursive
387 rm -f config.status
389 maintainer-clean: maintainer-clean-am maintainer-clean-recursive
390 @echo "This command is intended for maintainers to use;"
391 @echo "it deletes files that may require special tools to rebuild."
392 rm -f config.status
394 .PHONY: default uninstall-binSCRIPTS install-binSCRIPTS \
395 uninstall-pkgdataSCRIPTS install-pkgdataSCRIPTS mostlyclean-vti \
396 distclean-vti clean-vti maintainer-clean-vti install-info \
397 uninstall-info mostlyclean-info distclean-info clean-info \
398 maintainer-clean-info uninstall-pkgdataDATA install-pkgdataDATA \
399 install-data-recursive uninstall-data-recursive install-exec-recursive \
400 uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
401 all-recursive check-recursive installcheck-recursive info-recursive \
402 dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
403 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
404 distclean-tags clean-tags maintainer-clean-tags distdir info dvi check \
405 installcheck-local installcheck all-am install-exec-am install-data-am \
406 uninstall-am install-exec install-data install uninstall all \
407 installdirs mostlyclean-generic distclean-generic clean-generic \
408 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
411 # Check to make sure some installed files are executable.
412 installcheck-local:
413 $(PERL) -e "exit ! -x '$(pkgdatadir)/config.guess';"
414 $(PERL) -e "exit ! -x '$(pkgdatadir)/config.sub';"
415 $(PERL) -e "exit ! -x '$(pkgdatadir)/install-sh';"
416 $(PERL) -e "exit ! -x '$(pkgdatadir)/mdate-sh';"
417 $(PERL) -e "exit ! -x '$(pkgdatadir)/mkinstalldirs';"
419 # Some simple checks, and then ordinary check. These are only really
420 # guaranteed to work on my machine.
421 maintainer-check: automake
422 $(PERL) -c -w automake
423 @if grep '^[^#].*true' $(srcdir)/[a-z]*.am; then \
424 echo "can't use 'true' in GNU Makefile" 1>&2; \
425 exit 1; \
426 else :; fi
427 @if test `fgrep '$${' $(srcdir)/[a-z]*.am | fgrep -v '$$$$' | wc -l` -ne 0; then \
428 echo "found too many uses of '\$${'" 1>&2; \
429 exit 1; \
430 else :; fi
431 @if test `fgrep 'mkinstalldirs' $(srcdir)/[a-z]*.am | fgrep -v '$$(mkinstalldirs)' | wc -l` -ne 0; then \
432 echo "found incorrect use of mkinstalldirs" 1>&2; \
433 exit 1; \
434 else :; fi
435 @if $(SHELL) -c 'perl4.036 -v' >/dev/null 2>&1; then \
436 perl4.036 -c -w automake; \
437 else :; fi
438 $(MAKE) check
440 # Tag before making distribution. Also, don't make a distribution if
441 # checks fail. Also, make sure the NEWS file is up-to-date.
442 cvs-dist: maintainer-check
443 @if sed 1q $(srcdir)/NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
444 echo "NEWS not updated; not releasing" 1>&2; \
445 exit 1; \
447 cvs -q tag `echo "Release-$(VERSION)" | sed 's/\./-/g'`
448 $(MAKE) dist
450 cvs-diff:
451 thisver=`echo "Release-$(VERSION)" | sed 's/\./-/g'`; \
452 prevno=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
453 prevver=Release-`echo $$prevno | sed 's/\./-/g'`; \
454 cvs -f rdiff -c -r $$prevver -r $$thisver $(PACKAGE) \
455 > $(PACKAGE)-$$prevno-$(VERSION).diff
456 .SUFFIXES:
457 .SUFFIXES: .texi .info .dvi
459 # Tell versions [3.59,3.63) of GNU make to not export all variables.
460 # Otherwise a system limit (for SysV at least) may be exceeded.
461 .NOEXPORT: