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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.17.0/] [libgloss/] [mips/] [configure.in] - Blame information for rev 280

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

Line No. Rev Author Line
1 148 jeremybenn
# Copyright (c) 1995, 1996, 1997, 1998, 1999, 2000, 2002 Cygnus Support
2
#
3
# The authors hereby grant permission to use, copy, modify, distribute,
4
# and license this software and its documentation for any purpose, provided
5
# that existing copyright notices are retained in all copies and that this
6
# notice is included verbatim in any distributions. No written agreement,
7
# license, or royalty fee is required for any of the authorized uses.
8
# Modifications to this software may be copyrighted by their authors
9
# and need not follow the licensing terms described here, provided that
10
# the new terms are clearly indicated on the first page of each file where
11
# they apply.
12
#
13
# Process this file with autoconf to produce a configure script.
14
#
15
AC_PREREQ(2.59)
16
AC_INIT(crt0.S)
17
 
18
if test "${enable_shared}" = "yes" ; then
19
    echo "Shared libraries not supported for cross compiling, ignored"
20
fi
21
 
22
if test "$srcdir" = "." ; then
23
  if test "${with_target_subdir}" != "." ; then
24
    libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
25
  else
26
    libgloss_topdir="${srcdir}/${with_multisrctop}../.."
27
  fi
28
else
29
  libgloss_topdir="${srcdir}/../.."
30
fi
31
AC_CONFIG_AUX_DIR($libgloss_topdir)
32
 
33
AC_CANONICAL_SYSTEM
34
AC_ARG_PROGRAM
35
 
36
AC_PROG_INSTALL
37
 
38
LIB_AC_PROG_CC
39
AS=${AS-as}
40
AC_SUBST(AS)
41
AR=${AR-ar}
42
AC_SUBST(AR)
43
LD=${LD-ld}
44
AC_SUBST(LD)
45
AC_PROG_RANLIB
46
LIB_AM_PROG_AS
47
 
48
crt0=crt0.o
49
pcrt0=pcrt0.o
50
 
51
case "${target}" in
52
  mips*-tx39*-*|mipstx39*-*-*)
53
        part_specific_obj=
54
        part_specific_defines=
55
        script_list="dve idt jmr3904app jmr3904dram jmr3904dram-java jmr3904app-java"
56
        bsp_list="libdve.a libidt.a libjmr3904.a"
57
        ;;
58
  mipsisa32-*-* | mipsisa32el-*-* | \
59
  mipsisa32r2-*-* | mipsisa32r2el-*-* | \
60
  mipsisa64*-*-*)
61
        crt0="crt0_cfe.o crt0_cygmon.o crt0.o"
62
        pcrt0="pcrt0.o"
63
        part_specific_obj=
64
        part_specific_defines=
65
        script_list="idt32 idt64 cfe"
66
        bsp_list="libcygmon.a libidt.a libcfe.a"
67
        ;;
68
  mips*-lsi*-*)
69
        part_specific_obj=entry.o
70
        part_specific_defines=
71
        script_list="lsi"
72
        bsp_list=liblsi.a
73
        ;;
74
  mips64vr5*-*-*)
75
        part_specific_obj="vr5xxx.o cma101.o"
76
        part_specific_defines=-DR5000
77
        script_list="idt pmon ddb ddb-kseg0 lsi idtecoff nullmon"
78
        bsp_list="libidt.a libpmon.a liblsi.a libnullmon.a"
79
        ;;
80
  mips64vr-*-* | mips64vrel-*-*)
81
        part_specific_obj="vr5xxx.o cma101.o"
82
        script_list="ddb ddb-kseg0 nullmon"
83
        bsp_list="libpmon.a libnullmon.a"
84
        ;;
85
  *)
86
        crt0="crt0_cfe.o crt0.o"
87
        part_specific_obj="vr4300.o cma101.o"
88
        part_specific_defines=
89
        script_list="idt pmon ddb ddb-kseg0 lsi cfe idtecoff nullmon"
90
        bsp_list="libidt.a libpmon.a liblsi.a libcfe.a libnullmon.a"
91
        ;;
92
esac
93
 
94
host_makefile_frag=${srcdir}/../config/default.mh
95
target_makefile_frag=${srcdir}/../config/mips.mt
96
 
97
dnl We have to assign the same value to other variables because autoconf
98
dnl doesn't provide a mechanism to substitute a replacement keyword with
99
dnl arbitrary data or pathnames.
100
dnl
101
host_makefile_frag_path=$host_makefile_frag
102
AC_SUBST(host_makefile_frag_path)
103
AC_SUBST_FILE(host_makefile_frag)
104
target_makefile_frag_path=$target_makefile_frag
105
AC_SUBST(target_makefile_frag_path)
106
AC_SUBST_FILE(target_makefile_frag)
107
AC_SUBST(part_specific_obj)
108
AC_SUBST(part_specific_defines)
109
AC_SUBST(script_list)
110
AC_SUBST(bsp_list)
111
AC_SUBST(crt0)
112
AC_SUBST(pcrt0)
113
 
114
AC_CONFIG_FILES(Makefile,
115
. ${libgloss_topdir}/config-ml.in,
116
srcdir=${srcdir}
117
target=${target}
118
with_multisubdir=${with_multisubdir}
119
ac_configure_args="${ac_configure_args} --enable-multilib"
120
CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
121
libgloss_topdir=${libgloss_topdir}
122
)
123
AC_OUTPUT

powered by: WebSVN 2.1.0

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