aboutsummaryrefslogtreecommitdiff
path: root/binutils/Makefile.in
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-11-22 18:18:21 +0000
committerIan Lance Taylor <ian@airs.com>1995-11-22 18:18:21 +0000
commit53e174d692facac03f31752ad77fa80aecc7648b (patch)
treecbebdd44cabdfb9bb359fd8a504d91d74014ccce /binutils/Makefile.in
parentfa63d1ef2381ff6d08d7d8a04eefbcd7edd081d0 (diff)
downloadgdb-53e174d692facac03f31752ad77fa80aecc7648b.zip
gdb-53e174d692facac03f31752ad77fa80aecc7648b.tar.gz
gdb-53e174d692facac03f31752ad77fa80aecc7648b.tar.bz2
* Makefile.in (EXPECT): Use $$r, not $${rootme}.
(check): Set r, not rootme.
Diffstat (limited to 'binutils/Makefile.in')
-rw-r--r--binutils/Makefile.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/binutils/Makefile.in b/binutils/Makefile.in
index 1a4a8eb..f8508f2 100644
--- a/binutils/Makefile.in
+++ b/binutils/Makefile.in
@@ -161,8 +161,8 @@ ADDL_LIBS = $(MALLOC) $(BULIBS) $(BFD) $(LIBIBERTY)
BFD = ../bfd/libbfd.a
OPCODES = ../opcodes/libopcodes.a
-EXPECT = `if [ -f $${rootme}/../expect/expect ] ; then \
- echo $${rootme}/../expect/expect ; \
+EXPECT = `if [ -f $$r/../expect/expect ] ; then \
+ echo $$r/../expect/expect ; \
else echo expect ; fi`
RUNTEST = `if [ -f ${srcdir}/../dejagnu/runtest ] ; then \
echo ${srcdir}/../dejagnu/runtest ; \
@@ -177,7 +177,7 @@ CC_FOR_TARGET = ` \
echo $$r/../gcc/xgcc -B$$r/../gcc/; \
fi; \
else \
- if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
+ if [ "@host@" = "@target@" ] ; then \
echo $(CC); \
else \
echo gcc | sed '$(program_transform_name)'; \
@@ -226,10 +226,10 @@ site.exp: ./config.status Makefile
-@rm -f ./tmp?
check: site.exp
- rootme=`pwd`; export rootme ; \
+ r=`pwd`; export r ; \
srcroot=`cd ${srcdir}; pwd` ; export srcroot ; \
EXPECT=${EXPECT} ; export EXPECT ; \
- if [ -f $$rootme/../expect/expect ] ; then \
+ if [ -f $$r/../expect/expect ] ; then \
TCL_LIBRARY=$${srcroot}/../tcl/library ; \
export TCL_LIBRARY ; else true; fi ; \
$(RUNTEST) --tool binutils --srcdir $(srcdir)/testsuite \