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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.18.0/] [libgloss/] [testsuite/] [libgloss.all/] [configure.in] - Blame information for rev 243

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 207 jeremybenn
# This file is a shell script fragment that supplies the information
2
# necessary to tailor a template configure script into the configure
3
# script appropriate for this directory.  For more information, check
4
# any existing configure script.
5
 
6
srctrigger=io.c
7
srcname="libgloss testsuite"
8
target_dependent=true
9
 
10
# per-host:
11
 
12
# This is basically a hack so that we don't have to replicate the same
13
# defines in all the Makefiles.  We put a standard set of definitions
14
# in host/any, and use them everywhere except DOS, which is braindead.
15
 
16
host_makefile_frag=../../config/default.mh
17
case "${host}" in
18
  i[3456]86-*-go32)
19
        host_makefile_frag=../../config/dos.mh
20
        ;;
21
esac
22
 
23
# per-target:
24
case "${target}" in
25
  m68*-unknown-*)
26
        target_makefile_frag=../config/m68k.mt
27
        ;;
28
  hppa*-*-pro*)
29
        target_makefile_frag=../config/hppa.mt
30
        ;;
31
  sparclite-*-*)
32
        target_makefile_frag=../config/sparcl.mt
33
        ;;
34
  mips*-*-*)
35
        target_makefile_frag=../config/mips.mt
36
        ;;
37
esac
38
 
39
# post-target:
40
 
41
case ${srcdir} in
42
  .)
43
    ;;
44
  *)
45
    grep "source ${srcdir}/.gdbinit" .gdbinit >/dev/null 2>/dev/null || \
46
      echo "source ${srcdir}/.gdbinit" >> .gdbinit
47
esac
48
 
49
objroot=`pwd | sed  -e 's@/[^/]*$@@' -e 's@/[^/]*$@@' -e 's@/[^/]*$@@'`
50
srcroot=`echo $srcdir | sed  -e 's@/[^/]*$@@' -e 's@/[^/]*$@@' -e 's@/[^/]*$@@'`
51
sed -e "s:^OBJROOT[     ]*=.*$:OBJROOT = ${objroot}:" -e "s:^SRCROOT[   ]*=.*$:SRCROOT = ${srcroot}:" \
52
    ${Makefile} > Makefile.tem
53
rm -f ${Makefile}
54
mv Makefile.tem ${Makefile}

powered by: WebSVN 2.1.0

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