gcc/
[official-gcc.git] / gcc / config / c6x / t-c6x
blob6a7ced7634826b73d8f5f781b61f79e8703cd54d
1 # Target Makefile Fragment for TI C6X.
2 # Copyright (C) 2010, 2011
3 # Free Software Foundation, Inc.
4 # Contributed by CodeSourcery.
6 # This file is part of GCC.
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 3, or (at your
11 # option) any later version.
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.
18 # You should have received a copy of the GNU General Public License
19 # along with GCC; see the file COPYING3.  If not see
20 # <http://www.gnu.org/licenses/>.
22 MD_INCLUDES=    $(srcdir)/config/c6x/constraints.md \
23                 $(srcdir)/config/c6x/predicates.md \
24                 $(srcdir)/config/c6x/c6x-mult.md \
25                 $(srcdir)/config/c6x/c6x-sched.md
27 s-config s-conditions s-flags s-codes s-constants s-emit s-recog s-preds \
28         s-opinit s-extract s-peep s-attr s-attrtab s-output: $(MD_INCLUDES)
30 $(srcdir)/config/c6x/c6x-sched.md: $(srcdir)/config/c6x/gensched.sh \
31   $(srcdir)/config/c6x/c6x-sched.md.in
32         $(SHELL) $(srcdir)/config/c6x/gensched.sh \
33         $(srcdir)/config/c6x/c6x-sched.md.in > $@
35 $(srcdir)/config/c6x/c6x-mult.md: $(srcdir)/config/c6x/genmult.sh \
36   $(srcdir)/config/c6x/c6x-mult.md.in
37         $(SHELL) $(srcdir)/config/c6x/genmult.sh \
38         $(srcdir)/config/c6x/c6x-mult.md.in > $@
40 $(srcdir)/config/c6x/c6x-tables.opt: $(srcdir)/config/c6x/genopt.sh \
41   $(srcdir)/config/c6x/c6x-isas.def
42         $(SHELL) $(srcdir)/config/c6x/genopt.sh $(srcdir)/config/c6x > \
43                 $(srcdir)/config/c6x/c6x-tables.opt