| 24 |
SYSSRCS = @SYSSRCS@ |
SYSSRCS = @SYSSRCS@ |
| 25 |
CPUSRCS = @CPUSRCS@ |
CPUSRCS = @CPUSRCS@ |
| 26 |
MONSRCS = @MONSRCS@ |
MONSRCS = @MONSRCS@ |
| 27 |
|
USE_DYNGEN = @USE_DYNGEN@ |
| 28 |
DYNGENSRCS = @DYNGENSRCS@ |
DYNGENSRCS = @DYNGENSRCS@ |
| 29 |
DYNGEN_CC = @DYNGEN_CC@ |
DYNGEN_CC = @DYNGEN_CC@ |
| 30 |
DYNGEN_OP_FLAGS = @DYNGEN_OP_FLAGS@ |
DYNGEN_OP_FLAGS = @DYNGEN_OP_FLAGS@ |
| 36 |
INSTALL_DATA = @INSTALL_DATA@ |
INSTALL_DATA = @INSTALL_DATA@ |
| 37 |
|
|
| 38 |
# Append disassembler to dyngen, if available |
# Append disassembler to dyngen, if available |
| 39 |
ifneq (:,$(MONSRCS):$(DYNGENSRCS)) |
ifneq (:no,$(MONSRCS):$(USE_DYNGEN)) |
| 40 |
DYNGENSRCS += $(filter %i386-dis.c,$(MONSRCS)) |
DYNGENSRCS += $(filter %i386-dis.c,$(MONSRCS)) |
| 41 |
endif |
endif |
| 42 |
|
|
| 145 |
GENEXEC = $(kpxsrcdir)/cpu/ppc/genexec.pl |
GENEXEC = $(kpxsrcdir)/cpu/ppc/genexec.pl |
| 146 |
DYNGEN = dyngen$(EXEEXT) |
DYNGEN = dyngen$(EXEEXT) |
| 147 |
|
|
| 148 |
ifneq ($(DYNGENSRCS),) |
ifeq ($(USE_DYNGEN),yes) |
| 149 |
DYNGENDEPS = basic-dyngen-ops.hpp ppc-dyngen-ops.hpp |
DYNGENDEPS = basic-dyngen-ops.hpp ppc-dyngen-ops.hpp |
| 150 |
|
|
| 151 |
$(DYNGEN): $(DYNGENOBJS) |
$(DYNGEN): $(DYNGENOBJS) |
| 172 |
|
|
| 173 |
# PowerPC CPU tester |
# PowerPC CPU tester |
| 174 |
TESTSRCS_ = mathlib/ieeefp.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 |
TESTSRCS_ = mathlib/ieeefp.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 |
| 175 |
ifneq ($(DYNGENSRCS),) |
ifeq ($(USE_DYNGEN),yes) |
| 176 |
TESTSRCS_ += cpu/jit/jit-cache.cpp cpu/jit/basic-dyngen.cpp cpu/ppc/ppc-dyngen.cpp |
TESTSRCS_ += cpu/jit/jit-cache.cpp cpu/jit/basic-dyngen.cpp cpu/ppc/ppc-dyngen.cpp |
| 177 |
endif |
endif |
| 178 |
TESTSRCS = $(TESTSRCS_:%.cpp=$(kpxsrcdir)/%.cpp) |
TESTSRCS = $(TESTSRCS_:%.cpp=$(kpxsrcdir)/%.cpp) |