| 1 | #### Makefile.in --- Makefile template for the RX simulator |
| 2 | |
| 3 | ### Copyright (C) 2008-2016 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 | |
| 23 | SIM_EXTRA_CFLAGS = -Wall |
| 24 | |
| 25 | SIM_RUN_OBJS = \ |
| 26 | main.o \ |
| 27 | $(ENDLIST) |
| 28 | |
| 29 | SIM_OBJS = \ |
| 30 | fpu.o \ |
| 31 | load.o \ |
| 32 | mem.o \ |
| 33 | misc.o \ |
| 34 | reg.o \ |
| 35 | rx.o \ |
| 36 | syscalls.o \ |
| 37 | trace.o \ |
| 38 | gdb-if.o \ |
| 39 | err.o \ |
| 40 | $(ENDLIST) |
| 41 | |
| 42 | LIBS = $B/bfd/libbfd.a $B/libiberty/libiberty.a |
| 43 | |
| 44 | ## COMMON_POST_CONFIG_FRAG |
| 45 | |
| 46 | arch = rx |
| 47 | |
| 48 | err.o : err.h |
| 49 | fpu.o : cpu.h fpu.h |
| 50 | gdb-if.o : cpu.h mem.h load.h syscalls.h err.h \ |
| 51 | $(srcdir)/../../include/gdb/callback.h \ |
| 52 | $(srcdir)/../../include/gdb/remote-sim.h \ |
| 53 | $(srcdir)/../../include/gdb/signals.h \ |
| 54 | $(srcdir)/../../include/gdb/sim-rx.h |
| 55 | load.o : ../../bfd/bfd.h cpu.h mem.h |
| 56 | main.o : ../../bfd/bfd.h cpu.h mem.h misc.h load.h trace.h err.h |
| 57 | mem.o : mem.h cpu.h syscalls.h misc.h err.h |
| 58 | misc.o : cpu.h misc.h |
| 59 | reg.o : cpu.h trace.h |
| 60 | rx.o : $(srcdir)/../../include/opcode/rx.h cpu.h mem.h syscalls.h fpu.h |
| 61 | syscalls.o : $(srcdir)/../../include/gdb/callback.h cpu.h mem.h syscalls.h syscall.h |
| 62 | trace.o : ../../bfd/bfd.h $(srcdir)/../../include/dis-asm.h cpu.h mem.h load.h |