xref: /netbsd-src/external/gpl3/gcc.old/dist/gcc/config/pdp11/t-pdp11 (revision b7b7574d3bf8eeb51a1fa3977b59142ec6434a55)
1# Copyright (C) 1995, 1997, 1998, 2001, 2002,
2# 2004 Free Software Foundation, Inc.
3#
4# This file is part of GCC.
5#
6# GCC is free software; you can redistribute it and/or modify
7# it under the terms of the GNU General Public License as published by
8# the Free Software Foundation; either version 3, or (at your option)
9# any later version.
10#
11# GCC is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY; without even the implied warranty of
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14# GNU General Public License for more details.
15#
16# You should have received a copy of the GNU General Public License
17# along with GCC; see the file COPYING3.  If not see
18# <http://www.gnu.org/licenses/>.
19
20TARGET_LIBGCC2_CFLAGS = -O2 -mfloat32
21LIB2FUNCS_EXTRA = $(srcdir)/config/udivmod.c $(srcdir)/config/udivmodsi4.c \
22    $(srcdir)/config/memcmp.c $(srcdir)/config/memcpy.c \
23    $(srcdir)/config/memmove.c $(srcdir)/config/memset.c
24# floating point emulation libraries
25
26FPBIT = fp-bit.c
27DPBIT = dp-bit.c
28
29fp-bit.c: $(srcdir)/config/fp-bit.c
30	echo '#define FLOAT'                            > fp-bit.c
31	cat $(srcdir)/config/fp-bit.c                   >> fp-bit.c
32
33dp-bit.c: $(srcdir)/config/fp-bit.c
34	cat $(srcdir)/config/fp-bit.c > dp-bit.c
35
36MULTILIB_OPTIONS = msoft-float
37