* automake.in (handle_ltlibraries): Also grep AM_LDFLAGS for `-module'.
[automake.git] / Makefile.in
blobb3d665579d7b33b71f6457190a17e355fba700d4
1 # Makefile.in generated by automake 1.7a from Makefile.am.
2 # @configure_input@
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
5 # Free Software Foundation, Inc.
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 # PARTICULAR PURPOSE.
15 @SET_MAKE@
17 srcdir = @srcdir@
18 top_srcdir = @top_srcdir@
19 VPATH = @srcdir@
20 pkgdatadir = $(datadir)/@PACKAGE@
21 pkglibdir = $(libdir)/@PACKAGE@
22 pkgincludedir = $(includedir)/@PACKAGE@
23 top_builddir = .
24 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
25 INSTALL = @INSTALL@
26 install_sh_DATA = $(install_sh) -c -m 644
27 install_sh_PROGRAM = $(install_sh) -c
28 install_sh_SCRIPT = $(install_sh) -c
29 INSTALL_HEADER = $(INSTALL_DATA)
30 transform = $(program_transform_name)
31 NORMAL_INSTALL = :
32 PRE_INSTALL = :
33 POST_INSTALL = :
34 NORMAL_UNINSTALL = :
35 PRE_UNINSTALL = :
36 POST_UNINSTALL = :
37 subdir = .
38 DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.in \
39 $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL \
40 Makefile.am NEWS THANKS TODO aclocal.m4 configure configure.ac
41 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
42 am__configure_deps = $(top_srcdir)/m4/amversion.m4 \
43 $(top_srcdir)/m4/auxdir.m4 $(top_srcdir)/m4/init.m4 \
44 $(top_srcdir)/m4/install-sh.m4 $(top_srcdir)/m4/lead-dot.m4 \
45 $(top_srcdir)/m4/missing.m4 $(top_srcdir)/m4/options.m4 \
46 $(top_srcdir)/m4/runlog.m4 $(top_srcdir)/m4/sanity.m4 \
47 $(top_srcdir)/m4/strip.m4
48 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
49 configure.lineno
50 mkinstalldirs = $(SHELL) $(top_srcdir)/lib/mkinstalldirs
51 CONFIG_CLEAN_FILES =
52 am__installdirs = $(DESTDIR)$(bindir)
53 binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
54 SCRIPTS = $(bin_SCRIPTS)
55 SOURCES =
56 DIST_SOURCES =
57 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
58 html-recursive info-recursive install-data-recursive \
59 install-exec-recursive install-info-recursive \
60 install-recursive installcheck-recursive installdirs-recursive \
61 pdf-recursive ps-recursive uninstall-info-recursive \
62 uninstall-recursive
63 ETAGS = etags
64 ETAGSFLAGS =
65 CTAGS = ctags
66 CTAGSFLAGS =
67 DIST_SUBDIRS = $(SUBDIRS)
68 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
69 distdir = $(PACKAGE)-$(VERSION)
70 top_distdir = $(distdir)
71 am__remove_distdir = \
72 { test ! -d $(distdir) \
73 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
74 && rm -fr $(distdir); }; }
75 DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
76 GZIP_ENV = --best
77 distuninstallcheck_listfiles = find . -type f -print
78 distcleancheck_listfiles = find . -type f -print
79 ACLOCAL = @ACLOCAL@
80 AMTAR = @AMTAR@
81 APIVERSION = @APIVERSION@
82 AUTOCONF = @AUTOCONF@
83 AUTOHEADER = @AUTOHEADER@
84 AUTOMAKE = @AUTOMAKE@
85 AWK = @AWK@
86 CYGPATH_W = @CYGPATH_W@
87 DEFS = @DEFS@
88 ECHO_C = @ECHO_C@
89 ECHO_N = @ECHO_N@
90 ECHO_T = @ECHO_T@
91 EGREP = @EGREP@
92 FGREP = @FGREP@
93 INSTALL_DATA = @INSTALL_DATA@
94 INSTALL_PROGRAM = @INSTALL_PROGRAM@
95 INSTALL_SCRIPT = @INSTALL_SCRIPT@
96 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
97 LIBOBJS = @LIBOBJS@
98 LIBS = @LIBS@
99 LN = @LN@
100 LTLIBOBJS = @LTLIBOBJS@
101 MAKEINFO = @MAKEINFO@
102 MODIFICATION_DELAY = @MODIFICATION_DELAY@
103 PACKAGE = @PACKAGE@
104 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
105 PACKAGE_NAME = @PACKAGE_NAME@
106 PACKAGE_STRING = @PACKAGE_STRING@
107 PACKAGE_TARNAME = @PACKAGE_TARNAME@
108 PACKAGE_VERSION = @PACKAGE_VERSION@
109 PATH_SEPARATOR = @PATH_SEPARATOR@
110 PERL = @PERL@
111 SET_MAKE = @SET_MAKE@
112 SHELL = @SHELL@
113 STRIP = @STRIP@
114 TEX = @TEX@
115 VERSION = @VERSION@
116 ac_ct_STRIP = @ac_ct_STRIP@
117 am__leading_dot = @am__leading_dot@
118 bindir = @bindir@
119 build = @build@
120 build_alias = @build_alias@
121 build_cpu = @build_cpu@
122 build_os = @build_os@
123 build_vendor = @build_vendor@
124 datadir = @datadir@
125 exec_prefix = @exec_prefix@
126 host_alias = @host_alias@
127 includedir = @includedir@
128 infodir = @infodir@
129 install_sh = @install_sh@
130 libdir = @libdir@
131 libexecdir = @libexecdir@
132 localstatedir = @localstatedir@
133 mandir = @mandir@
134 oldincludedir = @oldincludedir@
135 pkgvdatadir = @pkgvdatadir@
136 prefix = @prefix@
137 program_transform_name = @program_transform_name@
138 sbindir = @sbindir@
139 sharedstatedir = @sharedstatedir@
140 sysconfdir = @sysconfdir@
141 target_alias = @target_alias@
142 SUBDIRS = . doc m4 lib tests
143 bin_SCRIPTS = automake aclocal
144 CLEANFILES = $(bin_SCRIPTS)
145 AUTOMAKESOURCES = automake.in aclocal.in
146 TAGS_FILES = $(AUTOMAKESOURCES)
147 EXTRA_DIST = ChangeLog.96 ChangeLog.98 ChangeLog.00 ChangeLog.01 ChangeLog.02 \
148 $(AUTOMAKESOURCES)
150 do_subst = sed -e 's,[@]datadir[@],$(datadir),g' -e 's,[@]PERL[@],$(PERL),g' \
151 -e 's,[@]configure_input[@],@configure_input@,g' \
152 -e 's,[@]PACKAGE[@],$(PACKAGE),g' \
153 -e 's,[@]VERSION[@],$(VERSION),g' \
154 -e 's,[@]APIVERSION[@],$(APIVERSION),g' \
155 -e 's,[@]SHELL[@],$(SHELL),g'
157 WGET = wget
158 FETCHFILES = \
159 INSTALL \
160 config-ml.in \
161 config.guess \
162 config.sub \
163 symlink-tree \
164 texinfo.tex
166 all: all-recursive
168 .SUFFIXES:
169 am--refresh:
171 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4) $(am__configure_deps)
172 @for dep in $?; do \
173 case '$(top_srcdir)/configure.ac $(ACLOCAL_M4) $(am__configure_deps)' in \
174 *$$dep*) \
175 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
176 cd $(srcdir) && $(AUTOMAKE) --gnu \
177 && exit 0; \
178 exit 1;; \
179 esac; \
180 done; \
181 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
182 cd $(top_srcdir) && \
183 $(AUTOMAKE) --gnu Makefile
184 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
185 @case '$?' in \
186 *config.status*) \
187 echo ' $(SHELL) ./config.status'; \
188 $(SHELL) ./config.status;; \
189 *) \
190 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
191 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
192 esac;
194 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
195 $(SHELL) ./config.status --recheck
197 $(top_srcdir)/configure: $(top_srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) $(am__configure_deps)
198 cd $(srcdir) && $(AUTOCONF)
199 $(ACLOCAL_M4): $(top_srcdir)/configure.ac $(am__configure_deps)
200 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
201 install-binSCRIPTS: $(bin_SCRIPTS)
202 @$(NORMAL_INSTALL)
203 $(mkinstalldirs) $(DESTDIR)$(bindir)
204 @list='$(bin_SCRIPTS)'; for p in $$list; do \
205 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
206 if test -f $$d$$p; then \
207 f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
208 echo " $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f"; \
209 $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f; \
210 else :; fi; \
211 done
213 uninstall-binSCRIPTS:
214 @$(NORMAL_UNINSTALL)
215 @list='$(bin_SCRIPTS)'; for p in $$list; do \
216 f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
217 echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
218 rm -f $(DESTDIR)$(bindir)/$$f; \
219 done
220 uninstall-info-am:
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.
228 $(RECURSIVE_TARGETS):
229 @set fnord $$MAKEFLAGS; amf=$$2; \
230 dot_seen=no; \
231 target=`echo $@ | sed s/-recursive//`; \
232 list='$(SUBDIRS)'; for subdir in $$list; do \
233 echo "Making $$target in $$subdir"; \
234 if test "$$subdir" = "."; then \
235 dot_seen=yes; \
236 local_target="$$target-am"; \
237 else \
238 local_target="$$target"; \
239 fi; \
240 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
241 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
242 done; \
243 if test "$$dot_seen" = "no"; then \
244 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
245 fi; test -z "$$fail"
247 mostlyclean-recursive clean-recursive distclean-recursive \
248 maintainer-clean-recursive:
249 @set fnord $$MAKEFLAGS; amf=$$2; \
250 dot_seen=no; \
251 case "$@" in \
252 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
253 *) list='$(SUBDIRS)' ;; \
254 esac; \
255 rev=''; for subdir in $$list; do \
256 if test "$$subdir" = "."; then :; else \
257 rev="$$subdir $$rev"; \
258 fi; \
259 done; \
260 rev="$$rev ."; \
261 target=`echo $@ | sed s/-recursive//`; \
262 for subdir in $$rev; do \
263 echo "Making $$target in $$subdir"; \
264 if test "$$subdir" = "."; then \
265 local_target="$$target-am"; \
266 else \
267 local_target="$$target"; \
268 fi; \
269 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
270 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
271 done && test -z "$$fail"
272 tags-recursive:
273 list='$(SUBDIRS)'; for subdir in $$list; do \
274 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
275 done
276 ctags-recursive:
277 list='$(SUBDIRS)'; for subdir in $$list; do \
278 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
279 done
281 tags: TAGS
283 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
284 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
285 unique=`for i in $$list; do \
286 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
287 done | \
288 $(AWK) ' { files[$$0] = 1; } \
289 END { for (i in files) print i; }'`; \
290 mkid -fID $$unique
292 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
293 $(TAGS_FILES) $(LISP)
294 tags=; \
295 here=`pwd`; \
296 if (etags --etags-include --version) >/dev/null 2>&1; then \
297 include_option=--etags-include; \
298 else \
299 include_option=--include; \
300 fi; \
301 list='$(SUBDIRS)'; for subdir in $$list; do \
302 if test "$$subdir" = .; then :; else \
303 test -f $$subdir/TAGS && \
304 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
305 fi; \
306 done; \
307 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
308 unique=`for i in $$list; do \
309 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
310 done | \
311 $(AWK) ' { files[$$0] = 1; } \
312 END { for (i in files) print i; }'`; \
313 test -z "$(ETAGS_ARGS)$$tags$$unique" \
314 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
315 $$tags $$unique
317 ctags: CTAGS
318 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
319 $(TAGS_FILES) $(LISP)
320 tags=; \
321 here=`pwd`; \
322 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
323 unique=`for i in $$list; do \
324 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
325 done | \
326 $(AWK) ' { files[$$0] = 1; } \
327 END { for (i in files) print i; }'`; \
328 test -z "$(CTAGS_ARGS)$$tags$$unique" \
329 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
330 $$tags $$unique
332 GTAGS:
333 here=`$(am__cd) $(top_builddir) && pwd` \
334 && cd $(top_srcdir) \
335 && gtags -i $(GTAGS_ARGS) $$here
337 distclean-tags:
338 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
340 distdir: $(DISTFILES)
341 $(am__remove_distdir)
342 mkdir $(distdir)
343 $(mkinstalldirs) $(distdir)/m4 $(distdir)/tests
344 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
345 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
346 list='$(DISTFILES)'; for file in $$list; do \
347 case $$file in \
348 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
349 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
350 esac; \
351 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
352 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
353 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
354 dir="/$$dir"; \
355 $(mkinstalldirs) "$(distdir)$$dir"; \
356 else \
357 dir=''; \
358 fi; \
359 if test -d $$d/$$file; then \
360 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
361 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
362 fi; \
363 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
364 else \
365 test -f $(distdir)/$$file \
366 || cp -p $$d/$$file $(distdir)/$$file \
367 || exit 1; \
368 fi; \
369 done
370 list='$(SUBDIRS)'; for subdir in $$list; do \
371 if test "$$subdir" = .; then :; else \
372 test -d "$(distdir)/$$subdir" \
373 || mkdir "$(distdir)/$$subdir" \
374 || exit 1; \
375 (cd $$subdir && \
376 $(MAKE) $(AM_MAKEFLAGS) \
377 top_distdir="../$(top_distdir)" \
378 distdir="../$(distdir)/$$subdir" \
379 distdir) \
380 || exit 1; \
381 fi; \
382 done
383 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
384 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
385 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
386 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
387 || chmod -R a+r $(distdir)
388 dist-gzip: distdir
389 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
390 $(am__remove_distdir)
391 dist-bzip2: distdir
392 $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
393 $(am__remove_distdir)
395 dist-tarZ: distdir
396 $(AMTAR) chof - $(distdir) | compress -c >$(distdir).tar.Z
397 $(am__remove_distdir)
399 dist-shar: distdir
400 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
401 $(am__remove_distdir)
403 dist-zip: distdir
404 -rm -f $(distdir).zip
405 zip -rq $(distdir).zip $(distdir)
406 $(am__remove_distdir)
408 dist dist-all: distdir
409 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
410 $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
411 $(am__remove_distdir)
413 # This target untars the dist file and tries a VPATH configuration. Then
414 # it guarantees that the distribution is self-contained by making another
415 # tarfile.
416 distcheck: dist
417 case '$(DIST_ARCHIVES)' in \
418 *.tar.gz*) \
419 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - ;;\
420 *.tar.bz2*) \
421 bunzip2 -c $(distdir).tar.bz2 | $(AMTAR) xf - ;;\
422 *.tar.Z*) \
423 uncompress -c $(distdir).tar.Z | $(AMTAR) xf - ;;\
424 *.shar.gz*) \
425 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | unshar ;;\
426 *.zip*) \
427 unzip $(distdir).zip ;;\
428 esac
429 chmod -R a-w $(distdir); chmod a+w $(distdir)
430 mkdir $(distdir)/_build
431 mkdir $(distdir)/_inst
432 chmod a-w $(distdir)
433 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
434 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
435 && cd $(distdir)/_build \
436 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
437 $(DISTCHECK_CONFIGURE_FLAGS) \
438 && $(MAKE) $(AM_MAKEFLAGS) \
439 && $(MAKE) $(AM_MAKEFLAGS) dvi \
440 && $(MAKE) $(AM_MAKEFLAGS) check \
441 && $(MAKE) $(AM_MAKEFLAGS) install \
442 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
443 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
444 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
445 distuninstallcheck \
446 && chmod -R a-w "$$dc_install_base" \
447 && ({ \
448 (cd ../.. && $(mkinstalldirs) "$$dc_destdir") \
449 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
450 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
451 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
452 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
453 } || { rm -rf "$$dc_destdir"; exit 1; }) \
454 && rm -rf "$$dc_destdir" \
455 && $(MAKE) $(AM_MAKEFLAGS) dist \
456 && rm -rf $(DIST_ARCHIVES) \
457 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
458 $(am__remove_distdir)
459 @(echo "$(distdir) archives ready for distribution: "; \
460 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
461 sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
462 distuninstallcheck:
463 @cd $(distuninstallcheck_dir) \
464 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
465 || { echo "ERROR: files left after uninstall:" ; \
466 if test -n "$(DESTDIR)"; then \
467 echo " (check DESTDIR support)"; \
468 fi ; \
469 $(distuninstallcheck_listfiles) ; \
470 exit 1; } >&2
471 distcleancheck: distclean
472 @if test '$(srcdir)' = . ; then \
473 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
474 exit 1 ; \
476 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
477 || { echo "ERROR: files left in build directory after distclean:" ; \
478 $(distcleancheck_listfiles) ; \
479 exit 1; } >&2
480 check-am: all-am
481 check: check-recursive
482 all-am: Makefile $(SCRIPTS)
483 installdirs: installdirs-recursive
484 installdirs-am:
485 $(mkinstalldirs) $(DESTDIR)$(bindir)
486 install: install-recursive
487 install-exec: install-exec-recursive
488 install-data: install-data-recursive
489 uninstall: uninstall-recursive
491 install-am: all-am
492 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
494 installcheck: installcheck-recursive
495 install-strip:
496 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
497 INSTALL_STRIP_FLAG=-s \
498 `test -z '$(STRIP)' || \
499 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
500 mostlyclean-generic:
502 clean-generic:
503 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
505 distclean-generic:
506 -rm -f $(CONFIG_CLEAN_FILES)
508 maintainer-clean-generic:
509 @echo "This command is intended for maintainers to use"
510 @echo "it deletes files that may require special tools to rebuild."
511 clean: clean-recursive
513 clean-am: clean-generic mostlyclean-am
515 distclean: distclean-recursive
516 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
517 -rm -f Makefile
518 distclean-am: clean-am distclean-generic distclean-tags
520 dvi: dvi-recursive
522 dvi-am:
524 html: html-recursive
526 info: info-recursive
528 info-am:
530 install-data-am:
532 install-exec-am: install-binSCRIPTS
533 @$(NORMAL_INSTALL)
534 $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
536 install-info: install-info-recursive
538 install-man:
540 installcheck-am:
542 maintainer-clean: maintainer-clean-recursive
543 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
544 -rm -rf $(top_srcdir)/autom4te.cache
545 -rm -f Makefile
546 maintainer-clean-am: distclean-am maintainer-clean-generic
548 mostlyclean: mostlyclean-recursive
550 mostlyclean-am: mostlyclean-generic
552 pdf: pdf-recursive
554 pdf-am:
556 ps: ps-recursive
558 ps-am:
560 uninstall-am: uninstall-binSCRIPTS uninstall-info-am
561 @$(NORMAL_INSTALL)
562 $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
564 uninstall-info: uninstall-info-recursive
566 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
567 check-am clean clean-generic clean-recursive ctags \
568 ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-shar \
569 dist-tarZ dist-zip distcheck distclean distclean-generic \
570 distclean-recursive distclean-tags distcleancheck distdir \
571 distuninstallcheck dvi dvi-am html html-am info info-am \
572 install install-am install-binSCRIPTS install-data \
573 install-data-am install-exec install-exec-am install-info \
574 install-info-am install-man install-strip installcheck \
575 installcheck-am installdirs installdirs-am maintainer-clean \
576 maintainer-clean-generic maintainer-clean-recursive \
577 mostlyclean mostlyclean-generic mostlyclean-recursive pdf \
578 pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
579 uninstall-binSCRIPTS uninstall-info-am
582 install-exec-hook:
583 @$(POST_INSTALL)
584 @for p in $(bin_SCRIPTS); do \
585 f="`echo $$p|sed '$(transform)'`"; \
586 fv="$$f-$(APIVERSION)"; \
587 rm -f $(DESTDIR)$(bindir)/$$fv; \
588 echo " $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv"; \
589 $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv; \
590 done
592 uninstall-hook:
593 @for p in $(bin_SCRIPTS); do \
594 f="`echo $$p|sed '$(transform)'`"; \
595 fv="$$f-$(APIVERSION)"; \
596 rm -f $(DESTDIR)$(bindir)/$$fv; \
597 done
599 automake: automake.in Makefile
600 $(do_subst) < $(srcdir)/automake.in > automake
601 chmod +x automake
603 aclocal: aclocal.in Makefile
604 $(do_subst) < $(srcdir)/aclocal.in > aclocal
605 chmod +x aclocal
607 INSTALL: lib/INSTALL
608 cp lib/INSTALL $@
610 ################################################################
612 # Some simple checks, and then ordinary check. These are only really
613 # guaranteed to work on my machine.
614 maintainer-check: automake aclocal
615 @if test `diff $(srcdir)/automake.in automake | wc -l` -ne 20; then \
616 echo "found too many diffs between automake.in and automake"; 1>&2; \
617 diff -c $(srcdir)/automake.in automake; \
618 exit 1; \
620 perllibdir=./lib:$(srcdir)/lib $(PERL) -c -w automake
621 perllibdir=./lib:$(srcdir)/lib $(PERL) -c -w aclocal
622 @if grep -F '$${' $(srcdir)/lib/am/[a-z]*.am | \
623 grep -F -v '$$$$'; then \
624 echo "Found too many uses of '\$${' in the lines above." 1>&2; \
625 exit 1; \
626 else :; fi
627 @if grep -E '\<rm ([^-]|\-[^f ]*\>)' \
628 $(srcdir)/lib/am/[a-z]*.am $(srcdir)/tests/*.test | \
629 grep -v '##'; then \
630 echo "Suspicious 'rm' invocation." 1>&2; \
631 exit 1; \
632 else :; fi
633 @if grep 'for .* in \$$(' $(srcdir)/lib/am/[a-z]*.am; then \
634 echo 'Use "list=$$(mumble); for var in $$$$list".' 1>&2 ; \
635 exit 1; \
636 else :; fi
637 @if grep -n 'mkinstalldirs' $(srcdir)/lib/am/[a-z]*.am | \
638 grep -F -v '$$(mkinstalldirs)'; then \
639 echo "Found incorrect use of mkinstalldirs in the lines above" 1>&2; \
640 exit 1; \
641 else :; fi
642 @if grep -n -w 'undef ' $(srcdir)/automake.in | \
643 grep -F -v 'undef $$/'; then \
644 echo "Found undef in automake.in; use delete instead" 1>&2; \
645 exit 1; \
647 @if grep -n 'split (/ /' $(srcdir)/automake.in; then \
648 echo "Found bad split in the lines above." 1>&2; \
649 exit 1; \
651 @if grep -n '^[^#]*` *cd ' $(srcdir)/automake.in \
652 $(srcdir)/lib/am/*.am; then \
653 echo "Consider using $$$$(am__cd) in the line above." 1>&2; \
654 exit 1; \
656 @if grep -Hn '[^) ] *= *@_' $(srcdir)/automake.in; then \
657 echo "Using @_ in a scalar context in the lines above." 1>&2; \
658 exit 1; \
660 @if grep '^[ \t]*local *(' $(srcdir)/automake.in; then \
661 echo "Don't use \`local' with parens: use several \`local' above." >&2; \
662 exit 1; \
664 @if grep -v '^[ \t]*local \$$_;' $(srcdir)/automake.in | \
665 grep '^[ \t]*local [^*]'; then \
666 echo "Please avoid \`local'." 1>&2; \
667 exit 1; \
669 @if grep '@AMDEP''_TRUE@' $(srcdir)/automake.in; then \
670 echo "Don't put AMDEP_TRUE substitution in automake.in" 1>&2; \
671 exit 1; \
673 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*make'; then \
674 echo 'Do not run "make" in the above tests. Use "$$MAKE" instead.' 1>&2; \
675 exit 1; \
677 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*autoconf'; then \
678 echo 'Do not run "autoconf" in the above tests. Use "$$AUTOCONF" instead.' 1>&2; \
679 exit 1; \
681 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*autoupdate'; then \
682 echo 'Do not run "autoupdate" in the above tests. Use "$$AUTOUPDATE" instead.' 1>&2; \
683 exit 1; \
685 @if grep -v '^#' $(srcdir)/tests/*.test | grep -E ':[ ]*automake([^:]|$$)'; then \
686 echo 'Do not run "automake" in the above tests. Use "$$AUTOMAKE" instead.' 1>&2; \
687 exit 1; \
689 @if grep -v '^#' $(srcdir)/tests/*.test | grep '\$$AUTOMAKE.*&&.*exit'; then \
690 echo 'Use AUTOMAKE_fails + grep to catch automake failures in the above tests.' 1>&2; \
691 exit 1; \
693 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*aclocal'; then \
694 echo 'Do not run "aclocal" in the above tests. Use "$$ACLOCAL" instead.' 1>&2; \
695 exit 1; \
697 @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*perl'; then \
698 echo 'Do not run "perl" in the above tests. Use "$$PERL" instead.' 1>&2; \
699 exit 1; \
701 @if grep -E '\$$MAKE .*(SHELL=.*=|=.*SHELL=)' $(srcdir)/tests/*.test; then \
702 echo 'Rewrite "$$MAKE foo=bar SHELL=$$SHELL" as "foo=bar $$MAKE -e SHELL=$$SHELL"' 1>&2; \
703 echo ' in the above lines, it is more portable.' 1>&2; \
704 exit 1; \
706 @if grep -v SHELL $(srcdir)/tests/*.test | grep '\$$MAKE .*=' ; then \
707 echo 'Rewrite "$$MAKE foo=bar" as "foo=bar $$MAKE -e" in the above lines,' 1>&2; \
708 echo 'it is more portable.' 1>&2; \
709 exit 1; \
711 @if grep 'SHELL=.*\$$MAKE' $(srcdir)/tests/*.test; then \
712 echo '$$MAKE ignores the SHELL envvar, use "$$MAKE SHELL=$$SHELL" in' 1>&2; \
713 echo 'the above lines.' 1>&2; \
714 exit 1; \
716 @if grep -E '\bsleep +[12345]\b' $(srcdir)/tests/*.test; then \
717 echo 'Do not use "sleep x" in the above tests. Use "$$sleep" instead.' 1>&2; \
718 exit 1; \
720 @if grep -E '\b[ef]grep\b' $(srcdir)/tests/*.test ; then \
721 echo 'Do not use egrep or fgrep in test cases. Use $$FGREP or $$EGREP.' 1>&2; \
722 exit 1; \
724 @if grep -E '\b[ef]grep\b' $(srcdir)/lib/am/*.am $(srcdir)/m4/*.m4; then \
725 echo 'Do not use egrep or fgrep in the above files, they are not portable.' 1>&2; \
726 exit 1; \
728 @if test `grep -E '^[^#]*@[A-Za-z_0-9]+@' aclocal | wc -l` -ne 0; then \
729 echo "Unresolved @...@ substitution in aclocal" 1>&2; \
730 exit 1; \
732 @if test `grep -E '^[^#]*@[A-Za-z_0-9]+@' automake | wc -l` -ne 0; then \
733 echo "Unresolved @...@ substitution in automake" 1>&2; \
734 exit 1; \
737 # Tag before making distribution. Also, don't make a distribution if
738 # checks fail. Also, make sure the NEWS file is up-to-date.
739 cvs-dist: maintainer-check distcheck
740 @if sed 1q $(srcdir)/NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
741 echo "NEWS not updated; not releasing" 1>&2; \
742 exit 1; \
744 cd $(srcdir) && cvs -q tag `echo "Release-$(VERSION)" | sed 's/\./-/g'`
745 $(MAKE) dist
747 cvs-diff:
748 thisver=`echo "Release-$(VERSION)" | sed 's/\./-/g'`; \
749 if test -z "$$OLDVERSION"; then \
750 prevno=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
751 else prevno="$$OLDVERSION"; fi; \
752 prevver=Release-`echo $$prevno | sed 's/\./-/g'`; \
753 cvs -f rdiff -c -r $$prevver -r $$thisver $(PACKAGE) \
754 > $(PACKAGE)-$$prevno-$(VERSION).diff
756 path-check: distdir
757 (cd $(distdir) && \
758 find . -print | xargs pathchk -p); \
759 status=$$?; \
760 chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir); \
761 exit $$status
763 fetch:
764 rm -rf Fetchdir > /dev/null 2>&1
765 mkdir Fetchdir
766 (cd Fetchdir && \
767 $(WGET) ftp://ftp.gnu.org/gnu/config/config.guess; \
768 $(WGET) ftp://ftp.gnu.org/gnu/config/config.sub; \
769 $(WGET) ftp://ftp.gnu.org/gnu/texinfo/texinfo.tex; \
770 $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/autoconf/autoconf/INSTALL?content-type=text/plain -O INSTALL; \
771 $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/gcc/gcc/config-ml.in; \
772 $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/gcc/gcc/symlink-tree)
773 perl -pi -e 's/Autom4te::/Automake::/g' \
774 Fetchdir/Automake/Struct.pm Fetchdir/Automake/XFile.pm
775 @stat=0; for file in $(FETCHFILES); do \
776 if diff -u $(srcdir)/lib/$$file Fetchdir/$$file \
777 >>Fetchdir/update.patch 2>/dev/null; then :; \
778 else \
779 stat=1; \
780 echo "Updating $(srcdir)/lib/$$file..."; \
781 cp Fetchdir/$$file $(srcdir)/lib/$$file; \
782 fi; \
783 done; \
784 test $$stat = 1 && \
785 echo "See Fetchdir/update.patch for a log of the changes."; \
786 exit $$stat
787 # Tell versions [3.59,3.63) of GNU make to not export all variables.
788 # Otherwise a system limit (for SysV at least) may be exceeded.
789 .NOEXPORT: