* mi/mi-cmd-stack.c (parse_print_values): New.
[deliverable/binutils-gdb.git] / etc / Makefile.in
CommitLineData
252b5132
RH
1#
2# Makefile.in for etc
3#
4
b0ff34ea
L
5DESTDIR =
6
252b5132
RH
7prefix = @prefix@
8exec_prefix = @exec_prefix@
9
10srcdir = @srcdir@
11VPATH = @srcdir@
12
13bindir = @bindir@
14libdir = @libdir@
15tooldir = $(libdir)
16datadir = @datadir@
17
18mandir = @mandir@
19man1dir = $(mandir)/man1
20man2dir = $(mandir)/man2
21man3dir = $(mandir)/man3
22man4dir = $(mandir)/man4
23man5dir = $(mandir)/man5
24man6dir = $(mandir)/man6
25man7dir = $(mandir)/man7
26man8dir = $(mandir)/man8
27man9dir = $(mandir)/man9
108a6f8e
CD
28datarootdir = @datarootdir@
29docdir = @docdir@
252b5132 30infodir = @infodir@
9453113a 31pdfdir = @docdir@
108a6f8e 32htmldir = @htmldir@
252b5132
RH
33
34SHELL = /bin/sh
35
36INSTALL = @INSTALL@
37INSTALL_PROGRAM = @INSTALL_PROGRAM@
38INSTALL_DATA = @INSTALL_DATA@
39
40MAKEINFO = `if [ -f ../texinfo/makeinfo/makeinfo ]; \
41 then echo ../texinfo/makeinfo/makeinfo; \
42 else echo makeinfo; fi`
43TEXI2DVI = `if [ -f ../texinfo/util/texi2dvi ]; \
44 then echo ../texinfo/util/texi2dvi; \
45 else echo texi2dvi; fi`
9453113a
DJ
46TEXI2PDF = `if [ -f ../texinfo/util/texi2dvi ]; \
47 then echo "../texinfo/util/texi2dvi --pdf"; \
48 else echo "texi2dvi --pdf"; fi`
f7d9e5c3
CD
49TEXI2HTML = `if [ -f ../texinfo/makeinfo/makeinfo ]; \
50 then echo "../texinfo/makeinfo/makeinfo --html"; \
51 else echo "makeinfo --html"; fi`
52
252b5132
RH
53DVIPS = dvips
54
55# Where to find texinfo.tex to format documentation with TeX.
56TEXIDIR = $(srcdir)/../texinfo
57
58#### Host, target, and site specific Makefile fragments come in here.
59###
60
61INFOFILES = standards.info configure.info
62DVIFILES = standards.dvi configure.dvi
9453113a 63PDFFILES = standards.pdf configure.pdf
f7d9e5c3 64HTMLFILES = standards.html configure.html
252b5132 65
e3e71e27 66all: info
072cf052 67install: install-info
252b5132
RH
68
69uninstall:
70
71info:
72 for f in $(INFOFILES); do \
73 if test -f $(srcdir)/`echo $$f | sed -e 's/.info$$/.texi/'`; then \
74 if $(MAKE) "MAKEINFO=$(MAKEINFO)" $$f; then \
75 true; \
76 else \
77 exit 1; \
78 fi; \
79 fi; \
80 done
81
82install-info: info
b0ff34ea 83 $(SHELL) $(srcdir)/../mkinstalldirs $(DESTDIR)$(infodir)
252b5132
RH
84 if test ! -f standards.info; then cd $(srcdir); fi; \
85 if test -f standards.info; then \
86 for i in standards.info*; do \
b0ff34ea 87 $(INSTALL_DATA) $$i $(DESTDIR)$(infodir)/$$i; \
252b5132
RH
88 done; \
89 fi
90 if test ! -f configure.info; then cd $(srcdir); fi; \
91 if test -f configure.info; then \
92 for i in configure.info*; do \
b0ff34ea 93 $(INSTALL_DATA) $$i $(DESTDIR)$(infodir)/$$i; \
252b5132
RH
94 done; \
95 fi
96
f7d9e5c3
CD
97html:
98 for f in $(HTMLFILES); do \
99 if test -f $(srcdir)/`echo $$f | sed -e 's/.html$$/.texi/'`; then \
100 if $(MAKE) "TEXI2HTML=$(TEXI2HTML)" $$f; then \
101 true; \
102 else \
103 exit 1; \
104 fi; \
105 fi; \
106 done
107
108a6f8e
CD
108install-html: html
109 $(SHELL) $(srcdir)/../mkinstalldirs $(DESTDIR)$(htmldir)
110 if test ! -f standards.html; then cd $(srcdir); fi; \
111 if test -f standards.html; then \
112 for i in standards.html*; do \
113 $(INSTALL_DATA) $$i $(DESTDIR)$(htmldir)/$$i; \
114 done; \
115 fi
116 if test ! -f configure.html; then cd $(srcdir); fi; \
117 if test -f configure.html; then \
118 for i in configure.html*; do \
119 $(INSTALL_DATA) $$i $(DESTDIR)$(htmldir)/$$i; \
120 done; \
121 fi
f7d9e5c3 122
252b5132
RH
123dvi:
124 for f in $(DVIFILES); do \
125 if test -f $(srcdir)/`echo $$f | sed -e 's/.dvi$$/.texi/'`; then \
126 if $(MAKE) "TEXI2DVI=$(TEXI2DVI)" $$f; then \
127 true; \
128 else \
129 exit 1; \
130 fi; \
131 fi; \
132 done
133
9453113a
DJ
134pdf:
135 for f in $(PDFFILES); do \
136 if test -f $(srcdir)/`echo $$f | sed -e 's/.pdf$$/.texi/'`; then \
137 if $(MAKE) "TEXI2PDF=$(TEXI2PDF)" $$f; then \
138 true; \
139 else \
140 exit 1; \
141 fi; \
142 fi; \
143 done
144
145install-pdf: pdf
146 $(SHELL) $(srcdir)/../mkinstalldirs $(DESTDIR)$(pdfdir)/etc
147 if test ! -f standards.pdf; then cd $(srcdir); fi; \
148 if test -f standards.pdf; then \
149 for i in standards.pdf*; do \
150 $(INSTALL_DATA) $$i $(DESTDIR)$(pdfdir)/etc/$$i; \
151 done; \
152 fi
153 if test ! -f configure.pdf; then cd $(srcdir); fi; \
154 if test -f configure.pdf; then \
155 for i in configure.pdf*; do \
156 $(INSTALL_DATA) $$i $(DESTDIR)$(pdfdir)/etc/$$i; \
157 done; \
158 fi
159
252b5132
RH
160standards.info: $(srcdir)/standards.texi $(srcdir)/make-stds.texi
161 $(MAKEINFO) --no-split -I$(srcdir) -o standards.info $(srcdir)/standards.texi
162
f7d9e5c3
CD
163standards.html: $(srcdir)/standards.texi $(srcdir)/make-stds.texi
164 $(TEXI2HTML) --no-split -I$(srcdir) -o standards.html $(srcdir)/standards.texi
165
252b5132
RH
166standards.dvi: $(srcdir)/standards.texi
167 TEXINPUTS=$(TEXIDIR):$$TEXINPUTS $(TEXI2DVI) $(srcdir)/standards.texi
168
169standards.ps: standards.dvi
170 $(DVIPS) standards.dvi -o standards.ps
171
9453113a
DJ
172standards.pdf: $(srcdir)/standards.texi
173 TEXINPUTS=$(TEXIDIR):$$TEXINPUTS $(TEXI2PDF) $(srcdir)/standards.texi
174
252b5132
RH
175# makeinfo requires images to be in the current directory.
176configure.info: $(srcdir)/configure.texi $(srcdir)/configdev.tin $(srcdir)/configbuild.tin
177 rm -f configdev.txt configbuild.txt
178 cp $(srcdir)/configdev.tin configdev.txt
179 cp $(srcdir)/configbuild.tin configbuild.txt
180 $(MAKEINFO) -I$(srcdir) -o configure.info $(srcdir)/configure.texi
181 rm -f configdev.txt configbuild.txt
182
183# texi2dvi wants both the .txt and the .eps files.
184configure.dvi: $(srcdir)/configure.texi $(srcdir)/configdev.tin $(srcdir)/configbuild.tin $(srcdir)/configdev.ein $(srcdir)/configbuild.ein
185 rm -f configdev.txt configbuild.txt
186 cp $(srcdir)/configdev.tin configdev.txt
187 cp $(srcdir)/configbuild.tin configbuild.txt
188 rm -f configdev.eps configbuild.eps
189 cp $(srcdir)/configdev.ein configdev.eps
190 cp $(srcdir)/configbuild.ein configbuild.eps
191 TEXINPUTS=$(TEXIDIR):$$TEXINPUTS $(TEXI2DVI) $(srcdir)/configure.texi
192 rm -f configdev.txt configbuild.txt
193 rm -f configdev.eps configbuild.eps
194
195# dvips requires images to be in the current directory
196configure.ps: configure.dvi $(srcdir)/configdev.ein $(srcdir)/configbuild.ein
197 rm -f configdev.eps configbuild.eps
198 cp $(srcdir)/configdev.ein configdev.eps
199 cp $(srcdir)/configbuild.ein configbuild.eps
200 $(DVIPS) configure.dvi -o configure.ps
201 rm -f configdev.eps configbuild.eps
202
9453113a
DJ
203configure.pdf: $(srcdir)/configure.texi $(srcdir)/configdev.tin $(srcdir)/configbuild.tin $(srcdir)/configdev.ein $(srcdir)/configbuild.ein
204 rm -f configdev.pdf configbuild.pdf
205 epstopdf $(srcdir)/configdev.ein -outfile=configdev.pdf
206 epstopdf $(srcdir)/configbuild.ein -outfile=configbuild.pdf
207 TEXINPUTS=$(TEXIDIR):$$TEXINPUTS $(TEXI2PDF) $(srcdir)/configure.texi
208 rm -f configdev.pdf configbuild.pdf
209
252b5132 210configure.html: $(srcdir)/configure.texi
f7d9e5c3
CD
211 cp $(srcdir)/configdev.jin configdev.jpg
212 cp $(srcdir)/configbuild.jin configbuild.jpg
213 $(TEXI2HTML) --no-split -I$(srcdir) -o configure.html $(srcdir)/configure.texi
252b5132
RH
214
215clean:
216 rm -f *.aux *.cp *.cps *.dvi *.fn *.fns *.ky *.kys *.log
217 rm -f *.pg *.pgs *.toc *.tp *.tps *.vr *.vrs
f7d9e5c3
CD
218 rm -f configdev.txt configbuild.txt
219 rm -f configdev.eps configbuild.eps
252b5132
RH
220 rm -f configdev.jpg configbuild.jpg
221
222mostlyclean: clean
223
224distclean: clean
225 rm -f Makefile config.status config.cache
226
227maintainer-clean realclean: distclean
f7d9e5c3 228 rm -f *.html*
252b5132
RH
229 rm -f *.info*
230
231Makefile: $(srcdir)/Makefile.in $(host_makefile_frag) $(target_makefile_frag)
232 $(SHELL) ./config.status
233
234## these last targets are for standards.texi conformance
235dist:
236check:
237installcheck:
238TAGS:
This page took 0.466551 seconds and 4 git commands to generate.