OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [binutils-2.20.1/] [etc/] [Makefile.in] - Blame information for rev 818

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 205 julius
#
2
# Makefile.in for etc
3
#
4
 
5
DESTDIR         =
6
 
7
prefix          = @prefix@
8
exec_prefix     = @exec_prefix@
9
 
10
srcdir  = @srcdir@
11
VPATH   = @srcdir@
12
 
13
bindir  = @bindir@
14
libdir  = @libdir@
15
tooldir = $(libdir)
16
datadir = @datadir@
17
 
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@
33
 
34
SHELL = /bin/sh
35
 
36
INSTALL         = @INSTALL@
37
INSTALL_PROGRAM = @INSTALL_PROGRAM@
38
INSTALL_DATA    = @INSTALL_DATA@
39
 
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`
52
 
53
DVIPS = dvips
54
 
55
# Where to find texinfo.tex to format documentation with TeX.
56
TEXIDIR = $(srcdir)/../texinfo
57
 
58
#### Host, target, and site specific Makefile fragments come in here.
59
###
60
 
61
INFOFILES = standards.info configure.info
62
DVIFILES = standards.dvi configure.dvi
63
PDFFILES = standards.pdf configure.pdf
64
HTMLFILES = standards.html configure.html
65
 
66
all: info
67
install: install-info
68
 
69
uninstall:
70
 
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
81
 
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; \
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 \
93
            $(INSTALL_DATA) $$i $(DESTDIR)$(infodir)/$$i; \
94
          done; \
95
        fi
96
 
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
107
 
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; \
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
122
 
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
133
 
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
144
 
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; \
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
 
160
standards.info: $(srcdir)/standards.texi $(srcdir)/make-stds.texi
161
        $(MAKEINFO) --no-split -I$(srcdir) -o standards.info $(srcdir)/standards.texi
162
 
163
standards.html: $(srcdir)/standards.texi $(srcdir)/make-stds.texi
164
        $(TEXI2HTML) --no-split -I$(srcdir) -o standards.html $(srcdir)/standards.texi
165
 
166
standards.dvi: $(srcdir)/standards.texi
167
        TEXINPUTS=$(TEXIDIR):$$TEXINPUTS $(TEXI2DVI) $(srcdir)/standards.texi
168
 
169
standards.ps: standards.dvi
170
        $(DVIPS) standards.dvi -o standards.ps
171
 
172
standards.pdf: $(srcdir)/standards.texi
173
        TEXINPUTS=$(TEXIDIR):$$TEXINPUTS $(TEXI2PDF) $(srcdir)/standards.texi
174
 
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
182
 
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
194
 
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
202
 
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
209
 
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
214
 
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
221
 
222
mostlyclean: clean
223
 
224
distclean:   clean
225
        rm -f Makefile config.status config.cache
226
 
227
maintainer-clean realclean:   distclean
228
        rm -f *.html*
229
        rm -f *.info*
230
 
231
Makefile: $(srcdir)/Makefile.in $(host_makefile_frag) $(target_makefile_frag) \
232
        config.status
233
        $(SHELL) ./config.status
234
 
235
AUTOCONF = autoconf
236
configure_deps = $(srcdir)/configure.in
237
 
238
$(srcdir)/configure: @MAINT@ $(configure_deps)
239
        cd $(srcdir) && $(AUTOCONF)
240
 
241
config.status: $(srcdir)/configure
242
        $(SHELL) ./config.status --recheck
243
 
244
## these last targets are for standards.texi conformance
245
dist:
246
check:
247
installcheck:
248
TAGS:

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.