X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=bfd%2FMakefile.am;h=e5bd28f03f570eafd3c00df06e88f83d99f6fb28;hb=239b426b11425c4bd6b36aa7fd92a01e74fd42cb;hp=d964055bf99c98fa5013fcc3c9c894eb1c4bdcfe;hpb=ddb000396c9246649e02669e0bd6ad3949973e5a;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/Makefile.am b/bfd/Makefile.am index d964055bf9..e5bd28f03f 100644 --- a/bfd/Makefile.am +++ b/bfd/Makefile.am @@ -1,6 +1,6 @@ ## Process this file with automake to generate Makefile.in # -# Copyright (C) 2012-2018 Free Software Foundation, Inc. +# Copyright (C) 2012-2019 Free Software Foundation, Inc. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ # . # -AUTOMAKE_OPTIONS = 1.11 no-dist foreign +AUTOMAKE_OPTIONS = no-dist foreign ACLOCAL_AMFLAGS = -I . -I .. -I ../config INCDIR = $(srcdir)/../include @@ -32,7 +32,8 @@ if INSTALL_LIBBFD bfdlibdir = @bfdlibdir@ bfdincludedir = @bfdincludedir@ bfdlib_LTLIBRARIES = libbfd.la -bfdinclude_HEADERS = $(BFD_H) $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h $(INCDIR)/bfdlink.h +bfdinclude_HEADERS = $(BFD_H) $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \ + bfd_stdint.h $(INCDIR)/diagnostics.h $(INCDIR)/bfdlink.h else !INSTALL_LIBBFD # Empty these so that the respective installation directories will not be created. bfdlibdir = @@ -52,7 +53,7 @@ ZLIBINC = @zlibinc@ WARN_CFLAGS = @WARN_CFLAGS@ NO_WERROR = @NO_WERROR@ AM_CFLAGS = $(WARN_CFLAGS) $(ZLIBINC) -AM_CPPFLAGS = -DBINDIR='"$(bindir)"' +AM_CPPFLAGS = -DBINDIR='"$(bindir)"' -DLIBDIR='"$(libdir)"' if PLUGINS bfdinclude_HEADERS += $(INCDIR)/plugin-api.h LIBDL = @lt_cv_dlopen_libs@ @@ -69,17 +70,17 @@ BFD_H = bfd.h # need two copies of the executable, one to download and one for the # debugger). BFD32_LIBS = \ - archive.lo archures.lo bfd.lo bfdio.lo bfdwin.lo \ - cache.lo coff-bfd.lo compress.lo corefile.lo format.lo hash.lo \ - init.lo libbfd.lo linker.lo merge.lo opncls.lo reloc.lo \ + archive.lo archures.lo bfd.lo bfdio.lo bfdwin.lo cache.lo \ + coff-bfd.lo compress.lo corefile.lo elf-properties.lo format.lo \ + hash.lo init.lo libbfd.lo linker.lo merge.lo opncls.lo reloc.lo \ section.lo simple.lo stab-syms.lo stabs.lo syms.lo targets.lo \ binary.lo ihex.lo srec.lo tekhex.lo verilog.lo BFD64_LIBS = archive64.lo BFD32_LIBS_CFILES = \ - archive.c archures.c bfd.c bfdio.c bfdwin.c \ - cache.c coff-bfd.c compress.c corefile.c format.c hash.c \ + archive.c archures.c bfd.c bfdio.c bfdwin.c cache.c coff-bfd.c \ + compress.c corefile.c elf-properties.c format.c hash.c \ init.c libbfd.c linker.c merge.c opncls.c reloc.c \ section.c simple.c stab-syms.c stabs.c syms.c targets.c \ binary.c ihex.c srec.c tekhex.c verilog.c @@ -95,10 +96,11 @@ ALL_MACHINES = \ cpu-arm.lo \ cpu-avr.lo \ cpu-bfin.lo \ + cpu-bpf.lo \ cpu-cr16.lo \ - cpu-cr16c.lo \ cpu-cris.lo \ cpu-crx.lo \ + cpu-csky.lo \ cpu-d10v.lo \ cpu-d30v.lo \ cpu-dlx.lo \ @@ -123,6 +125,7 @@ ALL_MACHINES = \ cpu-m68hc11.lo \ cpu-m68hc12.lo \ cpu-m9s12x.lo \ + cpu-s12z.lo \ cpu-m9s12xg.lo \ cpu-m68k.lo \ cpu-mcore.lo \ @@ -135,6 +138,7 @@ ALL_MACHINES = \ cpu-msp430.lo \ cpu-mt.lo \ cpu-nds32.lo \ + cpu-nfp.lo \ cpu-nios2.lo \ cpu-ns32k.lo \ cpu-or1k.lo \ @@ -178,10 +182,11 @@ ALL_MACHINES_CFILES = \ cpu-arm.c \ cpu-avr.c \ cpu-bfin.c \ + cpu-bpf.c \ cpu-cr16.c \ - cpu-cr16c.c \ cpu-cris.c \ cpu-crx.c \ + cpu-csky.c \ cpu-d10v.c \ cpu-d30v.c \ cpu-dlx.c \ @@ -206,6 +211,7 @@ ALL_MACHINES_CFILES = \ cpu-m68hc11.c \ cpu-m68hc12.c \ cpu-m9s12x.c \ + cpu-s12z.c \ cpu-m9s12xg.c \ cpu-m68k.c \ cpu-mcore.c \ @@ -218,6 +224,7 @@ ALL_MACHINES_CFILES = \ cpu-msp430.c \ cpu-mt.c \ cpu-nds32.c \ + cpu-nfp.c \ cpu-ns32k.c \ cpu-nios2.c \ cpu-or1k.c \ @@ -257,14 +264,11 @@ ALL_MACHINES_CFILES = \ # The .o files needed by all of the 32 bit vectors that are configured into # target_vector in targets.c if configured with --enable-targets=all. BFD32_BACKENDS = \ - aout-arm.lo \ aout-cris.lo \ aout-ns32k.lo \ aout-tic30.lo \ aout32.lo \ - armnetbsd.lo \ cf-i386lynx.lo \ - coff-arm.lo \ coff-go32.lo \ coff-i386.lo \ coff-mips.lo \ @@ -289,7 +293,6 @@ BFD32_BACKENDS = \ elf-m10200.lo \ elf-m10300.lo \ elf-nacl.lo \ - elf-properties.lo \ elf-strtab.lo \ elf-vxworks.lo \ elf.lo \ @@ -299,9 +302,9 @@ BFD32_BACKENDS = \ elf32-avr.lo \ elf32-bfin.lo \ elf32-cr16.lo \ - elf32-cr16c.lo \ elf32-cris.lo \ elf32-crx.lo \ + elf32-csky.lo \ elf32-d10v.lo \ elf32-d30v.lo \ elf32-dlx.lo \ @@ -323,6 +326,7 @@ BFD32_BACKENDS = \ elf32-m68hc12.lo \ elf32-m68hc1x.lo \ elf32-m68k.lo \ + elf32-s12z.lo \ elf32-mcore.lo \ elf32-mep.lo \ elf32-metag.lo \ @@ -359,18 +363,11 @@ BFD32_BACKENDS = \ elfxx-tilegx.lo \ i386aout.lo \ i386bsd.lo \ - i386dynix.lo \ - i386freebsd.lo \ - i386linux.lo \ i386lynx.lo \ - i386mach3.lo \ i386msdos.lo \ - i386netbsd.lo \ - i386os9k.lo \ mach-o.lo \ mach-o-i386.lo \ mach-o-arm.lo \ - mipsbsd.lo \ ns32knetbsd.lo \ pc532-mach.lo \ pdp11.lo \ @@ -378,7 +375,6 @@ BFD32_BACKENDS = \ pe-arm.lo \ pe-i386.lo \ pe-mcore.lo \ - pe-mips.lo \ pe-ppc.lo \ pe-sh.lo \ pef.lo \ @@ -386,14 +382,12 @@ BFD32_BACKENDS = \ pei-arm.lo \ pei-i386.lo \ pei-mcore.lo \ - pei-mips.lo \ pei-ppc.lo \ pei-sh.lo \ peigen.lo \ plugin.lo \ ppcboot.lo \ reloc16.lo \ - riscix.lo \ som.lo \ vax1knetbsd.lo \ vaxnetbsd.lo \ @@ -406,14 +400,11 @@ BFD32_BACKENDS = \ xtensa-modules.lo BFD32_BACKENDS_CFILES = \ - aout-arm.c \ aout-cris.c \ aout-ns32k.c \ aout-tic30.c \ aout32.c \ - armnetbsd.c \ cf-i386lynx.c \ - coff-arm.c \ coff-go32.c \ coff-i386.c \ coff-mips.c \ @@ -438,7 +429,6 @@ BFD32_BACKENDS_CFILES = \ elf-m10200.c \ elf-m10300.c \ elf-nacl.c \ - elf-properties.c \ elf-strtab.c \ elf-vxworks.c \ elf.c \ @@ -448,9 +438,9 @@ BFD32_BACKENDS_CFILES = \ elf32-avr.c \ elf32-bfin.c \ elf32-cr16.c \ - elf32-cr16c.c \ elf32-cris.c \ elf32-crx.c \ + elf32-csky.c \ elf32-d10v.c \ elf32-d30v.c \ elf32-dlx.c \ @@ -472,6 +462,7 @@ BFD32_BACKENDS_CFILES = \ elf32-m68hc12.c \ elf32-m68hc1x.c \ elf32-m68k.c \ + elf32-s12z.c \ elf32-mcore.c \ elf32-mep.c \ elf32-metag.c \ @@ -508,18 +499,11 @@ BFD32_BACKENDS_CFILES = \ elfxx-tilegx.c \ i386aout.c \ i386bsd.c \ - i386dynix.c \ - i386freebsd.c \ - i386linux.c \ i386lynx.c \ - i386mach3.c \ i386msdos.c \ - i386netbsd.c \ - i386os9k.c \ mach-o.c \ mach-o-i386.c \ mach-o-arm.c \ - mipsbsd.c \ ns32knetbsd.c \ pc532-mach.c \ pdp11.c \ @@ -527,7 +511,6 @@ BFD32_BACKENDS_CFILES = \ pe-arm.c \ pe-i386.c \ pe-mcore.c \ - pe-mips.c \ pe-ppc.c \ pe-sh.c \ pef.c \ @@ -535,13 +518,11 @@ BFD32_BACKENDS_CFILES = \ pei-arm.c \ pei-i386.c \ pei-mcore.c \ - pei-mips.c \ pei-ppc.c \ pei-sh.c \ plugin.c \ ppcboot.c \ reloc16.c \ - riscix.c \ som.c \ vax1knetbsd.c \ vaxnetbsd.c \ @@ -581,6 +562,7 @@ BFD64_BACKENDS = \ elf64-mips.lo \ elfxx-mips.lo \ elf64-mmix.lo \ + elf64-nfp.lo \ elf64-ppc.lo \ elf32-riscv.lo \ elf64-riscv.lo \ @@ -590,6 +572,7 @@ BFD64_BACKENDS = \ elf64-tilegx.lo \ elf64-x86-64.lo \ elfxx-x86.lo \ + elf64-bpf.lo \ elf64.lo \ mach-o-aarch64.lo \ mach-o-x86-64.lo \ @@ -616,12 +599,14 @@ BFD64_BACKENDS_CFILES = \ elf64-ia64-vms.c \ elf64-mips.c \ elf64-mmix.c \ + elf64-nfp.c \ elf64-ppc.c \ elf64-s390.c \ elf64-sparc.c \ elf64-tilegx.c \ elf64-x86-64.c \ elfxx-x86.c \ + elf64-bpf.c \ elf64.c \ elfn32-mips.c \ elfxx-aarch64.c \ @@ -675,7 +660,7 @@ BFD_MACHINES = @bfd_machines@ TDEFAULTS = @tdefaults@ HAVEVECS = @havevecs@ -INCLUDES = @HDEFINES@ @COREFLAG@ @TDEFINES@ $(CSEARCH) $(CSWITCHES) \ +AM_CPPFLAGS += @HDEFINES@ @COREFLAG@ @TDEFINES@ $(CSEARCH) $(CSWITCHES) \ $(HAVEVECS) @INCINTL@ # C source files that correspond to .o's. @@ -695,19 +680,35 @@ BUILD_CFILES = \ CFILES = $(SOURCE_CFILES) $(BUILD_CFILES) -## This is a list of all .h files which are in the source tree. +## This is a list of all .h files in the source tree minus those that +## are processed to produce other .h files SOURCE_HFILES = \ - aout-target.h aoutx.h coffcode.h coffswap.h ecoffswap.h \ - elf-bfd.h elf-hppa.h elf-linux-core.h elf32-hppa.h \ - elf64-hppa.h elfcode.h elfcore.h \ - freebsd.h genlink.h go32stub.h \ + aout-target.h aoutx.h arc-got.h arc-plt.h \ + coff-arm.h coff-bfd.h coffcode.h coffswap.h \ + cpu-aarch64.h cpu-arm.h cpu-h8300.h cpu-m68k.h \ + ecoff-bfd.h ecoffswap.h \ + elf32-arm.h elf32-avr.h elf32-bfin.h elf32-cr16.h elf32-csky.h \ + elf32-dlx.h elf32-hppa.h elf32-m68hc1x.h elf32-m68k.h \ + elf32-metag.h elf32-nds32.h elf32-nios2.h elf32-ppc.h \ + elf32-rx.h elf32-score.h elf32-sh-relocs.h elf32-spu.h \ + elf32-tic6x.h elf32-tilegx.h elf32-tilepro.h elf32-v850.h \ + elf64-hppa.h elf64-ppc.h elf64-tilegx.h \ + elf-bfd.h elfcode.h elfcore.h elf-hppa.h elf-linker-x86.h \ + elf-linux-core.h elf-nacl.h elf-s390.h elf-vxworks.h \ + elfxx-aarch64.h elfxx-ia64.h elfxx-mips.h elfxx-riscv.h \ + elfxx-sparc.h elfxx-tilegx.h elfxx-x86.h \ + genlink.h go32stub.h \ libaout.h libbfd.h libcoff.h libecoff.h libhppa.h \ - libpei.h libxcoff.h mach-o.h \ + libpei.h libxcoff.h \ + mach-o.h \ netbsd.h ns32k.h \ - pef.h pef-traceback.h peicode.h som.h version.h \ - vms.h xsym.h + pef.h pef-traceback.h peicode.h plugin.h \ + som.h sysdep.h \ + version.h vms.h \ + wasm-module.h \ + xcofflink.h xsym.h -## ... and all .h files which are in the build tree. +## ... and .h files which are in the build tree, minus config.h and bfd.h BUILD_HFILES = \ bfdver.h elf32-target.h elf64-target.h targmatch.h bfd_stdint.h @@ -888,8 +889,8 @@ pex64igen.c: peXXigen.c $(SED) -e s/XX/pex64/g < $(srcdir)/peXXigen.c > pex64igen.new mv -f pex64igen.new pex64igen.c -BFD_H_DEPS= $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h -LOCAL_H_DEPS= libbfd.h sysdep.h config.h +BFD_H_DEPS= $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h $(INCDIR)/diagnostics.h +LOCAL_H_DEPS= libbfd.h sysdep.h config.h bfd_stdint.h $(BFD32_LIBS) \ $(BFD64_LIBS) \ $(ALL_MACHINES) \