X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=bfd%2FMakefile.am;h=5c5fdefd3b8cf76dc30273d7adb53bb79b6583c0;hb=a839dbdce5d923dd28027ae2dba01f88104b7926;hp=75d21db88d1353f71687f6b27fd0e9206a975e93;hpb=3002e78a7d3dba2cf2776cebfd5f2a9e53071b3e;p=binutils-gdb.git diff --git a/bfd/Makefile.am b/bfd/Makefile.am index 75d21db88d1..5c5fdefd3b8 100644 --- a/bfd/Makefile.am +++ b/bfd/Makefile.am @@ -77,7 +77,7 @@ BFD_H = bfd.h BFD32_LIBS = \ 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 \ + hash.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 @@ -86,7 +86,7 @@ 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 elf-properties.c format.c hash.c \ - init.c libbfd.c linker.c merge.c opncls.c reloc.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 @@ -721,7 +721,7 @@ BUILD_HFILES = \ bfdver.h elf32-target.h elf64-target.h targmatch.h # Ensure they are built early: -BUILT_SOURCES = $(BUILD_HFILES) $(BUILD_CFILES) +BUILT_SOURCES = $(BUILD_HFILES) @MAINT@ $(BUILD_CFILES) HFILES = $(SOURCE_HFILES) $(BUILD_HFILES) @@ -781,25 +781,6 @@ libbfd_la_DEPENDENCIES = $(OFILES) ofiles ../libsframe/libsframe.la libbfd_la_LIBADD = `cat ofiles` @SHARED_LIBADD@ $(LIBDL) $(ZLIB) $(ZSTD_LIBS) ../libsframe/libsframe.la libbfd_la_LDFLAGS += -release `cat libtool-soversion` @SHARED_LDFLAGS@ -# libtool will build .libs/libbfd.a. We create libbfd.a in the build -# directory so that we don't have to convert all the programs that use -# libbfd.a simultaneously. This is a hack which should be removed if -# everything else starts using libtool. FIXME. - -noinst_LIBRARIES = libbfd.a -libbfd_a_SOURCES = - -stamp-lib: libbfd.la - libtooldir=`$(LIBTOOL) --config | $(SED) -n -e 's/^objdir=//p'`; \ - if [ -f $$libtooldir/libbfd.a ]; then \ - cp $$libtooldir/libbfd.a libbfd.tmp; \ - $(RANLIB) libbfd.tmp; \ - $(SHELL) $(srcdir)/../move-if-change libbfd.tmp libbfd.a; \ - else true; fi - touch stamp-lib - -libbfd.a: stamp-lib ; @true - # This file holds an array associating configuration triplets and # vector names. It is built from config.bfd. It is not compiled by # itself, but is included by targets.c. @@ -923,13 +904,14 @@ stmp-bfd-h: bfd-in3.h rm -f bfd-tmp.h touch stmp-bfd-h -BFD_H_FILES = bfd-in.h init.c opncls.c libbfd.c \ - bfdio.c bfdwin.c section.c archures.c reloc.c \ - syms.c bfd.c archive.c corefile.c targets.c format.c \ - linker.c simple.c compress.c +BFD_H_FILES = bfd-in.h libbfd.c hash.c section.c syms.c \ + archive.c archures.c bfd.c bfdio.c bfdwin.c \ + cache.c compress.c corefile.c format.c linker.c opncls.c \ + reloc.c simple.c stab-syms.c stabs.c targets.c BFD64_H_FILES = archive64.c -LIBBFD_H_FILES = libbfd-in.h libbfd.c bfd.c bfdio.c bfdwin.c \ - cache.c reloc.c section.c targets.c archures.c linker.c +LIBBFD_H_FILES = libbfd-in.h libbfd.c bfd.c bfdio.c \ + archive.c archures.c bfdwin.c cache.c hash.c linker.c opncls.c \ + reloc.c section.c stabs.c targets.c LIBCOFF_H_FILES = libcoff-in.h coffcode.h headers: stmp-bin2-h stmp-lbfd-h stmp-lcoff-h @@ -976,7 +958,7 @@ stmp-lcoff-h: $(LIBCOFF_H_FILES) $(MKDOC) MOSTLYCLEANFILES += ofiles stamp-ofiles -CLEANFILES += bfd.h dep.sed stmp-bfd-h DEP DEPA DEP1 DEP2 libbfd.a stamp-lib \ +CLEANFILES += bfd.h dep.sed stmp-bfd-h DEP DEPA DEP1 DEP2 \ stmp-bin2-h stmp-lbfd-h stmp-lcoff-h DISTCLEANFILES += $(BUILD_CFILES) $(BUILD_HFILES) libtool-soversion