OPCODES = ../opcodes/libopcodes.a
RUNTEST = runtest
-RUNTEST_FLAGS =
+RUNTESTFLAGS =
FLAGS_TO_PASS = \
"CC=$(CC)" \
"CFLAGS=$(CFLAGS)" \
"RUNTEST=$(RUNTEST)" \
- "RUNTEST_FLAGS=$(RUNTEST_FLAGS) \
+ "RUNTESTFLAGS=$(RUNTESTFLAGS) \
SIZE=`if [ -f $$rootme/$(SIZE_PROG) ] ; then echo $$rootme/$(SIZE_PROG) ; else echo $(SIZE_PROG); fi` \
OBJCOPY=`if [ -f $$rootme/$(OBJCOPY_PROG) ] ; then echo $$rootme/$(OBJCOPY_PROG) ; else echo $(OBJCOPY_PROG); fi` \
NM=`if [ -f $$rootme/$(NM_PROG) ] ; then echo $$rootme/$(NM_PROG) ; else echo $(NM_PROG); fi` \
$(MAKE) subdir_do DO=install-info "DODIRS=$(INFODIRS)" $(FLAGS_TO_PASS)
check: site.exp all
- $(RUNTEST) $(RUNTEST_FLAGS) $(FLAGS_TO_PASS) --tool binutils --srcdir $(srcdir)
+ $(RUNTEST) $(RUNTESTFLAGS) $(FLAGS_TO_PASS) --tool binutils --srcdir $(srcdir)
site.exp: ./config.status Makefile
@echo "Making a new config file..."
"CC_FOR_TARGET=$(CC_FOR_TARGET)" \
"NM_FOR_TARGET=$(NM_FOR_TARGET)" \
"OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
- "RUNTEST_FLAGS=$(RUNTEST_FLAGS)" \
+ "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
"RUNTEST=$(RUNTEST)"
# Lists of files for various purposes.
LINK= ln -s
RUNTEST = runtest
-RUNTEST_FLAGS =
+RUNTESTFLAGS =
# The ugliness in the program_transform_name version seems necessary
# to work around some strange behavior of /bin/sh on 386bsd (0.1).
@mv -f ./tmp0 site.exp
check: site.exp
- $(RUNTEST) $(RUNTEST_FLAGS) --tool gas AS=$(AS_FOR_TARGET) ASFLAGS="$(ASFLAGS)"
+ $(RUNTEST) $(RUNTESTFLAGS) --tool gas AS=$(AS_FOR_TARGET) ASFLAGS="$(ASFLAGS)"
force:
# Setup the testing framework, if you have one
RUNTEST = runtest
-RUNTEST_FLAGS =
+RUNTESTFLAGS =
RUNTEST_CC = `if [ -f ../gcc/xgcc ] ; then \
echo ../gcc/xgcc -B../gcc/; \
else echo gcc; \
check: ld.new site.exp
$(RUNTEST) --tool ld \
- --srcdir $(srcdir)/testsuite $(RUNTEST_FLAGS) \
+ --srcdir $(srcdir)/testsuite $(RUNTESTFLAGS) \
CC="$(RUNTEST_CC)" CFLAGS="$(RUNTEST_CFLAGS)" \
CXX="$(RUNTEST_CXX)" CXXFLAGS="$(RUNTEST_CXXFLAGS)"