RUNTESTFLAGS =
CC = ` \
- if [ -f $${rootme}../../gcc/Makefile ] ; then \
- echo $${rootme}../../gcc/xgcc -B$${rootme}../../gcc/; \
+ if [ -f $${rootme}/../../gcc/Makefile ] ; then \
+ echo $${rootme}/../../gcc/xgcc -B$${rootme}../../gcc/; \
else \
if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
echo cc; \
fi`
CHILL = ` \
- if [ -f $${rootme}../../gcc/Makefile ] ; then \
- echo $${rootme}../../gcc/xgcc -B$${rootme}../../gcc/ -L$${rootme}../../chillrt/; \
+ if [ -f $${rootme}/../../gcc/Makefile ] ; then \
+ echo $${rootme}/../../gcc/xgcc -B$${rootme}../../gcc/ -L$${rootme}../../chillrt/; \
else \
if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
echo gcc; \
fi`
CXX = ` \
- if [ -f $${rootme}../../gcc/Makefile ] ; then \
- echo $${rootme}../../gcc/xgcc -B$${rootme}../../gcc/; \
+ if [ -f $${rootme}/../../gcc/Makefile ] ; then \
+ echo $${rootme}/../../gcc/xgcc -B$${rootme}../../gcc/; \
else \
if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
echo gcc; \
fi; \
fi`
-GDB = `if [ -f $${rootme}../gdb ] ; \
- then echo $${rootme}../gdb ; \
- else echo gdb; fi`
+GDB = ` \
+ if [ -f $${rootme}/../gdb ] ; then \
+ echo $${rootme}/../gdb ; \
+ else echo gdb; \
+ fi`
+
GDBFLAGS =
EXPECT = `if [ -f $${rootme}../../expect/expect ] ; \
installcheck:
check: site.exp all
- $(RUNTEST) $(RUNTESTFLAGS) --tool gdb GDB=$(GDB) --srcdir $(srcdir) --target $(target_canonical)
+ rootme=`pwd`; export rootme; \
+ $(RUNTEST) $(RUNTESTFLAGS) --tool gdb GDB=$(GDB) --srcdir $(srcdir)
subdir_do: force
@for i in $(DODIRS); do \