OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [newlib-1.17.0/] [libgloss/] [testsuite/] [libgloss.all/] [configure.in] - Diff between revs 158 and 816

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

Rev 158 Rev 816
# This file is a shell script fragment that supplies the information
# This file is a shell script fragment that supplies the information
# necessary to tailor a template configure script into the configure
# necessary to tailor a template configure script into the configure
# script appropriate for this directory.  For more information, check
# script appropriate for this directory.  For more information, check
# any existing configure script.
# any existing configure script.
srctrigger=io.c
srctrigger=io.c
srcname="libgloss testsuite"
srcname="libgloss testsuite"
target_dependent=true
target_dependent=true
# per-host:
# per-host:
# This is basically a hack so that we don't have to replicate the same
# This is basically a hack so that we don't have to replicate the same
# defines in all the Makefiles.  We put a standard set of definitions
# defines in all the Makefiles.  We put a standard set of definitions
# in host/any, and use them everywhere except DOS, which is braindead.
# in host/any, and use them everywhere except DOS, which is braindead.
host_makefile_frag=../../config/default.mh
host_makefile_frag=../../config/default.mh
case "${host}" in
case "${host}" in
  i[3456]86-*-go32)
  i[3456]86-*-go32)
        host_makefile_frag=../../config/dos.mh
        host_makefile_frag=../../config/dos.mh
        ;;
        ;;
esac
esac
# per-target:
# per-target:
case "${target}" in
case "${target}" in
  m68*-unknown-*)
  m68*-unknown-*)
        target_makefile_frag=../config/m68k.mt
        target_makefile_frag=../config/m68k.mt
        ;;
        ;;
  hppa*-*-pro*)
  hppa*-*-pro*)
        target_makefile_frag=../config/hppa.mt
        target_makefile_frag=../config/hppa.mt
        ;;
        ;;
  sparclite-*-*)
  sparclite-*-*)
        target_makefile_frag=../config/sparcl.mt
        target_makefile_frag=../config/sparcl.mt
        ;;
        ;;
  mips*-*-*)
  mips*-*-*)
        target_makefile_frag=../config/mips.mt
        target_makefile_frag=../config/mips.mt
        ;;
        ;;
esac
esac
# post-target:
# post-target:
case ${srcdir} in
case ${srcdir} in
  .)
  .)
    ;;
    ;;
  *)
  *)
    grep "source ${srcdir}/.gdbinit" .gdbinit >/dev/null 2>/dev/null || \
    grep "source ${srcdir}/.gdbinit" .gdbinit >/dev/null 2>/dev/null || \
      echo "source ${srcdir}/.gdbinit" >> .gdbinit
      echo "source ${srcdir}/.gdbinit" >> .gdbinit
esac
esac
objroot=`pwd | sed  -e 's@/[^/]*$@@' -e 's@/[^/]*$@@' -e 's@/[^/]*$@@'`
objroot=`pwd | sed  -e 's@/[^/]*$@@' -e 's@/[^/]*$@@' -e 's@/[^/]*$@@'`
srcroot=`echo $srcdir | sed  -e 's@/[^/]*$@@' -e 's@/[^/]*$@@' -e 's@/[^/]*$@@'`
srcroot=`echo $srcdir | sed  -e 's@/[^/]*$@@' -e 's@/[^/]*$@@' -e 's@/[^/]*$@@'`
sed -e "s:^OBJROOT[     ]*=.*$:OBJROOT = ${objroot}:" -e "s:^SRCROOT[   ]*=.*$:SRCROOT = ${srcroot}:" \
sed -e "s:^OBJROOT[     ]*=.*$:OBJROOT = ${objroot}:" -e "s:^SRCROOT[   ]*=.*$:SRCROOT = ${srcroot}:" \
    ${Makefile} > Makefile.tem
    ${Makefile} > Makefile.tem
rm -f ${Makefile}
rm -f ${Makefile}
mv Makefile.tem ${Makefile}
mv Makefile.tem ${Makefile}
 
 

powered by: WebSVN 2.1.0

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