/[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 20 by dpavlin, Mon Oct 8 16:19:23 2007 UTC revision 38 by dpavlin, Mon Oct 8 16:21:53 2007 UTC
# Line 1  Line 1 
1  #  #
2  #  $Id: Makefile.skel,v 1.15 2005/11/13 22:34:22 debug Exp $  #  $Id: Makefile.skel,v 1.31 2007/04/10 17:26:20 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 116  tmp_avr_tail.c: generate_tail Line 111  tmp_avr_tail.c: generate_tail
111    
112  ###############################################################################  ###############################################################################
113    
 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  
   
   
 ###############################################################################  
   
114  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 \
115          tmp_m68k_head.c tmp_m68k_tail.c          tmp_m68k_head.c tmp_m68k_tail.c
116    
# Line 164  tmp_m68k_tail.c: generate_tail Line 123  tmp_m68k_tail.c: generate_tail
123    
124  ###############################################################################  ###############################################################################
125    
126  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 \
127            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
133            ./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
 cpu_newmips.o: cpu_newmips.c cpu_newmips_instr.c cpu_dyntrans.c ../memory_rw.c \  
         tmp_newmips_head.c tmp_newmips_tail.c  
137    
138  tmp_newmips_head.c: generate_head  tmp_mips_head.c: generate_head
139          ./generate_head newmips NEWMIPS > tmp_newmips_head.c          ./generate_head mips MIPS > tmp_mips_head.c
140    
141  tmp_newmips_tail.c: generate_tail  tmp_mips_tail.c: generate_tail
142          ./generate_tail newmips NEWMIPS > tmp_newmips_tail.c          ./generate_tail mips MIPS > tmp_mips_tail.c
143    
144    
145  ###############################################################################  ###############################################################################
146    
147  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 \
148          ../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  
149    
150  tmp_ppc_loadstore.c: cpu_ppc_instr_loadstore.c generate_ppc_loadstore  tmp_ppc_loadstore.c: cpu_ppc_instr_loadstore.c generate_ppc_loadstore
151          ./generate_ppc_loadstore > tmp_ppc_loadstore.c          ./generate_ppc_loadstore > tmp_ppc_loadstore.c
# Line 213  tmp_sh_tail.c: generate_tail Line 172  tmp_sh_tail.c: generate_tail
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
# Line 223  tmp_sparc_tail.c: generate_tail Line 185  tmp_sparc_tail.c: generate_tail
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

Legend:
Removed from v.20  
changed lines
  Added in v.38

  ViewVC Help
Powered by ViewVC 1.1.26