1 # Target Makefile Fragment for TI C6X.
2 # Copyright (C) 2010-2018 Free Software Foundation, Inc.
3 # Contributed by CodeSourcery.
5 # This file is part of GCC.
7 # GCC is free software; you can redistribute it and/or modify it
8 # under the terms of the GNU General Public License as published
9 # by the Free Software Foundation; either version 3, or (at your
10 # option) any later version.
12 # GCC is distributed in the hope that it will be useful, but WITHOUT
13 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14 # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
15 # License for more details.
17 # You should have received a copy of the GNU General Public License
18 # along with GCC; see the file COPYING3. If not see
19 # <http://www.gnu.org/licenses/>.
21 MD_INCLUDES= $(srcdir)/config/c6x/constraints.md \
22 $(srcdir)/config/c6x/predicates.md \
23 $(srcdir)/config/c6x/c6x-mult.md \
24 $(srcdir)/config/c6x/c6x-sched.md
26 OPTIONS_H_EXTRA += $(srcdir)/config/c6x/c6x-isas.def
28 s-config s-conditions s-flags s-codes s-constants s-emit s-recog s-preds \
29 s-opinit s-extract s-peep s-attr s-attrtab s-output: $(MD_INCLUDES)
31 $(srcdir)/config/c6x/c6x-sched.md: $(srcdir)/config/c6x/gensched.sh \
32 $(srcdir)/config/c6x/c6x-sched.md.in
33 $(SHELL) $(srcdir)/config/c6x/gensched.sh \
34 $(srcdir)/config/c6x/c6x-sched.md.in > $@
36 $(srcdir)/config/c6x/c6x-mult.md: $(srcdir)/config/c6x/genmult.sh \
37 $(srcdir)/config/c6x/c6x-mult.md.in
38 $(SHELL) $(srcdir)/config/c6x/genmult.sh \
39 $(srcdir)/config/c6x/c6x-mult.md.in > $@
41 $(srcdir)/config/c6x/c6x-tables.opt: $(srcdir)/config/c6x/genopt.sh \
42 $(srcdir)/config/c6x/c6x-isas.def
43 $(SHELL) $(srcdir)/config/c6x/genopt.sh $(srcdir)/config/c6x > \
44 $(srcdir)/config/c6x/c6x-tables.opt