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