OpenCores
URL https://opencores.org/ocsvn/scarts/scarts/trunk

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [config/] [m32c/] [t-m32c] - Blame information for rev 12

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 jlechner
# Target Makefile Fragment for R8C/M16C/M32C
2
# Copyright (C) 2005
3
# Free Software Foundation, Inc.
4
# Contributed by Red Hat.
5
#
6
# This file is part of GCC.
7
#
8
# GCC is free software; you can redistribute it and/or modify it
9
# under the terms of the GNU General Public License as published
10
# by the Free Software Foundation; either version 2, or (at your
11
# option) any later version.
12
#
13
# GCC is distributed in the hope that it will be useful, but WITHOUT
14
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
15
# or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
16
# License for more details.
17
#
18
# You should have received a copy of the GNU General Public License
19
# along with GCC; see the file COPYING.  If not, write to the Free
20
# Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
21
# 02110-1301, USA.
22
 
23
LIB1ASMSRC = m32c/m32c-lib1.S
24
 
25
LIB1ASMFUNCS = \
26
        __m32c_memregs \
27
        __m32c_eh_return \
28
        __m32c_mulsi3 \
29
        __m32c_cmpsi2 \
30
        __m32c_ucmpsi2 \
31
        __m32c_jsri16
32
 
33
LIB2FUNCS_EXTRA = $(srcdir)/config/m32c/m32c-lib2.c
34
 
35
# floating point emulation libraries
36
 
37
FPBIT = fp-bit.c
38
DPBIT = dp-bit.c
39
 
40
fp-bit.c: $(srcdir)/config/fp-bit.c
41
        echo '#define FLOAT'                            > fp-bit.c
42
        cat $(srcdir)/config/fp-bit.c                   >> fp-bit.c
43
 
44
dp-bit.c: $(srcdir)/config/fp-bit.c
45
        cat $(srcdir)/config/fp-bit.c > dp-bit.c
46
 
47
# target-specific files
48
 
49
md_file = md
50
 
51
MD_FILES = m32c predicates addsub bitops cond jump minmax mov muldiv prologue shift
52
 
53
# Doing it this way lets the gen* programs report the right line numbers.
54
 
55
md : $(MD_FILES:%=$(srcdir)/config/m32c/%.md) $(srcdir)/config/m32c/t-m32c
56
        for md in $(MD_FILES); do \
57
          echo "(include \"$(srcdir)/config/m32c/$$md.md\")"; \
58
        done > md
59
 
60
m32c-pragma.o: $(srcdir)/config/m32c/m32c-pragma.c $(RTL_H) $(TREE_H) $(CONFIG_H)
61
        $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $<
62
 
63
# We support four CPU series, but R8C and M16C share one multilib, and
64
# M32C and M32CM share another.
65
 
66
MULTILIB_OPTIONS = mcpu=m32cm
67
MULTILIB_DIRNAMES = m32cm
68
MULTILIB_MATCHES = mcpu?m32cm=mcpu?m32c mcpu?r8c=mcpu?m16c
69
 
70
EXTRA_MULTILIB_PARTS = crtbegin.o crtend.o

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.