]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/config/m68k/t-floatlib
* ABOUT-GCC-NLS, ChangeLog, ChangeLog-1997, ChangeLog-1998,
[thirdparty/gcc.git] / gcc / config / m68k / t-floatlib
1 # Copyright (C) 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 = m68k/lb1sf68.asm
20 LIB1ASMFUNCS = _mulsi3 _udivsi3 _divsi3 _umodsi3 _modsi3 \
21 _double _float _floatex \
22 _eqdf2 _nedf2 _gtdf2 _gedf2 _ltdf2 _ledf2 \
23 _eqsf2 _nesf2 _gtsf2 _gesf2 _ltsf2 _lesf2
24
25 LIB2FUNCS_EXTRA = fpgnulib.c xfgnulib.c
26
27 fpgnulib.c: $(srcdir)/config/m68k/fpgnulib.c
28 cp $(srcdir)/config/m68k/fpgnulib.c fpgnulib.c
29 xfgnulib.c: $(srcdir)/config/m68k/fpgnulib.c
30 echo '#define EXTFLOAT' > xfgnulib.c
31 cat $(srcdir)/config/m68k/fpgnulib.c >> xfgnulib.c