Don't require -lm everywhere
[automake.git] / Makefile.in
blob3e6bd043d2179c400c2974923b134190873aedeb
1 # Makefile.in generated automatically by automake 1.1f 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 aclocal
48 info_TEXINFOS = automake.texi
50 pkgdata_DATA = clean-kr.am clean.am compile-kr.am compile-vars.am \
51 compile.am data.am dejagnu.am depend.am depend2.am dist-vars.am footer.am \
52 header.am header-vars.am kr-extra.am libraries.am library.am \
53 mans-vars.am program.am programs.am remake-hdr.am remake-subd.am \
54 remake.am scripts.am subdirs.am tags.am tags-subd.am tags-clean.am \
55 texi-version.am texinfos-vars.am texinfos.am libraries-clean.am \
56 programs-clean.am data-clean.am COPYING INSTALL texinfo.tex ansi2knr.c \
57 ansi2knr.1 aclocal.m4 lisp.am lisp-clean.am
59 pkgdata_SCRIPTS = config.guess config.sub install-sh interlock mdate-sh \
60 mkinstalldirs elisp-comp ylwrap acinstall
62 EXTRA_DIST = acinstall $(pkgdata_DATA)
64 # The following requires a fixed version of the Emacs 19.30 etags.
65 ETAGS_ARGS = automake.in aclocal.in --lang=none \
66 --regex='/^@node[ \t]+\([^,]+\)/\1/' automake.texi
67 TAGS_DEPENDENCIES = automake.in aclocal.in automake.texi
68 ACLOCAL = aclocal.m4
69 mkinstalldirs = $(top_srcdir)/mkinstalldirs
70 CONFIG_CLEAN_FILES = automake aclocal
71 SCRIPTS = $(bin_SCRIPTS) $(pkgdata_SCRIPTS)
74 MAKEINFO = makeinfo
75 TEXI2DVI = texi2dvi
76 INFOS = automake.info automake.info[-0-9]*
77 INFO_DEPS = automake.info
78 DVIS = automake.dvi
79 TEXINFOS = automake.texi
80 DATA = $(pkgdata_DATA)
82 DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \
83 Makefile.in NEWS README THANKS TODO aclocal.in aclocal.m4 ansi2knr.1 \
84 ansi2knr.c automake.in config.guess config.sub configure configure.in \
85 elisp-comp install-sh interlock mdate-sh mkinstalldirs stamp-vti \
86 texinfo.tex version.texi ylwrap
89 PACKAGE = @PACKAGE@
90 VERSION = @VERSION@
92 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) \
93 $(TEXINFOS) $(INFOS) $(MANS) $(EXTRA_DIST)
94 DEP_DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) \
95 $(TEXINFOS) $(INFO_DEPS) $(MANS) $(EXTRA_DIST)
97 TAR = tar
98 default: all
100 aclocal.m4: configure.in
101 cd $(srcdir) && aclocal
103 $(srcdir)/Makefile.in: Makefile.am configure.in
104 cd $(srcdir) && automake --strictness=gnits Makefile
106 # For an explanation of the following Makefile rules, see node
107 # `Automatic Remaking' in GNU Autoconf documentation.
108 Makefile: Makefile.in config.status
109 CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status
110 config.status: configure
111 ./config.status --recheck
112 $(srcdir)/configure: configure.in $(ACLOCAL) $(CONFIGURE_DEPENDENCIES)
113 cd $(srcdir) && autoconf
114 automake: $(top_builddir)/config.status automake.in
115 cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status
116 aclocal: $(top_builddir)/config.status aclocal.in
117 cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status
119 install-binSCRIPTS: $(bin_SCRIPTS)
120 $(NORMAL_INSTALL)
121 $(mkinstalldirs) $(bindir)
122 list="$(bin_SCRIPTS)"; for p in $$list; do \
123 if test -f $$p; then \
124 $(INSTALL_SCRIPT) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
125 else if test -f $(srcdir)/$$p; then \
126 $(INSTALL_SCRIPT) $(srcdir)/$$p \
127 $(bindir)/`echo $$p|sed '$(transform)'`; \
128 else :; fi; fi; \
129 done
131 uninstall-binSCRIPTS:
132 list="$(bin_SCRIPTS)"; for p in $$list; do \
133 rm -f $(bindir)/`echo $$p|sed '$(transform)'`; \
134 done
136 install-pkgdataSCRIPTS: $(pkgdata_SCRIPTS)
137 $(NORMAL_INSTALL)
138 $(mkinstalldirs) $(pkgdatadir)
139 list="$(pkgdata_SCRIPTS)"; for p in $$list; do \
140 if test -f $$p; then \
141 $(INSTALL_SCRIPT) $$p $(pkgdatadir)/`echo $$p|sed '$(transform)'`; \
142 else if test -f $(srcdir)/$$p; then \
143 $(INSTALL_SCRIPT) $(srcdir)/$$p \
144 $(pkgdatadir)/`echo $$p|sed '$(transform)'`; \
145 else :; fi; fi; \
146 done
148 uninstall-pkgdataSCRIPTS:
149 list="$(pkgdata_SCRIPTS)"; for p in $$list; do \
150 rm -f $(pkgdatadir)/`echo $$p|sed '$(transform)'`; \
151 done
153 version.texi: stamp-vti
155 stamp-vti: automake.texi $(top_srcdir)/configure.in
156 echo "@set UPDATED `cd $(srcdir) \
157 && $(SHELL) ./mdate-sh automake.texi`" > vti.tmp
158 echo "@set EDITION $(VERSION)" >> vti.tmp
159 echo "@set VERSION $(VERSION)" >> vti.tmp
160 cmp -s vti.tmp $(srcdir)/version.texi || cp vti.tmp $(srcdir)/version.texi
161 rm vti.tmp
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
175 automake.dvi: automake.texi version.texi
178 .texi.info:
179 cd $(srcdir) \
180 && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
182 .texi.dvi:
183 TEXINPUTS=$(srcdir):$$TEXINPUTS $(TEXI2DVI) $<
185 .texinfo.info:
186 cd $(srcdir) \
187 && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
189 .texinfo.dvi:
190 TEXINPUTS=$(srcdir):$$TEXINPUTS $(TEXI2DVI) $<
192 install-info: $(INFO_DEPS)
193 $(NORMAL_INSTALL)
194 $(mkinstalldirs) $(infodir)
195 for file in $(INFO_DEPS); do \
196 for ifile in `cd $(srcdir) && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
197 if test -f $(srcdir)/$$ifile; then \
198 $(INSTALL_DATA) $(srcdir)/$$ifile $(infodir)/$$ifile; \
199 else : ; fi; \
200 done; \
201 done
203 uninstall-info:
204 cd $(srcdir) && for file in *.info*; do \
205 rm -f $(infodir)/$$file; \
206 done
208 mostlyclean-info:
209 rm -f automake.aux automake.cp automake.cps automake.dvi automake.fn \
210 automake.fns automake.ky automake.log automake.pg \
211 automake.toc automake.tp automake.vr automake.op
213 clean-info:
215 distclean-info:
217 maintainer-clean-info:
218 rm -f $(INFOS)
220 install-pkgdataDATA: $(pkgdata_DATA)
221 $(NORMAL_INSTALL)
222 $(mkinstalldirs) $(pkgdatadir)
223 list="$(pkgdata_DATA)"; for p in $$list; do \
224 if test -f $(srcdir)/$$p; then \
225 $(INSTALL_DATA) $(srcdir)/$$p $(pkgdatadir)/$$p; \
226 else if test -f $$p; then \
227 $(INSTALL_DATA) $$p $(pkgdatadir)/$$p; \
228 fi; fi; \
229 done
231 uninstall-pkgdataDATA:
232 list="$(pkgdata_DATA)"; for p in $$list; do \
233 rm -f $(pkgdatadir)/$$p; \
234 done
236 # This directory's subdirectories are mostly independent; you can cd
237 # into them and run `make' without going through this Makefile.
238 # To change the values of `make' variables: instead of editing Makefiles,
239 # (1) if the variable is set in `config.status', edit `config.status'
240 # (which will cause the Makefiles to be regenerated when you run `make');
241 # (2) otherwise, pass the desired values on the `make' command line.
243 @SET_MAKE@
245 all-recursive install-data-recursive install-exec-recursive \
246 installdirs-recursive install-recursive uninstall-recursive \
247 check-recursive installcheck-recursive info-recursive dvi-recursive \
248 mostlyclean-recursive clean-recursive distclean-recursive \
249 maintainer-clean-recursive:
250 for subdir in $(SUBDIRS); do \
251 target=`echo $@ | sed s/-recursive//`; \
252 (cd $$subdir && $(MAKE) $$target) \
253 || case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac; \
254 done && test -z "$$fail"
256 tags: TAGS
258 tags-recursive:
259 list="$(SUBDIRS)"; for subdir in $$list; do \
260 (cd $$subdir && $(MAKE) tags); \
261 done
263 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(CONFIG_HEADER) \
264 $(TAGS_DEPENDENCIES)
265 tags=; \
266 here=`pwd`; \
267 for subdir in $(SUBDIRS); do \
268 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
269 done; \
270 test -z "$(ETAGS_ARGS)$(CONFIG_HEADER)$(SOURCES)$(HEADERS)$$tags" \
271 || etags $(ETAGS_ARGS) $$tags $(CONFIG_HEADER) $(SOURCES) $(HEADERS)
273 mostlyclean-tags:
275 clean-tags:
277 distclean-tags:
278 rm -f TAGS ID
280 maintainer-clean-tags:
282 distdir = $(PACKAGE)-$(VERSION)
283 # This target untars the dist file and tries a VPATH configuration. Then
284 # it guarantees that the distribution is self-contained by making another
285 # tarfile.
286 distcheck: dist
287 rm -rf $(distdir)
288 $(TAR) zxf $(distdir).tar.gz
289 mkdir $(distdir)/=build
290 mkdir $(distdir)/=inst
291 dc_install_base=`cd $(distdir)/=inst && pwd`; \
292 cd $(distdir)/=build \
293 && ../configure --srcdir=.. --prefix=$$dc_install_base \
294 && $(MAKE) \
295 && $(MAKE) dvi \
296 && $(MAKE) check \
297 && $(MAKE) install \
298 && $(MAKE) installcheck \
299 && $(MAKE) dist
300 rm -rf $(distdir)
301 @echo "========================"; \
302 echo "$(distdir).tar.gz is ready for distribution"; \
303 echo "========================"
304 dist: distdir
305 -chmod -R a+r $(distdir)
306 $(TAR) chozf $(distdir).tar.gz $(distdir)
307 rm -rf $(distdir)
308 dist-all: distdir
309 -chmod -R a+r $(distdir)
310 $(TAR) chozf $(distdir).tar.gz $(distdir)
311 rm -rf $(distdir)
312 distdir: $(DEP_DISTFILES)
313 @if sed 15q $(srcdir)/NEWS | fgrep -e "$(VERSION)" > /dev/null; then :; else \
314 echo "NEWS not updated; not releasing" 1>&2; \
315 exit 1; \
317 rm -rf $(distdir)
318 mkdir $(distdir)
319 -chmod 755 $(distdir)
320 here=`pwd`; distdir=`cd $(distdir) && pwd` \
321 && cd $(srcdir) \
322 && automake --include-deps --build-dir=$$here --srcdir-name=$(srcdir) --output-dir=$$distdir --strictness=gnits
323 @for file in `cd $(srcdir) && echo $(DISTFILES)`; do \
324 test -f $(distdir)/$$file \
325 || ln $(srcdir)/$$file $(distdir)/$$file 2> /dev/null \
326 || cp -p $(srcdir)/$$file $(distdir)/$$file; \
327 done
328 for subdir in $(SUBDIRS); do \
329 test -d $(distdir)/$$subdir \
330 || mkdir $(distdir)/$$subdir \
331 || exit 1; \
332 chmod 755 $(distdir)/$$subdir; \
333 (cd $$subdir && $(MAKE) distdir=../$(distdir)/$$subdir distdir) \
334 || exit 1; \
335 done
336 info: $(INFO_DEPS) info-recursive
338 dvi: $(DVIS) dvi-recursive
340 check: check-recursive
342 installcheck: installcheck-recursive installcheck-local
344 all-am: $(INFO_DEPS) $(SCRIPTS) $(DATA) Makefile
346 install-exec-am: install-binSCRIPTS
348 install-data-am: install-info install-pkgdataSCRIPTS install-pkgdataDATA
350 uninstall-am: uninstall-binSCRIPTS uninstall-pkgdataSCRIPTS uninstall-info uninstall-pkgdataDATA
352 install-exec: install-exec-recursive install-exec-am
353 $(NORMAL_INSTALL)
355 install-data: install-data-recursive install-data-am
356 $(NORMAL_INSTALL)
358 install: install-recursive install-exec-am install-data-am
361 uninstall: uninstall-recursive uninstall-am
363 all: all-recursive all-am
365 install-strip:
366 $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install
367 installdirs: installdirs-recursive
368 $(mkinstalldirs) $(bindir) $(pkgdatadir) $(infodir) $(pkgdatadir)
371 mostlyclean-generic:
372 test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
374 clean-generic:
375 test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
377 distclean-generic:
378 rm -f Makefile $(DISTCLEANFILES)
379 rm -f config.cache config.log stamp-h
380 test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
382 maintainer-clean-generic:
383 test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
384 test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
385 mostlyclean-am: mostlyclean-vti mostlyclean-info mostlyclean-tags \
386 mostlyclean-generic
388 clean-am: clean-vti clean-info clean-tags clean-generic mostlyclean-am
390 distclean-am: distclean-vti distclean-info distclean-tags \
391 distclean-generic clean-am
393 maintainer-clean-am: maintainer-clean-vti maintainer-clean-info \
394 maintainer-clean-tags maintainer-clean-generic \
395 distclean-am
397 mostlyclean: mostlyclean-am mostlyclean-recursive
399 clean: clean-am clean-recursive
401 distclean: distclean-am distclean-recursive
402 rm -f config.status
404 maintainer-clean: maintainer-clean-am maintainer-clean-recursive
405 @echo "This command is intended for maintainers to use;"
406 @echo "it deletes files that may require special tools to rebuild."
407 rm -f config.status
409 .PHONY: default uninstall-binSCRIPTS install-binSCRIPTS \
410 uninstall-pkgdataSCRIPTS install-pkgdataSCRIPTS mostlyclean-vti \
411 distclean-vti clean-vti maintainer-clean-vti install-info \
412 uninstall-info mostlyclean-info distclean-info clean-info \
413 maintainer-clean-info uninstall-pkgdataDATA install-pkgdataDATA \
414 install-data-recursive uninstall-data-recursive install-exec-recursive \
415 uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
416 all-recursive check-recursive installcheck-recursive info-recursive \
417 dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
418 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
419 distclean-tags clean-tags maintainer-clean-tags distdir info dvi check \
420 installcheck-local installcheck all-am install-exec-am install-data-am \
421 uninstall-am install-exec install-data install uninstall all \
422 installdirs mostlyclean-generic distclean-generic clean-generic \
423 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
426 # Check to make sure some installed files are executable.
427 installcheck-local:
428 for file in $(pkgdata_SCRIPTS); do \
429 $(PERL) -e "exit ! -x '$(pkgdatadir)/$$file';" || exit 1; \
430 done
432 ################################################################
434 # Some simple checks, and then ordinary check. These are only really
435 # guaranteed to work on my machine.
436 maintainer-check: automake aclocal
437 $(PERL) -c -w automake
438 $(PERL) -c -w aclocal
439 @if grep '^[^#].*true' $(srcdir)/[a-z]*.am; then \
440 echo "can't use 'true' in GNU Makefile" 1>&2; \
441 exit 1; \
442 else :; fi
443 @if test `fgrep '$${' $(srcdir)/[a-z]*.am | fgrep -v '$$$$' | wc -l` -ne 0; then \
444 echo "found too many uses of '\$${'" 1>&2; \
445 exit 1; \
446 else :; fi
447 @if test `fgrep 'mkinstalldirs' $(srcdir)/[a-z]*.am | fgrep -v '$$(mkinstalldirs)' | wc -l` -ne 0; then \
448 echo "found incorrect use of mkinstalldirs" 1>&2; \
449 exit 1; \
450 else :; fi
451 @if $(SHELL) -c 'perl4.036 -v' >/dev/null 2>&1; then \
452 perl4.036 -c -w automake; \
453 perl4.036 -c -w aclocal; \
454 else :; fi
456 # Tag before making distribution. Also, don't make a distribution if
457 # checks fail. Also, make sure the NEWS file is up-to-date.
458 cvs-dist: maintainer-check distcheck
459 @if sed 1q $(srcdir)/NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
460 echo "NEWS not updated; not releasing" 1>&2; \
461 exit 1; \
463 cvs -q tag `echo "Release-$(VERSION)" | sed 's/\./-/g'`
464 $(MAKE) dist
466 cvs-diff:
467 thisver=`echo "Release-$(VERSION)" | sed 's/\./-/g'`; \
468 prevno=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
469 prevver=Release-`echo $$prevno | sed 's/\./-/g'`; \
470 cvs -f rdiff -c -r $$prevver -r $$thisver $(PACKAGE) \
471 > $(PACKAGE)-$$prevno-$(VERSION).diff
473 path-check: distdir
474 (cd $(distdir) && \
475 find . -print | xargs pathchk -p); \
476 status=$$?; \
477 rm -rf $(distdir); \
478 exit $$status
479 .SUFFIXES:
480 .SUFFIXES: .texi .texinfo .info .dvi
482 # Tell versions [3.59,3.63) of GNU make to not export all variables.
483 # Otherwise a system limit (for SysV at least) may be exceeded.
484 .NOEXPORT: