1 # Copyright (C) 2007 Free Software Foundation, Inc.
3 # This file is part of GCC.
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)
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.
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/>.
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
25 LIB2FUNCS_EXTRA = fpgnulib.c xfgnulib.c
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