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