ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/MacOSX/Makefile.in
(Generate patch)

Comparing BasiliskII/src/MacOSX/Makefile.in (file contents):
Revision 1.3 by nigel, 2002-03-16T09:09:19Z vs.
Revision 1.25 by gbeauche, 2007-06-15T17:11:46Z

# Line 1 | Line 1
1 < # MacOS X makefile for Basilisk II. Slightly based on the Unix one
1 > # Unix makefile for Basilisk II
2  
3   ## System specific configuration
4 @SET_MAKE@
4   SHELL = /bin/sh
5  
6 <
7 < CC = @CC@
8 < CXX = @CXX@
9 < CFLAGS = @CFLAGS@
10 < CXXFLAGS = @CXXFLAGS@
6 > HOST_CC = gcc
7 > HOST_CXX = g++
8 > CC = @CC@ -arch $(ARCH)
9 > CXX = @CXX@ -arch $(ARCH)
10 > CFLAGS = @CFLAGS@ -g
11 > CXXFLAGS = @CXXFLAGS@ -g
12   CPPFLAGS = @CPPFLAGS@ -I../include -I. -I../uae_cpu
13 < DEFS = @DEFS@ @DEFINES@ -D_REENTRANT
13 > DEFS = @DEFS@ @DEFINES@ -D_REENTRANT -DAQUA -DFPU_IEEE
14   LDFLAGS = @LDFLAGS@
15   LIBS = @LIBS@
16 + MONSRCS = @MONSRCS@
17 + BLESS = @BLESS@
18 + LN_S = ln -s
19 +
20 + ## slirp network emulation code
21 + WANT_SLIRP = @WANT_SLIRP@
22 + ifeq ($(WANT_SLIRP), yes)
23 + CPPFLAGS += -I../slirp
24 + SLIRP_CFLAGS = @SLIRP_CFLAGS@
25 + SLIRP_SRCS = @SLIRP_SRCS@
26 + SLIRP_OBJS = $(SLIRP_SRCS:../slirp/%.c=obj/%.o)
27 + endif
28 +
29 + ## CPU emulation code
30 + WANT_JIT = @WANT_JIT@
31 + WANT_JIT_DEBUG = @WANT_JIT_DEBUG@
32 + USE_JIT = no
33 + CPUSRCS = \
34 +        ../uae_cpu/basilisk_glue.cpp ../uae_cpu/readcpu.cpp \
35 +        ../uae_cpu/memory.cpp ../uae_cpu/newcpu.cpp ../uae_cpu/fpu/fpu_ieee.cpp
36 + GEN_CPUSRCS = \
37 +        cpustbl.cpp cpudefs.cpp \
38 +        cpuemu1.cpp cpuemu2.cpp cpuemu3.cpp cpuemu4.cpp \
39 +        cpuemu5.cpp cpuemu6.cpp cpuemu7.cpp cpuemu8.cpp
40 + ifeq ($(ARCH), i386)
41 + USE_JIT = $(WANT_JIT)
42 + DEFS += -DUNALIGNED_PROFITABLE -DREGPARAM="__attribute__((regparm(3)))"
43 + DEFS += -DX86_ASSEMBLY -DOPTIMIZED_FLAGS -DSAHF_SETO_PROFITABLE
44 + endif
45 + ifeq ($(ARCH), x86_64)
46 + USE_JIT = $(WANT_JIT)
47 + DEFS += -DUNALIGNED_PROFITABLE
48 + DEFS += -DX86_64_ASSEMBLY -DOPTIMIZED_FLAGS
49 + endif
50 + ifeq ($(USE_JIT), yes)
51 + DEFS += -DUSE_JIT -DUSE_JIT_FPU
52 + ifeq ($(WANT_JIT_DEBUG), yes)
53 + DEFS += -DJIT_DEBUG
54 + endif
55 + CPUSRCS += \
56 +        ../uae_cpu/compiler/compemu_support.cpp \
57 +        ../uae_cpu/compiler/compemu_fpp.cpp
58 + GEN_CPUSRCS += \
59 +        cpuemu1_nf.cpp cpuemu2_nf.cpp cpuemu3_nf.cpp cpuemu4_nf.cpp \
60 +        cpuemu5_nf.cpp cpuemu6_nf.cpp cpuemu7_nf.cpp cpuemu8_nf.cpp \
61 +        compemu1.cpp compemu2.cpp compemu3.cpp compemu4.cpp \
62 +        compemu5.cpp compemu6.cpp compemu7.cpp compemu8.cpp \
63 +        cpustbl_nf.cpp compstbl.cpp
64 + endif
65 +
66 + GEN_DIR = gen
67 + ifneq ($(ARCH),)
68 + GEN_DIR = gen.$(ARCH)
69 + endif
70 + CPUSRCS += $(foreach file, $(GEN_CPUSRCS), $(GEN_DIR)/$(file))
71 + CPPFLAGS += -I$(GEN_DIR)
72  
73   ## Files
74 < OBJ_DIR = build
75 < GENSRCS = user_strings_unix.h cpudefs.cpp cpuemu.cpp cpustbl.cpp cputbl.h \
76 <          README.txt
77 < SRCS =  BasiliskII.icns Controller.h Controller.mm Credits.html \
78 <        Emulator.h Emulator.mm EmulatorView.h EmulatorView.mm English.lproj \
79 <        NNThread.h NNThread.m PrefsEditor.h PrefsEditor.mm \
80 <        ToDo.html Versions.html \
81 <        audio_macosx.cpp extfs_macosx.mm macos_util_macosx.h main_macosx.h \
82 <        main_macosx.mm misc_macosx.h misc_macosx.mm prefs_macosx.cpp \
83 <        sysdeps.h video_macosx.mm video_macosx.h
84 < APP = $(OBJ_DIR)/BasiliskII.app
74 > UNIXSRCS = vm_alloc.cpp vm_alloc.h sigsegv.cpp sigsegv.h video_vosf.h video_blit.cpp \
75 >    xpram_unix.cpp user_strings_unix.cpp user_strings_unix.h \
76 >    serial_unix.cpp ether_unix.cpp sys_unix.cpp timer_unix.cpp \
77 >    sshpty.c sshpty.h strlcpy.c strlcpy.h semaphore.h
78 > SRCS = ../main.cpp main_macosx.mm ../prefs.cpp ../prefs_items.cpp prefs_macosx.mm \
79 >    sys_unix.cpp sys_darwin.cpp ../rom_patches.cpp ../slot_rom.cpp ../rsrc_patches.cpp \
80 >    ../emul_op.cpp ../macos_util.cpp ../xpram.cpp xpram_unix.cpp ../timer.cpp \
81 >    timer_unix.cpp ../adb.cpp ../serial.cpp serial_unix.cpp ../ether.cpp ether_unix.cpp \
82 >    ../sony.cpp ../disk.cpp ../cdrom.cpp ../scsi.cpp ../video.cpp video_macosx.mm \
83 >    vm_alloc.cpp sigsegv.cpp ../audio.cpp ../extfs.cpp extfs_macosx.mm \
84 >    ../user_strings.cpp user_strings_unix.cpp clip_macosx.cpp misc_macosx.mm \
85 >    ../dummy/scsi_dummy.cpp \
86 >    audio_macosx.cpp AudioBackEnd.cpp AudioDevice.cpp MacOSX_sound_if.cpp \
87 >    NNThread.m Emulator.mm EmulatorView.mm Controller.mm PrefsEditor.mm \
88 >    sshpty.c strlcpy.c \
89 >    $(MONSRCS) $(CPUSRCS) $(SLIRP_SRCS)
90 >
91 > ## Documentation files
92 > DOCS = README.txt Credits.html ToDo.html HowTo.html Versions.html
93 >
94 > ## Binaries to build
95 > APP = BasiliskII
96 > APP_APP = $(APP).app
97 > TARGET_ARCHES = @TARGET_ARCHES@
98 > PROGS = $(foreach arch, $(TARGET_ARCHES), $(APP).$(arch))
99  
100   ## Rules
101 <
32 < .PHONY: mostlyclean clean distclean depend dep
101 > .PHONY: modules install installdirs uninstall mostlyclean clean distclean depend dep
102   .SUFFIXES:
103   .SUFFIXES: .c .cpp .s .o .h
104  
105 < all: $(APP)
37 <
38 < ide: $(OBJ_DIR) $(GENSRCS) $(SRCS)
39 <        open BasiliskII.pbproj
40 <
41 < test: $(APP)
42 <        open $(APP)
105 > all: $(APP)_app
106  
107 + README.txt: ../../README
108 +        $(LN_S) $< $@
109 + $(UNIXSRCS): %: ../Unix/%
110 +        $(LN_S) $< $@
111 +
112 + OBJ_DIR = obj
113 + ifneq ($(ARCH),)
114 + OBJ_DIR = obj.$(ARCH)
115 + endif
116   $(OBJ_DIR)::
117          @[ -d $(OBJ_DIR) ] || mkdir $(OBJ_DIR) > /dev/null 2>&1
118  
119 <
120 < $(APP): $(OBJ_DIR) $(GENSRCS) $(SRCS)
121 <        pbxbuild -buildstyle Deployment
122 < #       pbxbuild
123 <
124 < README.txt : ../../README
125 <        ln -s $< $@
126 <
127 < user_strings_unix.h : ../Unix/user_strings_unix.h
128 <        ln -s $< $@
129 <
130 < BasiliskII.icns :
131 <        touch $@
119 > define SRCS_LIST_TO_OBJS
120 >        $(addprefix $(OBJ_DIR)/, $(addsuffix .o, $(foreach file, $(SRCS), \
121 >        $(basename $(notdir $(file))))))
122 > endef
123 > OBJS = $(SRCS_LIST_TO_OBJS)
124 >
125 > SRC_PATHS += $(sort $(foreach file, $(SRCS), $(dir $(file))))
126 > VPATH :=
127 > VPATH += $(addprefix :, $(subst  ,:, $(filter-out $($(subst, :, ,$(VPATH))), $(SRC_PATHS))))
128 >
129 > define PROGS_template
130 > $(APP).$(1): links
131 >        +$(MAKE) $(OBJ_DIR).$(1)/$(APP) ARCH=$(1)
132 >        $(LN_S) -f $(OBJ_DIR).$(1)/$(APP) $(APP).$(1)
133 > endef
134 >
135 > $(APP): $(PROGS)
136 >        lipo $(foreach arch, $(TARGET_ARCHES), -arch $(arch) $(APP).$(arch)) \
137 >                -create -output $@
138 >
139 > $(foreach arch,$(TARGET_ARCHES),$(eval $(call PROGS_template,$(arch))))
140 >
141 > links: $(UNIXSRCS)
142 >
143 > $(OBJ_DIR)/$(APP): $(OBJ_DIR) $(GEN_DIR) $(OBJS)
144 >        $(CXX) -o $@ $(LDFLAGS) $(OBJS) $(LIBS)
145 >        $(BLESS) $@
146 >
147 > $(APP)_app: $(APP) $(DOCS) Info.plist $(APP).icns
148 >        mkdir -p $(APP_APP)/Contents
149 >        cp -f ../MacOSX/Info.plist $(APP_APP)/Contents/
150 >        echo -n 'APPL????' > $(APP_APP)/Contents/PkgInfo
151 >        mkdir -p $(APP_APP)/Contents/MacOS
152 >        cp -f $(APP) $(APP_APP)/Contents/MacOS/
153 >        strip $(APP_APP)/Contents/MacOS/$(APP)
154 >        mkdir -p $(APP_APP)/Contents/Resources
155 >        cp -Rp English.lproj $(APP_APP)/Contents/Resources/
156 >        cp -f $(APP).icns $(APP_APP)/Contents/Resources/
157 >        cp -f $(DOCS) $(APP_APP)/Contents/Resources/
158 >        find $(APP_APP) -type d -name CVS | xargs rm -rf
159  
160   mostlyclean:
161 <        rm -fr English.lproj/*~* $(OBJ_DIR)/* core* *.core *~ *.bak
161 >        rm -rf $(APP_APP)
162 >        rm -f $(PROGS) $(OBJ_DIR)/* $(OBJ_DIR).*/* core* *.core *~ *.bak
163  
164   clean: mostlyclean
165 <        rm -f $(GENSRCS)
166 <        rm -f cpudefs.cpp cputmp*.s cpufast*.s cpustbl.cpp
165 >        rm -f $(UNIXSRCS)
166 >        rm -f $(GEN_DIR).*/*
167  
168   distclean: clean
169 <        rm -fr $(OBJ_DIR)
170 <        rm -f config.cache config.log config.status config.h
71 <        rm -f configure
169 >        rm -rf $(OBJ_DIR)
170 >        rm -rf autom4te.cache
171          rm -f Makefile
172 +        rm -f config.cache config.log config.status config.h
173 +        rm -f Darwin/lowmem Darwin/pagezero
174  
175 + depend dep:
176 +        makedepend $(CPPFLAGS) -Y. $(SRCS) 2>/dev/null
177  
178 <
179 <
180 < $(OBJ_DIR)/build68k: ../uae_cpu/build68k.c
78 <        $(CC) $(CPPFLAGS) $(DEFS) $(CFLAGS) $(LDFLAGS) $< -o $@
79 <
80 < $(OBJ_DIR)/cpuopti: ../uae_cpu/cpuopti.c
81 <        $(CC) $(CPPFLAGS) $(DEFS) $(CFLAGS) $(LDFLAGS) $< -o $@
82 <
83 < #$(OBJ_DIR)/gencpu: cpudefs.cpp ../uae_cpu/gencpu.c ../uae_cpu/readcpu.cpp
84 < #       $(CXX) $(CPPFLAGS) $(DEFS) $(CFLAGS) $(CXXFLAGS) $(LDFLAGS) $< -o $@
85 <
86 < $(OBJ_DIR)/gencpu: $(OBJ_DIR)/gencpu.o $(OBJ_DIR)/readcpu.o $(OBJ_DIR)/cpudefs.o
87 <        $(CC) $(LDFLAGS) $^ -o $@
88 <
89 < $(OBJ_DIR)/gencpu.o : ../uae_cpu/gencpu.c
178 > $(OBJ_DIR)/%.o : ../slirp/%.c
179 >        $(CC) $(CPPFLAGS) $(DEFS) $(CFLAGS) $(SLIRP_CFLAGS) -c $< -o $@
180 > $(OBJ_DIR)/%.o : %.c
181          $(CC) $(CPPFLAGS) $(DEFS) $(CFLAGS) -c $< -o $@
182 <
92 < $(OBJ_DIR)/readcpu.o: ../uae_cpu/readcpu.cpp
182 > $(OBJ_DIR)/%.o : %.cpp
183          $(CXX) $(CPPFLAGS) $(DEFS) $(CXXFLAGS) -c $< -o $@
184 <
185 < $(OBJ_DIR)/cpudefs.o: cpudefs.cpp
184 > $(OBJ_DIR)/%.o : %.m
185 >        $(CC) $(CPPFLAGS) $(DEFS) $(CFLAGS) -c $< -o $@
186 > $(OBJ_DIR)/%.o : %.mm
187          $(CXX) $(CPPFLAGS) $(DEFS) $(CXXFLAGS) -c $< -o $@
188 + $(OBJ_DIR)/%.o : %.s
189 +        $(CC) $(CPPFLAGS) $(DEFS) $(CFLAGS) -c $< -o $@
190 + $(OBJ_DIR)/%.ho : %.c
191 +        $(HOST_CC) $(CPPFLAGS) $(DEFS) $(CFLAGS) -c $< -o $@
192 + $(OBJ_DIR)/%.ho : %.cpp
193 +        $(HOST_CXX) $(CPPFLAGS) $(DEFS) $(CXXFLAGS) -c $< -o $@
194 +
195 + $(OBJ_DIR)/build68k: $(OBJ_DIR)/build68k.ho
196 +        $(HOST_CC) $(LDFLAGS) -o $@ $(OBJ_DIR)/build68k.ho
197 + $(OBJ_DIR)/gencpu: $(OBJ_DIR)/gencpu.ho $(OBJ_DIR)/readcpu.ho $(OBJ_DIR)/cpudefs.ho
198 +        $(HOST_CXX) $(LDFLAGS) -o $@ $(OBJ_DIR)/gencpu.ho $(OBJ_DIR)/readcpu.ho $(OBJ_DIR)/cpudefs.ho
199 + $(OBJ_DIR)/gencomp: $(OBJ_DIR)/gencomp.ho $(OBJ_DIR)/readcpu.ho $(OBJ_DIR)/cpudefs.ho
200 +        $(HOST_CXX) $(LDFLAGS) -o $@ $(OBJ_DIR)/gencomp.ho $(OBJ_DIR)/readcpu.ho $(OBJ_DIR)/cpudefs.ho
201 +
202 + $(GEN_DIR)::
203 +        @[ -d $(GEN_DIR) ] || mkdir $(GEN_DIR) > /dev/null 2>&1
204 +
205 + $(GEN_DIR)/cpudefs.cpp: $(OBJ_DIR)/build68k ../uae_cpu/table68k
206 +        $(OBJ_DIR)/build68k <../uae_cpu/table68k > $@
207 + $(GEN_DIR)/cpustbl.cpp: $(GEN_DIR)/cpuemu.cpp
208 + $(GEN_DIR)/cpustbl_nf.cpp: $(GEN_DIR)/cpustbl.cpp
209 + $(GEN_DIR)/compstbl.cpp: $(GEN_DIR)/compemu.cpp
210 + $(GEN_DIR)/cputbl.h: $(GEN_DIR)/cpuemu.cpp
211 + $(GEN_DIR)/comptbl.h: $(GEN_DIR)/compemu.cpp
212 +
213 + $(GEN_DIR)/cpuemu.cpp: $(OBJ_DIR)/gencpu
214 +        cd $(GEN_DIR) && ../$(OBJ_DIR)/gencpu
215  
216 + $(GEN_DIR)/compemu.cpp: $(OBJ_DIR)/gencomp
217 +        cd $(GEN_DIR) && ../$(OBJ_DIR)/gencomp
218  
219 < cpudefs.cpp: $(OBJ_DIR)/build68k ../uae_cpu/table68k
220 <        $(OBJ_DIR)/build68k < ../uae_cpu/table68k > $@
101 <
102 < cpuemu.cpp cpustbl.cpp cputbl.h: $(OBJ_DIR)/gencpu
103 <        $<
219 > $(OBJ_DIR)/cpustbl_nf.o: $(GEN_DIR)/cpustbl.cpp
220 >        $(CXX) $(CPPFLAGS) $(DEFS) $(CXXFLAGS) -DNOFLAGS -c $< -o $@
221  
222 + $(OBJ_DIR)/compemu_support.o: compemu_support.cpp $(GEN_DIR)/comptbl.h
223 +        $(CXX) $(CPPFLAGS) $(DEFS) $(CXXFLAGS) -c $< -o $@
224  
225 < $(OBJ_DIR)/cpuemu1.o: cpuemu.cpp
225 > $(OBJ_DIR)/cpuemu1.o: $(GEN_DIR)/cpuemu.cpp
226          $(CXX) $(CPPFLAGS) $(DEFS) -DPART_1 $(CXXFLAGS) -c $< -o $@
227 < $(OBJ_DIR)/cpuemu2.o: cpuemu.cpp
227 > $(OBJ_DIR)/cpuemu2.o: $(GEN_DIR)/cpuemu.cpp
228          $(CXX) $(CPPFLAGS) $(DEFS) -DPART_2 $(CXXFLAGS) -c $< -o $@
229 < $(OBJ_DIR)/cpuemu3.o: cpuemu.cpp
229 > $(OBJ_DIR)/cpuemu3.o: $(GEN_DIR)/cpuemu.cpp
230          $(CXX) $(CPPFLAGS) $(DEFS) -DPART_3 $(CXXFLAGS) -c $< -o $@
231 < $(OBJ_DIR)/cpuemu4.o: cpuemu.cpp
231 > $(OBJ_DIR)/cpuemu4.o: $(GEN_DIR)/cpuemu.cpp
232          $(CXX) $(CPPFLAGS) $(DEFS) -DPART_4 $(CXXFLAGS) -c $< -o $@
233 < $(OBJ_DIR)/cpuemu5.o: cpuemu.cpp
233 > $(OBJ_DIR)/cpuemu5.o: $(GEN_DIR)/cpuemu.cpp
234          $(CXX) $(CPPFLAGS) $(DEFS) -DPART_5 $(CXXFLAGS) -c $< -o $@
235 < $(OBJ_DIR)/cpuemu6.o: cpuemu.cpp
235 > $(OBJ_DIR)/cpuemu6.o: $(GEN_DIR)/cpuemu.cpp
236          $(CXX) $(CPPFLAGS) $(DEFS) -DPART_6 $(CXXFLAGS) -c $< -o $@
237 < $(OBJ_DIR)/cpuemu7.o: cpuemu.cpp
237 > $(OBJ_DIR)/cpuemu7.o: $(GEN_DIR)/cpuemu.cpp
238          $(CXX) $(CPPFLAGS) $(DEFS) -DPART_7 $(CXXFLAGS) -c $< -o $@
239 < $(OBJ_DIR)/cpuemu8.o: cpuemu.cpp
239 > $(OBJ_DIR)/cpuemu8.o: $(GEN_DIR)/cpuemu.cpp
240          $(CXX) $(CPPFLAGS) $(DEFS) -DPART_8 $(CXXFLAGS) -c $< -o $@
241  
242 < cpuemu1.cpp: cpuemu.cpp
243 <        $(CXX) -E -DPART_1 $< >$@
244 < cpuemu2.cpp: cpuemu.cpp
245 <        $(CXX) -E -DPART_2 $< >$@
246 < cpuemu3.cpp: cpuemu.cpp
247 <        $(CXX) -E -DPART_3 $< >$@
248 < cpuemu4.cpp: cpuemu.cpp
249 <        $(CXX) -E -DPART_4 $< >$@
250 < cpuemu5.cpp: cpuemu.cpp
251 <        $(CXX) -E -DPART_5 $< >$@
252 < cpuemu6.cpp: cpuemu.cpp
253 <        $(CXX) -E -DPART_6 $< >$@
254 < cpuemu7.cpp: cpuemu.cpp
255 <        $(CXX) -E -DPART_7 $< >$@
256 < cpuemu8.cpp: cpuemu.cpp
257 <        $(CXX) -E -DPART_8 $< >$@
258 <
259 <
260 < cpufast.s: cpuemu.cpp $(OBJ_DIR)/cpuopti
261 <        $(CXX) $(CPPFLAGS) $(DEFS) -S $(CXXFLAGS) $< -o cputmp.s
262 <        $(OBJ_DIR)/cpuopti <cputmp.s >$@ || mv cputmp.s $@
263 <        rm -f cputmp.s
264 < cpufast1.s: cpuemu.cpp $(OBJ_DIR)/cpuopti
265 <        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_1 -S $(CXXFLAGS) $< -o cputmp1.s
266 <        $(OBJ_DIR)/cpuopti <cputmp1.s >$@ || mv cputmp1.s $@
267 <        rm -f cputmp1.s
268 < cpufast2.s: cpuemu.cpp $(OBJ_DIR)/cpuopti
269 <        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_2 -S $(CXXFLAGS) $< -o cputmp2.s
270 <        $(OBJ_DIR)/cpuopti <cputmp2.s >$@ || mv cputmp2.s $@
271 <        rm -f cputmp2.s
272 < cpufast3.s: cpuemu.cpp $(OBJ_DIR)/cpuopti
273 <        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_3 -S $(CXXFLAGS) $< -o cputmp3.s
274 <        $(OBJ_DIR)/cpuopti <cputmp3.s >$@ || mv cputmp3.s $@
156 <        rm -f cputmp3.s
157 < cpufast4.s: cpuemu.cpp $(OBJ_DIR)/cpuopti
158 <        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_4 -S $(CXXFLAGS) $< -o cputmp4.s
159 <        $(OBJ_DIR)/cpuopti <cputmp4.s >$@ || mv cputmp4.s $@
160 <        rm -f cputmp4.s
161 < cpufast5.s: cpuemu.cpp $(OBJ_DIR)/cpuopti
162 <        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_5 -S $(CXXFLAGS) $< -o cputmp5.s
163 <        $(OBJ_DIR)/cpuopti <cputmp5.s >$@ || mv cputmp5.s $@
164 <        rm -f cputmp5.s
165 < cpufast6.s: cpuemu.cpp $(OBJ_DIR)/cpuopti
166 <        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_6 -S $(CXXFLAGS) $< -o cputmp6.s
167 <        $(OBJ_DIR)/cpuopti <cputmp6.s >$@ || mv cputmp6.s $@
168 <        rm -f cputmp6.s
169 < cpufast7.s: cpuemu.cpp $(OBJ_DIR)/cpuopti
170 <        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_7 -S $(CXXFLAGS) $< -o cputmp7.s
171 <        $(OBJ_DIR)/cpuopti <cputmp7.s >$@ || mv cputmp7.s $@
172 <        rm -f cputmp7.s
173 < cpufast8.s: cpuemu.cpp $(OBJ_DIR)/cpuopti
174 <        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_8 -S $(CXXFLAGS) $< -o cputmp8.s
175 <        $(OBJ_DIR)/cpuopti <cputmp8.s >$@ || mv cputmp8.s $@
176 <        rm -f cputmp8.s
242 > $(OBJ_DIR)/cpuemu1_nf.o: $(GEN_DIR)/cpuemu.cpp
243 >        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_1 -DNOFLAGS $(CXXFLAGS) -c $< -o $@
244 > $(OBJ_DIR)/cpuemu2_nf.o: $(GEN_DIR)/cpuemu.cpp
245 >        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_2 -DNOFLAGS $(CXXFLAGS) -c $< -o $@
246 > $(OBJ_DIR)/cpuemu3_nf.o: $(GEN_DIR)/cpuemu.cpp
247 >        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_3 -DNOFLAGS $(CXXFLAGS) -c $< -o $@
248 > $(OBJ_DIR)/cpuemu4_nf.o: $(GEN_DIR)/cpuemu.cpp
249 >        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_4 -DNOFLAGS $(CXXFLAGS) -c $< -o $@
250 > $(OBJ_DIR)/cpuemu5_nf.o: $(GEN_DIR)/cpuemu.cpp
251 >        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_5 -DNOFLAGS $(CXXFLAGS) -c $< -o $@
252 > $(OBJ_DIR)/cpuemu6_nf.o: $(GEN_DIR)/cpuemu.cpp
253 >        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_6 -DNOFLAGS $(CXXFLAGS) -c $< -o $@
254 > $(OBJ_DIR)/cpuemu7_nf.o: $(GEN_DIR)/cpuemu.cpp
255 >        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_7 -DNOFLAGS $(CXXFLAGS) -c $< -o $@
256 > $(OBJ_DIR)/cpuemu8_nf.o: $(GEN_DIR)/cpuemu.cpp
257 >        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_8 -DNOFLAGS $(CXXFLAGS) -c $< -o $@
258 >
259 > $(OBJ_DIR)/compemu1.o: $(GEN_DIR)/compemu.cpp
260 >        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_1 $(CXXFLAGS) -c $< -o $@
261 > $(OBJ_DIR)/compemu2.o: $(GEN_DIR)/compemu.cpp
262 >        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_2 $(CXXFLAGS) -c $< -o $@
263 > $(OBJ_DIR)/compemu3.o: $(GEN_DIR)/compemu.cpp
264 >        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_3 $(CXXFLAGS) -c $< -o $@
265 > $(OBJ_DIR)/compemu4.o: $(GEN_DIR)/compemu.cpp
266 >        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_4 $(CXXFLAGS) -c $< -o $@
267 > $(OBJ_DIR)/compemu5.o: $(GEN_DIR)/compemu.cpp
268 >        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_5 $(CXXFLAGS) -c $< -o $@
269 > $(OBJ_DIR)/compemu6.o: $(GEN_DIR)/compemu.cpp
270 >        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_6 $(CXXFLAGS) -c $< -o $@
271 > $(OBJ_DIR)/compemu7.o: $(GEN_DIR)/compemu.cpp
272 >        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_7 $(CXXFLAGS) -c $< -o $@
273 > $(OBJ_DIR)/compemu8.o: $(GEN_DIR)/compemu.cpp
274 >        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_8 $(CXXFLAGS) -c $< -o $@
275  
276   #-------------------------------------------------------------------------
277   # DO NOT DELETE THIS LINE -- make depend depends on it.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines