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

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [bfd/] [Makefile.am] - Blame information for rev 318

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

Line No. Rev Author Line
1 14 khays
## Process this file with automake to generate Makefile.in
2
 
3
AUTOMAKE_OPTIONS = 1.11 no-dist foreign
4
ACLOCAL_AMFLAGS = -I . -I .. -I ../config
5
 
6
# Uncomment the following line when doing a release.
7
# RELEASE=y
8
 
9
INCDIR = $(srcdir)/../include
10
CSEARCH = -I. -I$(srcdir) -I$(INCDIR)
11
 
12
SUBDIRS = doc po
13
 
14
bfddocdir = doc
15
 
16
libbfd_la_LDFLAGS =
17
if INSTALL_LIBBFD
18
bfdlibdir = @bfdlibdir@
19
bfdincludedir = @bfdincludedir@
20
bfdlib_LTLIBRARIES = libbfd.la
21
bfdinclude_HEADERS = $(BFD_H) $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h $(INCDIR)/bfdlink.h
22
else !INSTALL_LIBBFD
23
# Empty these so that the respective installation directories will not be created.
24
bfdlibdir =
25
bfdincludedir =
26
bfdinclude_HEADERS =
27
rpath_bfdlibdir = @bfdlibdir@
28
noinst_LTLIBRARIES = libbfd.la
29
libbfd_la_LDFLAGS += -rpath $(rpath_bfdlibdir)
30
endif
31
 
32
WARN_CFLAGS = @WARN_CFLAGS@
33
NO_WERROR = @NO_WERROR@
34
AM_CFLAGS = $(WARN_CFLAGS)
35
AM_CPPFLAGS = -DBINDIR='"$(bindir)"'
36
if PLUGINS
37
bfdinclude_HEADERS += $(INCDIR)/plugin-api.h
38
LIBDL = -ldl
39
endif
40
 
41
# bfd.h goes here, for now
42
BFD_H = bfd.h
43
 
44
# Jim Kingdon notes:
45
# Writing S-records should be included in all (or at least most)
46
# *-*-coff, *-*-aout, etc., configurations, because people will want to
47
# be able to use objcopy to create S-records.  (S-records are not useful
48
# for the debugger, so if you are downloading things as S-records you
49
# need two copies of the executable, one to download and one for the
50
# debugger).
51
BFD32_LIBS = \
52
        archive.lo archures.lo bfd.lo bfdio.lo bfdwin.lo \
53
        cache.lo coffgen.lo corefile.lo \
54
        format.lo init.lo libbfd.lo opncls.lo reloc.lo \
55
        section.lo syms.lo targets.lo hash.lo linker.lo \
56
        srec.lo binary.lo tekhex.lo ihex.lo stabs.lo stab-syms.lo \
57
        merge.lo dwarf2.lo simple.lo compress.lo verilog.lo
58
 
59
BFD64_LIBS = archive64.lo
60
 
61
BFD32_LIBS_CFILES = \
62
        archive.c archures.c bfd.c bfdio.c bfdwin.c \
63
        cache.c coffgen.c corefile.c \
64
        format.c init.c libbfd.c opncls.c reloc.c \
65
        section.c syms.c targets.c hash.c linker.c \
66
        srec.c binary.c tekhex.c ihex.c stabs.c stab-syms.c \
67
        merge.c dwarf2.c simple.c compress.c verilog.c
68
 
69
BFD64_LIBS_CFILES = archive64.c
70
 
71
# This list is alphabetized to make it easier to keep in sync
72
# with the decls and initializer in archures.c.
73
ALL_MACHINES = \
74
        cpu-alpha.lo \
75
        cpu-arc.lo \
76
        cpu-arm.lo \
77
        cpu-avr.lo \
78
        cpu-bfin.lo \
79
        cpu-cr16.lo \
80
        cpu-cr16c.lo \
81
        cpu-cris.lo \
82
        cpu-crx.lo \
83
        cpu-d10v.lo \
84
        cpu-d30v.lo \
85
        cpu-dlx.lo \
86 163 khays
        cpu-epiphany.lo \
87 14 khays
        cpu-fr30.lo \
88
        cpu-frv.lo \
89
        cpu-h8300.lo \
90
        cpu-h8500.lo \
91
        cpu-hppa.lo \
92
        cpu-i370.lo \
93
        cpu-i386.lo \
94
        cpu-l1om.lo \
95 161 khays
        cpu-k1om.lo \
96 14 khays
        cpu-i860.lo \
97
        cpu-i960.lo \
98
        cpu-ia64.lo \
99
        cpu-ip2k.lo \
100
        cpu-iq2000.lo \
101
        cpu-lm32.lo \
102
        cpu-m10200.lo \
103
        cpu-m10300.lo \
104
        cpu-m32c.lo \
105
        cpu-m32r.lo \
106
        cpu-m68hc11.lo \
107
        cpu-m68hc12.lo \
108
        cpu-m68k.lo \
109
        cpu-m88k.lo \
110
        cpu-mcore.lo \
111
        cpu-mep.lo \
112
        cpu-microblaze.lo \
113
        cpu-mips.lo \
114
        cpu-mmix.lo \
115
        cpu-moxie.lo \
116
        cpu-msp430.lo \
117
        cpu-mt.lo \
118
        cpu-ns32k.lo \
119
        cpu-open8.lo \
120
        cpu-openrisc.lo \
121
        cpu-or32.lo \
122
        cpu-pdp11.lo \
123
        cpu-pj.lo \
124
        cpu-plugin.lo \
125
        cpu-powerpc.lo \
126
        cpu-rs6000.lo \
127 163 khays
        cpu-rl78.lo \
128 14 khays
        cpu-rx.lo \
129
        cpu-s390.lo \
130
        cpu-score.lo \
131
        cpu-sh.lo \
132
        cpu-sparc.lo \
133
        cpu-spu.lo \
134
        cpu-tic30.lo \
135
        cpu-tic4x.lo \
136
        cpu-tic54x.lo \
137
        cpu-tic6x.lo \
138
        cpu-tic80.lo \
139 148 khays
        cpu-tilegx.lo \
140
        cpu-tilepro.lo \
141 14 khays
        cpu-v850.lo \
142
        cpu-vax.lo \
143
        cpu-w65.lo \
144
        cpu-we32k.lo \
145
        cpu-xc16x.lo \
146
        cpu-xstormy16.lo \
147
        cpu-xtensa.lo \
148
        cpu-z80.lo \
149
        cpu-z8k.lo
150
 
151
ALL_MACHINES_CFILES = \
152
        cpu-alpha.c \
153
        cpu-arc.c \
154
        cpu-arm.c \
155
        cpu-avr.c \
156
        cpu-bfin.c \
157
        cpu-cr16.c \
158
        cpu-cr16c.c \
159
        cpu-cris.c \
160
        cpu-crx.c \
161
        cpu-d10v.c \
162
        cpu-d30v.c \
163
        cpu-dlx.c \
164 163 khays
        cpu-epiphany.c \
165 14 khays
        cpu-fr30.c \
166
        cpu-frv.c \
167
        cpu-h8300.c \
168
        cpu-h8500.c \
169
        cpu-hppa.c \
170
        cpu-i370.c \
171
        cpu-i386.c \
172
        cpu-l1om.c \
173 161 khays
        cpu-k1om.c \
174 14 khays
        cpu-i860.c \
175
        cpu-i960.c \
176
        cpu-ia64.c \
177
        cpu-ip2k.c \
178
        cpu-iq2000.c \
179
        cpu-lm32.c \
180
        cpu-m10200.c \
181
        cpu-m10300.c \
182
        cpu-m32c.c \
183
        cpu-m32r.c \
184
        cpu-m68hc11.c \
185
        cpu-m68hc12.c \
186
        cpu-m68k.c \
187
        cpu-m88k.c \
188
        cpu-mcore.c \
189
        cpu-mep.c \
190
        cpu-microblaze.c \
191
        cpu-mips.c \
192
        cpu-mmix.c \
193
        cpu-moxie.c \
194
        cpu-msp430.c \
195
        cpu-mt.c \
196
        cpu-ns32k.c \
197
        cpu-open8.c \
198
        cpu-openrisc.c \
199
        cpu-or32.c \
200
        cpu-pdp11.c \
201
        cpu-pj.c \
202
        cpu-plugin.c \
203
        cpu-powerpc.c \
204
        cpu-rs6000.c \
205 163 khays
        cpu-rl78.c \
206 14 khays
        cpu-rx.c \
207
        cpu-s390.c \
208
        cpu-score.c \
209
        cpu-sh.c \
210
        cpu-sparc.c \
211
        cpu-spu.c \
212
        cpu-tic30.c \
213
        cpu-tic4x.c \
214
        cpu-tic54x.c \
215
        cpu-tic6x.c \
216
        cpu-tic80.c \
217 148 khays
        cpu-tilegx.c \
218
        cpu-tilepro.c \
219 14 khays
        cpu-v850.c \
220
        cpu-vax.c \
221
        cpu-w65.c \
222
        cpu-we32k.c \
223
        cpu-xc16x.c \
224
        cpu-xstormy16.c \
225
        cpu-xtensa.c \
226
        cpu-z80.c \
227
        cpu-z8k.c
228
 
229
# The .o files needed by all of the 32 bit vectors that are configured into
230
# target_vector in targets.c if configured with --enable-targets=all.
231
BFD32_BACKENDS = \
232
        aout-adobe.lo \
233
        aout-arm.lo \
234
        aout-cris.lo \
235
        aout-ns32k.lo \
236
        aout-sparcle.lo \
237
        aout-tic30.lo \
238
        aout0.lo \
239
        aout32.lo \
240
        armnetbsd.lo \
241
        bout.lo \
242
        cf-i386lynx.lo \
243
        cf-sparclynx.lo \
244
        coff-apollo.lo \
245
        coff-arm.lo \
246
        coff-aux.lo \
247
        coff-go32.lo \
248
        coff-h8300.lo \
249
        coff-h8500.lo \
250
        coff-i386.lo \
251
        coff-i860.lo \
252
        coff-i960.lo \
253
        coff-m68k.lo \
254
        coff-m88k.lo \
255
        coff-mips.lo \
256
        coff-or32.lo \
257
        coff-rs6000.lo \
258
        coff-sh.lo \
259
        coff-sparc.lo \
260
        coff-stgo32.lo \
261
        coff-svm68k.lo \
262
        coff-tic30.lo \
263
        coff-tic4x.lo \
264
        coff-tic54x.lo \
265
        coff-tic80.lo \
266
        coff-u68k.lo \
267
        coff-w65.lo \
268
        coff-we32k.lo \
269
        coff-z80.lo \
270
        coff-z8k.lo \
271
        cofflink.lo \
272
        dwarf1.lo \
273
        ecoff.lo \
274
        ecofflink.lo \
275
        elf-attrs.lo \
276
        elf-eh-frame.lo \
277
        elf-ifunc.lo \
278
        elf-m10200.lo \
279
        elf-m10300.lo \
280
        elf-strtab.lo \
281
        elf-vxworks.lo \
282
        elf.lo \
283
        elf32-am33lin.lo \
284
        elf32-arc.lo \
285
        elf32-arm.lo \
286
        elf32-avr.lo \
287
        elf32-bfin.lo \
288
        elf32-cr16.lo \
289
        elf32-cr16c.lo \
290
        elf32-cris.lo \
291
        elf32-crx.lo \
292
        elf32-d10v.lo \
293
        elf32-d30v.lo \
294
        elf32-dlx.lo \
295 163 khays
        elf32-epiphany.lo \
296 14 khays
        elf32-fr30.lo \
297
        elf32-frv.lo \
298
        elf32-gen.lo \
299
        elf32-h8300.lo \
300
        elf32-hppa.lo \
301
        elf32-i370.lo \
302
        elf32-i386.lo \
303
        elf32-i860.lo \
304
        elf32-i960.lo \
305
        elf32-ip2k.lo \
306
        elf32-iq2000.lo \
307
        elf32-lm32.lo \
308
        elf32-m32c.lo \
309
        elf32-m32r.lo \
310
        elf32-m68hc11.lo \
311
        elf32-m68hc12.lo \
312
        elf32-m68hc1x.lo \
313
        elf32-m68k.lo \
314
        elf32-m88k.lo \
315
        elf32-mcore.lo \
316
        elf32-mep.lo \
317
        elf32-microblaze.lo \
318
        elf32-mips.lo \
319
        elf32-moxie.lo \
320
        elf32-msp430.lo \
321
        elf32-mt.lo \
322
        elf32-open8.lo \
323
        elf32-openrisc.lo \
324
        elf32-or32.lo \
325
        elf32-pj.lo \
326
        elf32-ppc.lo \
327 163 khays
        elf32-rl78.lo \
328 14 khays
        elf32-rx.lo \
329
        elf32-s390.lo \
330
        elf32-sh-symbian.lo \
331
        elf32-sh.lo \
332
        elf32-sh64-com.lo \
333
        elf32-sh64.lo \
334
        elf32-sparc.lo \
335
        elf32-spu.lo \
336
        elf32-tic6x.lo \
337 148 khays
        elf32-tilegx.lo \
338
        elf32-tilepro.lo \
339 14 khays
        elf32-v850.lo \
340
        elf32-vax.lo \
341
        elf32-xc16x.lo \
342
        elf32-xstormy16.lo \
343
        elf32-xtensa.lo \
344
        elf32.lo \
345
        elflink.lo \
346
        elfxx-mips.lo \
347
        elfxx-sparc.lo \
348 148 khays
        elfxx-tilegx.lo \
349 14 khays
        epoc-pe-arm.lo \
350
        epoc-pei-arm.lo \
351
        hp300bsd.lo \
352
        hp300hpux.lo \
353
        i386aout.lo \
354
        i386bsd.lo \
355
        i386dynix.lo \
356
        i386freebsd.lo \
357
        i386linux.lo \
358
        i386lynx.lo \
359
        i386mach3.lo \
360
        i386msdos.lo \
361
        i386netbsd.lo \
362
        i386os9k.lo \
363
        ieee.lo \
364
        m68k4knetbsd.lo \
365
        m68klinux.lo \
366
        m68knetbsd.lo \
367
        m88kmach3.lo \
368
        m88kopenbsd.lo \
369
        mach-o.lo \
370
        mach-o-i386.lo \
371
        mipsbsd.lo \
372
        newsos3.lo \
373
        nlm.lo \
374
        nlm32-i386.lo \
375
        nlm32-ppc.lo \
376
        nlm32-sparc.lo \
377
        nlm32.lo \
378
        ns32knetbsd.lo \
379
        oasys.lo \
380
        pc532-mach.lo \
381
        pdp11.lo \
382
        pe-arm-wince.lo \
383
        pe-arm.lo \
384
        pe-i386.lo \
385
        pe-mcore.lo \
386
        pe-mips.lo \
387
        pe-ppc.lo \
388
        pe-sh.lo \
389
        pef.lo \
390
        pei-arm-wince.lo \
391
        pei-arm.lo \
392
        pei-i386.lo \
393
        pei-mcore.lo \
394
        pei-mips.lo \
395
        pei-ppc.lo \
396
        pei-sh.lo \
397
        peigen.lo \
398
        plugin.lo \
399
        ppcboot.lo \
400
        reloc16.lo \
401
        riscix.lo \
402
        som.lo \
403
        sparclinux.lo \
404
        sparclynx.lo \
405
        sparcnetbsd.lo \
406
        sunos.lo \
407
        vax1knetbsd.lo \
408
        vaxbsd.lo \
409
        vaxnetbsd.lo \
410
        versados.lo \
411
        vms-lib.lo \
412
        vms-misc.lo \
413
        xcofflink.lo \
414
        xsym.lo \
415
        xtensa-isa.lo \
416
        xtensa-modules.lo
417
 
418
BFD32_BACKENDS_CFILES = \
419
        aout-adobe.c \
420
        aout-arm.c \
421
        aout-cris.c \
422
        aout-ns32k.c \
423
        aout-sparcle.c \
424
        aout-tic30.c \
425
        aout0.c \
426
        aout32.c \
427
        armnetbsd.c \
428
        bout.c \
429
        cf-i386lynx.c \
430
        cf-sparclynx.c \
431
        coff-apollo.c \
432
        coff-arm.c \
433
        coff-aux.c \
434
        coff-go32.c \
435
        coff-h8300.c \
436
        coff-h8500.c \
437
        coff-i386.c \
438
        coff-i860.c \
439
        coff-i960.c \
440
        coff-m68k.c \
441
        coff-m88k.c \
442
        coff-mips.c \
443
        coff-or32.c \
444
        coff-rs6000.c \
445
        coff-sh.c \
446
        coff-sparc.c \
447
        coff-stgo32.c \
448
        coff-svm68k.c \
449
        coff-tic30.c \
450
        coff-tic4x.c \
451
        coff-tic54x.c \
452
        coff-tic80.c \
453
        coff-u68k.c \
454
        coff-w65.c \
455
        coff-we32k.c \
456
        coff-z80.c \
457
        coff-z8k.c \
458
        cofflink.c \
459
        dwarf1.c \
460
        ecoff.c \
461
        ecofflink.c \
462
        elf-attrs.c \
463
        elf-eh-frame.c \
464
        elf-ifunc.c \
465
        elf-m10200.c \
466
        elf-m10300.c \
467
        elf-strtab.c \
468
        elf-vxworks.c \
469
        elf.c \
470
        elf32-am33lin.c \
471
        elf32-arc.c \
472
        elf32-arm.c \
473
        elf32-avr.c \
474
        elf32-bfin.c \
475
        elf32-cr16.c \
476
        elf32-cr16c.c \
477
        elf32-cris.c \
478
        elf32-crx.c \
479
        elf32-d10v.c \
480
        elf32-d30v.c \
481
        elf32-dlx.c \
482 163 khays
        elf32-epiphany.c \
483 14 khays
        elf32-fr30.c \
484
        elf32-frv.c \
485
        elf32-gen.c \
486
        elf32-h8300.c \
487
        elf32-hppa.c \
488
        elf32-i370.c \
489
        elf32-i386.c \
490
        elf32-i860.c \
491
        elf32-i960.c \
492
        elf32-ip2k.c \
493
        elf32-iq2000.c \
494
        elf32-lm32.c \
495
        elf32-m32c.c \
496
        elf32-m32r.c \
497
        elf32-m68hc11.c \
498
        elf32-m68hc12.c \
499
        elf32-m68hc1x.c \
500
        elf32-m68k.c \
501
        elf32-m88k.c \
502
        elf32-mcore.c \
503
        elf32-mep.c \
504
        elf32-microblaze.c \
505
        elf32-mips.c \
506
        elf32-moxie.c \
507
        elf32-msp430.c \
508
        elf32-mt.c \
509
        elf32-open8.c \
510
        elf32-openrisc.c \
511
        elf32-or32.c \
512
        elf32-pj.c \
513
        elf32-ppc.c \
514 163 khays
        elf32-rl78.c \
515 14 khays
        elf32-rx.c \
516
        elf32-s390.c \
517
        elf32-sh-symbian.c \
518
        elf32-sh.c \
519
        elf32-sh64-com.c \
520
        elf32-sh64.c \
521
        elf32-sparc.c \
522
        elf32-spu.c \
523
        elf32-tic6x.c \
524 148 khays
        elf32-tilegx.c \
525
        elf32-tilepro.c \
526 14 khays
        elf32-v850.c \
527
        elf32-vax.c \
528
        elf32-xc16x.c \
529
        elf32-xstormy16.c \
530
        elf32-xtensa.c \
531
        elf32.c \
532
        elflink.c \
533
        elfxx-mips.c \
534
        elfxx-sparc.c \
535 148 khays
        elfxx-tilegx.c \
536 14 khays
        epoc-pe-arm.c \
537
        epoc-pei-arm.c \
538
        hp300bsd.c \
539
        hp300hpux.c \
540
        i386aout.c \
541
        i386bsd.c \
542
        i386dynix.c \
543
        i386freebsd.c \
544
        i386linux.c \
545
        i386lynx.c \
546
        i386mach3.c \
547
        i386msdos.c \
548
        i386netbsd.c \
549
        i386os9k.c \
550
        ieee.c \
551
        m68k4knetbsd.c \
552
        m68klinux.c \
553
        m68knetbsd.c \
554
        m88kmach3.c \
555
        m88kopenbsd.c \
556
        mach-o.c \
557
        mach-o-i386.c \
558
        mipsbsd.c \
559
        newsos3.c \
560
        nlm.c \
561
        nlm32-i386.c \
562
        nlm32-ppc.c \
563
        nlm32-sparc.c \
564
        nlm32.c \
565
        ns32knetbsd.c \
566
        oasys.c \
567
        pc532-mach.c \
568
        pdp11.c \
569
        pe-arm-wince.c \
570
        pe-arm.c \
571
        pe-i386.c \
572
        pe-mcore.c \
573
        pe-mips.c \
574
        pe-ppc.c \
575
        pe-sh.c \
576
        pef.c \
577
        pei-arm-wince.c \
578
        pei-arm.c \
579
        pei-i386.c \
580
        pei-mcore.c \
581
        pei-mips.c \
582
        pei-ppc.c \
583
        pei-sh.c \
584
        plugin.c \
585
        ppcboot.c \
586
        reloc16.c \
587
        riscix.c \
588
        som.c \
589
        sparclinux.c \
590
        sparclynx.c \
591
        sparcnetbsd.c \
592
        sunos.c \
593
        vax1knetbsd.c \
594
        vaxbsd.c \
595
        vaxnetbsd.c \
596
        versados.c \
597
        vms-lib.c \
598
        vms-misc.c \
599
        xcofflink.c \
600
        xsym.c \
601
        xtensa-isa.c \
602
        xtensa-modules.c
603
 
604
# The .o files needed by all of the 64 bit vectors that are configured into
605
# target_vector in targets.c if configured with --enable-targets=all
606
# and --enable-64-bit-bfd.
607
# elf32-ia64.c requires a 64-bit bfd_vma, and hence can not be put in
608
# BFD32_BACKENDS.
609
BFD64_BACKENDS = \
610
        aix5ppc-core.lo \
611
        aout64.lo \
612
        coff-alpha.lo \
613
        coff-x86_64.lo \
614
        coff64-rs6000.lo \
615
        demo64.lo \
616
        elf32-ia64.lo \
617
        elf32-score.lo \
618
        elf32-score7.lo \
619
        elf64-alpha.lo \
620
        elf64-gen.lo \
621
        elf64-hppa.lo \
622
        elf64-ia64.lo \
623
        elf64-mips.lo \
624
        elf64-mmix.lo \
625
        elf64-ppc.lo \
626
        elf64-s390.lo \
627
        elf64-sh64.lo \
628
        elf64-sparc.lo \
629 161 khays
        elf64-tilegx.lo \
630 14 khays
        elf64-x86-64.lo \
631
        elf64.lo \
632
        elfn32-mips.lo \
633
        elfxx-ia64.lo \
634
        mach-o-x86-64.lo \
635
        mmo.lo \
636
        nlm32-alpha.lo \
637
        nlm64.lo \
638
        pe-x86_64.lo \
639
        pei-ia64.lo \
640
        pei-x86_64.lo \
641
        pepigen.lo \
642
        pex64igen.lo \
643
        vms-alpha.lo
644
 
645
BFD64_BACKENDS_CFILES = \
646
        aix5ppc-core.c \
647
        aout64.c \
648
        coff-alpha.c \
649
        coff-x86_64.c \
650
        coff64-rs6000.c \
651
        demo64.c \
652
        elf32-score.c \
653
        elf32-score7.c \
654
        elf64-alpha.c \
655
        elf64-gen.c \
656
        elf64-hppa.c \
657
        elf64-mips.c \
658
        elf64-mmix.c \
659
        elf64-ppc.c \
660
        elf64-s390.c \
661
        elf64-sh64.c \
662
        elf64-sparc.c \
663 148 khays
        elf64-tilegx.c \
664 14 khays
        elf64-x86-64.c \
665
        elf64.c \
666
        elfn32-mips.c \
667
        elfxx-ia64.c \
668
        mach-o-x86-64.c \
669
        mmo.c \
670
        nlm32-alpha.c \
671
        nlm64.c \
672
        pe-x86_64.c \
673
        pei-ia64.c \
674
        pei-x86_64.c \
675
        vms-alpha.c
676
 
677
OPTIONAL_BACKENDS = \
678
        aix386-core.lo \
679
        cisco-core.lo \
680
        hpux-core.lo \
681
        irix-core.lo \
682
        lynx-core.lo \
683
        osf-core.lo \
684
        rs6000-core.lo \
685
        sco5-core.lo \
686
        trad-core.lo
687
 
688
OPTIONAL_BACKENDS_CFILES = \
689
        aix386-core.c \
690
        cisco-core.c \
691
        hpux-core.c \
692
        irix-core.c \
693
        lynx-core.c \
694
        osf-core.c \
695
        rs6000-core.c \
696
        sco5-core.c \
697
        trad-core.c
698
 
699
# We want to rerun configure if configure.in, config.bfd or
700
# configure.host change. configure.in is needed since the version
701
# number in Makefile comes from configure.in.
702
CONFIG_STATUS_DEPENDENCIES = \
703
        $(srcdir)/configure.in \
704
        $(srcdir)/config.bfd \
705
        $(srcdir)/configure.host
706
 
707
# These are defined by configure.in:
708
WORDSIZE = @wordsize@
709
ALL_BACKENDS = @all_backends@
710
BFD_BACKENDS = @bfd_backends@
711
BFD_MACHINES = @bfd_machines@
712
TDEFAULTS = @tdefaults@
713
HAVEVECS = @havevecs@
714
 
715
INCLUDES = @HDEFINES@ @COREFLAG@ @TDEFINES@ $(CSEARCH) $(CSWITCHES) \
716
        $(HAVEVECS) @INCINTL@
717
 
718
# C source files that correspond to .o's.
719
SOURCE_CFILES = \
720
        $(BFD32_LIBS_CFILES) \
721
        $(BFD64_LIBS_CFILES) \
722
        $(ALL_MACHINES_CFILES) \
723
        $(BFD32_BACKENDS_CFILES) \
724
        $(BFD64_BACKENDS_CFILES) \
725
        $(OPTIONAL_BACKENDS_CFILES)
726
 
727
BUILD_CFILES = \
728
        elf32-ia64.c elf64-ia64.c peigen.c pepigen.c pex64igen.c
729
 
730
CFILES = $(SOURCE_CFILES) $(BUILD_CFILES)
731
 
732
## This is a list of all .h files which are in the source tree.
733
SOURCE_HFILES = \
734
        aout-target.h aoutf1.h aoutx.h coffcode.h coffswap.h ecoffswap.h \
735
        elf-bfd.h elf-hppa.h elf32-hppa.h \
736
        elf64-hppa.h elfcode.h elfcore.h \
737
        freebsd.h genlink.h go32stub.h \
738
        libaout.h libbfd.h libcoff.h libecoff.h libhppa.h libieee.h \
739
        libnlm.h liboasys.h libpei.h libxcoff.h mach-o.h \
740
        netbsd.h nlm-target.h nlmcode.h nlmswap.h ns32k.h \
741
        pef.h pef-traceback.h peicode.h som.h version.h \
742
        vms.h xsym.h
743
 
744
## ... and all .h files which are in the build tree.
745
BUILD_HFILES = \
746
        bfdver.h elf32-target.h elf64-target.h targmatch.h bfd_stdint.h
747
 
748
# Ensure they are built early:
749
BUILT_SOURCES = $(BUILD_HFILES)
750
 
751
HFILES = $(SOURCE_HFILES) $(BUILD_HFILES)
752
 
753
SRC_POTFILES = $(SOURCE_CFILES) $(SOURCE_HFILES)
754
BLD_POTFILES = $(BUILD_CFILES) $(BUILD_HFILES)
755
 
756
po/SRC-POTFILES.in: @MAINT@ Makefile $(SRC_POTFILES)
757
        for file in $(SRC_POTFILES); do echo $$file; done \
758
          | LC_ALL=C sort > tmp.src \
759
          && mv tmp.src $(srcdir)/po/SRC-POTFILES.in
760
 
761
po/BLD-POTFILES.in: @MAINT@ Makefile $(BLD_POTFILES)
762
        for file in $(BLD_POTFILES); do echo $$file; done \
763
          | LC_ALL=C sort > tmp.bld \
764
          && mv tmp.bld $(srcdir)/po/BLD-POTFILES.in
765
 
766
all diststuff: info
767
 
768
# Various kinds of .o files to put in libbfd.a:
769
# BFD_BACKENDS  Routines the configured targets need.
770
# BFD_MACHINES  Architecture-specific routines the configured targets need.
771
# COREFILE      Core file routines for a native configuration
772
# bfd64_libs    Routines for 64bit support
773
OFILES = $(BFD_BACKENDS) $(BFD_MACHINES) @COREFILE@ @bfd64_libs@
774
 
775
stamp-ofiles: Makefile
776
        rm -f tofiles
777
        f=""; \
778
        for i in $(OFILES) ; do \
779
          case " $$f " in \
780
            *" $$i "*) ;; \
781
            *) f="$$f $$i" ;; \
782
          esac ; \
783
        done ; \
784
        echo $$f > tofiles
785
        $(SHELL) $(srcdir)/../move-if-change tofiles ofiles
786
        touch stamp-ofiles
787
 
788
ofiles: stamp-ofiles ; @true
789
 
790
# Since BFD64_LIBS is optional and we can't have substitution in
791
# libbfd_la_SOURCES, we put BFD64_LIBS in OFILES instead.
792
# However, list all sources in EXTRA_libbfd_la_SOURCES so the
793
# dependency tracking fragments are picked up in the Makefile.
794
libbfd_la_SOURCES = $(BFD32_LIBS_CFILES)
795
EXTRA_libbfd_la_SOURCES = $(CFILES)
796
libbfd_la_DEPENDENCIES = $(OFILES) ofiles
797
libbfd_la_LIBADD = `cat ofiles` @SHARED_LIBADD@ $(LIBDL)
798
libbfd_la_LDFLAGS += -release `cat libtool-soversion` @SHARED_LDFLAGS@
799
 
800
# libtool will build .libs/libbfd.a.  We create libbfd.a in the build
801
# directory so that we don't have to convert all the programs that use
802
# libbfd.a simultaneously.  This is a hack which should be removed if
803
# everything else starts using libtool.  FIXME.
804
 
805
noinst_LIBRARIES = libbfd.a
806
libbfd_a_SOURCES =
807
 
808
stamp-lib: libbfd.la
809
        libtooldir=`$(LIBTOOL) --config | sed -n -e 's/^objdir=//p'`; \
810
        if [ -f $$libtooldir/libbfd.a ]; then \
811
          cp $$libtooldir/libbfd.a libbfd.tmp; \
812
          $(RANLIB) libbfd.tmp; \
813
          $(SHELL) $(srcdir)/../move-if-change libbfd.tmp libbfd.a; \
814
        else true; fi
815
        touch stamp-lib
816
 
817
libbfd.a: stamp-lib ; @true
818
 
819
# This file holds an array associating configuration triplets and
820
# vector names.  It is built from config.bfd.  It is not compiled by
821
# itself, but is included by targets.c.
822
targmatch.h: config.bfd targmatch.sed
823
        rm -f targmatch.h
824
        sed -f $(srcdir)/targmatch.sed < $(srcdir)/config.bfd > targmatch.new
825
        mv -f targmatch.new targmatch.h
826
 
827
# When compiling archures.c and targets.c, supply the default target
828
# info from configure.
829
 
830
targets.lo: targets.c Makefile
831
if am__fastdepCC
832
        $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $(TDEFAULTS) $(srcdir)/targets.c
833
        mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
834
else
835
if AMDEP
836
        source='targets.c' object='$@' libtool=yes @AMDEPBACKSLASH@
837
        DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
838
endif
839
        $(LTCOMPILE) -c -o $@ $(TDEFAULTS) $(srcdir)/targets.c
840
endif
841
 
842
archures.lo: archures.c Makefile
843
if am__fastdepCC
844
        $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $(TDEFAULTS) $(srcdir)/archures.c
845
        mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
846
else
847
if AMDEP
848
        source='archures.c' object='$@' libtool=yes @AMDEPBACKSLASH@
849
        DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
850
endif
851
        $(LTCOMPILE) -c -o $@ $(TDEFAULTS) $(srcdir)/archures.c
852
endif
853
 
854
dwarf2.lo: dwarf2.c Makefile
855
if am__fastdepCC
856
        $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ -DDEBUGDIR=\"$(DEBUGDIR)\" $(srcdir)/dwarf2.c
857
        mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
858
else
859
if AMDEP
860
        source='dwarf2.c' object='$@' libtool=yes @AMDEPBACKSLASH@
861
        DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
862
endif
863
        $(LTCOMPILE) -c -o $@ -DDEBUGDIR=\"$(DEBUGDIR)\" $(srcdir)/dwarf2.c
864
endif
865
 
866
elf32-target.h : elfxx-target.h
867
        rm -f elf32-target.h
868
        sed -e s/NN/32/g < $(srcdir)/elfxx-target.h > elf32-target.new
869
        mv -f elf32-target.new elf32-target.h
870
 
871
elf64-target.h : elfxx-target.h
872
        rm -f elf64-target.h
873
        sed -e s/NN/64/g < $(srcdir)/elfxx-target.h > elf64-target.new
874
        mv -f elf64-target.new elf64-target.h
875
 
876
elf32-ia64.c : elfnn-ia64.c
877
        rm -f elf32-ia64.c
878
        sed -e s/NN/32/g < $(srcdir)/elfnn-ia64.c > elf32-ia64.new
879
        mv -f elf32-ia64.new elf32-ia64.c
880
 
881
elf64-ia64.c : elfnn-ia64.c
882
        rm -f elf64-ia64.c
883
        sed -e s/NN/64/g < $(srcdir)/elfnn-ia64.c > elf64-ia64.new
884
        mv -f elf64-ia64.new elf64-ia64.c
885
 
886
peigen.c : peXXigen.c
887
        rm -f peigen.c
888
        sed -e s/XX/pe/g < $(srcdir)/peXXigen.c > peigen.new
889
        mv -f peigen.new peigen.c
890
 
891
pepigen.c : peXXigen.c
892
        rm -f pepigen.c
893
        sed -e s/XX/pep/g < $(srcdir)/peXXigen.c > pepigen.new
894
        mv -f pepigen.new pepigen.c
895
 
896
pex64igen.c: peXXigen.c
897
        rm -f pex64igen.c
898
        sed -e s/XX/pex64/g < $(srcdir)/peXXigen.c > pex64igen.new
899
        mv -f pex64igen.new pex64igen.c
900
 
901
BFD_H_DEPS= $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h
902
LOCAL_H_DEPS= libbfd.h sysdep.h config.h
903
$(BFD32_LIBS) \
904
 $(BFD64_LIBS) \
905
 $(ALL_MACHINES) \
906
 $(BFD32_BACKENDS) \
907
 $(BFD64_BACKENDS) \
908
 $(OPTIONAL_BACKENDS): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS)
909
 
910
host-aout.lo: Makefile
911
 
912
# The following program can be used to generate a simple config file
913
# which can be folded into an h-XXX file for a new host, with some editing.
914
aout-params.h: gen-aout
915
        ./gen-aout host > aout-params.h
916
gen-aout: $(srcdir)/gen-aout.c Makefile
917
        $(CC) -o gen-aout $(CFLAGS) $(LFLAGS) $(srcdir)/gen-aout.c
918
 
919
$(BFD_H): stmp-bfd-h ; @true
920
 
921
stmp-bfd-h: bfd-in3.h
922
        rm -f bfd-tmp.h
923
        cp bfd-in3.h bfd-tmp.h
924
        $(SHELL) $(srcdir)/../move-if-change bfd-tmp.h $(BFD_H)
925
        rm -f bfd-tmp.h
926
        touch stmp-bfd-h
927
 
928
BFD_H_FILES = bfd-in.h init.c opncls.c libbfd.c section.c archures.c \
929
        reloc.c syms.c bfd.c bfdio.c bfdwin.c \
930
        archive.c corefile.c targets.c format.c compress.c
931
BFD64_H_FILES = archive64.c
932
LIBBFD_H_FILES = libbfd-in.h init.c libbfd.c bfdio.c bfdwin.c \
933
        cache.c reloc.c archures.c elf.c
934
LIBCOFF_H_FILES = libcoff-in.h coffcode.h
935
 
936
# Could really use a "copy-if-change"...
937
headers:
938
        (cd $(bfddocdir); $(MAKE) protos $(FLAGS_TO_PASS))
939
        cp $(bfddocdir)/bfd.h bfd-in2.h-new
940
        $(SHELL) $(srcdir)/../move-if-change bfd-in2.h-new $(srcdir)/bfd-in2.h
941
        cp $(bfddocdir)/libbfd.h libbfd.h-new
942
        $(SHELL) $(srcdir)/../move-if-change libbfd.h-new $(srcdir)/libbfd.h
943
        cp $(bfddocdir)/libcoff.h libcoff.h-new
944
        $(SHELL) $(srcdir)/../move-if-change libcoff.h-new $(srcdir)/libcoff.h
945
 
946
# We only rebuild the header files automatically if we have been
947
# configured with --enable-maintainer-mode.
948
 
949
$(srcdir)/bfd-in2.h: @MAINT@ stmp-bin2-h ; @true
950
stmp-bin2-h: $(BFD_H_FILES) $(BFD64_H_FILES)
951
        (cd $(bfddocdir); $(MAKE) $(FLAGS_TO_PASS) bfd.h)
952
        cp $(bfddocdir)/bfd.h bfd-in2.h-new
953
        $(SHELL) $(srcdir)/../move-if-change bfd-in2.h-new $(srcdir)/bfd-in2.h
954
        touch stmp-bin2-h
955
 
956
$(srcdir)/libbfd.h: @MAINT@ stmp-lbfd-h ; @true
957
stmp-lbfd-h: $(LIBBFD_H_FILES)
958
        (cd $(bfddocdir); $(MAKE) $(FLAGS_TO_PASS) libbfd.h)
959
        cp $(bfddocdir)/libbfd.h libbfd.h-new
960
        $(SHELL) $(srcdir)/../move-if-change libbfd.h-new $(srcdir)/libbfd.h
961
        touch stmp-lbfd-h
962
 
963
$(srcdir)/libcoff.h: @MAINT@ stmp-lcoff-h ; @true
964
stmp-lcoff-h: $(LIBCOFF_H_FILES)
965
        (cd $(bfddocdir); $(MAKE) $(FLAGS_TO_PASS) libcoff.h)
966
        cp $(bfddocdir)/libcoff.h libcoff.h-new
967
        $(SHELL) $(srcdir)/../move-if-change libcoff.h-new $(srcdir)/libcoff.h
968
        touch stmp-lcoff-h
969
 
970
MOSTLYCLEANFILES = ofiles stamp-ofiles
971
 
972
CLEANFILES = bfd.h dep.sed stmp-bfd-h DEP DEPA DEP1 DEP2 libbfd.a stamp-lib \
973
        stmp-bin2-h stmp-lbfd-h stmp-lcoff-h
974
 
975
DISTCLEANFILES = $(BUILD_CFILES) $(BUILD_HFILES) libtool-soversion
976
 
977
bfdver.h: $(srcdir)/version.h $(srcdir)/Makefile.in
978
        @echo "creating $@"
979
        @bfd_version=`echo "$(VERSION)" | sed -e 's/\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\).*/\1.00\2.00\3.00\4.00\5/' -e 's/\([^\.]*\)\..*\(..\)\..*\(..\)\..*\(..\)\..*\(..\)$$/\1\2\3\4\5/'` ;\
980
        bfd_version_string="\"$(VERSION)\"" ;\
981
        bfd_soversion="$(VERSION)" ;\
982
        bfd_version_package="\"$(PKGVERSION)\"" ;\
983
        report_bugs_to="\"$(REPORT_BUGS_TO)\"" ;\
984
        if test "x$(RELEASE)" = x ; then \
985
          bfd_version_date=`sed -n -e 's/.*DATE //p' < $(srcdir)/version.h` ;\
986
          bfd_version_string="\"$(VERSION).$${bfd_version_date}\"" ;\
987
          bfd_soversion="$(VERSION).$${bfd_version_date}" ;\
988
        fi ;\
989
        sed -e "s,@bfd_version@,$$bfd_version," \
990
            -e "s,@bfd_version_string@,$$bfd_version_string," \
991
            -e "s,@bfd_version_package@,$$bfd_version_package," \
992
            -e "s,@report_bugs_to@,$$report_bugs_to," \
993
            < $(srcdir)/version.h > $@; \
994
        echo "$${bfd_soversion}" > libtool-soversion
995
 
996
# Disable -Werror, if it has been enabled, since coffswap.h won't
997
# compile with gcc 4.5 and above.
998
coff-tic4x.lo: coff-tic4x.c
999
@am__fastdepCC_TRUE@    $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< $(NO_WERROR)
1000
@am__fastdepCC_TRUE@    $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
1001
@AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
1002
@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1003
@am__fastdepCC_FALSE@   $(LTCOMPILE) -c -o $@ $< $(NO_WERROR)
1004
 
1005
coff-tic54x.lo: coff-tic54x.c
1006
@am__fastdepCC_TRUE@    $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< $(NO_WERROR)
1007
@am__fastdepCC_TRUE@    $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
1008
@AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
1009
@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1010
@am__fastdepCC_FALSE@   $(LTCOMPILE) -c -o $@ $< $(NO_WERROR)

powered by: WebSVN 2.1.0

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