26 |
|
INSTALL_DATA = @INSTALL_DATA@ |
27 |
|
|
28 |
|
## Files |
29 |
< |
SRCS = ../prefs.cpp ../rom_patches.cpp ../slot_rom.cpp ../rsrc_patches.cpp ../emul_op.cpp \ |
30 |
< |
../macos_util.cpp ../xpram.cpp ../timer.cpp ../adb.cpp ../serial.cpp ../ether.cpp ../sony.cpp \ |
31 |
< |
../disk.cpp ../cdrom.cpp ../scsi.cpp ../video.cpp ../audio.cpp ../user_strings.cpp \ |
32 |
< |
main_unix.cpp prefs_unix.cpp sys_unix.cpp xpram_unix.cpp timer_unix.cpp clip_unix.cpp \ |
33 |
< |
serial_unix.cpp video_x.cpp \ |
29 |
> |
SRCS = main_unix.cpp ../prefs.cpp prefs_unix.cpp sys_unix.cpp ../rom_patches.cpp \ |
30 |
> |
../slot_rom.cpp ../rsrc_patches.cpp ../emul_op.cpp ../macos_util.cpp \ |
31 |
> |
../xpram.cpp xpram_unix.cpp ../timer.cpp timer_unix.cpp clip_unix.cpp \ |
32 |
> |
../adb.cpp ../serial.cpp serial_unix.cpp ../ether.cpp ../sony.cpp \ |
33 |
> |
../disk.cpp ../cdrom.cpp ../scsi.cpp ../video.cpp video_x.cpp ../audio.cpp \ |
34 |
> |
../user_strings.cpp user_strings_unix.cpp \ |
35 |
|
$(SYSSRCS) $(CPUSRCS) |
36 |
|
APP = BasiliskII |
37 |
|
|
78 |
|
rm -f $(APP) $(OBJ_DIR)/* core* *.core *~ *.bak |
79 |
|
|
80 |
|
clean: mostlyclean |
81 |
< |
rm -f cpuemu.cpp cpudefs.cpp cputmp.s cpufast*.s cpustbl.cpp cputbl.h |
81 |
> |
rm -f cpuemu.cpp cpudefs.cpp cputmp*.s cpufast*.s cpustbl.cpp cputbl.h |
82 |
|
|
83 |
|
distclean: clean |
84 |
|
rm -rf $(OBJ_DIR) |
103 |
|
$(CC) $(LDFLAGS) -o $(OBJ_DIR)/gencpu $(OBJ_DIR)/gencpu.o $(OBJ_DIR)/readcpu.o $(OBJ_DIR)/cpudefs.o |
104 |
|
cpudefs.cpp: $(OBJ_DIR)/build68k ../uae_cpu/table68k |
105 |
|
$(OBJ_DIR)/build68k <../uae_cpu/table68k >cpudefs.cpp |
105 |
– |
cpuemu.cpp: $(OBJ_DIR)/gencpu |
106 |
– |
$(OBJ_DIR)/gencpu |
106 |
|
cpustbl.cpp: cpuemu.cpp |
107 |
|
cputbl.h: cpuemu.cpp |
108 |
+ |
|
109 |
+ |
cpuemu.cpp: $(OBJ_DIR)/gencpu |
110 |
+ |
$(OBJ_DIR)/gencpu |
111 |
+ |
|
112 |
+ |
$(OBJ_DIR)/cpuemu1.o: cpuemu.cpp |
113 |
+ |
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_1 $(CXXFLAGS) -c $< -o $@ |
114 |
+ |
$(OBJ_DIR)/cpuemu2.o: cpuemu.cpp |
115 |
+ |
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_2 $(CXXFLAGS) -c $< -o $@ |
116 |
+ |
$(OBJ_DIR)/cpuemu3.o: cpuemu.cpp |
117 |
+ |
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_3 $(CXXFLAGS) -c $< -o $@ |
118 |
+ |
$(OBJ_DIR)/cpuemu4.o: cpuemu.cpp |
119 |
+ |
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_4 $(CXXFLAGS) -c $< -o $@ |
120 |
+ |
$(OBJ_DIR)/cpuemu5.o: cpuemu.cpp |
121 |
+ |
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_5 $(CXXFLAGS) -c $< -o $@ |
122 |
+ |
$(OBJ_DIR)/cpuemu6.o: cpuemu.cpp |
123 |
+ |
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_6 $(CXXFLAGS) -c $< -o $@ |
124 |
+ |
$(OBJ_DIR)/cpuemu7.o: cpuemu.cpp |
125 |
+ |
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_7 $(CXXFLAGS) -c $< -o $@ |
126 |
+ |
$(OBJ_DIR)/cpuemu8.o: cpuemu.cpp |
127 |
+ |
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_8 $(CXXFLAGS) -c $< -o $@ |
128 |
+ |
|
129 |
|
cpufast.s: cpuemu.cpp $(OBJ_DIR)/cpuopti |
130 |
|
$(CXX) $(CPPFLAGS) $(DEFS) -S $(CXXFLAGS) $< -o cputmp.s |
131 |
|
$(OBJ_DIR)/cpuopti <cputmp.s >$@ || mv cputmp.s $@ |
132 |
|
rm -f cputmp.s |
133 |
+ |
cpufast1.s: cpuemu.cpp $(OBJ_DIR)/cpuopti |
134 |
+ |
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_1 -S $(CXXFLAGS) $< -o cputmp1.s |
135 |
+ |
$(OBJ_DIR)/cpuopti <cputmp1.s >$@ || mv cputmp1.s $@ |
136 |
+ |
rm -f cputmp1.s |
137 |
+ |
cpufast2.s: cpuemu.cpp $(OBJ_DIR)/cpuopti |
138 |
+ |
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_2 -S $(CXXFLAGS) $< -o cputmp2.s |
139 |
+ |
$(OBJ_DIR)/cpuopti <cputmp2.s >$@ || mv cputmp2.s $@ |
140 |
+ |
rm -f cputmp2.s |
141 |
+ |
cpufast3.s: cpuemu.cpp $(OBJ_DIR)/cpuopti |
142 |
+ |
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_3 -S $(CXXFLAGS) $< -o cputmp3.s |
143 |
+ |
$(OBJ_DIR)/cpuopti <cputmp3.s >$@ || mv cputmp3.s $@ |
144 |
+ |
rm -f cputmp3.s |
145 |
+ |
cpufast4.s: cpuemu.cpp $(OBJ_DIR)/cpuopti |
146 |
+ |
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_4 -S $(CXXFLAGS) $< -o cputmp4.s |
147 |
+ |
$(OBJ_DIR)/cpuopti <cputmp4.s >$@ || mv cputmp4.s $@ |
148 |
+ |
rm -f cputmp4.s |
149 |
+ |
cpufast5.s: cpuemu.cpp $(OBJ_DIR)/cpuopti |
150 |
+ |
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_5 -S $(CXXFLAGS) $< -o cputmp5.s |
151 |
+ |
$(OBJ_DIR)/cpuopti <cputmp5.s >$@ || mv cputmp5.s $@ |
152 |
+ |
rm -f cputmp5.s |
153 |
+ |
cpufast6.s: cpuemu.cpp $(OBJ_DIR)/cpuopti |
154 |
+ |
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_6 -S $(CXXFLAGS) $< -o cputmp6.s |
155 |
+ |
$(OBJ_DIR)/cpuopti <cputmp6.s >$@ || mv cputmp6.s $@ |
156 |
+ |
rm -f cputmp6.s |
157 |
+ |
cpufast7.s: cpuemu.cpp $(OBJ_DIR)/cpuopti |
158 |
+ |
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_7 -S $(CXXFLAGS) $< -o cputmp7.s |
159 |
+ |
$(OBJ_DIR)/cpuopti <cputmp7.s >$@ || mv cputmp7.s $@ |
160 |
+ |
rm -f cputmp7.s |
161 |
+ |
cpufast8.s: cpuemu.cpp $(OBJ_DIR)/cpuopti |
162 |
+ |
$(CXX) $(CPPFLAGS) $(DEFS) -DPART_8 -S $(CXXFLAGS) $< -o cputmp8.s |
163 |
+ |
$(OBJ_DIR)/cpuopti <cputmp8.s >$@ || mv cputmp8.s $@ |
164 |
+ |
rm -f cputmp8.s |
165 |
|
|
166 |
|
#------------------------------------------------------------------------- |
167 |
|
# DO NOT DELETE THIS LINE -- make depend depends on it. |