* elf32-m68k.c (elf_m68k_check_relocs) <R_68K_8, R68K_16, R_68K_32>: For
[binutils.git] / etc / Makefile.in
blob0d19c13e6e50f106ba0941ef083937148ab230e6
1 #
2 # Makefile.in for etc
5 DESTDIR =
7 prefix = @prefix@
8 exec_prefix = @exec_prefix@
10 srcdir = @srcdir@
11 VPATH = @srcdir@
13 bindir = @bindir@
14 libdir = @libdir@
15 tooldir = $(libdir)
16 datadir = @datadir@
18 mandir = @mandir@
19 man1dir = $(mandir)/man1
20 man2dir = $(mandir)/man2
21 man3dir = $(mandir)/man3
22 man4dir = $(mandir)/man4
23 man5dir = $(mandir)/man5
24 man6dir = $(mandir)/man6
25 man7dir = $(mandir)/man7
26 man8dir = $(mandir)/man8
27 man9dir = $(mandir)/man9
28 datarootdir = @datarootdir@
29 docdir = @docdir@
30 infodir = @infodir@
31 pdfdir = @docdir@
32 htmldir = @htmldir@
34 SHELL = /bin/sh
36 INSTALL = @INSTALL@
37 INSTALL_PROGRAM = @INSTALL_PROGRAM@
38 INSTALL_DATA = @INSTALL_DATA@
40 MAKEINFO = `if [ -f ../texinfo/makeinfo/makeinfo ]; \
41 then echo ../texinfo/makeinfo/makeinfo; \
42 else echo makeinfo; fi`
43 TEXI2DVI = `if [ -f ../texinfo/util/texi2dvi ]; \
44 then echo ../texinfo/util/texi2dvi; \
45 else echo texi2dvi; fi`
46 TEXI2PDF = `if [ -f ../texinfo/util/texi2dvi ]; \
47 then echo "../texinfo/util/texi2dvi --pdf"; \
48 else echo "texi2dvi --pdf"; fi`
49 TEXI2HTML = `if [ -f ../texinfo/makeinfo/makeinfo ]; \
50 then echo "../texinfo/makeinfo/makeinfo --html"; \
51 else echo "makeinfo --html"; fi`
53 DVIPS = dvips
55 # Where to find texinfo.tex to format documentation with TeX.
56 TEXIDIR = $(srcdir)/../texinfo
58 #### Host, target, and site specific Makefile fragments come in here.
59 ###
61 INFOFILES = standards.info configure.info
62 DVIFILES = standards.dvi configure.dvi
63 PDFFILES = standards.pdf configure.pdf
64 HTMLFILES = standards.html configure.html
66 all: info
67 install install-strip: install-info
69 uninstall:
71 info:
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
82 install-info: info
83 $(SHELL) $(srcdir)/../mkinstalldirs $(DESTDIR)$(infodir)
84 if test ! -f standards.info; then cd $(srcdir); fi; \
85 if test -f standards.info; then \
86 for i in standards.info*; do \
87 $(INSTALL_DATA) $$i $(DESTDIR)$(infodir)/$$i; \
88 done; \
90 if test ! -f configure.info; then cd $(srcdir); fi; \
91 if test -f configure.info; then \
92 for i in configure.info*; do \
93 $(INSTALL_DATA) $$i $(DESTDIR)$(infodir)/$$i; \
94 done; \
97 html:
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
108 install-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; \
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; \
123 dvi:
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
134 pdf:
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
145 install-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; \
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; \
160 standards.info: $(srcdir)/standards.texi $(srcdir)/make-stds.texi
161 $(MAKEINFO) --no-split -I$(srcdir) -o standards.info $(srcdir)/standards.texi
163 standards.html: $(srcdir)/standards.texi $(srcdir)/make-stds.texi
164 $(TEXI2HTML) --no-split -I$(srcdir) -o standards.html $(srcdir)/standards.texi
166 standards.dvi: $(srcdir)/standards.texi
167 TEXINPUTS=$(TEXIDIR):$$TEXINPUTS $(TEXI2DVI) $(srcdir)/standards.texi
169 standards.ps: standards.dvi
170 $(DVIPS) standards.dvi -o standards.ps
172 standards.pdf: $(srcdir)/standards.texi
173 TEXINPUTS=$(TEXIDIR):$$TEXINPUTS $(TEXI2PDF) $(srcdir)/standards.texi
175 # makeinfo requires images to be in the current directory.
176 configure.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
183 # texi2dvi wants both the .txt and the .eps files.
184 configure.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
195 # dvips requires images to be in the current directory
196 configure.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
203 configure.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
210 configure.html: $(srcdir)/configure.texi
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
215 clean:
216 rm -f *.aux *.cp *.cps *.dvi *.fn *.fns *.ky *.kys *.log
217 rm -f *.pg *.pgs *.toc *.tp *.tps *.vr *.vrs
218 rm -f configdev.txt configbuild.txt
219 rm -f configdev.eps configbuild.eps
220 rm -f configdev.jpg configbuild.jpg
222 mostlyclean: clean
224 distclean: clean
225 rm -f Makefile config.status config.cache
227 maintainer-clean realclean: distclean
228 rm -f *.html*
229 rm -f *.info*
231 Makefile: $(srcdir)/Makefile.in $(host_makefile_frag) $(target_makefile_frag) \
232 config.status
233 $(SHELL) ./config.status
235 AUTOCONF = autoconf
236 configure_deps = $(srcdir)/configure.in
238 $(srcdir)/configure: @MAINT@ $(configure_deps)
239 cd $(srcdir) && $(AUTOCONF)
241 config.status: $(srcdir)/configure
242 $(SHELL) ./config.status --recheck
244 ## these last targets are for standards.texi conformance
245 dist:
246 check:
247 installcheck:
248 TAGS: