OSDN Git Service

Add NIOS2 support. Code from SourceyG++.
[pf3gnuchains/gcc-fork.git] / gcc / config / fr30 / t-fr30
1 # Copyright (C) 1999, 2001, 2007 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 LIB1ASMSRC    = fr30/lib1funcs.asm
20 LIB1ASMFUNCS  = _udivsi3 _divsi3 _umodsi3 _modsi3
21
22 # Assemble startup files.
23 $(T)crti.o: $(srcdir)/config/fr30/crti.asm $(GCC_PASSES)
24         $(GCC_FOR_TARGET) -c -o $(T)crti.o -x assembler $(srcdir)/config/fr30/crti.asm
25
26 $(T)crtn.o: $(srcdir)/config/fr30/crtn.asm $(GCC_PASSES)
27         $(GCC_FOR_TARGET) -c -o $(T)crtn.o -x assembler $(srcdir)/config/fr30/crtn.asm
28
29 # We want fine grained libraries, so use the new code to build the
30 # floating point emulation libraries.
31 FPBIT = fp-bit.c
32 DPBIT = dp-bit.c
33
34 # If any special flags are necessary when building libgcc2 put them here.
35 #
36 # TARGET_LIBGCC2_CFLAGS
37
38 fp-bit.c: $(srcdir)/config/fp-bit.c
39         echo '#define FLOAT' > fp-bit.c
40         cat $(srcdir)/config/fp-bit.c >> fp-bit.c
41
42 dp-bit.c: $(srcdir)/config/fp-bit.c
43         cat $(srcdir)/config/fp-bit.c > dp-bit.c
44
45 # Enable the following if multilibs are needed.
46 # See gcc/genmultilib, gcc/gcc.texi and gcc/tm.texi for a
47 # description of the options and their values.
48 #
49 # MULTILIB_OPTIONS    = 
50 # MULTILIB_DIRNAMES   = 
51 # MULTILIB_MATCHES    =
52 # MULTILIB_EXCEPTIONS =
53 # MULTILIB_EXTRA_OPTS = 
54 #
55 # LIBGCC = stmp-multilib
56 # INSTALL_LIBGCC = install-multilib