## Process this file with automake to generate Makefile.in
#
-# Copyright (C) 2012-2022 Free Software Foundation, Inc.
+# Copyright (C) 2012-2023 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
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
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
vms-alpha.c
OPTIONAL_BACKENDS = \
- aix386-core.lo \
cisco-core.lo \
hpux-core.lo \
irix-core.lo \
netbsd-core.lo \
osf-core.lo \
rs6000-core.lo \
- sco5-core.lo \
trad-core.lo
OPTIONAL_BACKENDS_CFILES = \
- aix386-core.c \
cisco-core.c \
hpux-core.c \
irix-core.c \
netbsd-core.c \
osf-core.c \
rs6000-core.c \
- sco5-core.c \
trad-core.c
# Reconfigure if config.bfd or configure.host changes.
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)
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.
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 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
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