LoongArch: Remove gawk extension from a generator script.
[official-gcc.git] / gcc / config / i386 / t-i386
blobbf4ae109af986f7d6b539239b1eab3f9d81fbe45
1 # Copyright (C) 2008-2024 Free Software Foundation, Inc.
3 # This file is part of GCC.
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.
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.
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/>.
19 OPTIONS_H_EXTRA += $(srcdir)/config/i386/stringop.def
20 TM_H += $(srcdir)/config/i386/x86-tune.def \
21         $(srcdir)/common/config/i386/i386-cpuinfo.h \
22         $(srcdir)/config/i386/i386-isa.def
23 PASSES_EXTRA += $(srcdir)/config/i386/i386-passes.def
25 i386-c.o: $(srcdir)/config/i386/i386-c.cc
26           $(COMPILE) $<
27           $(POSTCOMPILE)
29 x86-tune-sched.o: $(srcdir)/config/i386/x86-tune-sched.cc
30           $(COMPILE) $<
31           $(POSTCOMPILE)
33 x86-tune-sched-bd.o: $(srcdir)/config/i386/x86-tune-sched-bd.cc
34           $(COMPILE) $<
35           $(POSTCOMPILE)
37 x86-tune-sched-atom.o: $(srcdir)/config/i386/x86-tune-sched-atom.cc
38           $(COMPILE) $<
39           $(POSTCOMPILE)
41 x86-tune-sched-core.o: $(srcdir)/config/i386/x86-tune-sched-core.cc
42           $(COMPILE) $<
43           $(POSTCOMPILE)
45 i386-d.o: $(srcdir)/config/i386/i386-d.cc
46         $(COMPILE) $<
47         $(POSTCOMPILE)
49 i386-rust.o: $(srcdir)/config/i386/i386-rust.cc
50         $(COMPILE) $<
51         $(POSTCOMPILE)
53 i386-options.o: $(srcdir)/config/i386/i386-options.cc
54         $(COMPILE) $<
55         $(POSTCOMPILE)
57 i386-builtins.o: $(srcdir)/config/i386/i386-builtins.cc
58         $(COMPILE) $<
59         $(POSTCOMPILE)
61 i386-expand.o: $(srcdir)/config/i386/i386-expand.cc
62         $(COMPILE) $<
63         $(POSTCOMPILE)
65 i386-features.o: $(srcdir)/config/i386/i386-features.cc
66         $(COMPILE) $<
67         $(POSTCOMPILE)
69 # i386-builtin-types.inc is included into i386-builtins.h.
70 # Below are direct users of i386-builtins.h:
71 i386.o: i386-builtin-types.inc
72 i386-builtins.o: i386-builtin-types.inc
73 i386-expand.o: i386-builtin-types.inc
74 i386-features.o: i386-builtin-types.inc
76 i386-builtin-types.inc: s-i386-bt ; @true
77 s-i386-bt: $(srcdir)/config/i386/i386-builtin-types.awk \
78   $(srcdir)/config/i386/i386-builtin-types.def
79         $(AWK) -f $^ > tmp-bt.inc
80         $(SHELL) $(srcdir)/../move-if-change tmp-bt.inc i386-builtin-types.inc
81         $(STAMP) $@