1 |
# |
# |
2 |
# $Id: Makefile.skel,v 1.27 2006/10/25 09:24:06 debug Exp $ |
# $Id: Makefile.skel,v 1.30 2007/02/11 10:47:30 debug Exp $ |
3 |
# |
# |
4 |
# Makefile for GXemul src/cpus |
# Makefile for GXemul src/cpus |
5 |
# |
# |
111 |
|
|
112 |
############################################################################### |
############################################################################### |
113 |
|
|
|
cpu_avr32.o: cpu_avr32.c cpu_avr32_instr.c cpu_dyntrans.c ../memory_rw.c \ |
|
|
tmp_avr32_head.c tmp_avr32_tail.c |
|
|
|
|
|
tmp_avr32_head.c: generate_head |
|
|
./generate_head avr32 AVR32 > tmp_avr32_head.c |
|
|
|
|
|
tmp_avr32_tail.c: generate_tail |
|
|
./generate_tail avr32 AVR32 > tmp_avr32_tail.c |
|
|
|
|
|
|
|
|
############################################################################### |
|
|
|
|
114 |
cpu_rca180x.o: cpu_rca180x.c cpu_rca180x_instr.c cpu_dyntrans.c ../memory_rw.c \ |
cpu_rca180x.o: cpu_rca180x.c cpu_rca180x_instr.c cpu_dyntrans.c ../memory_rw.c \ |
115 |
tmp_rca180x_head.c tmp_rca180x_tail.c |
tmp_rca180x_head.c tmp_rca180x_tail.c |
116 |
|
|
123 |
|
|
124 |
############################################################################### |
############################################################################### |
125 |
|
|
|
cpu_hppa.o: cpu_hppa.c cpu_hppa_instr.c cpu_dyntrans.c ../memory_rw.c \ |
|
|
tmp_hppa_head.c tmp_hppa_tail.c |
|
|
|
|
|
tmp_hppa_head.c: generate_head |
|
|
./generate_head hppa HPPA > tmp_hppa_head.c |
|
|
|
|
|
tmp_hppa_tail.c: generate_tail |
|
|
./generate_tail hppa HPPA > tmp_hppa_tail.c |
|
|
|
|
|
|
|
|
############################################################################### |
|
|
|
|
|
cpu_i960.o: cpu_i960.c cpu_i960_instr.c cpu_dyntrans.c ../memory_rw.c \ |
|
|
tmp_i960_head.c tmp_i960_tail.c |
|
|
|
|
|
tmp_i960_head.c: generate_head |
|
|
./generate_head i960 i960 > tmp_i960_head.c |
|
|
|
|
|
tmp_i960_tail.c: generate_tail |
|
|
./generate_tail i960 i960 > tmp_i960_tail.c |
|
|
|
|
|
|
|
|
############################################################################### |
|
|
|
|
|
cpu_ia64.o: cpu_ia64.c cpu_ia64_instr.c cpu_dyntrans.c ../memory_rw.c \ |
|
|
tmp_ia64_head.c tmp_ia64_tail.c |
|
|
|
|
|
tmp_ia64_head.c: generate_head |
|
|
./generate_head ia64 IA64 > tmp_ia64_head.c |
|
|
|
|
|
tmp_ia64_tail.c: generate_tail |
|
|
./generate_tail ia64 IA64 > tmp_ia64_tail.c |
|
|
|
|
|
|
|
|
############################################################################### |
|
|
|
|
126 |
cpu_m68k.o: cpu_m68k.c cpu_m68k_instr.c cpu_dyntrans.c ../memory_rw.c \ |
cpu_m68k.o: cpu_m68k.c cpu_m68k_instr.c cpu_dyntrans.c ../memory_rw.c \ |
127 |
tmp_m68k_head.c tmp_m68k_tail.c |
tmp_m68k_head.c tmp_m68k_tail.c |
128 |
|
|
136 |
############################################################################### |
############################################################################### |
137 |
|
|
138 |
cpu_mips.o: cpu_mips.c cpu_dyntrans.c memory_mips.c \ |
cpu_mips.o: cpu_mips.c cpu_dyntrans.c memory_mips.c \ |
139 |
cpu_mips_instr.c tmp_mips_loadstore.c tmp_mips_head.c tmp_mips_tail.c |
cpu_mips_instr.c tmp_mips_loadstore.c tmp_mips_loadstore_multi.c \ |
140 |
|
tmp_mips_head.c tmp_mips_tail.c |
141 |
|
|
142 |
memory_mips.c: ../memory_rw.c memory_mips_v2p.c |
memory_mips.c: ../memory_rw.c memory_mips_v2p.c |
143 |
|
|
144 |
tmp_mips_loadstore.c: cpu_mips_instr_loadstore.c generate_mips_loadstore |
tmp_mips_loadstore.c: cpu_mips_instr_loadstore.c generate_mips_loadstore |
145 |
./generate_mips_loadstore > tmp_mips_loadstore.c |
./generate_mips_loadstore > tmp_mips_loadstore.c |
146 |
|
|
147 |
|
tmp_mips_loadstore_multi.c: generate_mips_loadstore_multi |
148 |
|
./generate_mips_loadstore_multi > tmp_mips_loadstore_multi.c |
149 |
|
|
150 |
tmp_mips_head.c: generate_head |
tmp_mips_head.c: generate_head |
151 |
./generate_head mips MIPS > tmp_mips_head.c |
./generate_head mips MIPS > tmp_mips_head.c |
152 |
|
|
209 |
|
|
210 |
|
|
211 |
############################################################################### |
############################################################################### |
|
|
|
|
cpu_x86.o: cpu_x86.c cpu_x86_instr.c cpu_dyntrans.c ../memory_rw.c \ |
|
|
memory_x86.c tmp_x86_head.c tmp_x86_tail.c |
|
|
|
|
|
tmp_x86_head.c: generate_head |
|
|
./generate_head x86 x86 > tmp_x86_head.c |
|
|
|
|
|
tmp_x86_tail.c: generate_tail |
|
|
./generate_tail x86 x86 > tmp_x86_tail.c |
|
|
|
|
|
|
|
|
############################################################################### |
|
212 |
|
|
213 |
clean: |
clean: |
214 |
rm -f $(OBJS) $(TOOLS) *core tmp_*.c *.gmon experiment_arm_multi |
rm -f $(OBJS) $(TOOLS) *core tmp_*.c *.gmon experiment_arm_multi |