* Personal prototype "gx" translation-based JIT engine for M32R.
[deliverable/binutils-gdb.git] / sim / m32r-gx / Makefile.in
1 # Makefile template for Configure for the m32r simulator
2 # Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
3 # Contributed by Cygnus Support.
4 #
5 # This file is part of GDB, the GNU debugger.
6 #
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 2 of the License, or
10 # (at your option) any later version.
11 #
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.
16 #
17 # You should have received a copy of the GNU General Public License along
18 # with this program; if not, write to the Free Software Foundation, Inc.,
19 # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20
21 ## COMMON_PRE_CONFIG_FRAG
22
23 M32R_OBJS = gx-translate.o
24
25 CONFIG_DEVICES = dv-sockser.o
26 CONFIG_DEVICES =
27
28 SIM_OBJS = \
29 sim-bits.o \
30 sim-break.o \
31 sim-config.o \
32 sim-core.o \
33 sim-endian.o \
34 sim-events.o \
35 sim-fpu.o \
36 sim-io.o \
37 sim-if.o \
38 sim-info.o \
39 sim-load.o \
40 sim-memopt.o \
41 sim-module.o \
42 sim-options.o \
43 sim-signal.o \
44 sim-trace.o \
45 sim-utils.o \
46 sim-watch.o \
47 sim-cpu.o \
48 sim-engine.o \
49 sim-core.o \
50 sim-hload.o \
51 sim-hrw.o \
52 sim-reason.o \
53 $(M32R_OBJS) \
54 sim-gx.o \
55 sim-gx-run.o \
56 $(CONFIG_DEVICES)
57
58 # Extra headers included by sim-main.h.
59 SIM_EXTRA_DEPS = \
60 arch.h cpuall.h m32r-sim.h cpu-opc.h
61
62 SIM_EXTRA_CFLAGS = -DSIM_GX=1
63 SIM_EXTRA_ALL = gxtool
64 SIM_EXTRA_INSTALL = install-gxtool
65 SIM_RUN_OBJS = nrun.o
66 SIM_EXTRA_CLEAN = m32r-clean
67
68 # This selects the m32r newlib/libgloss syscall definitions.
69 NL_TARGET = -DNL_TARGET_m32r
70
71 ## COMMON_POST_CONFIG_FRAG
72
73 arch = m32r
74
75 MAIN_INCLUDE_DEPS = \
76 sim-main.h \
77 $(srcdir)/../common/sim-config.h \
78 $(srcdir)/../common/sim-base.h \
79 $(srcdir)/../common/sim-basics.h \
80 $(srcdir)/../common/sim-module.h \
81 $(srcdir)/../common/sim-trace.h \
82 tconfig.h
83 INCLUDE_DEPS = $(MAIN_INCLUDE_DEPS) $(SIM_EXTRA_DEPS) cpu-sim.h
84 OPS_INCLUDE_DEPS = \
85 $(srcdir)/../common/cgen-mem.h \
86 $(srcdir)/../common/cgen-ops.h
87
88 sim-if.o: sim-if.c $(INCLUDE_DEPS) $(srcdir)/../common/sim-core.h
89
90 arch.o: arch.c $(INCLUDE_DEPS)
91
92 # M32R objs
93
94 m32r.o: m32r.c $(INCLUDE_DEPS) $(OPS_INCLUDE_DEPS) cpu.h
95
96 m32r-clean:
97 rm -f mloop.c stamp-arch stamp-cpu stamp-decode
98 rm -f tmp-*
99
100 gxtool: ltconfig ltmain.sh
101 $(SHELL) $(srcdir)/ltconfig --disable-static -o $@ $(srcdir)/ltmain.sh
102
103 install-gxtool: gxtool
104 $(INSTALL_PROGRAM) gxtool $(bindir)
This page took 0.264297 seconds and 4 git commands to generate.