Commit | Line | Data |
---|---|---|
87326c78 DD |
1 | #### Makefile.in --- Makefile template for the RL78 simulator |
2 | ||
c5a57081 | 3 | ### Copyright (C) 2008-2012 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 | |
10 | ### published by the Free Software Foundation; either version 2 of the | |
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 | |
19 | ### along with the GNU simulators; if not, write to the Free Software | |
20 | ### Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA | |
21 | ### 02110-1301, USA | |
22 | ||
23 | ## COMMON_PRE_CONFIG_FRAG | |
24 | ||
25 | SIM_EXTRA_CFLAGS = -Wall | |
26 | ||
27 | SIM_RUN_OBJS = \ | |
28 | main.o | |
29 | ||
30 | SIM_OBJS = \ | |
31 | load.o \ | |
32 | mem.o \ | |
33 | cpu.o \ | |
34 | rl78.o \ | |
9058f767 | 35 | gdb-if.o \ |
87326c78 DD |
36 | trace.o |
37 | ||
38 | ## COMMON_POST_CONFIG_FRAG | |
39 | ||
40 | arch = rl78 | |
41 | ||
42 | err.o : err.h | |
43 | fpu.o : cpu.h fpu.h | |
44 | gdb-if.o : cpu.h mem.h load.h \ | |
45 | $(srcdir)/../../include/gdb/callback.h \ | |
46 | $(srcdir)/../../include/gdb/remote-sim.h \ | |
47 | $(srcdir)/../../include/gdb/signals.h \ | |
48 | $(srcdir)/../../include/gdb/sim-rl78.h | |
49 | load.o : ../../bfd/bfd.h cpu.h mem.h | |
50 | main.o : ../../bfd/bfd.h cpu.h mem.h load.h | |
51 | mem.o : mem.h cpu.h | |
52 | reg.o : cpu.h | |
53 | rl78.o : $(srcdir)/../../include/opcode/rl78.h cpu.h mem.h |