Update copyright year range in header of all files managed by GDB
[binutils-gdb.git] / sim / m32r / Makefile.in
blobe935df33017eb377d0b2ee0bddbed9cd25615de9
1 # Makefile template for Configure for the m32r simulator
2 # Copyright (C) 1996-2023 Free Software Foundation, Inc.
3 # Contributed by Cygnus Support.
5 # This file is part of GDB, the GNU debugger.
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 = m32r
24 M32R_OBJS = m32r.o cpu.o decode.o sem.o model.o mloop.o
25 M32RX_OBJS = m32rx.o cpux.o decodex.o modelx.o mloopx.o
26 M32R2_OBJS = m32r2.o cpu2.o decode2.o model2.o mloop2.o
28 SIM_OBJS = \
29 $(SIM_NEW_COMMON_OBJS) \
30 cgen-utils.o cgen-trace.o cgen-scache.o \
31 cgen-run.o \
32 sim-if.o arch.o \
33 $(M32R_OBJS) \
34 $(M32RX_OBJS) \
35 $(M32R2_OBJS) \
36 traps.o
38 SIM_EXTRA_CLEAN = m32r-clean
40 # Some modules don't build cleanly yet.
41 cpu.o cpu2.o cpux.o m32r.o m32r2.o m32rx.o mloop.o mloop2.o mloopx.o sem.o sim-if.o traps.o: SIM_WERROR_CFLAGS =
43 ## COMMON_POST_CONFIG_FRAG
45 m32r-clean:
46 rm -f stamp-arch stamp-cpu stamp-xcpu stamp-2cpu
47 rm -f tmp-*
49 # NOTE: Generated source files are specified as full paths,
50 # e.g. $(srcdir)/arch.c, because make may decide the files live
51 # in objdir otherwise.
53 stamp-arch: $(CGEN_READ_SCM) $(CGEN_ARCH_SCM) $(CPU_DIR)/m32r.cpu Makefile
54 $(MAKE) cgen-arch $(CGEN_FLAGS_TO_PASS) mach=all \
55 archfile=$(CPU_DIR)/m32r.cpu \
56 FLAGS="with-scache with-profile=fn"
57 $(SILENCE) touch $@
58 $(srcdir)/arch.h $(srcdir)/arch.c $(srcdir)/cpuall.h: $(CGEN_MAINT) stamp-arch
59 @true
61 stamp-cpu: $(CGEN_READ_SCM) $(CGEN_CPU_SCM) $(CGEN_DECODE_SCM) $(CPU_DIR)/m32r.cpu Makefile
62 $(MAKE) cgen-cpu-decode $(CGEN_FLAGS_TO_PASS) \
63 cpu=m32rbf mach=m32r SUFFIX= \
64 archfile=$(CPU_DIR)/m32r.cpu \
65 FLAGS="with-scache with-profile=fn" \
66 EXTRAFILES="$(CGEN_CPU_SEM) $(CGEN_CPU_SEMSW)"
67 $(SILENCE) touch $@
68 $(srcdir)/cpu.h $(srcdir)/sem.c $(srcdir)/sem-switch.c $(srcdir)/model.c $(srcdir)/decode.c $(srcdir)/decode.h: $(CGEN_MAINT) stamp-cpu
69 @true
71 stamp-xcpu: $(CGEN_READ_SCM) $(CGEN_CPU_SCM) $(CGEN_DECODE_SCM) $(CPU_DIR)/m32r.cpu Makefile
72 $(MAKE) cgen-cpu-decode $(CGEN_FLAGS_TO_PASS) \
73 cpu=m32rxf mach=m32rx SUFFIX=x \
74 archfile=$(CPU_DIR)/m32r.cpu \
75 FLAGS="with-scache with-profile=fn" \
76 EXTRAFILES="$(CGEN_CPU_SEMSW)"
77 $(SILENCE) touch $@
78 $(srcdir)/cpux.h $(srcdir)/semx-switch.c $(srcdir)/modelx.c $(srcdir)/decodex.c $(srcdir)/decodex.h: $(CGEN_MAINT) stamp-xcpu
79 @true
81 stamp-2cpu: $(CGEN_READ_SCM) $(CGEN_CPU_SCM) $(CGEN_DECODE_SCM) $(CPU_DIR)/m32r.cpu Makefile
82 $(MAKE) cgen-cpu-decode $(CGEN_FLAGS_TO_PASS) \
83 cpu=m32r2f mach=m32r2 SUFFIX=2 \
84 archfile=$(CPU_DIR)/m32r.cpu \
85 FLAGS="with-scache with-profile=fn" \
86 EXTRAFILES="$(CGEN_CPU_SEMSW)"
87 $(SILENCE) touch $@
88 $(srcdir)/cpu2.h $(srcdir)/sem2-switch.c $(srcdir)/model2.c $(srcdir)/decode2.c $(srcdir)/decode2.h: $(CGEN_MAINT) stamp-2cpu
89 @true