OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.20.1/] [bfd/] [Makefile.am] - Blame information for rev 373

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

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

powered by: WebSVN 2.1.0

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