xref: /netbsd-src/external/gpl3/gcc.old/dist/gcc/config/i386/t-i386 (revision 867d70fc718005c0918b8b8b2f9d7f2d52d0a0db)
1# Copyright (C) 2008-2019 Free Software Foundation, Inc.
2#
3# This file is part of GCC.
4#
5# GCC is free software; you can redistribute it and/or modify
6# it under the terms of the GNU General Public License as published by
7# the Free Software Foundation; either version 3, or (at your option)
8# any later version.
9#
10# GCC is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13# GNU General Public License for more details.
14#
15# You should have received a copy of the GNU General Public License
16# along with GCC; see the file COPYING3.  If not see
17# <http://www.gnu.org/licenses/>.
18
19OPTIONS_H_EXTRA += $(srcdir)/config/i386/stringop.def
20TM_H += $(srcdir)/config/i386/x86-tune.def
21PASSES_EXTRA += $(srcdir)/config/i386/i386-passes.def
22
23i386-c.o: $(srcdir)/config/i386/i386-c.c
24	  $(COMPILE) $<
25	  $(POSTCOMPILE)
26
27x86-tune-sched.o: $(srcdir)/config/i386/x86-tune-sched.c
28	  $(COMPILE) $<
29	  $(POSTCOMPILE)
30
31x86-tune-sched-bd.o: $(srcdir)/config/i386/x86-tune-sched-bd.c
32	  $(COMPILE) $<
33	  $(POSTCOMPILE)
34
35x86-tune-sched-atom.o: $(srcdir)/config/i386/x86-tune-sched-atom.c
36	  $(COMPILE) $<
37	  $(POSTCOMPILE)
38
39x86-tune-sched-core.o: $(srcdir)/config/i386/x86-tune-sched-core.c
40	  $(COMPILE) $<
41	  $(POSTCOMPILE)
42
43i386-d.o: $(srcdir)/config/i386/i386-d.c
44	$(COMPILE) $<
45	$(POSTCOMPILE)
46
47i386.o: i386-builtin-types.inc
48
49i386-builtin-types.inc: s-i386-bt ; @true
50s-i386-bt: $(srcdir)/config/i386/i386-builtin-types.awk \
51  $(srcdir)/config/i386/i386-builtin-types.def
52	$(AWK) -f $^ > tmp-bt.inc
53	$(SHELL) $(srcdir)/../move-if-change tmp-bt.inc i386-builtin-types.inc
54	$(STAMP) $@
55