/[gxemul]/trunk/src/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/Makefile.skel

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

revision 10 by dpavlin, Mon Oct 8 16:18:27 2007 UTC revision 12 by dpavlin, Mon Oct 8 16:18:38 2007 UTC
# Line 1  Line 1 
1  #  #
2  #  $Id: Makefile.skel,v 1.57 2005/06/27 10:43:16 debug Exp $  #  $Id: Makefile.skel,v 1.77 2005/08/16 05:37:09 debug Exp $
3  #  #
4  #  Makefile for GXemul src  #  Makefile for GXemul src
5  #  #
# Line 9  CFLAGS=$(CWARNINGS) $(COPTIM) $(XINCLUDE Line 9  CFLAGS=$(CWARNINGS) $(COPTIM) $(XINCLUDE
9  OBJS=console.o cpu.o debugger.o diskimage.o emul.o emul_parse.o file.o \  OBJS=console.o cpu.o debugger.o diskimage.o emul.o emul_parse.o file.o \
10          machine.o main.o misc.o memory.o device.o net.o symbol.o useremul.o \          machine.o main.o misc.o memory.o device.o net.o symbol.o useremul.o \
11          x11.o cpu_mips.o cpu_mips_coproc.o memory_fast_v2h.o bintrans.o \          x11.o cpu_mips.o cpu_mips_coproc.o memory_fast_v2h.o bintrans.o \
12          cpu_arm.o cpu_ppc.o cpu_urisc.o \          $(CPU_ARCHS) arcbios.o dec_prom.o ps2_bios.o of.o pc_bios.o yamon.o
         cpu_x86.o arcbios.o dec_prom.o ps2_bios.o of.o pc_bios.o yamon.o  
13    
14    
15  all: do_src do_devices  all: do_src do_devices
# Line 22  do_src: $(OBJS) Line 21  do_src: $(OBJS)
21    
22  $(OBJS): Makefile  $(OBJS): Makefile
23    
24    
25    #  Old bintrans:
26    
27  bintrans.o: bintrans.c bintrans_alpha.c bintrans_i386.c  bintrans.o: bintrans.c bintrans_alpha.c bintrans_i386.c
28    
 cpu_arm.o: cpu_arm.c cpu_arm_instr.c memory_rw.c  
29    
30  cpu_mips.o: cpu_mips.c cpu_mips16.c memory_mips.c  ###############################################################################
31    
32    cpu_alpha.o: cpu_alpha.c cpu_alpha_instr.c cpu_dyntrans.c memory_rw.c \
33            tmp_alpha_head.c tmp_alpha_tail.c
34    
35    cpu_alpha_instr.c: cpu_alpha_instr_alu.c tmp_alpha_misc.c
36    
37    tmp_alpha_misc.c: cpu_alpha_instr_loadstore.c
38            cd tools; make generate_alpha_misc; cd ..
39            tools/generate_alpha_misc > tmp_alpha_misc.c
40    
41    tmp_alpha_head.c:
42            cd tools; make generate_head; cd ..
43            tools/generate_head alpha Alpha > tmp_alpha_head.c
44    
45    tmp_alpha_tail.c:
46            cd tools; make generate_tail; cd ..
47            tools/generate_tail alpha Alpha > tmp_alpha_tail.c
48    
49    
50    ###############################################################################
51    
52    cpu_arm.o: cpu_arm.c cpu_arm_instr.c cpu_dyntrans.c memory_rw.c \
53            tmp_arm_head.c tmp_arm_tail.c
54    
55    cpu_arm_instr.c: tmp_arm_include.c tmp_arm_include_self.c \
56            cpu_arm_instr_cmps.c
57    
58    tmp_arm_include.c: cpu_arm_instr_loadstore.c
59            cd tools; make generate_arm_loadstore; cd ..
60            tools/generate_arm_loadstore > tmp_arm_include.c
61    
62    tmp_arm_include_self.c:
63            cd tools; make generate_arm_self; cd ..
64            tools/generate_arm_self > tmp_arm_include_self.c
65    
66    tmp_arm_head.c:
67            cd tools; make generate_head; cd ..
68            tools/generate_head arm ARM > tmp_arm_head.c
69    
70    tmp_arm_tail.c:
71            cd tools; make generate_tail; cd ..
72            tools/generate_tail arm ARM > tmp_arm_tail.c
73    
74    
75    ###############################################################################
76    
77    cpu_ia64.o: cpu_ia64.c cpu_ia64_instr.c cpu_dyntrans.c memory_rw.c \
78            tmp_ia64_head.c tmp_ia64_tail.c
79    
80    tmp_ia64_head.c:
81            cd tools; make generate_head; cd ..
82            tools/generate_head ia64 IA64 > tmp_ia64_head.c
83    
84    tmp_ia64_tail.c:
85            cd tools; make generate_tail; cd ..
86            tools/generate_tail ia64 IA64 > tmp_ia64_tail.c
87    
88    
89    ###############################################################################
90    
91    cpu_m68k.o: cpu_m68k.c cpu_m68k_instr.c cpu_dyntrans.c memory_rw.c \
92            tmp_m68k_head.c tmp_m68k_tail.c
93    
94    tmp_m68k_head.c:
95            cd tools; make generate_head; cd ..
96            tools/generate_head m68k M68K > tmp_m68k_head.c
97    
98    tmp_m68k_tail.c:
99            cd tools; make generate_tail; cd ..
100            tools/generate_tail m68k M68K > tmp_m68k_tail.c
101    
102    
103    ###############################################################################
104    
105    cpu_mips.o: cpu_mips.c cpu_mips16.c cpu_dyntrans.c memory_mips.c
106    
107  memory_mips.c: memory_rw.c memory_mips_v2p.c  memory_mips.c: memory_rw.c memory_mips_v2p.c
108    
 cpu_ppc.o: cpu_ppc.c memory_rw.c  
109    
110  cpu_x86.o: cpu_x86.c memory_x86.c  ###############################################################################
111    
112    cpu_ppc.o: cpu_ppc.c cpu_ppc_instr.c cpu_dyntrans.c memory_rw.c \
113            tmp_ppc_head.c tmp_ppc_tail.c
114    
115    cpu_ppc_instr.c: tmp_ppc_loadstore.c
116    
117    tmp_ppc_loadstore.c: cpu_ppc_instr_loadstore.c
118            cd tools; make generate_ppc_loadstore; cd ..
119            tools/generate_ppc_loadstore > tmp_ppc_loadstore.c
120    
121    tmp_ppc_head.c:
122            cd tools; make generate_head; cd ..
123            tools/generate_head ppc PPC > tmp_ppc_head.c
124    
125    tmp_ppc_tail.c:
126            cd tools; make generate_tail; cd ..
127            tools/generate_tail ppc PPC > tmp_ppc_tail.c
128    
129    
130    ###############################################################################
131    
132    cpu_sparc.o: cpu_sparc.c cpu_sparc_instr.c cpu_dyntrans.c memory_rw.c \
133            tmp_sparc_head.c tmp_sparc_tail.c
134    
135    tmp_sparc_head.c:
136            cd tools; make generate_head; cd ..
137            tools/generate_head sparc SPARC > tmp_sparc_head.c
138    
139    tmp_sparc_tail.c:
140            cd tools; make generate_tail; cd ..
141            tools/generate_tail sparc SPARC > tmp_sparc_tail.c
142    
143    
144    ###############################################################################
145    
146    cpu_x86.o: cpu_x86.c cpu_x86_instr.c cpu_dyntrans.c memory_rw.c \
147            tmp_x86_head.c tmp_x86_tail.c
148    
149  memory_x86.c: memory_rw.c  memory_x86.c: memory_rw.c
150    
151    tmp_x86_head.c:
152            cd tools; make generate_head; cd ..
153            tools/generate_head x86 x86 > tmp_x86_head.c
154    
155    tmp_x86_tail.c:
156            cd tools; make generate_tail; cd ..
157            tools/generate_tail x86 x86 > tmp_x86_tail.c
158    
159    
160    ###############################################################################
161    
162  clean:  clean:
163          rm -f $(OBJS) *core          rm -f $(OBJS) *core tmp_*.c
164            cd tools; $(MAKE) clean; cd ..
165          cd devices; $(MAKE) clean; cd ..          cd devices; $(MAKE) clean; cd ..
166    
167  clean_all: clean  clean_all: clean

Legend:
Removed from v.10  
changed lines
  Added in v.12

  ViewVC Help
Powered by ViewVC 1.1.26