1 |
# |
# |
2 |
# $Id: Makefile.skel,v 1.27 2006/10/25 09:24:06 debug Exp $ |
# $Id: Makefile.skel,v 1.33 2007/04/19 15:18:15 debug Exp $ |
3 |
# |
# |
4 |
# Makefile for GXemul src/cpus |
# Makefile for GXemul src/cpus |
5 |
# |
# |
111 |
|
|
112 |
############################################################################### |
############################################################################### |
113 |
|
|
114 |
cpu_avr32.o: cpu_avr32.c cpu_avr32_instr.c cpu_dyntrans.c ../memory_rw.c \ |
cpu_m88k.o: cpu_m88k.c cpu_m88k_instr.c cpu_dyntrans.c ../memory_rw.c \ |
115 |
tmp_avr32_head.c tmp_avr32_tail.c |
tmp_m88k_head.c tmp_m88k_tail.c |
116 |
|
|
117 |
tmp_avr32_head.c: generate_head |
tmp_m88k_head.c: generate_head |
118 |
./generate_head avr32 AVR32 > tmp_avr32_head.c |
./generate_head m88k M88K > tmp_m88k_head.c |
119 |
|
|
120 |
tmp_avr32_tail.c: generate_tail |
tmp_m88k_tail.c: generate_tail |
121 |
./generate_tail avr32 AVR32 > tmp_avr32_tail.c |
./generate_tail m88k M88K > tmp_m88k_tail.c |
|
|
|
|
|
|
|
############################################################################### |
|
|
|
|
|
cpu_rca180x.o: cpu_rca180x.c cpu_rca180x_instr.c cpu_dyntrans.c ../memory_rw.c \ |
|
|
tmp_rca180x_head.c tmp_rca180x_tail.c |
|
|
|
|
|
tmp_rca180x_head.c: generate_head |
|
|
./generate_head rca180x RCA180X > tmp_rca180x_head.c |
|
|
|
|
|
tmp_rca180x_tail.c: generate_tail |
|
|
./generate_tail rca180x RCA180X > tmp_rca180x_tail.c |
|
|
|
|
|
|
|
|
############################################################################### |
|
|
|
|
|
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 |
|
|
|
|
|
|
|
|
############################################################################### |
|
|
|
|
|
cpu_m68k.o: cpu_m68k.c cpu_m68k_instr.c cpu_dyntrans.c ../memory_rw.c \ |
|
|
tmp_m68k_head.c tmp_m68k_tail.c |
|
|
|
|
|
tmp_m68k_head.c: generate_head |
|
|
./generate_head m68k M68K > tmp_m68k_head.c |
|
|
|
|
|
tmp_m68k_tail.c: generate_tail |
|
|
./generate_tail m68k M68K > tmp_m68k_tail.c |
|
122 |
|
|
123 |
|
|
124 |
############################################################################### |
############################################################################### |
125 |
|
|
126 |
cpu_mips.o: cpu_mips.c cpu_dyntrans.c memory_mips.c \ |
cpu_mips.o: cpu_mips.c cpu_dyntrans.c memory_mips.c \ |
127 |
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 \ |
128 |
|
tmp_mips_head.c tmp_mips_tail.c |
129 |
|
|
130 |
memory_mips.c: ../memory_rw.c memory_mips_v2p.c |
memory_mips.c: ../memory_rw.c memory_mips_v2p.c |
131 |
|
|
132 |
tmp_mips_loadstore.c: cpu_mips_instr_loadstore.c generate_mips_loadstore |
tmp_mips_loadstore.c: cpu_mips_instr_loadstore.c generate_mips_loadstore |
133 |
./generate_mips_loadstore > tmp_mips_loadstore.c |
./generate_mips_loadstore > tmp_mips_loadstore.c |
134 |
|
|
135 |
|
tmp_mips_loadstore_multi.c: generate_mips_loadstore_multi |
136 |
|
./generate_mips_loadstore_multi > tmp_mips_loadstore_multi.c |
137 |
|
|
138 |
tmp_mips_head.c: generate_head |
tmp_mips_head.c: generate_head |
139 |
./generate_head mips MIPS > tmp_mips_head.c |
./generate_head mips MIPS > tmp_mips_head.c |
140 |
|
|
185 |
|
|
186 |
|
|
187 |
############################################################################### |
############################################################################### |
|
|
|
|
cpu_transputer.o: cpu_transputer.c cpu_transputer_instr.c cpu_dyntrans.c \ |
|
|
../memory_rw.c tmp_transputer_head.c tmp_transputer_tail.c |
|
|
|
|
|
tmp_transputer_head.c: generate_head |
|
|
./generate_head transputer Transputer > tmp_transputer_head.c |
|
|
|
|
|
tmp_transputer_tail.c: generate_tail |
|
|
./generate_tail transputer Transputer > tmp_transputer_tail.c |
|
|
|
|
|
|
|
|
############################################################################### |
|
|
|
|
|
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 |
|
|
|
|
|
|
|
|
############################################################################### |
|
188 |
|
|
189 |
clean: |
clean: |
190 |
rm -f $(OBJS) $(TOOLS) *core tmp_*.c *.gmon experiment_arm_multi |
rm -f $(OBJS) $(TOOLS) *core tmp_*.c *.gmon experiment_arm_multi |