aboutsummaryrefslogtreecommitdiff
path: root/ld/Makefile.in
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-09-18 18:57:59 +0000
committerIan Lance Taylor <ian@airs.com>1995-09-18 18:57:59 +0000
commit208bc89e0b7357c114ba300f36896516b87ca7c7 (patch)
treea88a9cb73a1c742a18e827b8fff7394769ba7ebf /ld/Makefile.in
parente4c3b4759302544e424fb29baae15f30151d86cc (diff)
downloadgdb-208bc89e0b7357c114ba300f36896516b87ca7c7.zip
gdb-208bc89e0b7357c114ba300f36896516b87ca7c7.tar.gz
gdb-208bc89e0b7357c114ba300f36896516b87ca7c7.tar.bz2
Based on patches by Alan Modra <alan@spri.levels.unisa.edu.au>:
* Makefile.in (CC_FOR_TARGET): Remove brokensed stuff. (CXX_FOR_TARGET): Likewise. (install): Likewise. (GENERATED_HFILES): Remove config.h. (.dep): Depend upon config.h.
Diffstat (limited to 'ld/Makefile.in')
-rw-r--r--ld/Makefile.in12
1 files changed, 6 insertions, 6 deletions
diff --git a/ld/Makefile.in b/ld/Makefile.in
index 33f055b..24045e6 100644
--- a/ld/Makefile.in
+++ b/ld/Makefile.in
@@ -72,7 +72,7 @@ EMULATION_OFILES = @EMULATION_OFILES@
# Seach path to override the default search path for -lfoo libraries.
# If LIB_PATH is empty, the ones in the script (if any) are left alone.
-# (The default is usually /lib:usr/lib:/usr/local/lib, unless building
+# (The default is usually /lib:/usr/lib:/usr/local/lib, unless building
# a cross-linker, in which case the default is empty. See genscripts.sh.)
# Otherwise, they are replaced with the ones given in LIB_PATH,
# which may have the form: LIB_PATH=/lib:/usr/local/lib
@@ -141,7 +141,7 @@ CC_FOR_TARGET = ` \
if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
echo $(CC); \
else \
- t='$(program_transform_name)'; echo gcc | sed -e 's/brokensed/brokensed/' $$t; \
+ echo gcc | sed $(program_transform_name); \
fi; \
fi`
@@ -157,7 +157,7 @@ CXX_FOR_TARGET = ` \
if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
echo $(CXX); \
else \
- t='$(program_transform_name)'; echo gcc | sed -e 's/brokensed/brokensed/' $$t; \
+ echo gcc | sed $(program_transform_name); \
fi; \
fi`
@@ -213,7 +213,7 @@ HFILES = config.h ld.h ldctor.h ldemul.h ldexp.h ldfile.h \
ldwrite.h mri.h
GENERATED_CFILES = ldgram.c ldlex.c
-GENERATED_HFILES = ldgram.h ldemul-list.h config.h
+GENERATED_HFILES = ldgram.h ldemul-list.h
OFILES = ldgram.o ldlex.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o \
ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o \
@@ -797,7 +797,7 @@ install:
for f in ldscripts/*; do \
$(INSTALL_DATA) $$f $(scriptdir)/$$f ; \
done
- -n=`t='$(program_transform_name)'; echo ld | sed -e "" $$t`; \
+ -n=`echo ld | sed $(program_transform_name)`; \
rm -f $(tooldir)/bin/ld; \
ln $(bindir)/$$n $(tooldir)/bin/ld >/dev/null 2>/dev/null \
|| $(INSTALL_PROGRAM) ld.new $(tooldir)/bin/ld
@@ -819,7 +819,7 @@ clean-info:
# Targets to rebuild dependencies in this Makefile.
# Have to get rid of .dep1 here so that "$?" later includes all of $(CFILES).
-.dep: dep.sed $(CFILES) $(HFILES) $(GENERATED_CFILES) $(GENERATED_HFILES)
+.dep: dep.sed $(CFILES) $(HFILES) $(GENERATED_CFILES) $(GENERATED_HFILES) config.h
rm -f .dep1
$(MAKE) DEP=$(DEP) .dep1
sed -f dep.sed <.dep1 >.dep