/[gxemul]/trunk/src/cpus/Makefile.skel
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/src/cpus/Makefile.skel

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 16 by dpavlin, Mon Oct 8 16:19:01 2007 UTC revision 24 by dpavlin, Mon Oct 8 16:19:56 2007 UTC
# Line 1  Line 1 
1  #  #
2  #  $Id: Makefile.skel,v 1.9 2005/10/09 21:32:07 debug Exp $  #  $Id: Makefile.skel,v 1.22 2006/06/17 10:49:16 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_ARCHS) $(CPU_BACKENDS)
10  TOOLS=generate_head generate_tail $(CPU_TOOLS)  TOOLS=generate_head generate_tail $(CPU_TOOLS)
11    
12    
# Line 21  $(OBJS): Makefile Line 21  $(OBJS): Makefile
21    
22    
23    
 #  Old bintrans:  
   
 bintrans.o: bintrans.c bintrans_alpha.c bintrans_i386.c  
   
   
24  ###############################################################################  ###############################################################################
25    
26  cpu_alpha.o: cpu_alpha.c cpu_alpha_instr.c cpu_dyntrans.c ../memory_rw.c \  cpu_alpha.o: cpu_alpha.c cpu_alpha_instr.c cpu_dyntrans.c ../memory_rw.c \
# Line 48  tmp_alpha_tail.c: generate_tail Line 43  tmp_alpha_tail.c: generate_tail
43  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 \
44          tmp_arm_head.c tmp_arm_tail.c          tmp_arm_head.c tmp_arm_tail.c
45    
46    cpu_arm_instr.c: cpu_arm_instr_misc.c
47    
48  tmp_arm_loadstore.c: cpu_arm_instr_loadstore.c generate_arm_loadstore  tmp_arm_loadstore.c: cpu_arm_instr_loadstore.c generate_arm_loadstore
49          ./generate_arm_loadstore > tmp_arm_loadstore.c          ./generate_arm_loadstore > tmp_arm_loadstore.c
50    
51    tmp_arm_multi.c: generate_arm_multi cpu_arm_multi.txt
52            ./generate_arm_multi `cat cpu_arm_multi.txt` > tmp_arm_multi.c
53    
54  tmp_arm_dpi.c: cpu_arm_instr_dpi.c generate_arm_dpi  tmp_arm_dpi.c: cpu_arm_instr_dpi.c generate_arm_dpi
55          ./generate_arm_dpi > tmp_arm_dpi.c          ./generate_arm_dpi > tmp_arm_dpi.c
56    
# Line 159  tmp_m68k_tail.c: generate_tail Line 159  tmp_m68k_tail.c: generate_tail
159    
160  ###############################################################################  ###############################################################################
161    
162  cpu_mips.o: cpu_mips.c cpu_mips16.c cpu_dyntrans.c memory_mips.c  cpu_mips.o: cpu_mips.c cpu_dyntrans.c memory_mips.c \
163            cpu_mips_instr.c tmp_mips_loadstore.c tmp_mips_head.c tmp_mips_tail.c
164    
165  memory_mips.c: ../memory_rw.c memory_mips_v2p.c  memory_mips.c: ../memory_rw.c memory_mips_v2p.c
166    
167    tmp_mips_loadstore.c: cpu_mips_instr_loadstore.c generate_mips_loadstore
168            ./generate_mips_loadstore > tmp_mips_loadstore.c
169    
170    tmp_mips_head.c: generate_head
171            ./generate_head mips MIPS > tmp_mips_head.c
172    
173    tmp_mips_tail.c: generate_tail
174            ./generate_tail mips MIPS > tmp_mips_tail.c
175    
176    
177  ###############################################################################  ###############################################################################
178    
179  cpu_ppc.o: cpu_ppc.c cpu_ppc_instr.c cpu_dyntrans.c memory_ppc.c \  cpu_ppc.o: cpu_ppc.c cpu_ppc_instr.c cpu_dyntrans.c memory_ppc.c \
180          ../memory_rw.c tmp_ppc_head.c tmp_ppc_tail.c          ../memory_rw.c tmp_ppc_head.c tmp_ppc_tail.c tmp_ppc_loadstore.c
   
 cpu_ppc_instr.c: tmp_ppc_loadstore.c  
181    
182  tmp_ppc_loadstore.c: cpu_ppc_instr_loadstore.c generate_ppc_loadstore  tmp_ppc_loadstore.c: cpu_ppc_instr_loadstore.c generate_ppc_loadstore
183          ./generate_ppc_loadstore > tmp_ppc_loadstore.c          ./generate_ppc_loadstore > tmp_ppc_loadstore.c
# Line 208  tmp_sparc_tail.c: generate_tail Line 216  tmp_sparc_tail.c: generate_tail
216  ###############################################################################  ###############################################################################
217    
218  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 \
219          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  
220    
221  tmp_x86_head.c: generate_head  tmp_x86_head.c: generate_head
222          ./generate_head x86 x86 > tmp_x86_head.c          ./generate_head x86 x86 > tmp_x86_head.c
# Line 222  tmp_x86_tail.c: generate_tail Line 228  tmp_x86_tail.c: generate_tail
228  ###############################################################################  ###############################################################################
229    
230  clean:  clean:
231          rm -f $(OBJS) $(TOOLS) *core tmp_*.c *.gmon          rm -f $(OBJS) $(TOOLS) *core tmp_*.c *.gmon experiment_arm_multi
232    
233  clean_all: clean  clean_all: clean
234          rm -f Makefile          rm -f Makefile

Legend:
Removed from v.16  
changed lines
  Added in v.24

  ViewVC Help
Powered by ViewVC 1.1.26