OSDN Git Service

e7de5165ea86749be67eb91fdafe9472ecd544af
[pf3gnuchains/gcc-fork.git] / gcc / config / iq2000 / t-iq2000
1 # Copyright (C) 2003 Free Software Foundation, Inc.
2 #
3 # This file is part of GCC.
4 #
5 # GCC is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 3, or (at your option)
8 # any later version.
9 #
10 # GCC is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with GCC; see the file COPYING3.  If not see
17 # <http://www.gnu.org/licenses/>.
18
19 # Suppress building libgcc1.a, since the MIPS compiler port is complete
20 # and does not need anything from libgcc1.a.
21 LIBGCC1 =
22 CROSS_LIBGCC1 =
23
24 # We must build libgcc2.a with -G 0, in case the user wants to link
25 # without the $gp register.
26 TARGET_LIBGCC2_CFLAGS = -G 0
27
28 LIB2FUNCS_EXTRA = $(srcdir)/config/udivmod.c $(srcdir)/config/divmod.c $(srcdir)/config/udivmodsi4.c $(srcdir)/config/iq2000/lib2extra-funcs.c
29
30 # We want fine grained libraries, so use the new code to build the
31 # floating point emulation libraries.
32 FPBIT = fp-bit.c
33 DPBIT = dp-bit.c
34
35 fp-bit.c: $(srcdir)/config/fp-bit.c
36         echo '#define FLOAT'                            > fp-bit.c
37         cat $(srcdir)/config/fp-bit.c                   >> fp-bit.c
38
39 dp-bit.c: $(srcdir)/config/fp-bit.c
40         cat $(srcdir)/config/fp-bit.c > dp-bit.c
41
42 # Enable the following if multilibs are needed.
43 # See gcc/genmultilib, gcc/gcc.texi and gcc/tm.texi for a
44 # description of the options and their values.
45 #
46 # MULTILIB_OPTIONS    = 
47 # MULTILIB_DIRNAMES   = 
48 # MULTILIB_MATCHES    =
49 # MULTILIB_EXCEPTIONS =
50 # MULTILIB_EXTRA_OPTS = 
51 #
52 # LIBGCC = stmp-multilib
53 # INSTALL_LIBGCC = install-multilib
54