Update copyright year range in header of all files managed by GDB
[binutils-gdb.git] / sim / cris / Makefile.in
blobe9eaefb11bf6eae38fba92a1a08812a857ef2ebe
1 # Makefile template for Configure for the CRIS simulator, based on a mix
2 # of the ones for m32r and i960.
4 # Copyright (C) 2004-2023 Free Software Foundation, Inc.
5 # Contributed by Axis Communications.
7 # This program is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 3 of the License, or
10 # (at your option) any later version.
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
17 # You should have received a copy of the GNU General Public License
18 # along with this program. If not, see <http://www.gnu.org/licenses/>.
20 ## COMMON_PRE_CONFIG_FRAG
22 arch = cris
24 CRISV10F_OBJS = crisv10f.o cpuv10.o decodev10.o modelv10.o mloopv10f.o
25 CRISV32F_OBJS = crisv32f.o cpuv32.o decodev32.o modelv32.o mloopv32f.o
27 SIM_OBJS = \
28 $(SIM_NEW_COMMON_OBJS) \
29 cgen-utils.o cgen-trace.o cgen-scache.o \
30 cgen-run.o \
31 sim-if.o arch.o \
32 $(CRISV10F_OBJS) \
33 $(CRISV32F_OBJS) \
34 traps.o
36 SIM_EXTRA_CLEAN = cris-clean
38 ## COMMON_POST_CONFIG_FRAG
40 cris-clean:
41 -rm -f stamp-arch
42 -rm -f tmp-*
44 # Useful when making CGEN-generated files manually, without --enable-cgen-maint.
45 stamps: stamp-arch stamp-v10fcpu stamp-v32fcpu
47 stamp-arch: $(CGEN_READ_SCM) $(CGEN_ARCH_SCM) $(CPU_DIR)/cris.cpu Makefile
48 $(MAKE) cgen-arch $(CGEN_FLAGS_TO_PASS) mach=crisv10,crisv32 \
49 archfile=$(CPU_DIR)/cris.cpu \
50 FLAGS="with-scache with-profile=fn"
51 $(SILENCE) touch $@
52 arch.h arch.c cpuall.h: $(CGEN_MAINT) stamp-arch
54 # The sed-hack is supposed to be temporary, until we get CGEN to emit it.
55 stamp-v10fcpu: $(CGEN_READ_SCM) $(CGEN_CPU_SCM) $(CGEN_DECODE_SCM) $(CPU_DIR)/cris.cpu Makefile
56 $(MAKE) cgen-cpu-decode $(CGEN_FLAGS_TO_PASS) \
57 archfile=$(CPU_DIR)/cris.cpu \
58 cpu=crisv10f mach=crisv10 SUFFIX=v10 FLAGS="with-scache with-profile=fn" EXTRAFILES="$(CGEN_CPU_SEMSW)"
59 $(SILENCE) $(SHELL) $(srcroot)/move-if-change $(srcdir)/semv10-switch.c $(srcdir)/semcrisv10f-switch.c
60 $(SILENCE) touch $@
61 cpuv10.h cpuv10.c semcrisv10f-switch.c modelv10.c decodev10.c decodev10.h: $(CGEN_MAINT) stamp-v10fcpu
63 stamp-v32fcpu: $(CGEN_READ_SCM) $(CGEN_CPU_SCM) $(CGEN_DECODE_SCM) $(CPU_DIR)/cris.cpu Makefile
64 $(MAKE) cgen-cpu-decode $(CGEN_FLAGS_TO_PASS) \
65 archfile=$(CPU_DIR)/cris.cpu \
66 cpu=crisv32f mach=crisv32 SUFFIX=v32 FLAGS="with-scache with-profile=fn" EXTRAFILES="$(CGEN_CPU_SEMSW)"
67 $(SILENCE) $(SHELL) $(srcroot)/move-if-change $(srcdir)/semv32-switch.c $(srcdir)/semcrisv32f-switch.c
68 $(SILENCE) touch $@
69 cpuv32.h cpuv32.c semcrisv32f-switch.c modelv32.c decodev32.c decodev32.h: $(CGEN_MAINT) stamp-v32fcpu