1#### Makefile.in --- Makefile template for the RL78 simulator
2
3### Copyright (C) 2008-2013 Free Software Foundation, Inc.
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 3 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, see <http://www.gnu.org/licenses/>.
20
21## COMMON_PRE_CONFIG_FRAG
22
23SIM_EXTRA_CFLAGS = -Wall
24
25SIM_RUN_OBJS = \
26	main.o
27
28SIM_OBJS = \
29	load.o \
30	mem.o \
31	cpu.o \
32	rl78.o \
33	gdb-if.o \
34	trace.o
35
36## COMMON_POST_CONFIG_FRAG
37
38arch = rl78
39
40err.o : err.h
41fpu.o : cpu.h fpu.h
42gdb-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
47load.o : ../../bfd/bfd.h cpu.h mem.h
48main.o : ../../bfd/bfd.h cpu.h mem.h load.h
49mem.o : mem.h cpu.h
50reg.o : cpu.h
51rl78.o : $(srcdir)/../../include/opcode/rl78.h cpu.h mem.h
52