* ld-elf/note-1.s: Increase .foo size.
[binutils.git] / etc / Makefile.in
blob7d0607d960c824615e6ab9b33da96b9f5a64c8fe
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 htmldir = @htmldir@
33 SHELL = /bin/sh
35 INSTALL = @INSTALL@
36 INSTALL_PROGRAM = @INSTALL_PROGRAM@
37 INSTALL_DATA = @INSTALL_DATA@
39 MAKEINFO = `if [ -f ../texinfo/makeinfo/makeinfo ]; \
40 then echo ../texinfo/makeinfo/makeinfo; \
41 else echo makeinfo; fi`
42 TEXI2DVI = `if [ -f ../texinfo/util/texi2dvi ]; \
43 then echo ../texinfo/util/texi2dvi; \
44 else echo texi2dvi; fi`
45 TEXI2HTML = `if [ -f ../texinfo/makeinfo/makeinfo ]; \
46 then echo "../texinfo/makeinfo/makeinfo --html"; \
47 else echo "makeinfo --html"; fi`
49 DVIPS = dvips
51 # Where to find texinfo.tex to format documentation with TeX.
52 TEXIDIR = $(srcdir)/../texinfo
54 #### Host, target, and site specific Makefile fragments come in here.
55 ###
57 INFOFILES = standards.info configure.info
58 DVIFILES = standards.dvi configure.dvi
59 HTMLFILES = standards.html configure.html
61 all: info
62 install: install-info
64 uninstall:
66 info:
67 for f in $(INFOFILES); do \
68 if test -f $(srcdir)/`echo $$f | sed -e 's/.info$$/.texi/'`; then \
69 if $(MAKE) "MAKEINFO=$(MAKEINFO)" $$f; then \
70 true; \
71 else \
72 exit 1; \
73 fi; \
74 fi; \
75 done
77 install-info: info
78 $(SHELL) $(srcdir)/../mkinstalldirs $(DESTDIR)$(infodir)
79 if test ! -f standards.info; then cd $(srcdir); fi; \
80 if test -f standards.info; then \
81 for i in standards.info*; do \
82 $(INSTALL_DATA) $$i $(DESTDIR)$(infodir)/$$i; \
83 done; \
85 if test ! -f configure.info; then cd $(srcdir); fi; \
86 if test -f configure.info; then \
87 for i in configure.info*; do \
88 $(INSTALL_DATA) $$i $(DESTDIR)$(infodir)/$$i; \
89 done; \
92 html:
93 for f in $(HTMLFILES); do \
94 if test -f $(srcdir)/`echo $$f | sed -e 's/.html$$/.texi/'`; then \
95 if $(MAKE) "TEXI2HTML=$(TEXI2HTML)" $$f; then \
96 true; \
97 else \
98 exit 1; \
99 fi; \
100 fi; \
101 done
103 install-html: html
104 $(SHELL) $(srcdir)/../mkinstalldirs $(DESTDIR)$(htmldir)
105 if test ! -f standards.html; then cd $(srcdir); fi; \
106 if test -f standards.html; then \
107 for i in standards.html*; do \
108 $(INSTALL_DATA) $$i $(DESTDIR)$(htmldir)/$$i; \
109 done; \
111 if test ! -f configure.html; then cd $(srcdir); fi; \
112 if test -f configure.html; then \
113 for i in configure.html*; do \
114 $(INSTALL_DATA) $$i $(DESTDIR)$(htmldir)/$$i; \
115 done; \
118 dvi:
119 for f in $(DVIFILES); do \
120 if test -f $(srcdir)/`echo $$f | sed -e 's/.dvi$$/.texi/'`; then \
121 if $(MAKE) "TEXI2DVI=$(TEXI2DVI)" $$f; then \
122 true; \
123 else \
124 exit 1; \
125 fi; \
126 fi; \
127 done
129 standards.info: $(srcdir)/standards.texi $(srcdir)/make-stds.texi
130 $(MAKEINFO) --no-split -I$(srcdir) -o standards.info $(srcdir)/standards.texi
132 standards.html: $(srcdir)/standards.texi $(srcdir)/make-stds.texi
133 $(TEXI2HTML) --no-split -I$(srcdir) -o standards.html $(srcdir)/standards.texi
135 standards.dvi: $(srcdir)/standards.texi
136 TEXINPUTS=$(TEXIDIR):$$TEXINPUTS $(TEXI2DVI) $(srcdir)/standards.texi
138 standards.ps: standards.dvi
139 $(DVIPS) standards.dvi -o standards.ps
141 # makeinfo requires images to be in the current directory.
142 configure.info: $(srcdir)/configure.texi $(srcdir)/configdev.tin $(srcdir)/configbuild.tin
143 rm -f configdev.txt configbuild.txt
144 cp $(srcdir)/configdev.tin configdev.txt
145 cp $(srcdir)/configbuild.tin configbuild.txt
146 $(MAKEINFO) -I$(srcdir) -o configure.info $(srcdir)/configure.texi
147 rm -f configdev.txt configbuild.txt
149 # texi2dvi wants both the .txt and the .eps files.
150 configure.dvi: $(srcdir)/configure.texi $(srcdir)/configdev.tin $(srcdir)/configbuild.tin $(srcdir)/configdev.ein $(srcdir)/configbuild.ein
151 rm -f configdev.txt configbuild.txt
152 cp $(srcdir)/configdev.tin configdev.txt
153 cp $(srcdir)/configbuild.tin configbuild.txt
154 rm -f configdev.eps configbuild.eps
155 cp $(srcdir)/configdev.ein configdev.eps
156 cp $(srcdir)/configbuild.ein configbuild.eps
157 TEXINPUTS=$(TEXIDIR):$$TEXINPUTS $(TEXI2DVI) $(srcdir)/configure.texi
158 rm -f configdev.txt configbuild.txt
159 rm -f configdev.eps configbuild.eps
161 # dvips requires images to be in the current directory
162 configure.ps: configure.dvi $(srcdir)/configdev.ein $(srcdir)/configbuild.ein
163 rm -f configdev.eps configbuild.eps
164 cp $(srcdir)/configdev.ein configdev.eps
165 cp $(srcdir)/configbuild.ein configbuild.eps
166 $(DVIPS) configure.dvi -o configure.ps
167 rm -f configdev.eps configbuild.eps
169 configure.html: $(srcdir)/configure.texi
170 cp $(srcdir)/configdev.jin configdev.jpg
171 cp $(srcdir)/configbuild.jin configbuild.jpg
172 $(TEXI2HTML) --no-split -I$(srcdir) -o configure.html $(srcdir)/configure.texi
174 clean:
175 rm -f *.aux *.cp *.cps *.dvi *.fn *.fns *.ky *.kys *.log
176 rm -f *.pg *.pgs *.toc *.tp *.tps *.vr *.vrs
177 rm -f configdev.txt configbuild.txt
178 rm -f configdev.eps configbuild.eps
179 rm -f configdev.jpg configbuild.jpg
181 mostlyclean: clean
183 distclean: clean
184 rm -f Makefile config.status config.cache
186 maintainer-clean realclean: distclean
187 rm -f *.html*
188 rm -f *.info*
190 Makefile: $(srcdir)/Makefile.in $(host_makefile_frag) $(target_makefile_frag)
191 $(SHELL) ./config.status
193 ## these last targets are for standards.texi conformance
194 dist:
195 check:
196 installcheck:
197 TAGS: