OSDN Git Service

3093fc445dbc9940707a30758eeda42d351d766c
[pf3gnuchains/gcc-fork.git] / gcc / config / mt / t-mt
1 #  Copyright (C) 2005 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 it
6 #   under the terms of the GNU General Public License as published
7 #   by the Free Software Foundation; either version 2, or (at your
8 #   option) any later version.
9 #
10 #   GCC is distributed in the hope that it will be useful, but WITHOUT
11 #   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12 #   or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
13 #   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 COPYING.  If not, write to the Free
17 #   Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
18 #   02110-1301, USA.
19
20 # Name of assembly file containing libgcc1 functions.
21 # This entry must be present, but it can be empty if the target does
22 # not need any assembler functions to support its code generation.
23 CROSS_LIBGCC1 =
24 #
25 # Alternatively if assembler functions *are* needed then define the
26 # entries below:
27 # CROSS_LIBGCC1 = libgcc1-asm.a
28 # LIB1ASMSRC    = ms1/lib1funcs.asm
29 # LIB1ASMFUNCS  = _udivsi3 etc...
30
31 LIB2FUNCS_EXTRA = $(srcdir)/config/ms1/lib2extra-funcs.c
32
33 # If any special flags are necessary when building libgcc2 put them here.
34 #
35 # TARGET_LIBGCC2_CFLAGS = 
36
37 EXTRA_PARTS = crtbegin.o crtend.o crti.o crtn.o
38
39 # We want fine grained libraries, so use the new code to build the
40 # floating point emulation libraries.
41 FPBIT = fp-bit.c
42 DPBIT = dp-bit.c
43
44 fp-bit.c: $(srcdir)/config/fp-bit.c
45         echo '#define FLOAT' > fp-bit.c
46         cat $(srcdir)/config/fp-bit.c >> fp-bit.c
47
48 dp-bit.c: $(srcdir)/config/fp-bit.c
49         cat $(srcdir)/config/fp-bit.c > dp-bit.c
50
51 # Assemble startup files.
52 crti.o: $(srcdir)/config/ms1/crti.asm $(GCC_PASSES)
53         $(GCC_FOR_TARGET) -c -o crti.o -x assembler $(srcdir)/config/ms1/crti.asm
54  
55 crtn.o: $(srcdir)/config/ms1/crtn.asm $(GCC_PASSES)
56         $(GCC_FOR_TARGET) -c -o crtn.o -x assembler $(srcdir)/config/ms1/crtn.asm
57
58 # Enable the following if multilibs are needed.
59 # See gcc/genmultilib, gcc/gcc.texi and gcc/tm.texi for a
60 # description of the options and their values.
61 #
62 MULTILIB_OPTIONS    = march=ms1-64-001/march=ms1-16-002/march=ms1-16-003
63 MULTILIB_DIRNAMES   = 64-001 16-002 16-003
64 # MULTILIB_MATCHES    =
65 # MULTILIB_EXCEPTIONS =
66 # MULTILIB_EXTRA_OPTS = 
67 #
68 # LIBGCC = stmp-multilib
69 # INSTALL_LIBGCC = install-multilib
70