73 |
|
GUI_APP_EXE = $(GUI_APP)$(EXEEXT) |
74 |
|
GUI_APP_APP = $(GUI_APP).app |
75 |
|
PROGS += $(GUI_APP_EXE) |
76 |
< |
endif |
77 |
< |
|
76 |
> |
else |
77 |
|
CXXFLAGS += $(GUI_CFLAGS) |
78 |
|
LIBS += $(GUI_LIBS) |
79 |
+ |
endif |
80 |
|
|
81 |
|
## Rules |
82 |
|
.PHONY: modules install uninstall clean distclean depend dep |
163 |
|
rmdir $(DESTDIR)$(datadir)/$(APP) |
164 |
|
|
165 |
|
clean: |
166 |
< |
rm -f $(APP_EXE) $(OBJ_DIR)/* core* *.core *~ *.bak ppc-execute-impl.cpp |
166 |
> |
rm -f $(PROGS) $(OBJ_DIR)/* core* *.core *~ *.bak ppc-execute-impl.cpp |
167 |
|
rm -f dyngen basic-dyngen-ops.hpp ppc-dyngen-ops.hpp ppc_asm.out.s |
168 |
< |
rm -rf $(APP_APP) |
168 |
> |
rm -rf $(APP_APP) $(GUI_APP_APP) |
169 |
|
|
170 |
|
distclean: clean |
171 |
|
rm -rf $(OBJ_DIR) |
220 |
|
ppc-dyngen-ops.hpp: $(OBJ_DIR)/ppc-dyngen-ops.o $(DYNGEN) |
221 |
|
./$(DYNGEN) -o $@ $< |
222 |
|
|
223 |
< |
$(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 |
223 |
> |
$(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 |
224 |
|
endif |
225 |
|
|
226 |
|
$(OBJ_DIR)/ppc-execute.o: ppc-execute-impl.cpp |
228 |
|
$(CPP) $(CPPFLAGS) -DGENEXEC $< | $(PERL) $(GENEXECPL) > $@ |
229 |
|
|
230 |
|
# PowerPC CPU tester |
231 |
< |
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 |
231 |
> |
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 |
232 |
|
ifeq ($(USE_DYNGEN),yes) |
233 |
< |
TESTSRCS_ += cpu/jit/jit-cache.cpp cpu/jit/basic-dyngen.cpp cpu/ppc/ppc-dyngen.cpp |
233 |
> |
TESTSRCS_ += cpu/jit/jit-cache.cpp cpu/jit/basic-dyngen.cpp cpu/ppc/ppc-dyngen.cpp cpu/ppc/ppc-jit.cpp |
234 |
|
endif |
235 |
|
TESTSRCS = $(TESTSRCS_:%.cpp=$(kpxsrcdir)/%.cpp) |
236 |
|
|