2011-03-21 Daniel Jacobowitz <dan@codesourcery.com>
[official-gcc.git] / gcc / config / stormy16 / t-stormy16
blob62b4e9fa1b00d762ddd4dfade76535062e7babec
1 # -*- makefile -*-
3 # Copyright (C) 2001, 2004, 2010 Free Software Foundation, Inc.
5 # This file is part of GCC.
7 # GCC is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 3, or (at your option)
10 # any later version.
12 # GCC is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 # GNU General Public License for more details.
17 # You should have received a copy of the GNU General Public License
18 # along with GCC; see the file COPYING3.  If not see
19 # <http://www.gnu.org/licenses/>.
21 # SImode arithmetic and logical routines, HImode bit counting routines.
22 LIB2FUNCS_EXTRA = \
23         $(srcdir)/config/stormy16/stormy16-lib2-udivmodsi4.c \
24         $(srcdir)/config/stormy16/stormy16-lib2-divsi3.c \
25         $(srcdir)/config/stormy16/stormy16-lib2-modsi3.c \
26         $(srcdir)/config/stormy16/stormy16-lib2-udivsi3.c \
27         $(srcdir)/config/stormy16/stormy16-lib2-umodsi3.c \
28         $(srcdir)/config/stormy16/stormy16-lib2-ashlsi3.c \
29         $(srcdir)/config/stormy16/stormy16-lib2-ashrsi3.c \
30         $(srcdir)/config/stormy16/stormy16-lib2-lshrsi3.c \
31         $(srcdir)/config/stormy16/stormy16-lib2-popcounthi2.c \
32         $(srcdir)/config/stormy16/stormy16-lib2-parityhi2.c \
33         $(srcdir)/config/stormy16/stormy16-lib2-clzhi2.c \
34         $(srcdir)/config/stormy16/stormy16-lib2-ctzhi2.c \
35         $(srcdir)/config/stormy16/stormy16-lib2-ffshi2.c \
36         $(srcdir)/config/stormy16/stormy16-lib2-cmpsi2.c \
37         $(srcdir)/config/stormy16/stormy16-lib2-ucmpsi2.c
39 # Floating point emulation libraries.
40 FPBIT = fp-bit.c
41 DPBIT = dp-bit.c
43 fp-bit.c: $(srcdir)/config/fp-bit.c
44         echo '#define FLOAT'                            > fp-bit.c
45         cat $(srcdir)/config/fp-bit.c                   >> fp-bit.c
47 dp-bit.c: $(srcdir)/config/fp-bit.c
48         cat $(srcdir)/config/fp-bit.c > dp-bit.c
50 TARGET_LIBGCC2_CFLAGS = -O2