124 |
|
echo -n 'APPL????' > $(APP_APP)/Contents/PkgInfo |
125 |
|
mkdir -p $(APP_APP)/Contents/MacOS |
126 |
|
cp -f $(APP) $(APP_APP)/Contents/MacOS/ |
127 |
< |
strip $(APP_APP)/Contents/MacOS/$(APP) |
127 |
> |
strip -x $(APP_APP)/Contents/MacOS/$(APP) |
128 |
|
mkdir -p $(APP_APP)/Contents/Resources |
129 |
+ |
cp -R ../MacOSX/PrefsEditor/standalone_nib/English.lproj $(APP_APP)/Contents/Resources |
130 |
|
cp -f ../MacOSX/SheepShaver.icns $(APP_APP)/Contents/Resources/ |
131 |
|
|
132 |
|
$(GUI_APP)_app: $(GUI_APP) ../MacOSX/Info.plist ../MacOSX/$(APP).icns |
135 |
|
echo -n 'APPL????' > $(GUI_APP_APP)/Contents/PkgInfo |
136 |
|
mkdir -p $(GUI_APP_APP)/Contents/MacOS |
137 |
|
cp -f $(GUI_APP) $(GUI_APP_APP)/Contents/MacOS/ |
138 |
< |
strip $(GUI_APP_APP)/Contents/MacOS/$(GUI_APP) |
138 |
> |
strip -x $(GUI_APP_APP)/Contents/MacOS/$(GUI_APP) |
139 |
|
mkdir -p $(GUI_APP_APP)/Contents/Resources |
140 |
|
cp -f ../MacOSX/$(APP).icns $(GUI_APP_APP)/Contents/Resources/$(GUI_APP).icns |
141 |
|
|
164 |
|
rmdir $(DESTDIR)$(datadir)/$(APP) |
165 |
|
|
166 |
|
clean: |
167 |
< |
rm -f $(APP_EXE) $(OBJ_DIR)/* core* *.core *~ *.bak ppc-execute-impl.cpp |
167 |
> |
rm -f $(PROGS) $(OBJ_DIR)/* core* *.core *~ *.bak ppc-execute-impl.cpp |
168 |
|
rm -f dyngen basic-dyngen-ops.hpp ppc-dyngen-ops.hpp ppc_asm.out.s |
169 |
< |
rm -rf $(APP_APP) |
169 |
> |
rm -rf $(APP_APP) $(GUI_APP_APP) |
170 |
|
|
171 |
|
distclean: clean |
172 |
|
rm -rf $(OBJ_DIR) |
221 |
|
ppc-dyngen-ops.hpp: $(OBJ_DIR)/ppc-dyngen-ops.o $(DYNGEN) |
222 |
|
./$(DYNGEN) -o $@ $< |
223 |
|
|
224 |
< |
$(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 |
224 |
> |
$(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 |
225 |
|
endif |
226 |
|
|
227 |
|
$(OBJ_DIR)/ppc-execute.o: ppc-execute-impl.cpp |
229 |
|
$(CPP) $(CPPFLAGS) -DGENEXEC $< | $(PERL) $(GENEXECPL) > $@ |
230 |
|
|
231 |
|
# PowerPC CPU tester |
232 |
< |
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 |
232 |
> |
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 |
233 |
|
ifeq ($(USE_DYNGEN),yes) |
234 |
< |
TESTSRCS_ += cpu/jit/jit-cache.cpp cpu/jit/basic-dyngen.cpp cpu/ppc/ppc-dyngen.cpp |
234 |
> |
TESTSRCS_ += cpu/jit/jit-cache.cpp cpu/jit/basic-dyngen.cpp cpu/ppc/ppc-dyngen.cpp cpu/ppc/ppc-jit.cpp |
235 |
|
endif |
236 |
|
TESTSRCS = $(TESTSRCS_:%.cpp=$(kpxsrcdir)/%.cpp) |
237 |
|
|