Commit | Line | Data |
---|---|---|
87326c78 DD |
1 | #### Makefile.in --- Makefile template for the RL78 simulator |
2 | ||
ecd75fc8 | 3 | ### Copyright (C) 2008-2014 Free Software Foundation, Inc. |
87326c78 DD |
4 | ### Contributed by Red Hat, Inc. |
5 | ### | |
6 | ### This file is part of the GNU simulators. | |
7 | ### | |
8 | ### The GNU simulators are free software; you can redistribute them and/or | |
9 | ### modify them under the terms of the GNU General Public License as | |
3fd725ef | 10 | ### published by the Free Software Foundation; either version 3 of the |
87326c78 DD |
11 | ### License, or (at your option) any later version. |
12 | ### | |
13 | ### The GNU simulators are distributed in the hope that they will be | |
14 | ### useful, but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | ### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
16 | ### General Public License for more details. | |
17 | ### | |
18 | ### You should have received a copy of the GNU General Public License | |
51b318de | 19 | ### along with the GNU simulators; if not, see <http://www.gnu.org/licenses/>. |
87326c78 DD |
20 | |
21 | ## COMMON_PRE_CONFIG_FRAG | |
22 | ||
23 | SIM_EXTRA_CFLAGS = -Wall | |
24 | ||
25 | SIM_RUN_OBJS = \ | |
26 | main.o | |
27 | ||
28 | SIM_OBJS = \ | |
29 | load.o \ | |
30 | mem.o \ | |
31 | cpu.o \ | |
32 | rl78.o \ | |
9058f767 | 33 | gdb-if.o \ |
87326c78 DD |
34 | trace.o |
35 | ||
36 | ## COMMON_POST_CONFIG_FRAG | |
37 | ||
38 | arch = rl78 | |
39 | ||
40 | err.o : err.h | |
41 | fpu.o : cpu.h fpu.h | |
42 | gdb-if.o : cpu.h mem.h load.h \ | |
43 | $(srcdir)/../../include/gdb/callback.h \ | |
44 | $(srcdir)/../../include/gdb/remote-sim.h \ | |
45 | $(srcdir)/../../include/gdb/signals.h \ | |
46 | $(srcdir)/../../include/gdb/sim-rl78.h | |
47 | load.o : ../../bfd/bfd.h cpu.h mem.h | |
48 | main.o : ../../bfd/bfd.h cpu.h mem.h load.h | |
49 | mem.o : mem.h cpu.h | |
50 | reg.o : cpu.h | |
51 | rl78.o : $(srcdir)/../../include/opcode/rl78.h cpu.h mem.h |