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 14

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