aboutsummaryrefslogtreecommitdiff
path: root/ld/Makefile.in
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>1996-06-04 22:16:01 +0000
committerTom Tromey <tromey@redhat.com>1996-06-04 22:16:01 +0000
commit2c7aeec634b39b74f8e2f58cb52254d3e1dcfd48 (patch)
tree3a084ff459a7b278652b0ffb245d2882c6aaae6c /ld/Makefile.in
parentaf34f1a9f60f81758fd1468949001cf9254eb32d (diff)
downloadgdb-2c7aeec634b39b74f8e2f58cb52254d3e1dcfd48.zip
gdb-2c7aeec634b39b74f8e2f58cb52254d3e1dcfd48.tar.gz
gdb-2c7aeec634b39b74f8e2f58cb52254d3e1dcfd48.tar.bz2
* Makefile.in (install): Don't check to see if tooldir exists.
Make $(tooldir) and $(tooldir)/bin.
Diffstat (limited to 'ld/Makefile.in')
-rw-r--r--ld/Makefile.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/ld/Makefile.in b/ld/Makefile.in
index a34523d..cdc50c5 100644
--- a/ld/Makefile.in
+++ b/ld/Makefile.in
@@ -905,6 +905,8 @@ install:
for f in ldscripts/*; do \
$(INSTALL_DATA) $$f $(scriptdir)/$$f ; \
done
+ test -d $(tooldir) || mkdir $(tooldir)
+ test -d $(tooldir)/bin || mkdir $(tooldir)/bin
-n=`echo ld | sed '$(program_transform_name)'`; \
rm -f $(tooldir)/bin/ld; \
ln $(bindir)/$$n $(tooldir)/bin/ld >/dev/null 2>/dev/null \
@@ -1012,8 +1014,8 @@ ldver.o: ldver.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
ld.h ldver.h ldemul.h ldmain.h
ldwrite.o: ldwrite.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
$(INCDIR)/obstack.h sysdep.h config.h $(INCDIR)/fopen-same.h \
- $(INCDIR)/bfdlink.h ld.h ldexp.h ldlang.h ldwrite.h \
- ldmisc.h ldgram.h ldmain.h
+ $(INCDIR)/bfdlink.h $(INCDIR)/libiberty.h ld.h ldexp.h \
+ ldlang.h ldwrite.h ldmisc.h ldgram.h ldmain.h
lexsup.o: lexsup.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
$(INCDIR)/obstack.h sysdep.h config.h $(INCDIR)/fopen-same.h \
$(INCDIR)/getopt.h $(INCDIR)/bfdlink.h ld.h ldmain.h \