aboutsummaryrefslogtreecommitdiff
path: root/bfd/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/Makefile.in')
-rw-r--r--bfd/Makefile.in11
1 files changed, 6 insertions, 5 deletions
diff --git a/bfd/Makefile.in b/bfd/Makefile.in
index ed2d78d..c37da45 100644
--- a/bfd/Makefile.in
+++ b/bfd/Makefile.in
@@ -22,7 +22,7 @@
srcdir = .
destdir = /usr/local
-libdir = $(destdir)/lib
+libdir = $(destdir)/H-$(host_alias)/T-independent/lib
docdir = $(srcdir)/doc
RANLIB = ranlib
@@ -69,8 +69,8 @@ STAGESTUFF = $(TARGETLIB) $(OFILES)
all: $(TARGETLIB)
-# XDEPFILES comes from the host config; TDEPFILES from the target config.
-OFILES = $(BFD_LIBS) $(BFD_BACKENDS) $(BFD_MACHINES) $(XDEPFILES) $(TDEPFILES)
+# HDEPFILES comes from the host config; TDEPFILES from the target config.
+OFILES = $(BFD_LIBS) $(BFD_BACKENDS) $(BFD_MACHINES) $(HDEPFILES) $(TDEPFILES)
$(TARGETLIB): $(OFILES)
rm -f $(TARGETLIB)
@@ -166,8 +166,9 @@ roll:
force:
install:
- install -c libbfd.a $(libdir)
- $(RANLIB) $(libdir)/libbfd.a
+ cp libbfd.a $(libdir)/libbfd.a.new
+ $(RANLIB) $(libdir)/libbfd.a.new
+ mv -f $(libdir)/libbfd.a.new $(libdir)/libbfd.a
# Target to uncomment host-specific lines in this makefile. Such lines must
# have the following string beginning in column 1: #__<hostname>__#