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

Subversion Repositories or1k

[/] [or1k/] [tags/] [start/] [gdb-5.0/] [opcodes/] [Makefile.am] - Blame information for rev 1778

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

Line No. Rev Author Line
1 106 markom
## Process this file with automake to generate Makefile.in
2
 
3
AUTOMAKE_OPTIONS = cygnus
4
 
5
SUBDIRS = po
6
 
7
INCDIR = $(srcdir)/../include
8
BFDDIR = $(srcdir)/../bfd
9
MKDEP = gcc -MM
10
 
11
WARN_CFLAGS = @WARN_CFLAGS@
12
AM_CFLAGS = $(WARN_CFLAGS)
13
 
14
lib_LTLIBRARIES = libopcodes.la
15
 
16
# This is where bfd.h lives.
17
BFD_H = ../bfd/bfd.h
18
 
19
# Header files.
20
HFILES = \
21
        arm-opc.h \
22
        fr30-desc.h fr30-opc.h \
23
        h8500-opc.h \
24
        m32r-desc.h m32r-opc.h \
25
        mcore-opc.h \
26
        sh-opc.h \
27
        sysdep.h \
28
        w65-opc.h \
29
        z8k-opc.h
30
 
31
# C source files that correspond to .o's.
32
CFILES = \
33
        a29k-dis.c \
34
        alpha-dis.c \
35
        alpha-opc.c \
36
        arc-dis.c \
37
        arc-opc.c \
38
        arm-dis.c \
39
        avr-dis.c \
40
        cgen-asm.c \
41
        cgen-dis.c \
42
        cgen-opc.c \
43
        d10v-dis.c \
44
        d10v-opc.c \
45
        d30v-dis.c \
46
        d30v-opc.c \
47
        dis-buf.c \
48
        disassemble.c \
49
        fr30-asm.c \
50
        fr30-desc.c \
51
        fr30-dis.c \
52
        fr30-ibld.c \
53
        fr30-opc.c \
54
        h8300-dis.c \
55
        h8500-dis.c \
56
        hppa-dis.c \
57
        i370-dis.c \
58
        i370-opc.c \
59
        i386-dis.c \
60
        i960-dis.c \
61
        m32r-asm.c \
62
        m32r-desc.c \
63
        m32r-dis.c \
64
        m32r-ibld.c \
65
        m32r-opc.c \
66
        m32r-opinst.c \
67
        m68k-dis.c \
68
        m68k-opc.c \
69
        m88k-dis.c \
70
        mcore-dis.c \
71
        mips-dis.c \
72
        mips-opc.c \
73
        mips16-opc.c \
74
        m10200-dis.c \
75
        m10200-opc.c \
76
        m10300-dis.c \
77
        m10300-opc.c \
78
        ns32k-dis.c \
79
        pj-dis.c \
80
        pj-opc.c \
81
        ppc-dis.c \
82
        ppc-opc.c \
83
        sh-dis.c \
84
        sparc-dis.c \
85
        sparc-opc.c \
86
        tic30-dis.c \
87
        tic80-dis.c \
88
        tic80-opc.c \
89
        v850-dis.c \
90
        v850-opc.c \
91
        vax-dis.c \
92
        w65-dis.c \
93
        z8k-dis.c \
94
        z8kgen.c
95
 
96
ALL_MACHINES = \
97
        a29k-dis.lo \
98
        alpha-dis.lo \
99
        alpha-opc.lo \
100
        arc-dis.lo \
101
        arc-opc.lo \
102
        arm-dis.lo \
103
        avr-dis.lo \
104
        cgen-asm.lo \
105
        cgen-dis.lo \
106
        cgen-opc.lo \
107
        d10v-dis.lo \
108
        d10v-opc.lo \
109
        d30v-dis.lo \
110
        d30v-opc.lo \
111
        fr30-asm.lo \
112
        fr30-desc.lo \
113
        fr30-dis.lo \
114
        fr30-ibld.lo \
115
        fr30-opc.lo \
116
        h8300-dis.lo \
117
        h8500-dis.lo \
118
        hppa-dis.lo \
119
        i386-dis.lo \
120
        i370-dis.lo \
121
        i370-opc.lo \
122
        i960-dis.lo \
123
        m32r-asm.lo \
124
        m32r-desc.lo \
125
        m32r-dis.lo \
126
        m32r-ibld.lo \
127
        m32r-opc.lo \
128
        m32r-opinst.lo \
129
        m68k-dis.lo \
130
        m68k-opc.lo \
131
        m88k-dis.lo \
132
        m10200-dis.lo \
133
        m10200-opc.lo \
134
        m10300-dis.lo \
135
        m10300-opc.lo \
136
        mcore-dis.lo \
137
        mips-dis.lo \
138
        mips-opc.lo \
139
        mips16-opc.lo \
140
        pj-dis.lo \
141
        pj-opc.lo \
142
        ppc-dis.lo \
143
        ppc-opc.lo \
144
        ns32k-dis.lo \
145
        sh-dis.lo \
146
        sparc-dis.lo \
147
        sparc-opc.lo \
148
        tic30-dis.lo \
149
        tic80-dis.lo \
150
        tic80-opc.lo \
151
        v850-dis.lo \
152
        v850-opc.lo \
153
        vax-dis.lo \
154
        w65-dis.lo \
155
        z8k-dis.lo
156
 
157
OFILES = @BFD_MACHINES@
158
 
159
INCLUDES = -D_GNU_SOURCE -I. -I$(srcdir) -I../bfd -I$(INCDIR) -I$(BFDDIR) @HDEFINES@ -I$(srcdir)/../intl -I../intl
160
 
161
disassemble.lo: disassemble.c $(INCDIR)/dis-asm.h
162
        $(LIBTOOL) --mode=compile $(COMPILE) -c @archdefs@ $(srcdir)/disassemble.c
163
 
164
libopcodes_la_SOURCES =  dis-buf.c disassemble.c
165
libopcodes_la_DEPENDENCIES = $(OFILES)
166
libopcodes_la_LIBADD = $(OFILES) @WIN32LIBADD@
167
libopcodes_la_LDFLAGS = -release $(VERSION) @WIN32LDFLAGS@
168
 
169
# libtool will build .libs/libopcodes.a.  We create libopcodes.a in
170
# the build directory so that we don't have to convert all the
171
# programs that use libopcodes.a simultaneously.  This is a hack which
172
# should be removed if everything else starts using libtool.  FIXME.
173
 
174
noinst_LIBRARIES = libopcodes.a
175
 
176
stamp-lib: libopcodes.la
177
        libtooldir=`$(LIBTOOL) --config | sed -n -e 's/^objdir=//p'`; \
178
        if [ -f $$libtooldir/libopcodes.a ]; then \
179
          cp $$libtooldir/libopcodes.a libopcodes.tmp; \
180
          $(SHELL) $(srcdir)/../move-if-change libopcodes.tmp libopcodes.a; \
181
        else true; fi
182
        touch stamp-lib
183
 
184
libopcodes.a: stamp-lib ; @true
185
 
186
POTFILES = $(HFILES) $(CFILES)
187
po/POTFILES.in: @MAINT@ Makefile
188
        for file in $(POTFILES); do echo $$file; done | sort > tmp \
189
          && mv tmp $(srcdir)/po/POTFILES.in
190
 
191
# We should reconfigure whenever bfd/configure.in changes, because
192
# that's where the version number comes from.
193
config.status: $(srcdir)/configure $(srcdir)/../bfd/configure.in
194
        $(SHELL) ./config.status --recheck
195
 
196
CLEANFILES = \
197
        libopcodes.a stamp-lib dep.sed DEP DEP1 DEP2
198
 
199
 
200
 
201
# The start marker is written this way to pass through automake unscathed.
202
 
203
 
204
 
205
 
206
# This dependency stuff is copied from BFD.
207
 
208
DEP: dep.sed $(CFILES) $(HFILES) config.h
209
        rm -f DEP1
210
        $(MAKE) MKDEP="$(MKDEP)" DEP1
211
        sed -f dep.sed < DEP1 > $@
212
        echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> $@
213
 
214
DEP1: $(CFILES)
215
        echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2
216
        echo '# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.' >> DEP2
217
        $(MKDEP) $(INCLUDES) $(CFLAGS) $? >> DEP2
218
        mv -f DEP2 $@
219
 
220
dep.sed: dep-in.sed config.status
221
        sed <$(srcdir)/dep-in.sed >dep.sed     \
222
                -e 's!@BFD_H@!$(BFD_H)!'        \
223
                -e 's!@INCDIR@!$(INCDIR)!'      \
224
                -e 's!@BFDDIR@!$(BFDDIR)!'      \
225
                -e 's!@SRCDIR@!$(srcdir)!'
226
 
227
dep: DEP
228
        sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
229
        cat DEP >> tmp-Makefile
230
        $(srcdir)/../move-if-change tmp-Makefile Makefile
231
 
232
dep-in: DEP
233
        sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
234
        cat DEP >> tmp-Makefile.in
235
        $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
236
 
237
dep-am: DEP
238
        sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
239
        cat DEP >> tmp-Makefile.am
240
        $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
241
 
242
.PHONY: dep dep-in dep-am
243
 
244
# What appears below is generated by a hacked mkdep using gcc -MM.
245
 
246
# DO NOT DELETE THIS LINE -- mkdep uses it.
247
# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
248
a29k-dis.lo: a29k-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
249
  $(INCDIR)/ansidecl.h $(INCDIR)/opcode/a29k.h
250
alpha-dis.lo: alpha-dis.c $(INCDIR)/ansidecl.h sysdep.h \
251
  config.h $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/opcode/alpha.h
252
alpha-opc.lo: alpha-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/alpha.h \
253
  $(BFD_H) opintl.h
254
arc-dis.lo: arc-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
255
  $(INCDIR)/ansidecl.h $(INCDIR)/opcode/arc.h $(BFDDIR)/elf-bfd.h \
256
  $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
257
  $(INCDIR)/bfdlink.h $(INCDIR)/elf/arc.h $(INCDIR)/elf/reloc-macros.h \
258
  opintl.h
259
arc-opc.lo: arc-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/arc.h \
260
  opintl.h
261
arm-dis.lo: arm-dis.c sysdep.h config.h $(INCDIR)/dis-asm.h \
262
  $(BFD_H) arm-opc.h $(INCDIR)/coff/internal.h $(BFDDIR)/libcoff.h \
263
  $(INCDIR)/bfdlink.h opintl.h $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h \
264
  $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/elf/arm.h \
265
  $(INCDIR)/elf/reloc-macros.h
266
avr-dis.lo: avr-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
267
  $(INCDIR)/ansidecl.h opintl.h
268
cgen-asm.lo: cgen-asm.c sysdep.h config.h $(INCDIR)/libiberty.h \
269
  $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/cgen.h \
270
  opintl.h
271
cgen-dis.lo: cgen-dis.c sysdep.h config.h $(INCDIR)/libiberty.h \
272
  $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/cgen.h
273
cgen-opc.lo: cgen-opc.c sysdep.h config.h $(INCDIR)/libiberty.h \
274
  $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/cgen.h
275
d10v-dis.lo: d10v-dis.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/d10v.h \
276
  $(INCDIR)/dis-asm.h $(BFD_H)
277
d10v-opc.lo: d10v-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/d10v.h
278
d30v-dis.lo: d30v-dis.c $(INCDIR)/opcode/d30v.h $(INCDIR)/dis-asm.h \
279
  $(BFD_H) $(INCDIR)/ansidecl.h opintl.h
280
d30v-opc.lo: d30v-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/d30v.h
281
dis-buf.lo: dis-buf.c sysdep.h config.h $(INCDIR)/dis-asm.h \
282
  $(BFD_H) opintl.h
283
disassemble.lo: disassemble.c $(INCDIR)/ansidecl.h \
284
  $(INCDIR)/dis-asm.h $(BFD_H)
285
fr30-asm.lo: fr30-asm.c sysdep.h config.h $(BFD_H) \
286
  $(INCDIR)/symcat.h fr30-desc.h $(INCDIR)/opcode/cgen.h \
287
  fr30-opc.h opintl.h
288
fr30-desc.lo: fr30-desc.c sysdep.h config.h $(BFD_H) \
289
  $(INCDIR)/symcat.h fr30-desc.h $(INCDIR)/opcode/cgen.h \
290
  fr30-opc.h opintl.h
291
fr30-dis.lo: fr30-dis.c sysdep.h config.h $(INCDIR)/dis-asm.h \
292
  $(BFD_H) $(INCDIR)/symcat.h fr30-desc.h $(INCDIR)/opcode/cgen.h \
293
  fr30-opc.h opintl.h
294
fr30-ibld.lo: fr30-ibld.c sysdep.h config.h $(INCDIR)/dis-asm.h \
295
  $(BFD_H) $(INCDIR)/symcat.h fr30-desc.h $(INCDIR)/opcode/cgen.h \
296
  fr30-opc.h opintl.h
297
fr30-opc.lo: fr30-opc.c sysdep.h config.h $(BFD_H) \
298
  $(INCDIR)/symcat.h fr30-desc.h $(INCDIR)/opcode/cgen.h \
299
  fr30-opc.h
300
h8300-dis.lo: h8300-dis.c $(INCDIR)/opcode/h8300.h \
301
  $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/ansidecl.h opintl.h
302
h8500-dis.lo: h8500-dis.c h8500-opc.h $(INCDIR)/dis-asm.h \
303
  $(BFD_H) $(INCDIR)/ansidecl.h opintl.h
304
hppa-dis.lo: hppa-dis.c sysdep.h config.h $(INCDIR)/dis-asm.h \
305
  $(BFD_H) $(BFDDIR)/libhppa.h $(INCDIR)/opcode/hppa.h
306
i370-dis.lo: i370-dis.c $(INCDIR)/ansidecl.h sysdep.h \
307
  config.h $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/opcode/i370.h
308
i370-opc.lo: i370-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/i370.h
309
i386-dis.lo: i386-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
310
  $(INCDIR)/ansidecl.h sysdep.h config.h opintl.h
311
i960-dis.lo: i960-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
312
  $(INCDIR)/ansidecl.h
313
m32r-asm.lo: m32r-asm.c sysdep.h config.h $(BFD_H) \
314
  $(INCDIR)/symcat.h m32r-desc.h $(INCDIR)/opcode/cgen.h \
315
  m32r-opc.h opintl.h
316
m32r-desc.lo: m32r-desc.c sysdep.h config.h $(BFD_H) \
317
  $(INCDIR)/symcat.h m32r-desc.h $(INCDIR)/opcode/cgen.h \
318
  m32r-opc.h opintl.h
319
m32r-dis.lo: m32r-dis.c sysdep.h config.h $(INCDIR)/dis-asm.h \
320
  $(BFD_H) $(INCDIR)/symcat.h m32r-desc.h $(INCDIR)/opcode/cgen.h \
321
  m32r-opc.h opintl.h
322
m32r-ibld.lo: m32r-ibld.c sysdep.h config.h $(INCDIR)/dis-asm.h \
323
  $(BFD_H) $(INCDIR)/symcat.h m32r-desc.h $(INCDIR)/opcode/cgen.h \
324
  m32r-opc.h opintl.h
325
m32r-opc.lo: m32r-opc.c sysdep.h config.h $(BFD_H) \
326
  $(INCDIR)/symcat.h m32r-desc.h $(INCDIR)/opcode/cgen.h \
327
  m32r-opc.h
328
m32r-opinst.lo: m32r-opinst.c sysdep.h config.h $(BFD_H) \
329
  $(INCDIR)/symcat.h m32r-desc.h $(INCDIR)/opcode/cgen.h \
330
  m32r-opc.h
331
m68k-dis.lo: m68k-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
332
  $(INCDIR)/ansidecl.h $(INCDIR)/floatformat.h opintl.h \
333
  $(INCDIR)/opcode/m68k.h
334
m68k-opc.lo: m68k-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/m68k.h
335
m88k-dis.lo: m88k-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
336
  $(INCDIR)/ansidecl.h $(INCDIR)/opcode/m88k.h opintl.h
337
mcore-dis.lo: mcore-dis.c mcore-opc.h $(INCDIR)/ansidecl.h \
338
  $(INCDIR)/dis-asm.h $(BFD_H)
339
mips-dis.lo: mips-dis.c sysdep.h config.h $(INCDIR)/dis-asm.h \
340
  $(BFD_H) $(INCDIR)/opcode/mips.h opintl.h $(BFDDIR)/elf-bfd.h \
341
  $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
342
  $(INCDIR)/bfdlink.h $(INCDIR)/elf/mips.h $(INCDIR)/elf/reloc-macros.h
343
mips-opc.lo: mips-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/mips.h
344
mips16-opc.lo: mips16-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/mips.h
345
m10200-dis.lo: m10200-dis.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/mn10200.h \
346
  $(INCDIR)/dis-asm.h $(BFD_H) opintl.h
347
m10200-opc.lo: m10200-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/mn10200.h
348
m10300-dis.lo: m10300-dis.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/mn10300.h \
349
  $(INCDIR)/dis-asm.h $(BFD_H) opintl.h
350
m10300-opc.lo: m10300-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/mn10300.h
351
ns32k-dis.lo: ns32k-dis.c $(BFD_H) $(INCDIR)/ansidecl.h \
352
  sysdep.h config.h $(INCDIR)/dis-asm.h $(INCDIR)/opcode/ns32k.h \
353
  opintl.h
354
pj-dis.lo: pj-dis.c $(INCDIR)/opcode/pj.h $(INCDIR)/dis-asm.h \
355
  $(BFD_H) $(INCDIR)/ansidecl.h
356
pj-opc.lo: pj-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/pj.h
357
ppc-dis.lo: ppc-dis.c $(INCDIR)/ansidecl.h sysdep.h \
358
  config.h $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/opcode/ppc.h
359
ppc-opc.lo: ppc-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/ppc.h \
360
  opintl.h
361
sh-dis.lo: sh-dis.c sh-opc.h $(INCDIR)/dis-asm.h $(BFD_H) \
362
  $(INCDIR)/ansidecl.h
363
sparc-dis.lo: sparc-dis.c $(INCDIR)/ansidecl.h sysdep.h \
364
  config.h $(INCDIR)/opcode/sparc.h $(INCDIR)/dis-asm.h \
365
  $(BFD_H) $(INCDIR)/libiberty.h opintl.h
366
sparc-opc.lo: sparc-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/sparc.h
367
tic30-dis.lo: tic30-dis.c sysdep.h config.h $(INCDIR)/dis-asm.h \
368
  $(BFD_H) $(INCDIR)/opcode/tic30.h
369
tic80-dis.lo: tic80-dis.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/tic80.h \
370
  $(INCDIR)/dis-asm.h $(BFD_H)
371
tic80-opc.lo: tic80-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/tic80.h
372
v850-dis.lo: v850-dis.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/v850.h \
373
  $(INCDIR)/dis-asm.h $(BFD_H) opintl.h
374
v850-opc.lo: v850-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/v850.h \
375
  opintl.h
376
vax-dis.lo: vax-dis.c $(INCDIR)/opcode/vax.h $(INCDIR)/dis-asm.h \
377
  $(BFD_H) $(INCDIR)/ansidecl.h
378
w65-dis.lo: w65-dis.c w65-opc.h $(INCDIR)/dis-asm.h \
379
  $(BFD_H) $(INCDIR)/ansidecl.h
380
z8k-dis.lo: z8k-dis.c sysdep.h config.h $(INCDIR)/dis-asm.h \
381
  $(BFD_H) z8k-opc.h
382
z8kgen.lo: z8kgen.c sysdep.h config.h
383
# IF YOU PUT ANYTHING HERE IT WILL GO AWAY

powered by: WebSVN 2.1.0

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