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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-6.8/] [bfd/] [doc/] [Makefile.am] - Blame information for rev 225

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 24 jeremybenn
## Process this file with automake to generate Makefile.in
2
 
3
AUTOMAKE_OPTIONS = 1.9 cygnus
4
 
5
DOCFILES = aoutx.texi  archive.texi archures.texi \
6
        bfdt.texi  cache.texi coffcode.texi \
7
        core.texi elf.texi elfcode.texi  format.texi \
8
        libbfd.texi bfdwin.texi bfdio.texi \
9
        opncls.texi  reloc.texi  section.texi  \
10
        syms.texi  targets.texi init.texi hash.texi linker.texi \
11
        mmo.texi \
12
        bfdver.texi
13
 
14
PROTOS = archive.p archures.p bfd.p \
15
         core.p format.p \
16
        bfdio.p bfdwin.p \
17
        libbfd.p opncls.p reloc.p \
18
        section.p syms.p targets.p  \
19
        format.p  core.p init.p
20
 
21
IPROTOS = cache.ip libbfd.ip reloc.ip init.ip archures.ip coffcode.ip
22
 
23
# SRCDOC, SRCPROT, SRCIPROT only used to sidestep Sun Make bug in interaction
24
# between VPATH and suffix rules.  If you use GNU Make, perhaps other Makes,
25
# you don't need these three:
26
SRCDOC = $(srcdir)/../aoutx.h  $(srcdir)/../archive.c \
27
        $(srcdir)/../archures.c $(srcdir)/../bfd.c \
28
        $(srcdir)/../bfdio.c $(srcdir)/../bfdwin.c \
29
        $(srcdir)/../cache.c $(srcdir)/../coffcode.h \
30
        $(srcdir)/../corefile.c $(srcdir)/../elf.c \
31
        $(srcdir)/../elfcode.h  $(srcdir)/../format.c \
32
        $(srcdir)/../libbfd.c $(srcdir)/../opncls.c \
33
        $(srcdir)/../reloc.c  $(srcdir)/../section.c \
34
        $(srcdir)/../syms.c  $(srcdir)/../targets.c \
35
        $(srcdir)/../hash.c $(srcdir)/../linker.c \
36
        $(srcdir)/../mmo.c
37
 
38
SRCPROT = $(srcdir)/../archive.c $(srcdir)/../archures.c \
39
        $(srcdir)/../bfd.c $(srcdir)/../coffcode.h $(srcdir)/../corefile.c \
40
        $(srcdir)/../format.c $(srcdir)/../libbfd.c \
41
        $(srcdir)/../bfdio.c $(srcdir)/../bfdwin.c \
42
        $(srcdir)/../opncls.c $(srcdir)/../reloc.c \
43
        $(srcdir)/../section.c $(srcdir)/../syms.c \
44
        $(srcdir)/../targets.c $(srcdir)/../init.c
45
 
46
SRCIPROT = $(srcdir)/../cache.c $(srcdir)/../libbfd.c \
47
        $(srcdir)/../bfdio.c $(srcdir)/../bfdwin.c \
48
        $(srcdir)/../reloc.c $(srcdir)/../cpu-h8300.c \
49
        $(srcdir)/../cpu-i960.c $(srcdir)/../archures.c \
50
        $(srcdir)/../init.c
51
 
52
TEXIDIR = $(srcdir)/../../texinfo/fsf
53
 
54
info_TEXINFOS = bfd.texinfo
55
bfd_TEXINFOS = $(DOCFILES) bfdsumm.texi
56
 
57
MKDOC = chew$(EXEEXT_FOR_BUILD)
58
 
59 225 jeremybenn
AM_CPPFLAGS = -I.. -I$(srcdir)/.. -I$(srcdir)/../../include \
60 24 jeremybenn
        -I$(srcdir)/../../intl -I../../intl
61
 
62
$(MKDOC): $(srcdir)/chew.c
63 225 jeremybenn
        $(CC_FOR_BUILD) -o chew.$$$$ $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) \
64
          $(H_CFLAGS) $(AM_CPPFLAGS) $(srcdir)/chew.c; \
65 24 jeremybenn
        $(SHELL) $(srcdir)/../../move-if-change chew.$$$$ $(MKDOC)
66
 
67
protos: libbfd.h libcoff.h bfd.h
68
 
69
# We can't replace these rules with an implicit rule, because
70
# makes without VPATH support couldn't find the .h files in `..'.
71
 
72
# We do not depend on chew directly so that we can distribute the info
73
# files, and permit people to rebuild them, without requiring the makeinfo
74
# program.  If somebody tries to rebuild info, but none of the .texi files
75
# have changed, then nothing will be rebuilt.
76
 
77
aoutx.texi: chew.c $(srcdir)/../aoutx.h $(srcdir)/doc.str
78
        $(MAKE) $(MKDOC)
79
        ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../aoutx.h >aoutx.tmp
80
        $(SHELL) $(srcdir)/../../move-if-change aoutx.tmp aoutx.texi
81
 
82
archive.texi: chew.c $(srcdir)/../archive.c $(srcdir)/doc.str
83
        $(MAKE) $(MKDOC)
84
        ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../archive.c >archive.tmp
85
        $(SHELL) $(srcdir)/../../move-if-change archive.tmp archive.texi
86
 
87
archures.texi: chew.c $(srcdir)/../archures.c $(srcdir)/doc.str
88
        $(MAKE) $(MKDOC)
89
        ./$(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../archures.c >archures.tmp
90
        $(SHELL) $(srcdir)/../../move-if-change archures.tmp archures.texi
91
 
92
# We use bfdt.texi, rather than bfd.texi, to avoid conflicting with
93
# bfd.texinfo on an 8.3 filesystem.
94
bfdt.texi: chew.c $(srcdir)/../bfd.c $(srcdir)/doc.str
95
        $(MAKE) $(MKDOC)
96
        ./$(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../bfd.c >bfd.tmp
97
        $(SHELL) $(srcdir)/../../move-if-change bfd.tmp bfdt.texi
98
 
99
cache.texi: chew.c $(srcdir)/../cache.c $(srcdir)/doc.str
100
        $(MAKE) $(MKDOC)
101
        ./$(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../cache.c >cache.tmp
102
        $(SHELL) $(srcdir)/../../move-if-change cache.tmp cache.texi
103
 
104
coffcode.texi: chew.c $(srcdir)/../coffcode.h $(srcdir)/doc.str
105
        $(MAKE) $(MKDOC)
106
        ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../coffcode.h >coffcode.tmp
107
        $(SHELL) $(srcdir)/../../move-if-change coffcode.tmp coffcode.texi
108
 
109
core.texi: chew.c $(srcdir)/../corefile.c $(srcdir)/doc.str
110
        $(MAKE) $(MKDOC)
111
        ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../corefile.c >core.tmp
112
        $(SHELL) $(srcdir)/../../move-if-change core.tmp core.texi
113
 
114
elf.texi: chew.c $(srcdir)/../elf.c $(srcdir)/doc.str
115
        $(MAKE) $(MKDOC)
116
        ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../elf.c >elf.tmp
117
        $(SHELL) $(srcdir)/../../move-if-change elf.tmp elf.texi
118
 
119
elfcode.texi: chew.c $(srcdir)/../elfcode.h $(srcdir)/doc.str
120
        $(MAKE) $(MKDOC)
121
        ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../elfcode.h >elfcode.tmp
122
        $(SHELL) $(srcdir)/../../move-if-change elfcode.tmp elfcode.texi
123
 
124
mmo.texi: chew.c $(srcdir)/../mmo.c $(srcdir)/doc.str
125
        $(MAKE) $(MKDOC)
126
        ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../mmo.c >mmo.tmp
127
        $(SHELL) $(srcdir)/../../move-if-change mmo.tmp mmo.texi
128
 
129
format.texi: chew.c $(srcdir)/../format.c $(srcdir)/doc.str
130
        $(MAKE) $(MKDOC)
131
        ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../format.c >format.tmp
132
        $(SHELL) $(srcdir)/../../move-if-change format.tmp format.texi
133
 
134
libbfd.texi: chew.c $(srcdir)/../libbfd.c $(srcdir)/doc.str
135
        $(MAKE) $(MKDOC)
136
        ./$(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../libbfd.c >libbfd.tmp
137
        $(SHELL) $(srcdir)/../../move-if-change libbfd.tmp libbfd.texi
138
 
139
bfdio.texi: chew.c $(srcdir)/../bfdio.c $(srcdir)/doc.str
140
        $(MAKE) $(MKDOC)
141
        ./$(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../bfdio.c >bfdio.tmp
142
        $(SHELL) $(srcdir)/../../move-if-change bfdio.tmp bfdio.texi
143
 
144
bfdwin.texi: chew.c $(srcdir)/../bfdwin.c $(srcdir)/doc.str
145
        $(MAKE) $(MKDOC)
146
        ./$(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../bfdwin.c >bfdwin.tmp
147
        $(SHELL) $(srcdir)/../../move-if-change bfdwin.tmp bfdwin.texi
148
 
149
opncls.texi: chew.c $(srcdir)/../opncls.c $(srcdir)/doc.str
150
        $(MAKE) $(MKDOC)
151
        ./$(MKDOC) -f $(srcdir)/doc.str  <$(srcdir)/../opncls.c >opncls.tmp
152
        $(SHELL) $(srcdir)/../../move-if-change opncls.tmp opncls.texi
153
 
154
reloc.texi: chew.c $(srcdir)/../reloc.c $(srcdir)/doc.str
155
        $(MAKE) $(MKDOC)
156
        ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../reloc.c >reloc.tmp
157
        $(SHELL) $(srcdir)/../../move-if-change reloc.tmp reloc.texi
158
 
159
section.texi: chew.c $(srcdir)/../section.c $(srcdir)/doc.str
160
        $(MAKE) $(MKDOC)
161
        ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../section.c >section.tmp
162
        $(SHELL) $(srcdir)/../../move-if-change section.tmp section.texi
163
 
164
syms.texi: chew.c $(srcdir)/../syms.c $(srcdir)/doc.str
165
        $(MAKE) $(MKDOC)
166
        ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../syms.c >syms.tmp
167
        $(SHELL) $(srcdir)/../../move-if-change syms.tmp syms.texi
168
 
169
targets.texi: chew.c $(srcdir)/../targets.c $(srcdir)/doc.str
170
        $(MAKE) $(MKDOC)
171
        ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../targets.c >targets.tmp
172
        $(SHELL) $(srcdir)/../../move-if-change targets.tmp targets.texi
173
 
174
init.texi: chew.c $(srcdir)/../init.c $(srcdir)/doc.str
175
        $(MAKE) $(MKDOC)
176
        ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../init.c >init.tmp
177
        $(SHELL) $(srcdir)/../../move-if-change init.tmp init.texi
178
 
179
hash.texi: chew.c $(srcdir)/../hash.c $(srcdir)/doc.str
180
        $(MAKE) $(MKDOC)
181
        ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../hash.c >hash.tmp
182
        $(SHELL) $(srcdir)/../../move-if-change hash.tmp hash.texi
183
 
184
linker.texi: chew.c $(srcdir)/../linker.c $(srcdir)/doc.str
185
        $(MAKE) $(MKDOC)
186
        ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../linker.c >linker.tmp
187
        $(SHELL) $(srcdir)/../../move-if-change linker.tmp linker.texi
188
 
189
LIBBFD_H_DEP = \
190
        $(srcdir)/../libbfd-in.h        \
191
        $(srcdir)/../init.c             \
192
        $(srcdir)/../libbfd.c           \
193
        $(srcdir)/../bfdio.c            \
194
        $(srcdir)/../bfdwin.c           \
195
        $(srcdir)/../cache.c            \
196
        $(srcdir)/../reloc.c            \
197
        $(srcdir)/../archures.c         \
198
        $(srcdir)/../elf.c              \
199
        $(srcdir)/header.sed            \
200
        $(srcdir)/proto.str             \
201
        $(MKDOC)
202
 
203
libbfd.h: $(LIBBFD_H_DEP)
204
        echo "$(LIBBFD_H_DEP)" | sed -f $(srcdir)/header.sed > $@
205
        for file in $(LIBBFD_H_DEP); do \
206
          case $$file in \
207
            *-in.h) cat $$file >> $@ ;; \
208
            */header.sed) break ;; \
209
            *)  echo $$file | sed -e 's,.*/,,' -e 's,^,/* Extracted from ,' \
210
                                -e 's,$$,.  */,' >> $@ ; \
211
                ./$(MKDOC) -i -f $(srcdir)/proto.str < $$file >> $@ ;; \
212
          esac; \
213
        done
214
 
215
LIBCOFF_H_DEP = \
216
        $(srcdir)/../libcoff-in.h       \
217
        $(srcdir)/../coffcode.h         \
218
        $(srcdir)/header.sed            \
219
        $(srcdir)/proto.str             \
220
        $(MKDOC)
221
 
222
libcoff.h: $(LIBCOFF_H_DEP)
223
        echo "$(LIBCOFF_H_DEP)" | sed -f $(srcdir)/header.sed > $@
224
        for file in $(LIBCOFF_H_DEP); do \
225
          case $$file in \
226
            *-in.h) cat $$file >> $@ ;; \
227
            */header.sed) break ;; \
228
            *)  echo $$file | sed -e 's,.*/,,' -e 's,^,/* Extracted from ,' \
229
                                -e 's,$$,.  */,' >> $@ ; \
230
                ./$(MKDOC) -i -f $(srcdir)/proto.str < $$file >> $@ ;; \
231
          esac; \
232
        done
233
 
234
BFD_H_DEP = \
235
        $(srcdir)/../bfd-in.h           \
236
        $(srcdir)/../init.c             \
237
        $(srcdir)/../opncls.c           \
238
        $(srcdir)/../libbfd.c           \
239
        $(srcdir)/../bfdio.c            \
240
        $(srcdir)/../bfdwin.c           \
241
        $(srcdir)/../section.c          \
242
        $(srcdir)/../archures.c         \
243
        $(srcdir)/../reloc.c            \
244
        $(srcdir)/../syms.c             \
245
        $(srcdir)/../bfd.c              \
246
        $(srcdir)/../archive.c          \
247
        $(srcdir)/../corefile.c         \
248
        $(srcdir)/../targets.c          \
249
        $(srcdir)/../format.c           \
250
        $(srcdir)/../linker.c           \
251
        $(srcdir)/../simple.c           \
252 225 jeremybenn
        $(srcdir)/../compress.c         \
253 24 jeremybenn
        $(srcdir)/header.sed            \
254
        $(srcdir)/proto.str             \
255
        $(srcdir)/../version.h          \
256
        $(MKDOC)
257
 
258
bfd.h: $(BFD_H_DEP)
259
        echo "$(BFD_H_DEP)" | sed -f $(srcdir)/header.sed > $@
260
        for file in $(BFD_H_DEP); do \
261
          case $$file in \
262
            *-in.h) cat $$file >> $@ ;; \
263
            */header.sed) break ;; \
264
            *)  echo $$file | sed -e 's,.*/,,' -e 's,^,/* Extracted from ,' \
265
                                -e 's,$$,.  */,' >> $@ ; \
266
                ./$(MKDOC) -f $(srcdir)/proto.str < $$file >> $@ ;; \
267
          esac; \
268
        done
269
        echo "#ifdef __cplusplus" >> $@
270
        echo "}" >> $@
271
        echo "#endif" >> $@
272
        echo "#endif" >> $@
273
 
274
bfdver.texi: $(srcdir)/Makefile.in
275
        @echo "creating $@"; \
276
        echo "@set VERSION $(VERSION)" > bfdver.texi; \
277
        if [ -n "$(PKGVERSION)" ]; then \
278
          echo "@set VERSION_PACKAGE $(PKGVERSION)" >> bfdver.texi; \
279
        fi; \
280
        echo "@set UPDATED `date '+%B %Y'`" >> bfdver.texi; \
281
        if [ -n "$(REPORT_BUGS_TEXI)" ]; then \
282
          echo "@set BUGURL $(REPORT_BUGS_TEXI)" >> bfdver.texi; \
283
        fi
284
 
285
noinst_TEXINFOS = bfdint.texi
286
 
287
MOSTLYCLEANFILES = $(MKDOC) *.o
288
 
289
CLEANFILES = *.p *.ip
290
 
291
DISTCLEANFILES = bfd.?? bfd.??? bfd.h libbfd.h libcoff.h texput.log
292
 
293
MAINTAINERCLEANFILES = $(DOCFILES)
294
 
295
# We want install to imply install-info as per GNU standards, despite the
296
# cygnus option.
297
install: install-info
298
 
299
MAINTAINERCLEANFILES += bfd.info
300
 
301
# Automake 1.9 will only build info files in the objdir if they are
302
# mentioned in DISTCLEANFILES.  It doesn't have to be unconditional,
303
# though, so we use a bogus condition.
304
if GENINSRC_NEVER
305
DISTCLEANFILES += bfd.info
306
endif

powered by: WebSVN 2.1.0

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