1 # Makefile.in generated automatically by automake 1.4 from Makefile.am
3 # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
4 # This Makefile.in is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
17 top_srcdir = @top_srcdir@
20 exec_prefix = @exec_prefix@
24 libexecdir = @libexecdir@
26 sysconfdir = @sysconfdir@
27 sharedstatedir = @sharedstatedir@
28 localstatedir = @localstatedir@
32 includedir = @includedir@
33 oldincludedir = /usr/include
37 pkgdatadir = $(datadir)/@PACKAGE@
38 pkglibdir = $(libdir)/@PACKAGE@
39 pkgincludedir = $(includedir)/@PACKAGE@
46 AUTOHEADER = @AUTOHEADER@
49 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
50 INSTALL_DATA = @INSTALL_DATA@
51 INSTALL_SCRIPT = @INSTALL_SCRIPT@
52 transform = @program_transform_name@
60 build_alias = @build_alias@
61 build_triplet = @build@
62 host_alias = @host_alias@
64 target_alias = @target_alias@
65 target_triplet = @target@
71 AUTOMAKE_OPTIONS = cygnus
73 # What version of the manual you want; "all" includes everything
76 # Options to extract the man page from as.texinfo
79 TEXI2POD = perl $(top_srcdir)/../etc/texi2pod.pl
81 POD2MAN = pod2man --center="GNU" --release="binutils-$(VERSION)" --section=1
83 # List of man pages generated from binutils.texi
101 info_TEXINFOS = binutils.texi
103 BINUTILS_TEXI = $(srcdir)/binutils.texi
105 MAINTAINERCLEANFILES = config.texi
106 DISTCLEANFILES = config.texi
107 MOSTLYCLEANFILES = $(DEMANGLER_NAME).1
108 mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
110 MAKEINFO = `if test -f $(top_builddir)/../texinfo/makeinfo/makeinfo; then echo $(top_builddir)/../texinfo/makeinfo/makeinfo; else echo makeinfo; fi`
111 TEXI2DVI = `if test -f $(top_srcdir)/../texinfo/util/texi2dvi; then echo $(top_srcdir)/../texinfo/util/texi2dvi; else echo texi2dvi; fi`
112 TEXINFO_TEX = $(top_srcdir)/../texinfo/texinfo.tex
113 INFO_DEPS = binutils.info
115 TEXINFOS = binutils.texi
116 man1dir = $(mandir)/man1
120 DIST_COMMON = Makefile.am Makefile.in
123 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
129 .SUFFIXES: .dvi .info .ps .texi .texinfo .txi
130 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
131 cd $(top_srcdir) && $(AUTOMAKE) --cygnus doc/Makefile
133 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
135 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
138 binutils.info: binutils.texi
139 binutils.dvi: binutils.texi
145 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
146 $(MAKEINFO) -I $(srcdir) $<
149 TEXINPUTS=$(top_srcdir)/../texinfo/texinfo.tex:$$TEXINPUTS \
150 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
153 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
154 $(MAKEINFO) -I $(srcdir) $<
157 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
158 $(MAKEINFO) -I $(srcdir) $<
161 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
162 $(MAKEINFO) -I $(srcdir) $<
165 TEXINPUTS=$(top_srcdir)/../texinfo/texinfo.tex:$$TEXINPUTS \
166 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
169 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
170 $(MAKEINFO) -I $(srcdir) $<
173 TEXINPUTS=$(top_srcdir)/../texinfo/texinfo.tex:$$TEXINPUTS \
174 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
177 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
178 $(MAKEINFO) -I $(srcdir) $<
182 install-info-am: $(INFO_DEPS)
184 $(mkinstalldirs) $(DESTDIR)$(infodir)
185 @list='$(INFO_DEPS)'; \
186 for file in $$list; do \
187 if test -f $$file; then d=.; else d=$(srcdir); fi; \
188 for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
189 if test -f $$d/$$ifile; then \
190 echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
191 $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
196 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
197 list='$(INFO_DEPS)'; \
198 for file in $$list; do \
199 echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
200 install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
206 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
209 list='$(INFO_DEPS)'; \
210 for file in $$list; do \
212 || install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file; \
215 list='$(INFO_DEPS)'; \
216 for file in $$list; do \
217 (cd $(DESTDIR)$(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \
220 dist-info: $(INFO_DEPS)
221 list='$(INFO_DEPS)'; \
222 for base in $$list; do \
223 if test -f $$base; then d=.; else d=$(srcdir); fi; \
224 for file in `cd $$d && eval echo $$base*`; do \
225 test -f $(distdir)/$$file \
226 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
227 || cp -p $$d/$$file $(distdir)/$$file; \
232 -rm -f binutils.aux binutils.cp binutils.cps binutils.dvi binutils.fn \
233 binutils.fns binutils.ky binutils.kys binutils.ps \
234 binutils.log binutils.pg binutils.toc binutils.tp \
235 binutils.tps binutils.vr binutils.vrs binutils.op binutils.tr \
236 binutils.cv binutils.cn
242 maintainer-clean-aminfo:
243 for i in $(INFO_DEPS); do \
245 if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
249 clean-info: mostlyclean-aminfo
252 $(mkinstalldirs) $(DESTDIR)$(man1dir)
253 @list='$(man1_MANS)'; \
254 l2='$(man_MANS)'; for i in $$l2; do \
256 *.1*) list="$$list $$i" ;; \
259 for i in $$list; do \
260 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
262 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
263 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
264 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
265 echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
266 $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
270 @list='$(man1_MANS)'; \
271 l2='$(man_MANS)'; for i in $$l2; do \
273 *.1*) list="$$list $$i" ;; \
276 for i in $$list; do \
277 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
278 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
279 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
280 echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
281 rm -f $(DESTDIR)$(man1dir)/$$inst; \
285 $(MAKE) $(AM_MAKEFLAGS) install-man1
288 $(MAKE) $(AM_MAKEFLAGS) uninstall-man1
293 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
297 # This target untars the dist file and tries a VPATH configuration. Then
298 # it guarantees that the distribution is self-contained by making another
302 GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
303 mkdir $(distdir)/=build
304 mkdir $(distdir)/=inst
305 dc_install_base=`cd $(distdir)/=inst && pwd`; \
306 cd $(distdir)/=build \
307 && ../configure --srcdir=.. --prefix=$$dc_install_base \
308 && $(MAKE) $(AM_MAKEFLAGS) \
309 && $(MAKE) $(AM_MAKEFLAGS) dvi \
310 && $(MAKE) $(AM_MAKEFLAGS) check \
311 && $(MAKE) $(AM_MAKEFLAGS) install \
312 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
313 && $(MAKE) $(AM_MAKEFLAGS) dist
315 @banner="$(distdir).tar.gz is ready for distribution"; \
316 dashes=`echo "$$banner" | sed s/./=/g`; \
321 -chmod -R a+r $(distdir)
322 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
325 -chmod -R a+r $(distdir)
326 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
328 distdir: $(DISTFILES)
331 -chmod 777 $(distdir)
332 @for file in $(DISTFILES); do \
333 if test -f $$file; then d=.; else d=$(srcdir); fi; \
334 if test -d $$d/$$file; then \
335 cp -pr $$d/$$file $(distdir)/$$file; \
337 test -f $(distdir)/$$file \
338 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
339 || cp -p $$d/$$file $(distdir)/$$file || :; \
342 $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info
343 info-am: $(INFO_DEPS)
350 installcheck: installcheck-am
352 install-info: install-info-am
354 install-exec: install-exec-am
356 install-data-am: install-man
357 install-data: install-data-am
360 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
362 uninstall-am: uninstall-man
363 uninstall: uninstall-am
364 all-am: Makefile $(MANS)
367 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
369 $(mkinstalldirs) $(DESTDIR)$(mandir)/man1
373 -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
378 -rm -f Makefile $(CONFIG_CLEAN_FILES)
379 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
380 -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
382 maintainer-clean-generic:
383 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
384 mostlyclean-am: mostlyclean-aminfo mostlyclean-generic
386 mostlyclean: mostlyclean-am
388 clean-am: clean-aminfo clean-generic mostlyclean-am
392 distclean-am: distclean-aminfo distclean-generic clean-am
395 distclean: distclean-am
397 maintainer-clean-am: maintainer-clean-aminfo maintainer-clean-generic \
399 @echo "This command is intended for maintainers to use;"
400 @echo "it deletes files that may require special tools to rebuild."
402 maintainer-clean: maintainer-clean-am
404 .PHONY: install-info-am uninstall-info mostlyclean-aminfo \
405 distclean-aminfo clean-aminfo maintainer-clean-aminfo install-man1 \
406 uninstall-man1 install-man uninstall-man tags distdir info-am info \
407 dvi-am dvi check check-am installcheck-am installcheck install-info-am \
408 install-info install-exec-am install-exec install-data-am install-data \
409 install-am install uninstall-am uninstall all-redirect all-am all \
410 installdirs mostlyclean-generic distclean-generic clean-generic \
411 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
414 config.texi: Makefile
416 echo '@set VERSION $(VERSION)' > config.texi
418 binutils.dvi: $(BINUTILS_TEXI) config.texi
420 binutils.info: $(BINUTILS_TEXI) config.texi
422 # Man page generation from texinfo
423 addr2line.1: $(BINUTILS_TEXI)
425 -$(TEXI2POD) $(MANCONF) -Daddr2line < $< > $@.pod
426 -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
427 mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
430 ar.1: $(BINUTILS_TEXI)
432 -$(TEXI2POD) $(MANCONF) -Dar < $< > $@.pod
433 -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
434 mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
437 dlltool.1: $(BINUTILS_TEXI)
439 -$(TEXI2POD) $(MANCONF) -Ddlltool < $< > $@.pod
440 -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
441 mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
444 nlmconv.1: $(BINUTILS_TEXI)
446 -$(TEXI2POD) $(MANCONF) -Dnlmconv < $< > $@.pod
447 -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
448 mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
451 nm.1: $(BINUTILS_TEXI)
453 -$(TEXI2POD) $(MANCONF) -Dnm < $< > $@.pod
454 -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
455 mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
458 objcopy.1: $(BINUTILS_TEXI)
460 -$(TEXI2POD) $(MANCONF) -Dobjcopy < $< > $@.pod
461 -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
462 mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
465 objdump.1: $(BINUTILS_TEXI)
467 -$(TEXI2POD) $(MANCONF) -Dobjdump < $< > $@.pod
468 -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
469 mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
472 ranlib.1: $(BINUTILS_TEXI)
474 -$(TEXI2POD) $(MANCONF) -Dranlib < $< > $@.pod
475 -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
476 mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
479 readelf.1: $(BINUTILS_TEXI)
481 -$(TEXI2POD) $(MANCONF) -Dreadelf < $< > $@.pod
482 -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
483 mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
486 size.1: $(BINUTILS_TEXI)
488 -$(TEXI2POD) $(MANCONF) -Dsize < $< > $@.pod
489 -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
490 mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
493 strings.1: $(BINUTILS_TEXI)
495 -$(TEXI2POD) $(MANCONF) -Dstrings < $< > $@.pod
496 -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
497 mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
500 strip.1: $(BINUTILS_TEXI)
502 -$(TEXI2POD) $(MANCONF) -Dstrip < $< > $@.pod
503 -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
504 mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
507 windres.1: $(BINUTILS_TEXI)
509 -$(TEXI2POD) $(MANCONF) -Dwindres < $< > $@.pod
510 -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
511 mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
514 cxxfilt.man: $(BINUTILS_TEXI)
516 -$(TEXI2POD) $(MANCONF) -Dcxxfilt < $< > $@.pod
517 -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
518 mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
521 $(DEMANGLER_NAME).1: cxxfilt.man Makefile
522 sed -e 's/@PROGRAM@/$(DEMANGLER_NAME)/' < cxxfilt.man \
523 > $(DEMANGLER_NAME).1
527 # We need it for the taz target in ../../Makefile.in.
530 # Build the man page from the texinfo file
531 # The sed command removes the no-adjust Nroff command so that
532 # the man output looks standard.
533 as.1: $(srcdir)/as.texinfo
535 -$(TEXI2POD) $(MANCONF) < $(srcdir)/as.texinfo > as.pod
536 -($(POD2MAN) as.pod | \
537 sed -e '/^.if n .na/d' > $@.T$$$$ && \
538 mv -f $@.T$$$$ $@) || \
539 (rm -f $@.T$$$$ && exit 1)
542 # Tell versions [3.59,3.63) of GNU make to not export all variables.
543 # Otherwise a system limit (for SysV at least) may be exceeded.