1 |
# |
# |
2 |
# $Id: Makefile.skel,v 1.11 2005/10/22 09:38:46 debug Exp $ |
# $Id: Makefile.skel,v 1.17 2005/12/11 12:46:24 debug Exp $ |
3 |
# |
# |
4 |
# Makefile for GXemul src/cpus |
# Makefile for GXemul src/cpus |
5 |
# |
# |
6 |
|
|
7 |
CFLAGS=$(CWARNINGS) $(COPTIM) $(XINCLUDE) $(DINCLUDE) |
CFLAGS=$(CWARNINGS) $(COPTIM) $(XINCLUDE) $(DINCLUDE) |
8 |
|
|
9 |
OBJS=cpu_mips.o cpu_mips_coproc.o bintrans.o memory_fast_v2h.o $(CPU_ARCHS) |
OBJS=cpu_mips.o cpu_mips_coproc.o bintrans.o memory_fast_v2h.o \ |
10 |
|
$(CPU_ARCHS) $(CPU_BACKENDS) |
11 |
TOOLS=generate_head generate_tail $(CPU_TOOLS) |
TOOLS=generate_head generate_tail $(CPU_TOOLS) |
12 |
|
|
13 |
|
|
49 |
cpu_arm.o: cpu_arm.c cpu_arm_instr.c cpu_dyntrans.c ../memory_rw.c \ |
cpu_arm.o: cpu_arm.c cpu_arm_instr.c cpu_dyntrans.c ../memory_rw.c \ |
50 |
tmp_arm_head.c tmp_arm_tail.c |
tmp_arm_head.c tmp_arm_tail.c |
51 |
|
|
52 |
cpu_arm_instr.c: tmp_arm_multi.c |
cpu_arm_instr.c: cpu_arm_instr_misc.c |
53 |
|
|
54 |
tmp_arm_loadstore.c: cpu_arm_instr_loadstore.c generate_arm_loadstore |
tmp_arm_loadstore.c: cpu_arm_instr_loadstore.c generate_arm_loadstore |
55 |
./generate_arm_loadstore > tmp_arm_loadstore.c |
./generate_arm_loadstore > tmp_arm_loadstore.c |
165 |
|
|
166 |
############################################################################### |
############################################################################### |
167 |
|
|
168 |
cpu_mips.o: cpu_mips.c cpu_mips16.c cpu_dyntrans.c memory_mips.c |
cpu_mips.o: cpu_mips.c cpu_mips16.c cpu_dyntrans.c memory_mips.c \ |
169 |
|
cpu_mips_instr.c tmp_mips_head.c tmp_mips_tail.c |
170 |
|
|
171 |
memory_mips.c: ../memory_rw.c memory_mips_v2p.c |
memory_mips.c: ../memory_rw.c memory_mips_v2p.c |
172 |
|
|
173 |
|
tmp_mips_head.c: generate_head |
174 |
|
./generate_head mips MIPS > tmp_mips_head.c |
175 |
|
|
176 |
|
tmp_mips_tail.c: generate_tail |
177 |
|
./generate_tail mips MIPS > tmp_mips_tail.c |
178 |
|
|
179 |
|
|
180 |
############################################################################### |
############################################################################### |
181 |
|
|
221 |
############################################################################### |
############################################################################### |
222 |
|
|
223 |
cpu_x86.o: cpu_x86.c cpu_x86_instr.c cpu_dyntrans.c ../memory_rw.c \ |
cpu_x86.o: cpu_x86.c cpu_x86_instr.c cpu_dyntrans.c ../memory_rw.c \ |
224 |
tmp_x86_head.c tmp_x86_tail.c |
memory_x86.c tmp_x86_head.c tmp_x86_tail.c |
|
|
|
|
memory_x86.c: ../memory_rw.c |
|
225 |
|
|
226 |
tmp_x86_head.c: generate_head |
tmp_x86_head.c: generate_head |
227 |
./generate_head x86 x86 > tmp_x86_head.c |
./generate_head x86 x86 > tmp_x86_head.c |