1 |
# |
# |
2 |
# $Id: Makefile.skel,v 1.22 2006/06/17 10:49:16 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_hppa.o: cpu_hppa.c cpu_hppa_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_hppa_head.c tmp_hppa_tail.c |
tmp_m88k_head.c tmp_m88k_tail.c |
116 |
|
|
117 |
tmp_hppa_head.c: generate_head |
tmp_m88k_head.c: generate_head |
118 |
./generate_head hppa HPPA > tmp_hppa_head.c |
./generate_head m88k M88K > tmp_m88k_head.c |
119 |
|
|
120 |
tmp_hppa_tail.c: generate_tail |
tmp_m88k_tail.c: generate_tail |
121 |
./generate_tail hppa HPPA > tmp_hppa_tail.c |
./generate_tail m88k M88K > tmp_m88k_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 |
|
|
172 |
############################################################################### |
############################################################################### |
173 |
|
|
174 |
cpu_sparc.o: cpu_sparc.c cpu_sparc_instr.c cpu_dyntrans.c ../memory_rw.c \ |
cpu_sparc.o: cpu_sparc.c cpu_sparc_instr.c cpu_dyntrans.c ../memory_rw.c \ |
175 |
tmp_sparc_head.c tmp_sparc_tail.c |
tmp_sparc_head.c tmp_sparc_tail.c tmp_sparc_loadstore.c |
176 |
|
|
177 |
|
tmp_sparc_loadstore.c: cpu_sparc_instr_loadstore.c generate_sparc_loadstore |
178 |
|
./generate_sparc_loadstore > tmp_sparc_loadstore.c |
179 |
|
|
180 |
tmp_sparc_head.c: generate_head |
tmp_sparc_head.c: generate_head |
181 |
./generate_head sparc SPARC > tmp_sparc_head.c |
./generate_head sparc SPARC > tmp_sparc_head.c |
185 |
|
|
186 |
|
|
187 |
############################################################################### |
############################################################################### |
|
|
|
|
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 |