119 |
|
$(CXX) -o $@ $(LDFLAGS) $(GUI_OBJS) $(GUI_LIBS) |
120 |
|
|
121 |
|
$(APP)_app: $(APP) ../MacOSX/Info.plist ../MacOSX/$(APP).icns |
122 |
+ |
rm -rf $(APP_APP)/Contents |
123 |
|
mkdir -p $(APP_APP)/Contents |
124 |
< |
cp -f ../MacOSX/Info.plist $(APP_APP)/Contents/ |
124 |
> |
./cpr.sh ../MacOSX/Info.plist $(APP_APP)/Contents/ |
125 |
|
echo -n 'APPL????' > $(APP_APP)/Contents/PkgInfo |
126 |
|
mkdir -p $(APP_APP)/Contents/MacOS |
127 |
< |
cp -f $(APP) $(APP_APP)/Contents/MacOS/ |
128 |
< |
strip $(APP_APP)/Contents/MacOS/$(APP) |
127 |
> |
./cpr.sh $(APP) $(APP_APP)/Contents/MacOS/ |
128 |
> |
strip -x $(APP_APP)/Contents/MacOS/$(APP) |
129 |
|
mkdir -p $(APP_APP)/Contents/Resources |
130 |
< |
cp -f ../MacOSX/SheepShaver.icns $(APP_APP)/Contents/Resources/ |
130 |
> |
./cpr.sh ../MacOSX/PrefsEditor/standalone_nib/English.lproj $(APP_APP)/Contents/Resources |
131 |
> |
./cpr.sh ../MacOSX/SheepShaver.icns $(APP_APP)/Contents/Resources/ |
132 |
|
|
133 |
|
$(GUI_APP)_app: $(GUI_APP) ../MacOSX/Info.plist ../MacOSX/$(APP).icns |
134 |
+ |
rm -rf $(GUI_APP_APP)/Contents |
135 |
|
mkdir -p $(GUI_APP_APP)/Contents |
136 |
|
sed -e "s/$(APP)/$(GUI_APP)/" < ../MacOSX/Info.plist > $(GUI_APP_APP)/Contents/Info.plist |
137 |
|
echo -n 'APPL????' > $(GUI_APP_APP)/Contents/PkgInfo |
138 |
|
mkdir -p $(GUI_APP_APP)/Contents/MacOS |
139 |
< |
cp -f $(GUI_APP) $(GUI_APP_APP)/Contents/MacOS/ |
140 |
< |
strip $(GUI_APP_APP)/Contents/MacOS/$(GUI_APP) |
139 |
> |
./cpr.sh $(GUI_APP) $(GUI_APP_APP)/Contents/MacOS/ |
140 |
> |
strip -x $(GUI_APP_APP)/Contents/MacOS/$(GUI_APP) |
141 |
|
mkdir -p $(GUI_APP_APP)/Contents/Resources |
142 |
< |
cp -f ../MacOSX/$(APP).icns $(GUI_APP_APP)/Contents/Resources/$(GUI_APP).icns |
142 |
> |
./cpr.sh ../MacOSX/$(APP).icns $(GUI_APP_APP)/Contents/Resources/$(GUI_APP).icns |
143 |
|
|
144 |
|
modules: |
145 |
|
cd Linux/NetDriver; make |
179 |
|
depend dep: |
180 |
|
makedepend $(CPPFLAGS) -Y. $(SRCS) 2>/dev/null |
181 |
|
|
182 |
+ |
$(OBJ_DIR)/SDLMain.o : SDLMain.m |
183 |
+ |
$(CC) $(CPPFLAGS) $(DEFS) $(CFLAGS) -c $< -o $@ |
184 |
|
$(OBJ_DIR)/%.o : ../slirp/%.c |
185 |
|
$(CC) $(CPPFLAGS) $(DEFS) $(CFLAGS) $(SLIRP_CFLAGS) -c $< -o $@ |
186 |
|
$(OBJ_DIR)/%.o : %.c |
225 |
|
ppc-dyngen-ops.hpp: $(OBJ_DIR)/ppc-dyngen-ops.o $(DYNGEN) |
226 |
|
./$(DYNGEN) -o $@ $< |
227 |
|
|
228 |
< |
$(OBJ_DIR)/sheepshaver_glue.o $(OBJ_DIR)/ppc-cpu.o $(OBJ_DIR)/ppc-decode.o $(OBJ_DIR)/ppc-translate.o: basic-dyngen-ops.hpp ppc-dyngen-ops.hpp |
228 |
> |
$(OBJ_DIR)/sheepshaver_glue.o $(OBJ_DIR)/ppc-cpu.o $(OBJ_DIR)/ppc-decode.o $(OBJ_DIR)/ppc-translate.o $(OBJ_DIR)/ppc-jit.o: basic-dyngen-ops.hpp ppc-dyngen-ops.hpp |
229 |
|
endif |
230 |
|
|
231 |
|
$(OBJ_DIR)/ppc-execute.o: ppc-execute-impl.cpp |
233 |
|
$(CPP) $(CPPFLAGS) -DGENEXEC $< | $(PERL) $(GENEXECPL) > $@ |
234 |
|
|
235 |
|
# PowerPC CPU tester |
236 |
< |
TESTSRCS_ = mathlib/ieeefp.cpp mathlib/mathlib.cpp cpu/ppc/ppc-cpu.cpp cpu/ppc/ppc-decode.cpp cpu/ppc/ppc-execute.cpp cpu/ppc/ppc-translate.cpp test/test-powerpc.cpp $(MONSRCS) vm_alloc.cpp |
236 |
> |
TESTSRCS_ = mathlib/ieeefp.cpp mathlib/mathlib.cpp cpu/ppc/ppc-cpu.cpp cpu/ppc/ppc-decode.cpp cpu/ppc/ppc-execute.cpp cpu/ppc/ppc-translate.cpp test/test-powerpc.cpp $(MONSRCS) vm_alloc.cpp utils/utils-cpuinfo.cpp |
237 |
|
ifeq ($(USE_DYNGEN),yes) |
238 |
< |
TESTSRCS_ += cpu/jit/jit-cache.cpp cpu/jit/basic-dyngen.cpp cpu/ppc/ppc-dyngen.cpp |
238 |
> |
TESTSRCS_ += cpu/jit/jit-cache.cpp cpu/jit/basic-dyngen.cpp cpu/ppc/ppc-dyngen.cpp cpu/ppc/ppc-jit.cpp |
239 |
|
endif |
240 |
|
TESTSRCS = $(TESTSRCS_:%.cpp=$(kpxsrcdir)/%.cpp) |
241 |
|
|