aboutsummaryrefslogtreecommitdiff
path: root/bfd/Makefile.am
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2007-01-12 04:04:08 +0000
committerH.J. Lu <hjl.tools@gmail.com>2007-01-12 04:04:08 +0000
commit21e40a48721a47630060e8768e6211026114601d (patch)
treeeda59f8beaa606c4639723681163647b0910c4ca /bfd/Makefile.am
parent1f5409bb9c1b98fc69b351b38594f5cbc9d731ca (diff)
downloadgdb-21e40a48721a47630060e8768e6211026114601d.zip
gdb-21e40a48721a47630060e8768e6211026114601d.tar.gz
gdb-21e40a48721a47630060e8768e6211026114601d.tar.bz2
2076-01-11 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/3631 * Makefile.am (OFILES): Add @bfd64_libs@. (libbfd_la_SOURCES): Remove $(BFD64_LIBS_CFILES). * Makefile.in: Regenerated. * configure.in (bfd_libs): Replaced by ... (bfd64_libs): This. * configure: Regenerated.
Diffstat (limited to 'bfd/Makefile.am')
-rw-r--r--bfd/Makefile.am7
1 files changed, 5 insertions, 2 deletions
diff --git a/bfd/Makefile.am b/bfd/Makefile.am
index 435b30b..1d7f8e8 100644
--- a/bfd/Makefile.am
+++ b/bfd/Makefile.am
@@ -717,7 +717,8 @@ install-html-recursive:
# BFD_BACKENDS Routines the configured targets need.
# BFD_MACHINES Architecture-specific routines the configured targets need.
# COREFILE Core file routines for a native configuration
-OFILES = $(BFD_BACKENDS) $(BFD_MACHINES) @COREFILE@
+# bfd64_libs Routines for 64bit support
+OFILES = $(BFD_BACKENDS) $(BFD_MACHINES) @COREFILE@ @bfd64_libs@
stamp-ofiles: Makefile
rm -f tofiles
@@ -734,7 +735,9 @@ stamp-ofiles: Makefile
ofiles: stamp-ofiles ; @true
-libbfd_la_SOURCES = $(BFD32_LIBS_CFILES) $(BFD64_LIBS_CFILES)
+# Since BFD64_LIBS is optional and we can't have substitution in
+# libbfd_la_SOURCES, we put BFD64_LIBS in OFILES instead.
+libbfd_la_SOURCES = $(BFD32_LIBS_CFILES)
libbfd_la_DEPENDENCIES = $(OFILES) ofiles
libbfd_la_LIBADD = `cat ofiles` @WIN32LIBADD@
libbfd_la_LDFLAGS = -release $(VERSION) @WIN32LDFLAGS@