OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gdb-6.8/] [pre-binutils-2.20.1-sync/] [sim/] [testsuite/] [mips64el-elf/] [Makefile.in] - Diff between revs 157 and 223

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 157 Rev 223
# Makefile for regression testing the GNU debugger.
# Makefile for regression testing the GNU debugger.
# Copyright (C) 1992, 1993, 1994, 1995, 2007, 2008
# Copyright (C) 1992, 1993, 1994, 1995, 2007, 2008
# Free Software Foundation, Inc.
# Free Software Foundation, Inc.
# This file is part of GDB.
# This file is part of GDB.
# This program is free software; you can redistribute it and/or modify
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
# (at your option) any later version.
#
#
# This program is distributed in the hope that it will be useful,
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
# GNU General Public License for more details.
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see .
# along with this program.  If not, see .
VPATH = @srcdir@
VPATH = @srcdir@
srcdir = @srcdir@
srcdir = @srcdir@
srcroot = $(srcdir)/..
srcroot = $(srcdir)/..
prefix = @prefix@
prefix = @prefix@
exec_prefix = @exec_prefix@
exec_prefix = @exec_prefix@
host_alias = @host_alias@
host_alias = @host_alias@
target_alias = @target_alias@
target_alias = @target_alias@
program_transform_name = @program_transform_name@
program_transform_name = @program_transform_name@
build_canonical = @build@
build_canonical = @build@
host_canonical = @host@
host_canonical = @host@
target_canonical = @target@
target_canonical = @target@
target_cpu = @target_cpu@
target_cpu = @target_cpu@
SHELL = /bin/sh
SHELL = /bin/sh
SUBDIRS = @subdirs@
SUBDIRS = @subdirs@
RPATH_ENVVAR = @RPATH_ENVVAR@
RPATH_ENVVAR = @RPATH_ENVVAR@
EXPECT = `if [ -f $${rootme}/../../expect/expect ] ; then \
EXPECT = `if [ -f $${rootme}/../../expect/expect ] ; then \
          echo $${rootme}/../../expect/expect ; \
          echo $${rootme}/../../expect/expect ; \
          else echo expect ; fi`
          else echo expect ; fi`
RUNTEST = $(RUNTEST_FOR_TARGET)
RUNTEST = $(RUNTEST_FOR_TARGET)
RUNTESTFLAGS =
RUNTESTFLAGS =
RUNTEST_FOR_TARGET = `\
RUNTEST_FOR_TARGET = `\
  if [ -f $${srcdir}/../../../dejagnu/runtest ]; then \
  if [ -f $${srcdir}/../../../dejagnu/runtest ]; then \
    echo $${srcdir}/../../../dejagnu/runtest; \
    echo $${srcdir}/../../../dejagnu/runtest; \
  else \
  else \
    if [ "$(host_canonical)" = "$(target_canonical)" ]; then \
    if [ "$(host_canonical)" = "$(target_canonical)" ]; then \
      echo runtest; \
      echo runtest; \
    else \
    else \
      t='$(program_transform_name)'; echo runtest | sed -e '' $$t; \
      t='$(program_transform_name)'; echo runtest | sed -e '' $$t; \
    fi; \
    fi; \
  fi`
  fi`
AS_FOR_TARGET = `\
AS_FOR_TARGET = `\
  if [ -x ../../../gas/as-new ]; then \
  if [ -x ../../../gas/as-new ]; then \
    echo ../../../gas/as-new ; \
    echo ../../../gas/as-new ; \
  else \
  else \
    echo $(target_alias)-as ; \
    echo $(target_alias)-as ; \
  fi`
  fi`
LD_FOR_TARGET = `\
LD_FOR_TARGET = `\
  if [ -x ../../../ld/ld-new ]; then \
  if [ -x ../../../ld/ld-new ]; then \
    echo ../../../ld/ld-new ; \
    echo ../../../ld/ld-new ; \
  else \
  else \
    echo $(target_alias)-ld ; \
    echo $(target_alias)-ld ; \
  fi`
  fi`
RUN_FOR_TARGET = `\
RUN_FOR_TARGET = `\
  if [ -x ../../../sim/mips/run ]; then \
  if [ -x ../../../sim/mips/run ]; then \
    echo ../../../sim/mips/run ; \
    echo ../../../sim/mips/run ; \
  else \
  else \
    echo $(target_alias)-run ; \
    echo $(target_alias)-run ; \
  fi`
  fi`
TESTS =
TESTS =
check: sanity $(TESTS)
check: sanity $(TESTS)
sanity:
sanity:
        @eval echo AS_FOR_TARGET = $(AS_FOR_TARGET)
        @eval echo AS_FOR_TARGET = $(AS_FOR_TARGET)
        @eval echo LD_FOR_TARGET = $(LD_FOR_TARGET)
        @eval echo LD_FOR_TARGET = $(LD_FOR_TARGET)
        @eval echo RUN_FOR_TARGET = $(RUN_FOR_TARGET)
        @eval echo RUN_FOR_TARGET = $(RUN_FOR_TARGET)
# Rules for running all the tests, put into three types
# Rules for running all the tests, put into three types
# exit success, exit fail, print "Hello World"
# exit success, exit fail, print "Hello World"
.u.log:
.u.log:
        uudecode $*.u
        uudecode $*.u
        $(RUN_FOR_TARGET) $* > $*.log
        $(RUN_FOR_TARGET) $* > $*.log
# Rules for running the tests
# Rules for running the tests
.SUFFIXES: .u .uue .ok .ok .run .hi .ko .ko
.SUFFIXES: .u .uue .ok .ok .run .hi .ko .ko
.run.ok:
.run.ok:
        rm -f tmp-$* $*.ok
        rm -f tmp-$* $*.ok
        ulimit -t 5 ; $(RUN_FOR_TARGET) $*.run > tmp-$*
        ulimit -t 5 ; $(RUN_FOR_TARGET) $*.run > tmp-$*
        mv tmp-$* $*.ok
        mv tmp-$* $*.ok
.run.hi:
.run.hi:
        rm -f tmp-$* $*.hi diff-$*
        rm -f tmp-$* $*.hi diff-$*
        ulimit -t 5 ; $(RUN_FOR_TARGET) $*.run > tmp-$*
        ulimit -t 5 ; $(RUN_FOR_TARGET) $*.run > tmp-$*
        echo 'Hello World!' | diff - tmp-$* > diff-$*
        echo 'Hello World!' | diff - tmp-$* > diff-$*
        cat tmp-$* diff-$* > $*.hi
        cat tmp-$* diff-$* > $*.hi
.run.ko:
.run.ko:
        rm -f tmp-$* $*.ko
        rm -f tmp-$* $*.ko
        set +e ; \
        set +e ; \
        ulimit -t 5 ; $(RUN_FOR_TARGET) $*.run > tmp-$* ; \
        ulimit -t 5 ; $(RUN_FOR_TARGET) $*.run > tmp-$* ; \
        if [ $$? -eq 47 ] ; then \
        if [ $$? -eq 47 ] ; then \
          exit 0 ; \
          exit 0 ; \
        else \
        else \
          exit 1 ; \
          exit 1 ; \
        fi
        fi
        mv tmp-$* $*.ko
        mv tmp-$* $*.ko
# Rules for building all the tests and packing them into
# Rules for building all the tests and packing them into
# uuencoded files.
# uuencoded files.
.run.u:
.run.u:
        uuencode < $*.run $*.run > $*.u
        uuencode < $*.run $*.run > $*.u
        @echo "Move $*.u $*.uue"
        @echo "Move $*.u $*.uue"
.uue.run:
.uue.run:
        uudecode $(srcdir)/$*.uue
        uudecode $(srcdir)/$*.uue
.o.run:
.o.run:
        $(LD_FOR_TARGET) -Ttext 0xa0020000 -o $*.run $*.o
        $(LD_FOR_TARGET) -Ttext 0xa0020000 -o $*.run $*.o
.s.o:
.s.o:
        $(AS_FOR_TARGET) -I $(srcdir) $(srcdir)/$*.s -o $*.o
        $(AS_FOR_TARGET) -I $(srcdir) $(srcdir)/$*.s -o $*.o
#
#
# Standard
# Standard
#
#
clean mostlyclean:
clean mostlyclean:
        -rm -f *~ core *.o a.out *.x *.grt *.run tmp-* diff-*
        -rm -f *~ core *.o a.out *.x *.grt *.run tmp-* diff-*
        rm -f $(TESTS)
        rm -f $(TESTS)
#       if [ x"${SUBDIRS}" != x ] ; then \
#       if [ x"${SUBDIRS}" != x ] ; then \
#           for dir in ${SUBDIRS}; \
#           for dir in ${SUBDIRS}; \
#           do \
#           do \
#                   echo "$$dir:"; \
#                   echo "$$dir:"; \
#                   if [ -d $$dir ]; then \
#                   if [ -d $$dir ]; then \
#                           (cd $$dir; $(MAKE) clean); \
#                           (cd $$dir; $(MAKE) clean); \
#                   fi; \
#                   fi; \
#           done ; \
#           done ; \
#       else true; fi
#       else true; fi
distclean maintainer-clean realclean: clean
distclean maintainer-clean realclean: clean
        -rm -f *~ core
        -rm -f *~ core
        -rm -f Makefile config.status *-init.exp
        -rm -f Makefile config.status *-init.exp
        -rm -fr *.log summary detail *.plog *.sum *.psum site.*
        -rm -fr *.log summary detail *.plog *.sum *.psum site.*
#       if [ x"${SUBDIRS}" != x ] ; then \
#       if [ x"${SUBDIRS}" != x ] ; then \
#           for dir in ${SUBDIRS}; \
#           for dir in ${SUBDIRS}; \
#           do \
#           do \
#                   echo "$$dir:"; \
#                   echo "$$dir:"; \
#                   if [ -d $$dir ]; then \
#                   if [ -d $$dir ]; then \
#                           (cd $$dir; $(MAKE) distclean); \
#                           (cd $$dir; $(MAKE) distclean); \
#                   fi; \
#                   fi; \
#           done ; \
#           done ; \
#       else true; fi
#       else true; fi
Makefile : Makefile.in config.status
Makefile : Makefile.in config.status
        $(SHELL) config.status
        $(SHELL) config.status
config.status: configure
config.status: configure
        $(SHELL) config.status --recheck
        $(SHELL) config.status --recheck
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.