aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8/gcc/config/c6x/t-c6x
blob: aba3d55f190299c0acedff2cec2c62e99eeca9e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Target Makefile Fragment for TI C6X.
# Copyright (C) 2010-2013 Free Software Foundation, Inc.
# Contributed by CodeSourcery.
#
# This file is part of GCC.
#
# GCC is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published
# by the Free Software Foundation; either version 3, or (at your
# option) any later version.
#
# GCC is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
# or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
# License for more details.
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3.  If not see
# <http://www.gnu.org/licenses/>.

MD_INCLUDES= 	$(srcdir)/config/c6x/constraints.md \
		$(srcdir)/config/c6x/predicates.md \
		$(srcdir)/config/c6x/c6x-mult.md \
		$(srcdir)/config/c6x/c6x-sched.md

s-config s-conditions s-flags s-codes s-constants s-emit s-recog s-preds \
	s-opinit s-extract s-peep s-attr s-attrtab s-output: $(MD_INCLUDES)

$(srcdir)/config/c6x/c6x-sched.md: $(srcdir)/config/c6x/gensched.sh \
  $(srcdir)/config/c6x/c6x-sched.md.in
	$(SHELL) $(srcdir)/config/c6x/gensched.sh \
	$(srcdir)/config/c6x/c6x-sched.md.in > $@

$(srcdir)/config/c6x/c6x-mult.md: $(srcdir)/config/c6x/genmult.sh \
  $(srcdir)/config/c6x/c6x-mult.md.in
	$(SHELL) $(srcdir)/config/c6x/genmult.sh \
	$(srcdir)/config/c6x/c6x-mult.md.in > $@

$(srcdir)/config/c6x/c6x-tables.opt: $(srcdir)/config/c6x/genopt.sh \
  $(srcdir)/config/c6x/c6x-isas.def
	$(SHELL) $(srcdir)/config/c6x/genopt.sh $(srcdir)/config/c6x > \
		$(srcdir)/config/c6x/c6x-tables.opt