1 | # Makefile.in generated by automake 1.7.9 from Makefile.am.
|
---|
2 | # @configure_input@
|
---|
3 |
|
---|
4 | # Copyright 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.
|
---|
9 |
|
---|
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.
|
---|
14 |
|
---|
15 | @SET_MAKE@
|
---|
16 |
|
---|
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 |
|
---|
25 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
---|
26 | INSTALL = @INSTALL@
|
---|
27 | install_sh_DATA = $(install_sh) -c -m 644
|
---|
28 | install_sh_PROGRAM = $(install_sh) -c
|
---|
29 | install_sh_SCRIPT = $(install_sh) -c
|
---|
30 | INSTALL_HEADER = $(INSTALL_DATA)
|
---|
31 | transform = $(program_transform_name)
|
---|
32 | NORMAL_INSTALL = :
|
---|
33 | PRE_INSTALL = :
|
---|
34 | POST_INSTALL = :
|
---|
35 | NORMAL_UNINSTALL = :
|
---|
36 | PRE_UNINSTALL = :
|
---|
37 | POST_UNINSTALL = :
|
---|
38 | ACLOCAL = @ACLOCAL@
|
---|
39 | AMTAR = @AMTAR@
|
---|
40 | APIVERSION = @APIVERSION@
|
---|
41 | AUTOCONF = @AUTOCONF@
|
---|
42 | AUTOHEADER = @AUTOHEADER@
|
---|
43 | AUTOMAKE = @AUTOMAKE@
|
---|
44 | AWK = @AWK@
|
---|
45 | CYGPATH_W = @CYGPATH_W@
|
---|
46 | DEFS = @DEFS@
|
---|
47 | ECHO_C = @ECHO_C@
|
---|
48 | ECHO_N = @ECHO_N@
|
---|
49 | ECHO_T = @ECHO_T@
|
---|
50 | EGREP = @EGREP@
|
---|
51 | FGREP = @FGREP@
|
---|
52 | INSTALL_DATA = @INSTALL_DATA@
|
---|
53 | INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
---|
54 | INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
---|
55 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
---|
56 | LIBOBJS = @LIBOBJS@
|
---|
57 | LIBS = @LIBS@
|
---|
58 | LN = @LN@
|
---|
59 | LTLIBOBJS = @LTLIBOBJS@
|
---|
60 | MAKEINFO = @MAKEINFO@
|
---|
61 | PACKAGE = @PACKAGE@
|
---|
62 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
---|
63 | PACKAGE_NAME = @PACKAGE_NAME@
|
---|
64 | PACKAGE_STRING = @PACKAGE_STRING@
|
---|
65 | PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
---|
66 | PACKAGE_VERSION = @PACKAGE_VERSION@
|
---|
67 | PATH_SEPARATOR = @PATH_SEPARATOR@
|
---|
68 | PERL = @PERL@
|
---|
69 | SET_MAKE = @SET_MAKE@
|
---|
70 | SHELL = @SHELL@
|
---|
71 | STRIP = @STRIP@
|
---|
72 | TEX = @TEX@
|
---|
73 | VERSION = @VERSION@
|
---|
74 | ac_ct_STRIP = @ac_ct_STRIP@
|
---|
75 | am__leading_dot = @am__leading_dot@
|
---|
76 | bindir = @bindir@
|
---|
77 | build_alias = @build_alias@
|
---|
78 | datadir = @datadir@
|
---|
79 | exec_prefix = @exec_prefix@
|
---|
80 | host_alias = @host_alias@
|
---|
81 | includedir = @includedir@
|
---|
82 | infodir = @infodir@
|
---|
83 | install_sh = @install_sh@
|
---|
84 | libdir = @libdir@
|
---|
85 | libexecdir = @libexecdir@
|
---|
86 | localstatedir = @localstatedir@
|
---|
87 | mandir = @mandir@
|
---|
88 | oldincludedir = @oldincludedir@
|
---|
89 | pkgvdatadir = @pkgvdatadir@
|
---|
90 | prefix = @prefix@
|
---|
91 | program_transform_name = @program_transform_name@
|
---|
92 | sbindir = @sbindir@
|
---|
93 | sharedstatedir = @sharedstatedir@
|
---|
94 | sysconfdir = @sysconfdir@
|
---|
95 | target_alias = @target_alias@
|
---|
96 |
|
---|
97 | SUBDIRS = . m4 lib tests
|
---|
98 |
|
---|
99 | bin_SCRIPTS = automake aclocal
|
---|
100 | info_TEXINFOS = automake.texi
|
---|
101 |
|
---|
102 | CLEANFILES = $(bin_SCRIPTS)
|
---|
103 | AUTOMAKESOURCES = automake.in aclocal.in
|
---|
104 |
|
---|
105 | TAGS_FILES = $(AUTOMAKESOURCES)
|
---|
106 |
|
---|
107 | # The following requires a fixed version of the Emacs 19.30 etags.
|
---|
108 | ETAGS_ARGS = --lang=none \
|
---|
109 | --regex='/^@node[ \t]+\([^,]+\)/\1/' $(srcdir)/automake.texi
|
---|
110 |
|
---|
111 | TAGS_DEPENDENCIES = automake.texi
|
---|
112 |
|
---|
113 | EXTRA_DIST = ChangeLog.96 ChangeLog.98 ChangeLog.00 ChangeLog.01 \
|
---|
114 | $(AUTOMAKESOURCES)
|
---|
115 |
|
---|
116 |
|
---|
117 | do_subst = sed -e 's,[@]datadir[@],$(datadir),g' -e 's,[@]PERL[@],$(PERL),g' \
|
---|
118 | -e 's,[@]configure_input[@],@configure_input@,g' \
|
---|
119 | -e 's,[@]PACKAGE[@],$(PACKAGE),g' \
|
---|
120 | -e 's,[@]VERSION[@],$(VERSION),g' \
|
---|
121 | -e 's,[@]APIVERSION[@],$(APIVERSION),g' \
|
---|
122 | -e 's,[@]SHELL[@],$(SHELL),g'
|
---|
123 |
|
---|
124 |
|
---|
125 | WGET = wget
|
---|
126 |
|
---|
127 | FETCHFILES = \
|
---|
128 | Automake/Struct.pm \
|
---|
129 | Automake/XFile.pm \
|
---|
130 | INSTALL \
|
---|
131 | config-ml.in \
|
---|
132 | config.guess \
|
---|
133 | config.sub \
|
---|
134 | symlink-tree \
|
---|
135 | texinfo.tex
|
---|
136 |
|
---|
137 | subdir = .
|
---|
138 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
---|
139 | mkinstalldirs = $(SHELL) $(top_srcdir)/lib/mkinstalldirs
|
---|
140 | CONFIG_CLEAN_FILES =
|
---|
141 | SCRIPTS = $(bin_SCRIPTS)
|
---|
142 |
|
---|
143 | DIST_SOURCES =
|
---|
144 | TEXINFO_TEX = $(top_srcdir)/lib/texinfo.tex
|
---|
145 | am__TEXINFO_TEX_DIR = $(top_srcdir)/lib
|
---|
146 | INFO_DEPS = automake.info
|
---|
147 | DVIS = automake.dvi
|
---|
148 | PDFS = automake.pdf
|
---|
149 | PSS = automake.ps
|
---|
150 | TEXINFOS = automake.texi
|
---|
151 |
|
---|
152 | RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
|
---|
153 | ps-recursive install-info-recursive uninstall-info-recursive \
|
---|
154 | all-recursive install-data-recursive install-exec-recursive \
|
---|
155 | installdirs-recursive install-recursive uninstall-recursive \
|
---|
156 | check-recursive installcheck-recursive
|
---|
157 | DIST_COMMON = README $(srcdir)/Makefile.in $(srcdir)/configure AUTHORS \
|
---|
158 | COPYING ChangeLog INSTALL Makefile.am NEWS THANKS TODO \
|
---|
159 | aclocal.m4 configure configure.in stamp-vti version.texi
|
---|
160 | DIST_SUBDIRS = $(SUBDIRS)
|
---|
161 | all: all-recursive
|
---|
162 |
|
---|
163 | .SUFFIXES:
|
---|
164 | .SUFFIXES: .dvi .info .pdf .ps .texi
|
---|
165 |
|
---|
166 | am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
|
---|
167 | configure.lineno
|
---|
168 | $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
---|
169 | cd $(top_srcdir) && \
|
---|
170 | $(AUTOMAKE) --gnu Makefile
|
---|
171 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
---|
172 | cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
|
---|
173 |
|
---|
174 | $(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
---|
175 | $(SHELL) ./config.status --recheck
|
---|
176 | $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
|
---|
177 | cd $(srcdir) && $(AUTOCONF)
|
---|
178 |
|
---|
179 | $(ACLOCAL_M4): configure.in
|
---|
180 | cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
|
---|
181 | binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
|
---|
182 | install-binSCRIPTS: $(bin_SCRIPTS)
|
---|
183 | @$(NORMAL_INSTALL)
|
---|
184 | $(mkinstalldirs) $(DESTDIR)$(bindir)
|
---|
185 | @list='$(bin_SCRIPTS)'; for p in $$list; do \
|
---|
186 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
---|
187 | if test -f $$d$$p; then \
|
---|
188 | f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
|
---|
189 | echo " $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f"; \
|
---|
190 | $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f; \
|
---|
191 | else :; fi; \
|
---|
192 | done
|
---|
193 |
|
---|
194 | uninstall-binSCRIPTS:
|
---|
195 | @$(NORMAL_UNINSTALL)
|
---|
196 | @list='$(bin_SCRIPTS)'; for p in $$list; do \
|
---|
197 | f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
|
---|
198 | echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
|
---|
199 | rm -f $(DESTDIR)$(bindir)/$$f; \
|
---|
200 | done
|
---|
201 |
|
---|
202 | .texi.info:
|
---|
203 | @rm -f $@ $@-[0-9] $@-[0-9][0-9] $(@:.info=).i[0-9] $(@:.info=).i[0-9][0-9]
|
---|
204 | $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
|
---|
205 | -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
|
---|
206 |
|
---|
207 | .texi.dvi:
|
---|
208 | TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
|
---|
209 | MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
|
---|
210 | $(TEXI2DVI) `test -f '$<' || echo '$(srcdir)/'`$<
|
---|
211 |
|
---|
212 | .texi.pdf:
|
---|
213 | TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
|
---|
214 | MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
|
---|
215 | $(TEXI2PDF) `test -f '$<' || echo '$(srcdir)/'`$<
|
---|
216 | automake.info: automake.texi version.texi
|
---|
217 | automake.dvi: automake.texi version.texi
|
---|
218 | automake.pdf: automake.texi version.texi
|
---|
219 | version.texi: stamp-vti
|
---|
220 | stamp-vti: automake.texi $(top_srcdir)/configure
|
---|
221 | @(dir=.; test -f ./automake.texi || dir=$(srcdir); \
|
---|
222 | set `$(SHELL) $(top_srcdir)/lib/mdate-sh $$dir/automake.texi`; \
|
---|
223 | echo "@set UPDATED $$1 $$2 $$3"; \
|
---|
224 | echo "@set UPDATED-MONTH $$2 $$3"; \
|
---|
225 | echo "@set EDITION $(VERSION)"; \
|
---|
226 | echo "@set VERSION $(VERSION)") > vti.tmp
|
---|
227 | @cmp -s vti.tmp version.texi \
|
---|
228 | || (echo "Updating version.texi"; \
|
---|
229 | cp vti.tmp version.texi)
|
---|
230 | -@rm -f vti.tmp
|
---|
231 | @cp version.texi $@
|
---|
232 |
|
---|
233 | mostlyclean-vti:
|
---|
234 | -rm -f vti.tmp
|
---|
235 |
|
---|
236 | maintainer-clean-vti:
|
---|
237 | -rm -f stamp-vti version.texi
|
---|
238 | TEXI2DVI = texi2dvi
|
---|
239 |
|
---|
240 | TEXI2PDF = $(TEXI2DVI) --pdf --batch
|
---|
241 | DVIPS = dvips
|
---|
242 | .dvi.ps:
|
---|
243 | $(DVIPS) -o $@ $<
|
---|
244 |
|
---|
245 | uninstall-info-am:
|
---|
246 | $(PRE_UNINSTALL)
|
---|
247 | @if (install-info --version && \
|
---|
248 | install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \
|
---|
249 | list='$(INFO_DEPS)'; \
|
---|
250 | for file in $$list; do \
|
---|
251 | relfile=`echo "$$file" | sed 's|^.*/||'`; \
|
---|
252 | echo " install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$relfile"; \
|
---|
253 | install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$relfile; \
|
---|
254 | done; \
|
---|
255 | else :; fi
|
---|
256 | @$(NORMAL_UNINSTALL)
|
---|
257 | @list='$(INFO_DEPS)'; \
|
---|
258 | for file in $$list; do \
|
---|
259 | relfile=`echo "$$file" | sed 's|^.*/||'`; \
|
---|
260 | relfile_i=`echo "$$relfile" | sed 's|\.info$$||;s|$$|.i|'`; \
|
---|
261 | (if cd $(DESTDIR)$(infodir); then \
|
---|
262 | echo " rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9])"; \
|
---|
263 | rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9]; \
|
---|
264 | else :; fi); \
|
---|
265 | done
|
---|
266 |
|
---|
267 | dist-info: $(INFO_DEPS)
|
---|
268 | list='$(INFO_DEPS)'; \
|
---|
269 | for base in $$list; do \
|
---|
270 | if test -f $$base; then d=.; else d=$(srcdir); fi; \
|
---|
271 | for file in $$d/$$base*; do \
|
---|
272 | relfile=`expr "$$file" : "$$d/\(.*\)"`; \
|
---|
273 | test -f $(distdir)/$$relfile || \
|
---|
274 | cp -p $$file $(distdir)/$$relfile; \
|
---|
275 | done; \
|
---|
276 | done
|
---|
277 |
|
---|
278 | mostlyclean-aminfo:
|
---|
279 | -rm -f automake.aux automake.cm automake.cp automake.cps automake.cv \
|
---|
280 | automake.fn automake.ky automake.kys automake.log automake.op \
|
---|
281 | automake.ov automake.pg automake.pgs automake.tmp \
|
---|
282 | automake.toc automake.tp automake.tps automake.tr automake.vr \
|
---|
283 | automake.vrs automake.dvi automake.pdf automake.ps
|
---|
284 |
|
---|
285 | maintainer-clean-aminfo:
|
---|
286 | @list='$(INFO_DEPS)'; for i in $$list; do \
|
---|
287 | i_i=`echo "$$i" | sed 's|\.info$$||;s|$$|.i|'`; \
|
---|
288 | echo " rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]"; \
|
---|
289 | rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]; \
|
---|
290 | done
|
---|
291 |
|
---|
292 | # This directory's subdirectories are mostly independent; you can cd
|
---|
293 | # into them and run `make' without going through this Makefile.
|
---|
294 | # To change the values of `make' variables: instead of editing Makefiles,
|
---|
295 | # (1) if the variable is set in `config.status', edit `config.status'
|
---|
296 | # (which will cause the Makefiles to be regenerated when you run `make');
|
---|
297 | # (2) otherwise, pass the desired values on the `make' command line.
|
---|
298 | $(RECURSIVE_TARGETS):
|
---|
299 | @set fnord $$MAKEFLAGS; amf=$$2; \
|
---|
300 | dot_seen=no; \
|
---|
301 | target=`echo $@ | sed s/-recursive//`; \
|
---|
302 | list='$(SUBDIRS)'; for subdir in $$list; do \
|
---|
303 | echo "Making $$target in $$subdir"; \
|
---|
304 | if test "$$subdir" = "."; then \
|
---|
305 | dot_seen=yes; \
|
---|
306 | local_target="$$target-am"; \
|
---|
307 | else \
|
---|
308 | local_target="$$target"; \
|
---|
309 | fi; \
|
---|
310 | (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
---|
311 | || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
---|
312 | done; \
|
---|
313 | if test "$$dot_seen" = "no"; then \
|
---|
314 | $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
---|
315 | fi; test -z "$$fail"
|
---|
316 |
|
---|
317 | mostlyclean-recursive clean-recursive distclean-recursive \
|
---|
318 | maintainer-clean-recursive:
|
---|
319 | @set fnord $$MAKEFLAGS; amf=$$2; \
|
---|
320 | dot_seen=no; \
|
---|
321 | case "$@" in \
|
---|
322 | distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
|
---|
323 | *) list='$(SUBDIRS)' ;; \
|
---|
324 | esac; \
|
---|
325 | rev=''; for subdir in $$list; do \
|
---|
326 | if test "$$subdir" = "."; then :; else \
|
---|
327 | rev="$$subdir $$rev"; \
|
---|
328 | fi; \
|
---|
329 | done; \
|
---|
330 | rev="$$rev ."; \
|
---|
331 | target=`echo $@ | sed s/-recursive//`; \
|
---|
332 | for subdir in $$rev; do \
|
---|
333 | echo "Making $$target in $$subdir"; \
|
---|
334 | if test "$$subdir" = "."; then \
|
---|
335 | local_target="$$target-am"; \
|
---|
336 | else \
|
---|
337 | local_target="$$target"; \
|
---|
338 | fi; \
|
---|
339 | (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
---|
340 | || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
---|
341 | done && test -z "$$fail"
|
---|
342 | tags-recursive:
|
---|
343 | list='$(SUBDIRS)'; for subdir in $$list; do \
|
---|
344 | test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
---|
345 | done
|
---|
346 | ctags-recursive:
|
---|
347 | list='$(SUBDIRS)'; for subdir in $$list; do \
|
---|
348 | test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
|
---|
349 | done
|
---|
350 |
|
---|
351 | ETAGS = etags
|
---|
352 | ETAGSFLAGS =
|
---|
353 |
|
---|
354 | CTAGS = ctags
|
---|
355 | CTAGSFLAGS =
|
---|
356 |
|
---|
357 | tags: TAGS
|
---|
358 |
|
---|
359 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
---|
360 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
---|
361 | unique=`for i in $$list; do \
|
---|
362 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
---|
363 | done | \
|
---|
364 | $(AWK) ' { files[$$0] = 1; } \
|
---|
365 | END { for (i in files) print i; }'`; \
|
---|
366 | mkid -fID $$unique
|
---|
367 |
|
---|
368 | TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
---|
369 | $(TAGS_FILES) $(LISP)
|
---|
370 | tags=; \
|
---|
371 | here=`pwd`; \
|
---|
372 | if (etags --etags-include --version) >/dev/null 2>&1; then \
|
---|
373 | include_option=--etags-include; \
|
---|
374 | else \
|
---|
375 | include_option=--include; \
|
---|
376 | fi; \
|
---|
377 | list='$(SUBDIRS)'; for subdir in $$list; do \
|
---|
378 | if test "$$subdir" = .; then :; else \
|
---|
379 | test -f $$subdir/TAGS && \
|
---|
380 | tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
|
---|
381 | fi; \
|
---|
382 | done; \
|
---|
383 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
---|
384 | unique=`for i in $$list; do \
|
---|
385 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
---|
386 | done | \
|
---|
387 | $(AWK) ' { files[$$0] = 1; } \
|
---|
388 | END { for (i in files) print i; }'`; \
|
---|
389 | test -z "$(ETAGS_ARGS)$$tags$$unique" \
|
---|
390 | || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
---|
391 | $$tags $$unique
|
---|
392 |
|
---|
393 | ctags: CTAGS
|
---|
394 | CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
---|
395 | $(TAGS_FILES) $(LISP)
|
---|
396 | tags=; \
|
---|
397 | here=`pwd`; \
|
---|
398 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
---|
399 | unique=`for i in $$list; do \
|
---|
400 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
---|
401 | done | \
|
---|
402 | $(AWK) ' { files[$$0] = 1; } \
|
---|
403 | END { for (i in files) print i; }'`; \
|
---|
404 | test -z "$(CTAGS_ARGS)$$tags$$unique" \
|
---|
405 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
---|
406 | $$tags $$unique
|
---|
407 |
|
---|
408 | GTAGS:
|
---|
409 | here=`$(am__cd) $(top_builddir) && pwd` \
|
---|
410 | && cd $(top_srcdir) \
|
---|
411 | && gtags -i $(GTAGS_ARGS) $$here
|
---|
412 |
|
---|
413 | distclean-tags:
|
---|
414 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
---|
415 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
---|
416 |
|
---|
417 | top_distdir = .
|
---|
418 | distdir = $(PACKAGE)-$(VERSION)
|
---|
419 |
|
---|
420 | am__remove_distdir = \
|
---|
421 | { test ! -d $(distdir) \
|
---|
422 | || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
|
---|
423 | && rm -fr $(distdir); }; }
|
---|
424 |
|
---|
425 | GZIP_ENV = --best
|
---|
426 | distuninstallcheck_listfiles = find . -type f -print
|
---|
427 | distcleancheck_listfiles = find . -type f -print
|
---|
428 |
|
---|
429 | distdir: $(DISTFILES)
|
---|
430 | $(am__remove_distdir)
|
---|
431 | mkdir $(distdir)
|
---|
432 | $(mkinstalldirs) $(distdir)/m4 $(distdir)/tests
|
---|
433 | @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
|
---|
434 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
|
---|
435 | list='$(DISTFILES)'; for file in $$list; do \
|
---|
436 | case $$file in \
|
---|
437 | $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
|
---|
438 | $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
|
---|
439 | esac; \
|
---|
440 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
---|
441 | dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
---|
442 | if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
---|
443 | dir="/$$dir"; \
|
---|
444 | $(mkinstalldirs) "$(distdir)$$dir"; \
|
---|
445 | else \
|
---|
446 | dir=''; \
|
---|
447 | fi; \
|
---|
448 | if test -d $$d/$$file; then \
|
---|
449 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
---|
450 | cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
|
---|
451 | fi; \
|
---|
452 | cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
|
---|
453 | else \
|
---|
454 | test -f $(distdir)/$$file \
|
---|
455 | || cp -p $$d/$$file $(distdir)/$$file \
|
---|
456 | || exit 1; \
|
---|
457 | fi; \
|
---|
458 | done
|
---|
459 | list='$(SUBDIRS)'; for subdir in $$list; do \
|
---|
460 | if test "$$subdir" = .; then :; else \
|
---|
461 | test -d $(distdir)/$$subdir \
|
---|
462 | || mkdir $(distdir)/$$subdir \
|
---|
463 | || exit 1; \
|
---|
464 | (cd $$subdir && \
|
---|
465 | $(MAKE) $(AM_MAKEFLAGS) \
|
---|
466 | top_distdir="$(top_distdir)" \
|
---|
467 | distdir=../$(distdir)/$$subdir \
|
---|
468 | distdir) \
|
---|
469 | || exit 1; \
|
---|
470 | fi; \
|
---|
471 | done
|
---|
472 | $(MAKE) $(AM_MAKEFLAGS) \
|
---|
473 | top_distdir="$(top_distdir)" distdir="$(distdir)" \
|
---|
474 | dist-info
|
---|
475 | -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
|
---|
476 | ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
|
---|
477 | ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
|
---|
478 | ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
|
---|
479 | || chmod -R a+r $(distdir)
|
---|
480 | dist-gzip: distdir
|
---|
481 | $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
---|
482 | $(am__remove_distdir)
|
---|
483 |
|
---|
484 | dist-bzip2: distdir
|
---|
485 | $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
|
---|
486 | $(am__remove_distdir)
|
---|
487 |
|
---|
488 | dist dist-all: distdir
|
---|
489 | $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
---|
490 | $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
|
---|
491 | $(am__remove_distdir)
|
---|
492 |
|
---|
493 | # This target untars the dist file and tries a VPATH configuration. Then
|
---|
494 | # it guarantees that the distribution is self-contained by making another
|
---|
495 | # tarfile.
|
---|
496 | distcheck: dist
|
---|
497 | $(am__remove_distdir)
|
---|
498 | GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
|
---|
499 | chmod -R a-w $(distdir); chmod a+w $(distdir)
|
---|
500 | mkdir $(distdir)/_build
|
---|
501 | mkdir $(distdir)/_inst
|
---|
502 | chmod a-w $(distdir)
|
---|
503 | dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
|
---|
504 | && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
|
---|
505 | && cd $(distdir)/_build \
|
---|
506 | && ../configure --srcdir=.. --prefix="$$dc_install_base" \
|
---|
507 | $(DISTCHECK_CONFIGURE_FLAGS) \
|
---|
508 | && $(MAKE) $(AM_MAKEFLAGS) \
|
---|
509 | && $(MAKE) $(AM_MAKEFLAGS) dvi \
|
---|
510 | && $(MAKE) $(AM_MAKEFLAGS) check \
|
---|
511 | && $(MAKE) $(AM_MAKEFLAGS) install \
|
---|
512 | && $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
---|
513 | && $(MAKE) $(AM_MAKEFLAGS) uninstall \
|
---|
514 | && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
|
---|
515 | distuninstallcheck \
|
---|
516 | && chmod -R a-w "$$dc_install_base" \
|
---|
517 | && ({ \
|
---|
518 | (cd ../.. && $(mkinstalldirs) "$$dc_destdir") \
|
---|
519 | && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
|
---|
520 | && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
|
---|
521 | && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
|
---|
522 | distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
|
---|
523 | } || { rm -rf "$$dc_destdir"; exit 1; }) \
|
---|
524 | && rm -rf "$$dc_destdir" \
|
---|
525 | && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
|
---|
526 | && rm -f $(distdir).tar.gz \
|
---|
527 | && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
|
---|
528 | $(am__remove_distdir)
|
---|
529 | @echo "$(distdir).tar.gz is ready for distribution" | \
|
---|
530 | sed 'h;s/./=/g;p;x;p;x'
|
---|
531 | distuninstallcheck:
|
---|
532 | @cd $(distuninstallcheck_dir) \
|
---|
533 | && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
|
---|
534 | || { echo "ERROR: files left after uninstall:" ; \
|
---|
535 | if test -n "$(DESTDIR)"; then \
|
---|
536 | echo " (check DESTDIR support)"; \
|
---|
537 | fi ; \
|
---|
538 | $(distuninstallcheck_listfiles) ; \
|
---|
539 | exit 1; } >&2
|
---|
540 | distcleancheck: distclean
|
---|
541 | @if test '$(srcdir)' = . ; then \
|
---|
542 | echo "ERROR: distcleancheck can only run from a VPATH build" ; \
|
---|
543 | exit 1 ; \
|
---|
544 | fi
|
---|
545 | @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
|
---|
546 | || { echo "ERROR: files left in build directory after distclean:" ; \
|
---|
547 | $(distcleancheck_listfiles) ; \
|
---|
548 | exit 1; } >&2
|
---|
549 | check-am: all-am
|
---|
550 | check: check-recursive
|
---|
551 | all-am: Makefile $(INFO_DEPS) $(SCRIPTS)
|
---|
552 | installdirs: installdirs-recursive
|
---|
553 | installdirs-am:
|
---|
554 | $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(infodir)
|
---|
555 |
|
---|
556 | install: install-recursive
|
---|
557 | install-exec: install-exec-recursive
|
---|
558 | install-data: install-data-recursive
|
---|
559 | uninstall: uninstall-recursive
|
---|
560 |
|
---|
561 | install-am: all-am
|
---|
562 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
---|
563 |
|
---|
564 | installcheck: installcheck-recursive
|
---|
565 | install-strip:
|
---|
566 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
---|
567 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
---|
568 | `test -z '$(STRIP)' || \
|
---|
569 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
---|
570 | mostlyclean-generic:
|
---|
571 |
|
---|
572 | clean-generic:
|
---|
573 | -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
---|
574 |
|
---|
575 | distclean-generic:
|
---|
576 | -rm -f $(CONFIG_CLEAN_FILES)
|
---|
577 |
|
---|
578 | maintainer-clean-generic:
|
---|
579 | @echo "This command is intended for maintainers to use"
|
---|
580 | @echo "it deletes files that may require special tools to rebuild."
|
---|
581 | clean: clean-recursive
|
---|
582 |
|
---|
583 | clean-am: clean-generic mostlyclean-am
|
---|
584 |
|
---|
585 | distclean: distclean-recursive
|
---|
586 | -rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
---|
587 | -rm -f Makefile
|
---|
588 | distclean-am: clean-am distclean-generic distclean-tags
|
---|
589 |
|
---|
590 | dvi: dvi-recursive
|
---|
591 |
|
---|
592 | dvi-am: $(DVIS)
|
---|
593 |
|
---|
594 | info: info-recursive
|
---|
595 |
|
---|
596 | info-am: $(INFO_DEPS)
|
---|
597 |
|
---|
598 | install-data-am: install-info-am
|
---|
599 |
|
---|
600 | install-exec-am: install-binSCRIPTS
|
---|
601 | @$(NORMAL_INSTALL)
|
---|
602 | $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
|
---|
603 |
|
---|
604 | install-info: install-info-recursive
|
---|
605 |
|
---|
606 | install-info-am: $(INFO_DEPS)
|
---|
607 | @$(NORMAL_INSTALL)
|
---|
608 | $(mkinstalldirs) $(DESTDIR)$(infodir)
|
---|
609 | @list='$(INFO_DEPS)'; \
|
---|
610 | for file in $$list; do \
|
---|
611 | if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
---|
612 | file_i=`echo "$$file" | sed 's|\.info$$||;s|$$|.i|'`; \
|
---|
613 | for ifile in $$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9] \
|
---|
614 | $$d/$$file_i[0-9] $$d/$$file_i[0-9][0-9] ; do \
|
---|
615 | if test -f $$ifile; then \
|
---|
616 | relfile=`echo "$$ifile" | sed 's|^.*/||'`; \
|
---|
617 | echo " $(INSTALL_DATA) $$ifile $(DESTDIR)$(infodir)/$$relfile"; \
|
---|
618 | $(INSTALL_DATA) $$ifile $(DESTDIR)$(infodir)/$$relfile; \
|
---|
619 | else : ; fi; \
|
---|
620 | done; \
|
---|
621 | done
|
---|
622 | @$(POST_INSTALL)
|
---|
623 | @if (install-info --version && \
|
---|
624 | install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \
|
---|
625 | list='$(INFO_DEPS)'; \
|
---|
626 | for file in $$list; do \
|
---|
627 | relfile=`echo "$$file" | sed 's|^.*/||'`; \
|
---|
628 | echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$relfile";\
|
---|
629 | install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$relfile || :;\
|
---|
630 | done; \
|
---|
631 | else : ; fi
|
---|
632 | install-man:
|
---|
633 |
|
---|
634 | installcheck-am:
|
---|
635 |
|
---|
636 | maintainer-clean: maintainer-clean-recursive
|
---|
637 | -rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
---|
638 | -rm -rf $(top_srcdir)/autom4te.cache
|
---|
639 | -rm -f Makefile
|
---|
640 | maintainer-clean-am: distclean-am maintainer-clean-aminfo \
|
---|
641 | maintainer-clean-generic maintainer-clean-vti
|
---|
642 |
|
---|
643 | mostlyclean: mostlyclean-recursive
|
---|
644 |
|
---|
645 | mostlyclean-am: mostlyclean-aminfo mostlyclean-generic mostlyclean-vti
|
---|
646 |
|
---|
647 | pdf: pdf-recursive
|
---|
648 |
|
---|
649 | pdf-am: $(PDFS)
|
---|
650 |
|
---|
651 | ps: ps-recursive
|
---|
652 |
|
---|
653 | ps-am: $(PSS)
|
---|
654 |
|
---|
655 | uninstall-am: uninstall-binSCRIPTS uninstall-info-am
|
---|
656 | @$(NORMAL_INSTALL)
|
---|
657 | $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
|
---|
658 |
|
---|
659 | uninstall-info: uninstall-info-recursive
|
---|
660 |
|
---|
661 | .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \
|
---|
662 | clean-generic clean-recursive ctags ctags-recursive dist \
|
---|
663 | dist-all dist-bzip2 dist-gzip dist-info distcheck distclean \
|
---|
664 | distclean-generic distclean-recursive distclean-tags \
|
---|
665 | distcleancheck distdir distuninstallcheck dvi dvi-am \
|
---|
666 | dvi-recursive info info-am info-recursive install install-am \
|
---|
667 | install-binSCRIPTS install-data install-data-am \
|
---|
668 | install-data-recursive install-exec install-exec-am \
|
---|
669 | install-exec-recursive install-info install-info-am \
|
---|
670 | install-info-recursive install-man install-recursive \
|
---|
671 | install-strip installcheck installcheck-am installdirs \
|
---|
672 | installdirs-am installdirs-recursive maintainer-clean \
|
---|
673 | maintainer-clean-aminfo maintainer-clean-generic \
|
---|
674 | maintainer-clean-recursive maintainer-clean-vti mostlyclean \
|
---|
675 | mostlyclean-aminfo mostlyclean-generic mostlyclean-recursive \
|
---|
676 | mostlyclean-vti pdf pdf-am pdf-recursive ps ps-am ps-recursive \
|
---|
677 | tags tags-recursive uninstall uninstall-am uninstall-binSCRIPTS \
|
---|
678 | uninstall-info-am uninstall-info-recursive uninstall-recursive
|
---|
679 |
|
---|
680 |
|
---|
681 | install-exec-hook:
|
---|
682 | @$(POST_INSTALL)
|
---|
683 | @for p in $(bin_SCRIPTS); do \
|
---|
684 | f="`echo $$p|sed '$(transform)'`"; \
|
---|
685 | fv="$$f-$(APIVERSION)"; \
|
---|
686 | rm -f $(DESTDIR)$(bindir)/$$fv; \
|
---|
687 | echo " $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv"; \
|
---|
688 | $(LN) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv; \
|
---|
689 | done
|
---|
690 |
|
---|
691 | uninstall-hook:
|
---|
692 | @for p in $(bin_SCRIPTS); do \
|
---|
693 | f="`echo $$p|sed '$(transform)'`"; \
|
---|
694 | fv="$$f-$(APIVERSION)"; \
|
---|
695 | rm -f $(DESTDIR)$(bindir)/$$fv; \
|
---|
696 | done
|
---|
697 |
|
---|
698 | automake: automake.in Makefile
|
---|
699 | $(do_subst) < $(srcdir)/automake.in > automake
|
---|
700 | chmod +x automake
|
---|
701 |
|
---|
702 | aclocal: aclocal.in Makefile
|
---|
703 | $(do_subst) < $(srcdir)/aclocal.in > aclocal
|
---|
704 | chmod +x aclocal
|
---|
705 |
|
---|
706 | INSTALL: lib/INSTALL
|
---|
707 | cp lib/INSTALL $@
|
---|
708 |
|
---|
709 | ################################################################
|
---|
710 |
|
---|
711 | # Some simple checks, and then ordinary check. These are only really
|
---|
712 | # guaranteed to work on my machine.
|
---|
713 | maintainer-check: automake aclocal
|
---|
714 | @if test `diff $(srcdir)/automake.in automake | wc -l` -ne 28; then \
|
---|
715 | echo "found too many diffs between automake.in and automake"; 1>&2; \
|
---|
716 | diff -c $(srcdir)/automake.in automake; \
|
---|
717 | exit 1; \
|
---|
718 | fi
|
---|
719 | perllibdir=$(srcdir)/lib $(PERL) -c -w automake
|
---|
720 | perllibdir=$(srcdir)/lib $(PERL) -c -w aclocal
|
---|
721 | @if grep -F '$${' $(srcdir)/lib/am/[a-z]*.am | \
|
---|
722 | grep -F -v '$$$$'; then \
|
---|
723 | echo "Found too many uses of '\$${' in the lines above." 1>&2; \
|
---|
724 | exit 1; \
|
---|
725 | else :; fi
|
---|
726 | @if grep -E '\<rm ([^-]|\-[^f ]*\>)' \
|
---|
727 | $(srcdir)/lib/am/[a-z]*.am $(srcdir)/tests/*.test | \
|
---|
728 | grep -v '##'; then \
|
---|
729 | echo "Suspicious 'rm' invocation." 1>&2; \
|
---|
730 | exit 1; \
|
---|
731 | else :; fi
|
---|
732 | @if grep 'for .* in \$$(' $(srcdir)/lib/am/[a-z]*.am; then \
|
---|
733 | echo 'Use "list=$$(mumble); for var in $$$$list".' 1>&2 ; \
|
---|
734 | exit 1; \
|
---|
735 | else :; fi
|
---|
736 | @if grep -n 'mkinstalldirs' $(srcdir)/lib/am/[a-z]*.am | \
|
---|
737 | grep -F -v '$$(mkinstalldirs)'; then \
|
---|
738 | echo "Found incorrect use of mkinstalldirs in the lines above" 1>&2; \
|
---|
739 | exit 1; \
|
---|
740 | else :; fi
|
---|
741 | @if grep -n -w 'undef ' $(srcdir)/automake.in | \
|
---|
742 | grep -F -v 'undef $$/'; then \
|
---|
743 | echo "Found undef in automake.in; use delete instead" 1>&2; \
|
---|
744 | exit 1; \
|
---|
745 | fi
|
---|
746 | @if grep -n 'split (/ /' $(srcdir)/automake.in; then \
|
---|
747 | echo "Found bad split in the lines above." 1>&2; \
|
---|
748 | exit 1; \
|
---|
749 | fi
|
---|
750 | @if grep -n '^[^#]*` *cd ' $(srcdir)/automake.in \
|
---|
751 | $(srcdir)/lib/am/*.am; then \
|
---|
752 | echo "Consider using $$$$(am__cd) in the line above." 1>&2; \
|
---|
753 | exit 1; \
|
---|
754 | fi
|
---|
755 | @if grep -Hn '[^) ] *= *@_' $(srcdir)/automake.in; then \
|
---|
756 | echo "Using @_ in a scalar context in the lines above." 1>&2; \
|
---|
757 | exit 1; \
|
---|
758 | fi
|
---|
759 | @if grep '^[ \t]*local *(' $(srcdir)/automake.in; then \
|
---|
760 | echo "Don't use \`local' with parens: use several \`local' above." >&2; \
|
---|
761 | exit 1; \
|
---|
762 | fi
|
---|
763 | @locals=`grep -v '^[ \t]*local \$$_;' $(srcdir)/automake.in | \
|
---|
764 | grep -c '^[ \t]*local [^*]'`; \
|
---|
765 | case $$locals in \
|
---|
766 | [0] ) \
|
---|
767 | echo "Wow, congrats! There are no \`local' now!." >&2; \
|
---|
768 | echo "Please update Makefile.am (maintainer-check)." >&2; \
|
---|
769 | exit 1; \
|
---|
770 | ;; \
|
---|
771 | 1 ) ;; \
|
---|
772 | * ) \
|
---|
773 | echo "Too many \`local'! Are you sure you need $$locals of them?" >&2; \
|
---|
774 | echo "Up to now 1 was enough." >&2; \
|
---|
775 | exit 1; \
|
---|
776 | ;; \
|
---|
777 | esac
|
---|
778 | @if grep '@AMDEP''_TRUE@' $(srcdir)/automake.in; then \
|
---|
779 | echo "Don't put AMDEP_TRUE substitution in automake.in" 1>&2; \
|
---|
780 | exit 1; \
|
---|
781 | fi
|
---|
782 | @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*make'; then \
|
---|
783 | echo 'Do not run "make" in the above tests. Use "$$MAKE" instead.' 1>&2; \
|
---|
784 | exit 1; \
|
---|
785 | fi
|
---|
786 | @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*autoconf'; then \
|
---|
787 | echo 'Do not run "autoconf" in the above tests. Use "$$AUTOCONF" instead.' 1>&2; \
|
---|
788 | exit 1; \
|
---|
789 | fi
|
---|
790 | @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*autoupdate'; then \
|
---|
791 | echo 'Do not run "autoupdate" in the above tests. Use "$$AUTOUPDATE" instead.' 1>&2; \
|
---|
792 | exit 1; \
|
---|
793 | fi
|
---|
794 | @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*automake'; then \
|
---|
795 | echo 'Do not run "automake" in the above tests. Use "$$AUTOMAKE" instead.' 1>&2; \
|
---|
796 | exit 1; \
|
---|
797 | fi
|
---|
798 | @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*aclocal'; then \
|
---|
799 | echo 'Do not run "aclocal" in the above tests. Use "$$ACLOCAL" instead.' 1>&2; \
|
---|
800 | exit 1; \
|
---|
801 | fi
|
---|
802 | @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*perl'; then \
|
---|
803 | echo 'Do not run "perl" in the above tests. Use "$$PERL" instead.' 1>&2; \
|
---|
804 | exit 1; \
|
---|
805 | fi
|
---|
806 | @if grep -E '\$$MAKE .*(SHELL=.*=|=.*SHELL=)' $(srcdir)/tests/*.test; then \
|
---|
807 | echo 'Rewrite "$$MAKE foo=bar SHELL=$$SHELL" as "foo=bar $$MAKE -e SHELL=$$SHELL"' 1>&2; \
|
---|
808 | echo ' in the above lines, it is more portable.' 1>&2; \
|
---|
809 | exit 1; \
|
---|
810 | fi
|
---|
811 | @if grep -v SHELL $(srcdir)/tests/*.test | grep '\$$MAKE .*=' ; then \
|
---|
812 | echo 'Rewrite "$$MAKE foo=bar" as "foo=bar $$MAKE -e" in the above lines,' 1>&2; \
|
---|
813 | echo 'it is more portable.' 1>&2; \
|
---|
814 | exit 1; \
|
---|
815 | fi
|
---|
816 | @if grep 'SHELL=.*\$$MAKE' $(srcdir)/tests/*.test; then \
|
---|
817 | echo '$$MAKE ignores the SHELL envvar, use "$$MAKE SHELL=$$SHELL" in' 1>&2; \
|
---|
818 | echo 'the above lines.' 1>&2; \
|
---|
819 | exit 1; \
|
---|
820 | fi
|
---|
821 | @if grep -E '\bsleep +[12345]\b' $(srcdir)/tests/*.test; then \
|
---|
822 | echo 'Do not use "sleep x" in the above tests. Use "$$sleep" instead.' 1>&2; \
|
---|
823 | exit 1; \
|
---|
824 | fi
|
---|
825 | @if grep -E '\b[ef]grep\b' $(srcdir)/tests/*.test ; then \
|
---|
826 | echo 'Do not use egrep or fgrep in test cases. Use $$FGREP or $$EGREP.' 1>&2; \
|
---|
827 | exit 1; \
|
---|
828 | fi
|
---|
829 | @if grep -E '\b[ef]grep\b' $(srcdir)/lib/am/*.am $(srcdir)/m4/*.m4; then \
|
---|
830 | echo 'Do not use egrep or fgrep in the above files, they are not portable.' 1>&2; \
|
---|
831 | exit 1; \
|
---|
832 | fi
|
---|
833 | @if test `grep -E '@[A-Za-z_0-9]+@' aclocal | wc -l` -ne 0; then \
|
---|
834 | echo "Unresolved @...@ substitution in aclocal" 1>&2; \
|
---|
835 | exit 1; \
|
---|
836 | fi
|
---|
837 | @if test `grep -E '@[A-Za-z_0-9]+@' automake | wc -l` -ne 4; then \
|
---|
838 | echo "Unresolved @...@ substitution in aclocal" 1>&2; \
|
---|
839 | exit 1; \
|
---|
840 | fi
|
---|
841 |
|
---|
842 | # Tag before making distribution. Also, don't make a distribution if
|
---|
843 | # checks fail. Also, make sure the NEWS file is up-to-date.
|
---|
844 | cvs-dist: maintainer-check distcheck
|
---|
845 | @if sed 1q $(srcdir)/NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
|
---|
846 | echo "NEWS not updated; not releasing" 1>&2; \
|
---|
847 | exit 1; \
|
---|
848 | fi
|
---|
849 | cd $(srcdir) && cvs -q tag `echo "Release-$(VERSION)" | sed 's/\./-/g'`
|
---|
850 | $(MAKE) dist
|
---|
851 |
|
---|
852 | cvs-diff:
|
---|
853 | thisver=`echo "Release-$(VERSION)" | sed 's/\./-/g'`; \
|
---|
854 | if test -z "$$OLDVERSION"; then \
|
---|
855 | prevno=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
|
---|
856 | else prevno="$$OLDVERSION"; fi; \
|
---|
857 | prevver=Release-`echo $$prevno | sed 's/\./-/g'`; \
|
---|
858 | cvs -f rdiff -c -r $$prevver -r $$thisver $(PACKAGE) \
|
---|
859 | > $(PACKAGE)-$$prevno-$(VERSION).diff
|
---|
860 |
|
---|
861 | path-check: distdir
|
---|
862 | (cd $(distdir) && \
|
---|
863 | find . -print | xargs pathchk -p); \
|
---|
864 | status=$$?; \
|
---|
865 | chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir); \
|
---|
866 | exit $$status
|
---|
867 |
|
---|
868 | fetch:
|
---|
869 | rm -rf Fetchdir > /dev/null 2>&1
|
---|
870 | mkdir Fetchdir; mkdir Fetchdir/Automake
|
---|
871 | (cd Fetchdir && \
|
---|
872 | $(WGET) ftp://ftp.gnu.org/gnu/config/config.guess; \
|
---|
873 | $(WGET) ftp://ftp.gnu.org/gnu/config/config.sub; \
|
---|
874 | $(WGET) ftp://ftp.gnu.org/gnu/texinfo/texinfo.tex; \
|
---|
875 | $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/autoconf/autoconf/lib/Autom4te/Struct.pm?content-type=text/plain -O Automake/Struct.pm; \
|
---|
876 | $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/autoconf/autoconf/lib/Autom4te/XFile.pm?content-type=text/plain -O Automake/XFile.pm; \
|
---|
877 | $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/autoconf/autoconf/INSTALL?content-type=text/plain -O INSTALL; \
|
---|
878 | $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/gcc/gcc/config-ml.in; \
|
---|
879 | $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/gcc/gcc/symlink-tree)
|
---|
880 | perl -pi -e 's/Autom4te::/Automake::/g' \
|
---|
881 | Fetchdir/Automake/Struct.pm Fetchdir/Automake/XFile.pm
|
---|
882 | @stat=0; for file in $(FETCHFILES); do \
|
---|
883 | if diff -u $(srcdir)/lib/$$file Fetchdir/$$file \
|
---|
884 | >>Fetchdir/update.patch 2>/dev/null; then :; \
|
---|
885 | else \
|
---|
886 | stat=1; \
|
---|
887 | echo "Updating $(srcdir)/lib/$$file..."; \
|
---|
888 | cp Fetchdir/$$file $(srcdir)/lib/$$file; \
|
---|
889 | fi; \
|
---|
890 | done; \
|
---|
891 | test $$stat = 1 && \
|
---|
892 | echo "See Fetchdir/update.patch for a log of the changes."; \
|
---|
893 | exit $$stat
|
---|
894 | # Tell versions [3.59,3.63) of GNU make to not export all variables.
|
---|
895 | # Otherwise a system limit (for SysV at least) may be exceeded.
|
---|
896 | .NOEXPORT:
|
---|