]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - sim/mn10300/Makefile.in
Remove INCLUDE variable from some sim Makefiles
[thirdparty/binutils-gdb.git] / sim / mn10300 / Makefile.in
CommitLineData
c906108c 1# Makefile template for Configure for the mn10300 sim library.
3666a048 2# Copyright (C) 1996-2021 Free Software Foundation, Inc.
c906108c
SS
3# Written by Cygnus Support.
4#
5# This program is free software; you can redistribute it and/or modify
6# it under the terms of the GNU General Public License as published by
4744ac1b 7# the Free Software Foundation; either version 3 of the License, or
c906108c 8# (at your option) any later version.
4744ac1b 9#
c906108c
SS
10# This program 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.
4744ac1b 14#
c906108c 15# You should have received a copy of the GNU General Public License
4744ac1b 16# along with this program. If not, see <http://www.gnu.org/licenses/>.
c906108c
SS
17
18## COMMON_PRE_CONFIG_FRAG
19
599e0b9e 20MN10300_OBJS = \
c906108c
SS
21 itable.o semantics.o idecode.o icache.o engine.o irun.o support.o \
22 $(SIM_NEW_COMMON_OBJS) \
23 op_utils.o \
797eee42 24 sim-resume.o
c906108c
SS
25
26SIM_OBJS = $(MN10300_OBJS) interp.o
27
622c89b6 28SIM_EXTRA_CLEAN = clean-igen
6c0a25e9
AC
29# Extra dependencies for "sim-main.h"
30SIM_EXTRA_DEPS = mn10300_sim.h itable.h idecode.h
c906108c
SS
31
32# Select mn10300 support in nltvals.def.
33NL_TARGET = -DNL_TARGET_mn10300
34
c906108c 35# List of extra flags to always pass to $(CC).
599e0b9e 36SIM_EXTRA_CFLAGS = -DPOLL_QUIT_INTERVAL=0x20
c906108c
SS
37
38## COMMON_POST_CONFIG_FRAG
39
c906108c
SS
40BUILT_SRC_FROM_IGEN = \
41 icache.h \
42 icache.c \
43 idecode.h \
44 idecode.c \
45 semantics.h \
46 semantics.c \
47 model.h \
48 model.c \
49 support.h \
50 support.c \
51 itable.h \
52 itable.c \
53 engine.h \
54 engine.c \
55 irun.c
56$(BUILT_SRC_FROM_IGEN): tmp-igen
57
58
59.PHONY: clean-igen
60clean-igen:
61 rm -f $(BUILT_SRC_FROM_IGEN)
62 rm -f tmp-igen tmp-insns
63
c906108c 64IGEN_TRACE= # -G omit-line-numbers # -G trace-rule-selection -G trace-rule-rejection -G trace-entries
32b14776
JB
65IGEN_INSN=$(srcdir)/mn10300.igen
66IGEN_INSN_INC=$(srcdir)/am33.igen $(srcdir)/am33-2.igen
c906108c 67IGEN_DC=$(srcdir)/mn10300.dc
32b14776 68tmp-igen: $(IGEN_INSN) $(IGEN_INSN_INC) $(IGEN_DC) ../igen/igen
2b8d134b 69 $(IGEN) \
c906108c
SS
70 $(IGEN_TRACE) \
71 -G gen-direct-access \
c2d11a7d 72 -M mn10300,am33 -G gen-multi-sim=am33 \
c76b4bab 73 -M am33_2 \
c2d11a7d 74 -I $(srcdir) \
c906108c
SS
75 -i $(IGEN_INSN) \
76 -o $(IGEN_DC) \
77 -x \
78 -n icache.h -hc tmp-icache.h \
79 -n icache.c -c tmp-icache.c \
80 -n semantics.h -hs tmp-semantics.h \
81 -n semantics.c -s tmp-semantics.c \
82 -n idecode.h -hd tmp-idecode.h \
83 -n idecode.c -d tmp-idecode.c \
84 -n model.h -hm tmp-model.h \
85 -n model.c -m tmp-model.c \
86 -n support.h -hf tmp-support.h \
87 -n support.c -f tmp-support.c \
88 -n itable.h -ht tmp-itable.h \
89 -n itable.c -t tmp-itable.c \
90 -n engine.h -he tmp-engine.h \
91 -n engine.c -e tmp-engine.c \
92 -n irun.c -r tmp-irun.c
93 $(SHELL) $(srcdir)/../../move-if-change tmp-icache.h icache.h
94 $(SHELL) $(srcdir)/../../move-if-change tmp-icache.c icache.c
95 $(SHELL) $(srcdir)/../../move-if-change tmp-idecode.h idecode.h
96 $(SHELL) $(srcdir)/../../move-if-change tmp-idecode.c idecode.c
97 $(SHELL) $(srcdir)/../../move-if-change tmp-semantics.h semantics.h
98 $(SHELL) $(srcdir)/../../move-if-change tmp-semantics.c semantics.c
99 $(SHELL) $(srcdir)/../../move-if-change tmp-model.h model.h
100 $(SHELL) $(srcdir)/../../move-if-change tmp-model.c model.c
101 $(SHELL) $(srcdir)/../../move-if-change tmp-support.h support.h
102 $(SHELL) $(srcdir)/../../move-if-change tmp-support.c support.c
103 $(SHELL) $(srcdir)/../../move-if-change tmp-itable.h itable.h
104 $(SHELL) $(srcdir)/../../move-if-change tmp-itable.c itable.c
105 $(SHELL) $(srcdir)/../../move-if-change tmp-engine.h engine.h
106 $(SHELL) $(srcdir)/../../move-if-change tmp-engine.c engine.c
107 $(SHELL) $(srcdir)/../../move-if-change tmp-irun.c irun.c
108 touch tmp-igen