2012-11-01 15:19:01 +00:00
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
#TARGET_PLATFORM := android-8
|
|
|
|
|
2015-09-06 19:52:33 +00:00
|
|
|
NATIVE := ../../ext/native
|
2012-11-01 15:19:01 +00:00
|
|
|
SRC := ../..
|
|
|
|
|
2013-10-14 09:39:34 +00:00
|
|
|
include $(LOCAL_PATH)/Locals.mk
|
2012-11-01 15:19:01 +00:00
|
|
|
|
2013-03-21 19:52:33 +00:00
|
|
|
# http://software.intel.com/en-us/articles/getting-started-on-optimizing-ndk-project-for-multiple-cpu-architectures
|
|
|
|
|
2013-10-28 15:45:25 +00:00
|
|
|
ifeq ($(TARGET_ARCH_ABI),x86)
|
2013-03-21 19:52:33 +00:00
|
|
|
ARCH_FILES := \
|
|
|
|
$(SRC)/Common/ABI.cpp \
|
|
|
|
$(SRC)/Common/x64Emitter.cpp \
|
|
|
|
$(SRC)/Common/CPUDetect.cpp \
|
|
|
|
$(SRC)/Common/Thunk.cpp \
|
|
|
|
$(SRC)/Core/MIPS/x86/CompALU.cpp \
|
|
|
|
$(SRC)/Core/MIPS/x86/CompBranch.cpp \
|
|
|
|
$(SRC)/Core/MIPS/x86/CompFPU.cpp \
|
|
|
|
$(SRC)/Core/MIPS/x86/CompLoadStore.cpp \
|
|
|
|
$(SRC)/Core/MIPS/x86/CompVFPU.cpp \
|
2013-12-17 22:40:27 +00:00
|
|
|
$(SRC)/Core/MIPS/x86/CompReplace.cpp \
|
2013-03-21 19:52:33 +00:00
|
|
|
$(SRC)/Core/MIPS/x86/Asm.cpp \
|
|
|
|
$(SRC)/Core/MIPS/x86/Jit.cpp \
|
2014-05-04 22:59:58 +00:00
|
|
|
$(SRC)/Core/MIPS/x86/JitSafeMem.cpp \
|
2013-03-21 19:52:33 +00:00
|
|
|
$(SRC)/Core/MIPS/x86/RegCache.cpp \
|
2013-11-24 14:58:15 +00:00
|
|
|
$(SRC)/Core/MIPS/x86/RegCacheFPU.cpp \
|
2014-09-10 08:44:22 +00:00
|
|
|
$(SRC)/GPU/Common/VertexDecoderX86.cpp
|
2013-03-21 19:52:33 +00:00
|
|
|
endif
|
|
|
|
|
2014-10-14 12:24:09 +00:00
|
|
|
ifeq ($(findstring armeabi-v7a,$(TARGET_ARCH_ABI)),armeabi-v7a)
|
2013-03-21 19:52:33 +00:00
|
|
|
ARCH_FILES := \
|
2013-11-02 17:14:25 +00:00
|
|
|
$(SRC)/GPU/Common/TextureDecoderNEON.cpp.neon \
|
2015-01-11 21:50:52 +00:00
|
|
|
$(SRC)/Core/Util/AudioFormatNEON.cpp.neon \
|
2013-03-21 19:52:33 +00:00
|
|
|
$(SRC)/Common/ArmEmitter.cpp \
|
|
|
|
$(SRC)/Common/ArmCPUDetect.cpp \
|
|
|
|
$(SRC)/Common/ArmThunk.cpp \
|
2015-05-17 20:54:41 +00:00
|
|
|
$(SRC)/Common/ColorConvNEON.cpp.neon \
|
2013-03-21 19:52:33 +00:00
|
|
|
$(SRC)/Core/MIPS/ARM/ArmCompALU.cpp \
|
|
|
|
$(SRC)/Core/MIPS/ARM/ArmCompBranch.cpp \
|
|
|
|
$(SRC)/Core/MIPS/ARM/ArmCompFPU.cpp \
|
|
|
|
$(SRC)/Core/MIPS/ARM/ArmCompLoadStore.cpp \
|
|
|
|
$(SRC)/Core/MIPS/ARM/ArmCompVFPU.cpp \
|
2013-11-19 15:25:38 +00:00
|
|
|
$(SRC)/Core/MIPS/ARM/ArmCompVFPUNEON.cpp \
|
2014-12-06 11:34:15 +00:00
|
|
|
$(SRC)/Core/MIPS/ARM/ArmCompVFPUNEONUtil.cpp \
|
2013-12-17 22:40:27 +00:00
|
|
|
$(SRC)/Core/MIPS/ARM/ArmCompReplace.cpp \
|
2013-03-21 19:52:33 +00:00
|
|
|
$(SRC)/Core/MIPS/ARM/ArmAsm.cpp \
|
|
|
|
$(SRC)/Core/MIPS/ARM/ArmJit.cpp \
|
|
|
|
$(SRC)/Core/MIPS/ARM/ArmRegCache.cpp \
|
|
|
|
$(SRC)/Core/MIPS/ARM/ArmRegCacheFPU.cpp \
|
2014-09-10 08:44:22 +00:00
|
|
|
$(SRC)/GPU/Common/VertexDecoderArm.cpp \
|
2015-03-05 22:31:03 +00:00
|
|
|
$(SRC)/ext/disarm.cpp \
|
2013-11-19 15:25:38 +00:00
|
|
|
ArmEmitterTest.cpp
|
2013-03-21 19:52:33 +00:00
|
|
|
endif
|
|
|
|
|
2015-03-05 22:31:03 +00:00
|
|
|
ifeq ($(findstring arm64-v8a,$(TARGET_ARCH_ABI)),arm64-v8a)
|
|
|
|
ARCH_FILES := \
|
|
|
|
$(SRC)/GPU/Common/TextureDecoderNEON.cpp \
|
|
|
|
$(SRC)/Core/Util/AudioFormatNEON.cpp \
|
|
|
|
$(SRC)/Common/Arm64Emitter.cpp \
|
|
|
|
$(SRC)/Common/ArmCPUDetect.cpp \
|
2015-05-23 16:11:17 +00:00
|
|
|
$(SRC)/Common/ColorConvNEON.cpp \
|
2015-03-05 22:31:03 +00:00
|
|
|
$(SRC)/Core/MIPS/ARM64/Arm64CompALU.cpp \
|
|
|
|
$(SRC)/Core/MIPS/ARM64/Arm64CompBranch.cpp \
|
|
|
|
$(SRC)/Core/MIPS/ARM64/Arm64CompFPU.cpp \
|
|
|
|
$(SRC)/Core/MIPS/ARM64/Arm64CompLoadStore.cpp \
|
|
|
|
$(SRC)/Core/MIPS/ARM64/Arm64CompVFPU.cpp \
|
|
|
|
$(SRC)/Core/MIPS/ARM64/Arm64CompReplace.cpp \
|
|
|
|
$(SRC)/Core/MIPS/ARM64/Arm64Asm.cpp \
|
|
|
|
$(SRC)/Core/MIPS/ARM64/Arm64Jit.cpp \
|
|
|
|
$(SRC)/Core/MIPS/ARM64/Arm64RegCache.cpp \
|
|
|
|
$(SRC)/Core/MIPS/ARM64/Arm64RegCacheFPU.cpp \
|
|
|
|
$(SRC)/Core/Util/DisArm64.cpp \
|
2015-03-21 18:22:24 +00:00
|
|
|
$(SRC)/GPU/Common/VertexDecoderArm64.cpp \
|
|
|
|
Arm64EmitterTest.cpp
|
2015-03-05 22:31:03 +00:00
|
|
|
endif
|
|
|
|
|
2013-03-21 19:52:33 +00:00
|
|
|
ifeq ($(TARGET_ARCH_ABI),armeabi)
|
|
|
|
ARCH_FILES := \
|
|
|
|
$(SRC)/Common/ArmEmitter.cpp \
|
|
|
|
$(SRC)/Common/ArmCPUDetect.cpp \
|
|
|
|
$(SRC)/Common/ArmThunk.cpp \
|
|
|
|
$(SRC)/Core/MIPS/ARM/ArmCompALU.cpp \
|
|
|
|
$(SRC)/Core/MIPS/ARM/ArmCompBranch.cpp \
|
|
|
|
$(SRC)/Core/MIPS/ARM/ArmCompFPU.cpp \
|
|
|
|
$(SRC)/Core/MIPS/ARM/ArmCompLoadStore.cpp \
|
|
|
|
$(SRC)/Core/MIPS/ARM/ArmCompVFPU.cpp \
|
2013-11-19 15:25:38 +00:00
|
|
|
$(SRC)/Core/MIPS/ARM/ArmCompVFPUNEON.cpp \
|
2014-12-06 11:34:15 +00:00
|
|
|
$(SRC)/Core/MIPS/ARM/ArmCompVFPUNEONUtil.cpp \
|
2013-12-17 22:40:27 +00:00
|
|
|
$(SRC)/Core/MIPS/ARM/ArmCompReplace.cpp \
|
2013-03-21 19:52:33 +00:00
|
|
|
$(SRC)/Core/MIPS/ARM/ArmAsm.cpp \
|
|
|
|
$(SRC)/Core/MIPS/ARM/ArmJit.cpp \
|
|
|
|
$(SRC)/Core/MIPS/ARM/ArmRegCache.cpp \
|
|
|
|
$(SRC)/Core/MIPS/ARM/ArmRegCacheFPU.cpp \
|
2014-09-10 08:44:22 +00:00
|
|
|
$(SRC)/GPU/Common/VertexDecoderArm.cpp \
|
2013-11-19 15:25:38 +00:00
|
|
|
ArmEmitterTest.cpp
|
2013-03-21 19:52:33 +00:00
|
|
|
endif
|
|
|
|
|
2013-10-14 09:39:34 +00:00
|
|
|
EXEC_AND_LIB_FILES := \
|
2013-03-21 19:52:33 +00:00
|
|
|
$(ARCH_FILES) \
|
2013-03-06 23:10:53 +00:00
|
|
|
TestRunner.cpp \
|
2013-09-04 08:51:14 +00:00
|
|
|
$(SRC)/Core/MIPS/MIPS.cpp.arm \
|
|
|
|
$(SRC)/Core/MIPS/MIPSAnalyst.cpp \
|
|
|
|
$(SRC)/Core/MIPS/MIPSDis.cpp \
|
|
|
|
$(SRC)/Core/MIPS/MIPSDisVFPU.cpp \
|
|
|
|
$(SRC)/Core/MIPS/MIPSInt.cpp.arm \
|
|
|
|
$(SRC)/Core/MIPS/MIPSIntVFPU.cpp.arm \
|
|
|
|
$(SRC)/Core/MIPS/MIPSStackWalk.cpp \
|
|
|
|
$(SRC)/Core/MIPS/MIPSTables.cpp \
|
|
|
|
$(SRC)/Core/MIPS/MIPSVFPUUtils.cpp.arm \
|
|
|
|
$(SRC)/Core/MIPS/MIPSCodeUtils.cpp.arm \
|
|
|
|
$(SRC)/Core/MIPS/MIPSDebugInterface.cpp \
|
2013-03-30 14:44:10 +00:00
|
|
|
$(SRC)/UI/ui_atlas.cpp \
|
2013-05-22 16:00:06 +00:00
|
|
|
$(SRC)/UI/OnScreenDisplay.cpp \
|
2012-11-05 14:41:37 +00:00
|
|
|
$(SRC)/ext/libkirk/AES.c \
|
2013-02-24 14:45:10 +00:00
|
|
|
$(SRC)/ext/libkirk/amctrl.c \
|
2012-11-05 14:41:37 +00:00
|
|
|
$(SRC)/ext/libkirk/SHA1.c \
|
|
|
|
$(SRC)/ext/libkirk/bn.c \
|
|
|
|
$(SRC)/ext/libkirk/ec.c \
|
|
|
|
$(SRC)/ext/libkirk/kirk_engine.c \
|
2015-02-15 05:22:20 +00:00
|
|
|
$(SRC)/ext/sfmt19937/SFMT.c \
|
2013-01-02 21:10:41 +00:00
|
|
|
$(SRC)/ext/snappy/snappy-c.cpp \
|
|
|
|
$(SRC)/ext/snappy/snappy.cpp \
|
2014-10-11 15:42:01 +00:00
|
|
|
$(SRC)/ext/udis86/decode.c \
|
|
|
|
$(SRC)/ext/udis86/itab.c \
|
|
|
|
$(SRC)/ext/udis86/syn-att.c \
|
|
|
|
$(SRC)/ext/udis86/syn-intel.c \
|
|
|
|
$(SRC)/ext/udis86/syn.c \
|
|
|
|
$(SRC)/ext/udis86/udis86.c \
|
2013-04-30 12:54:10 +00:00
|
|
|
$(SRC)/ext/xbrz/xbrz.cpp \
|
2013-08-17 05:58:38 +00:00
|
|
|
$(SRC)/ext/xxhash.c \
|
2013-05-22 09:04:58 +00:00
|
|
|
$(SRC)/Common/Crypto/md5.cpp \
|
2013-09-02 22:36:03 +00:00
|
|
|
$(SRC)/Common/Crypto/sha1.cpp \
|
2014-12-07 18:25:45 +00:00
|
|
|
$(SRC)/Common/Crypto/sha256.cpp \
|
2013-10-07 04:26:08 +00:00
|
|
|
$(SRC)/Common/ChunkFile.cpp \
|
2015-04-08 18:23:27 +00:00
|
|
|
$(SRC)/Common/ColorConv.cpp \
|
2013-07-03 18:37:31 +00:00
|
|
|
$(SRC)/Common/KeyMap.cpp \
|
2012-11-01 15:19:01 +00:00
|
|
|
$(SRC)/Common/LogManager.cpp \
|
|
|
|
$(SRC)/Common/MemArena.cpp \
|
|
|
|
$(SRC)/Common/MemoryUtil.cpp \
|
|
|
|
$(SRC)/Common/MsgHandler.cpp \
|
|
|
|
$(SRC)/Common/FileUtil.cpp \
|
2013-05-03 06:22:15 +00:00
|
|
|
$(SRC)/Common/StringUtils.cpp \
|
2013-05-03 06:31:53 +00:00
|
|
|
$(SRC)/Common/ThreadPools.cpp \
|
2012-11-01 15:19:01 +00:00
|
|
|
$(SRC)/Common/Timer.cpp \
|
|
|
|
$(SRC)/Common/Misc.cpp \
|
|
|
|
$(SRC)/GPU/Math3D.cpp \
|
2015-07-26 20:38:40 +00:00
|
|
|
$(SRC)/GPU/GPU.cpp \
|
2012-12-29 11:34:11 +00:00
|
|
|
$(SRC)/GPU/GPUCommon.cpp \
|
2012-11-18 22:21:36 +00:00
|
|
|
$(SRC)/GPU/GPUState.cpp \
|
2012-12-26 23:18:45 +00:00
|
|
|
$(SRC)/GPU/GeDisasm.cpp \
|
2014-09-17 20:31:18 +00:00
|
|
|
$(SRC)/GPU/Common/DepalettizeShaderCommon.cpp \
|
2014-09-09 15:12:42 +00:00
|
|
|
$(SRC)/GPU/Common/FramebufferCommon.cpp \
|
2015-08-23 16:25:05 +00:00
|
|
|
$(SRC)/GPU/Common/GPUDebugInterface.cpp \
|
2013-09-15 10:46:14 +00:00
|
|
|
$(SRC)/GPU/Common/IndexGenerator.cpp.arm \
|
2015-10-24 21:24:06 +00:00
|
|
|
$(SRC)/GPU/Common/ShaderId.cpp.arm \
|
2015-10-24 21:49:05 +00:00
|
|
|
$(SRC)/GPU/Common/GPUStateUtils.cpp.arm \
|
2014-09-13 11:27:42 +00:00
|
|
|
$(SRC)/GPU/Common/SoftwareTransformCommon.cpp.arm \
|
2013-09-15 10:46:14 +00:00
|
|
|
$(SRC)/GPU/Common/VertexDecoderCommon.cpp.arm \
|
2014-09-13 11:27:42 +00:00
|
|
|
$(SRC)/GPU/Common/TextureCacheCommon.cpp.arm \
|
2015-04-08 18:52:35 +00:00
|
|
|
$(SRC)/GPU/Common/TextureScalerCommon.cpp.arm \
|
2014-09-13 13:13:34 +00:00
|
|
|
$(SRC)/GPU/Common/SplineCommon.cpp.arm \
|
|
|
|
$(SRC)/GPU/Common/DrawEngineCommon.cpp.arm \
|
2014-04-18 13:31:12 +00:00
|
|
|
$(SRC)/GPU/Common/TransformCommon.cpp.arm \
|
2013-09-16 04:27:13 +00:00
|
|
|
$(SRC)/GPU/Common/TextureDecoder.cpp \
|
2013-10-12 00:05:55 +00:00
|
|
|
$(SRC)/GPU/Common/PostShader.cpp \
|
2013-10-12 11:02:21 +00:00
|
|
|
$(SRC)/GPU/Debugger/Breakpoints.cpp \
|
2013-10-12 17:02:21 +00:00
|
|
|
$(SRC)/GPU/Debugger/Stepping.cpp \
|
2012-11-01 15:19:01 +00:00
|
|
|
$(SRC)/GPU/GLES/Framebuffer.cpp \
|
2014-03-30 00:11:15 +00:00
|
|
|
$(SRC)/GPU/GLES/DepalettizeShader.cpp \
|
2013-08-20 20:34:47 +00:00
|
|
|
$(SRC)/GPU/GLES/GLES_GPU.cpp.arm \
|
2015-09-06 13:26:36 +00:00
|
|
|
$(SRC)/GPU/GLES/GLStateCache.cpp.arm \
|
2015-09-06 11:05:18 +00:00
|
|
|
$(SRC)/GPU/GLES/FBO.cpp \
|
2014-06-01 01:24:35 +00:00
|
|
|
$(SRC)/GPU/GLES/StencilBuffer.cpp.arm \
|
2013-04-14 08:11:56 +00:00
|
|
|
$(SRC)/GPU/GLES/TextureCache.cpp.arm \
|
|
|
|
$(SRC)/GPU/GLES/TransformPipeline.cpp.arm \
|
|
|
|
$(SRC)/GPU/GLES/StateMapping.cpp.arm \
|
2013-08-20 20:34:47 +00:00
|
|
|
$(SRC)/GPU/GLES/ShaderManager.cpp.arm \
|
|
|
|
$(SRC)/GPU/GLES/VertexShaderGenerator.cpp.arm \
|
|
|
|
$(SRC)/GPU/GLES/FragmentShaderGenerator.cpp.arm \
|
2014-08-24 22:26:38 +00:00
|
|
|
$(SRC)/GPU/GLES/FragmentTestCache.cpp.arm \
|
2015-01-22 18:53:32 +00:00
|
|
|
$(SRC)/GPU/GLES/TextureScaler.cpp \
|
2012-11-06 16:05:27 +00:00
|
|
|
$(SRC)/GPU/Null/NullGpu.cpp \
|
2013-08-17 08:49:50 +00:00
|
|
|
$(SRC)/GPU/Software/Clipper.cpp \
|
|
|
|
$(SRC)/GPU/Software/Lighting.cpp \
|
2014-10-31 17:11:47 +00:00
|
|
|
$(SRC)/GPU/Software/Rasterizer.cpp.arm \
|
2013-08-17 08:49:50 +00:00
|
|
|
$(SRC)/GPU/Software/SoftGpu.cpp \
|
|
|
|
$(SRC)/GPU/Software/TransformUnit.cpp \
|
2012-11-01 15:19:01 +00:00
|
|
|
$(SRC)/Core/ELF/ElfReader.cpp \
|
2013-04-08 19:46:41 +00:00
|
|
|
$(SRC)/Core/ELF/PBPReader.cpp \
|
2012-11-05 14:41:37 +00:00
|
|
|
$(SRC)/Core/ELF/PrxDecrypter.cpp \
|
2012-11-30 20:49:59 +00:00
|
|
|
$(SRC)/Core/ELF/ParamSFO.cpp \
|
2014-03-23 18:45:08 +00:00
|
|
|
$(SRC)/Core/HW/SimpleAudioDec.cpp \
|
2013-08-11 18:40:41 +00:00
|
|
|
$(SRC)/Core/HW/AsyncIOManager.cpp \
|
2012-11-06 14:45:13 +00:00
|
|
|
$(SRC)/Core/HW/MemoryStick.cpp \
|
2013-06-01 21:37:51 +00:00
|
|
|
$(SRC)/Core/HW/MpegDemux.cpp.arm \
|
2013-04-14 08:11:56 +00:00
|
|
|
$(SRC)/Core/HW/MediaEngine.cpp.arm \
|
|
|
|
$(SRC)/Core/HW/SasAudio.cpp.arm \
|
2015-01-11 16:12:27 +00:00
|
|
|
$(SRC)/Core/HW/StereoResampler.cpp.arm \
|
2012-11-01 15:19:01 +00:00
|
|
|
$(SRC)/Core/Core.cpp \
|
2015-09-26 14:01:16 +00:00
|
|
|
$(SRC)/Core/Compatibility.cpp \
|
2012-11-01 15:19:01 +00:00
|
|
|
$(SRC)/Core/Config.cpp \
|
|
|
|
$(SRC)/Core/CoreTiming.cpp \
|
2013-05-31 05:42:27 +00:00
|
|
|
$(SRC)/Core/CwCheat.cpp \
|
2013-06-23 04:25:55 +00:00
|
|
|
$(SRC)/Core/HDRemaster.cpp \
|
2012-11-01 15:19:01 +00:00
|
|
|
$(SRC)/Core/Host.cpp \
|
|
|
|
$(SRC)/Core/Loaders.cpp \
|
|
|
|
$(SRC)/Core/PSPLoaders.cpp \
|
2015-06-27 17:58:44 +00:00
|
|
|
$(SRC)/Core/FileLoaders/CachingFileLoader.cpp \
|
2015-06-28 01:32:21 +00:00
|
|
|
$(SRC)/Core/FileLoaders/DiskCachingFileLoader.cpp \
|
2015-06-27 17:58:44 +00:00
|
|
|
$(SRC)/Core/FileLoaders/HTTPFileLoader.cpp \
|
|
|
|
$(SRC)/Core/FileLoaders/LocalFileLoader.cpp \
|
|
|
|
$(SRC)/Core/FileLoaders/RetryingFileLoader.cpp \
|
2012-11-01 15:19:01 +00:00
|
|
|
$(SRC)/Core/MemMap.cpp \
|
2012-11-18 22:21:36 +00:00
|
|
|
$(SRC)/Core/MemMapFunctions.cpp \
|
2013-03-01 16:58:05 +00:00
|
|
|
$(SRC)/Core/Reporting.cpp \
|
2012-12-27 18:34:22 +00:00
|
|
|
$(SRC)/Core/SaveState.cpp \
|
2014-12-21 07:14:46 +00:00
|
|
|
$(SRC)/Core/Screenshot.cpp \
|
2012-11-01 15:19:01 +00:00
|
|
|
$(SRC)/Core/System.cpp \
|
|
|
|
$(SRC)/Core/Debugger/Breakpoints.cpp \
|
|
|
|
$(SRC)/Core/Debugger/SymbolMap.cpp \
|
2012-12-10 12:08:54 +00:00
|
|
|
$(SRC)/Core/Dialog/PSPDialog.cpp \
|
2013-09-13 15:19:53 +00:00
|
|
|
$(SRC)/Core/Dialog/PSPGamedataInstallDialog.cpp \
|
2012-12-10 12:08:54 +00:00
|
|
|
$(SRC)/Core/Dialog/PSPMsgDialog.cpp \
|
2013-10-13 02:32:56 +00:00
|
|
|
$(SRC)/Core/Dialog/PSPNetconfDialog.cpp \
|
2012-12-15 23:43:59 +00:00
|
|
|
$(SRC)/Core/Dialog/PSPOskDialog.cpp \
|
2014-04-28 13:54:52 +00:00
|
|
|
$(SRC)/Core/Dialog/PSPScreenshotDialog.cpp \
|
2012-12-10 12:08:54 +00:00
|
|
|
$(SRC)/Core/Dialog/PSPPlaceholderDialog.cpp \
|
|
|
|
$(SRC)/Core/Dialog/PSPSaveDialog.cpp \
|
|
|
|
$(SRC)/Core/Dialog/SavedataParam.cpp \
|
2013-02-22 19:05:07 +00:00
|
|
|
$(SRC)/Core/Font/PGF.cpp \
|
2014-05-23 06:38:21 +00:00
|
|
|
$(SRC)/Core/HLE/HLEHelperThread.cpp \
|
2012-11-01 15:19:01 +00:00
|
|
|
$(SRC)/Core/HLE/HLETables.cpp \
|
2013-11-30 19:57:44 +00:00
|
|
|
$(SRC)/Core/HLE/ReplaceTables.cpp \
|
2012-11-01 15:19:01 +00:00
|
|
|
$(SRC)/Core/HLE/HLE.cpp \
|
2015-02-08 01:35:00 +00:00
|
|
|
$(SRC)/Core/HLE/sceAdler.cpp \
|
2012-11-01 15:19:01 +00:00
|
|
|
$(SRC)/Core/HLE/sceAtrac.cpp \
|
2013-10-28 15:45:25 +00:00
|
|
|
$(SRC)/Core/HLE/__sceAudio.cpp.arm \
|
|
|
|
$(SRC)/Core/HLE/sceAudio.cpp.arm \
|
|
|
|
$(SRC)/Core/HLE/sceAudiocodec.cpp.arm \
|
2015-03-08 02:58:12 +00:00
|
|
|
$(SRC)/Core/HLE/sceAudioRouting.cpp \
|
2013-01-29 16:17:41 +00:00
|
|
|
$(SRC)/Core/HLE/sceChnnlsv.cpp \
|
2013-06-30 12:21:56 +00:00
|
|
|
$(SRC)/Core/HLE/sceCcc.cpp \
|
2014-04-21 14:46:17 +00:00
|
|
|
$(SRC)/Core/HLE/sceCtrl.cpp.arm \
|
2013-04-05 17:14:12 +00:00
|
|
|
$(SRC)/Core/HLE/sceDeflt.cpp \
|
2012-11-01 15:19:01 +00:00
|
|
|
$(SRC)/Core/HLE/sceDisplay.cpp \
|
|
|
|
$(SRC)/Core/HLE/sceDmac.cpp \
|
2015-03-08 08:41:21 +00:00
|
|
|
$(SRC)/Core/HLE/sceG729.cpp \
|
2012-11-01 15:19:01 +00:00
|
|
|
$(SRC)/Core/HLE/sceGe.cpp \
|
2012-11-22 21:29:51 +00:00
|
|
|
$(SRC)/Core/HLE/sceFont.cpp \
|
2013-09-04 08:34:00 +00:00
|
|
|
$(SRC)/Core/HLE/sceHeap.cpp \
|
2012-11-01 15:19:01 +00:00
|
|
|
$(SRC)/Core/HLE/sceHprm.cpp \
|
|
|
|
$(SRC)/Core/HLE/sceHttp.cpp \
|
2012-11-09 11:31:58 +00:00
|
|
|
$(SRC)/Core/HLE/sceImpose.cpp \
|
2012-11-01 15:19:01 +00:00
|
|
|
$(SRC)/Core/HLE/sceIo.cpp \
|
2013-05-15 11:49:34 +00:00
|
|
|
$(SRC)/Core/HLE/sceJpeg.cpp \
|
2012-11-01 15:19:01 +00:00
|
|
|
$(SRC)/Core/HLE/sceKernel.cpp \
|
|
|
|
$(SRC)/Core/HLE/sceKernelAlarm.cpp \
|
|
|
|
$(SRC)/Core/HLE/sceKernelEventFlag.cpp \
|
|
|
|
$(SRC)/Core/HLE/sceKernelInterrupt.cpp \
|
|
|
|
$(SRC)/Core/HLE/sceKernelMemory.cpp \
|
|
|
|
$(SRC)/Core/HLE/sceKernelModule.cpp \
|
|
|
|
$(SRC)/Core/HLE/sceKernelMutex.cpp \
|
|
|
|
$(SRC)/Core/HLE/sceKernelMbx.cpp \
|
|
|
|
$(SRC)/Core/HLE/sceKernelMsgPipe.cpp \
|
|
|
|
$(SRC)/Core/HLE/sceKernelSemaphore.cpp \
|
2013-04-14 08:11:56 +00:00
|
|
|
$(SRC)/Core/HLE/sceKernelThread.cpp.arm \
|
2012-11-01 15:19:01 +00:00
|
|
|
$(SRC)/Core/HLE/sceKernelTime.cpp \
|
|
|
|
$(SRC)/Core/HLE/sceKernelVTimer.cpp \
|
|
|
|
$(SRC)/Core/HLE/sceMpeg.cpp \
|
2013-05-15 11:49:34 +00:00
|
|
|
$(SRC)/Core/HLE/sceMd5.cpp \
|
2013-04-28 13:02:45 +00:00
|
|
|
$(SRC)/Core/HLE/sceMp4.cpp \
|
2013-05-06 13:09:40 +00:00
|
|
|
$(SRC)/Core/HLE/sceMp3.cpp \
|
2012-11-01 15:19:01 +00:00
|
|
|
$(SRC)/Core/HLE/sceNet.cpp \
|
2013-11-28 06:05:11 +00:00
|
|
|
$(SRC)/Core/HLE/proAdhoc.cpp \
|
2014-08-04 13:15:58 +00:00
|
|
|
$(SRC)/Core/HLE/proAdhocServer.cpp \
|
2013-09-06 22:55:42 +00:00
|
|
|
$(SRC)/Core/HLE/sceNetAdhoc.cpp \
|
2012-12-06 18:44:29 +00:00
|
|
|
$(SRC)/Core/HLE/sceOpenPSID.cpp \
|
2013-03-15 14:45:00 +00:00
|
|
|
$(SRC)/Core/HLE/sceP3da.cpp \
|
2014-01-25 04:19:48 +00:00
|
|
|
$(SRC)/Core/HLE/sceMt19937.cpp \
|
2012-12-06 18:44:29 +00:00
|
|
|
$(SRC)/Core/HLE/sceParseHttp.cpp \
|
|
|
|
$(SRC)/Core/HLE/sceParseUri.cpp \
|
2012-11-01 15:19:01 +00:00
|
|
|
$(SRC)/Core/HLE/scePower.cpp \
|
|
|
|
$(SRC)/Core/HLE/sceRtc.cpp \
|
|
|
|
$(SRC)/Core/HLE/scePsmf.cpp \
|
|
|
|
$(SRC)/Core/HLE/sceSas.cpp \
|
2015-02-15 05:22:20 +00:00
|
|
|
$(SRC)/Core/HLE/sceSfmt19937.cpp \
|
2014-12-05 07:24:39 +00:00
|
|
|
$(SRC)/Core/HLE/sceSha256.cpp \
|
2012-12-06 18:44:29 +00:00
|
|
|
$(SRC)/Core/HLE/sceSsl.cpp \
|
2012-11-01 15:19:01 +00:00
|
|
|
$(SRC)/Core/HLE/sceUmd.cpp \
|
2012-12-17 20:45:32 +00:00
|
|
|
$(SRC)/Core/HLE/sceUsb.cpp \
|
2014-08-12 16:11:26 +00:00
|
|
|
$(SRC)/Core/HLE/sceUsbGps.cpp \
|
2012-11-01 15:19:01 +00:00
|
|
|
$(SRC)/Core/HLE/sceUtility.cpp \
|
2012-12-06 18:44:29 +00:00
|
|
|
$(SRC)/Core/HLE/sceVaudio.cpp \
|
2013-02-24 19:18:40 +00:00
|
|
|
$(SRC)/Core/HLE/scePspNpDrm_user.cpp \
|
2013-03-20 01:19:54 +00:00
|
|
|
$(SRC)/Core/HLE/sceGameUpdate.cpp \
|
2013-04-29 05:16:55 +00:00
|
|
|
$(SRC)/Core/HLE/sceNp.cpp \
|
|
|
|
$(SRC)/Core/HLE/scePauth.cpp \
|
2012-11-01 15:19:01 +00:00
|
|
|
$(SRC)/Core/FileSystems/BlockDevices.cpp \
|
|
|
|
$(SRC)/Core/FileSystems/ISOFileSystem.cpp \
|
2013-12-29 22:28:31 +00:00
|
|
|
$(SRC)/Core/FileSystems/FileSystem.cpp \
|
2012-11-01 15:19:01 +00:00
|
|
|
$(SRC)/Core/FileSystems/MetaFileSystem.cpp \
|
|
|
|
$(SRC)/Core/FileSystems/DirectoryFileSystem.cpp \
|
2013-07-28 06:46:26 +00:00
|
|
|
$(SRC)/Core/FileSystems/VirtualDiscFileSystem.cpp \
|
2013-05-08 19:41:22 +00:00
|
|
|
$(SRC)/Core/FileSystems/tlzrc.cpp \
|
2012-11-01 15:19:01 +00:00
|
|
|
$(SRC)/Core/MIPS/JitCommon/JitCommon.cpp \
|
2013-04-26 21:58:20 +00:00
|
|
|
$(SRC)/Core/MIPS/JitCommon/JitBlockCache.cpp \
|
2015-04-12 18:41:26 +00:00
|
|
|
$(SRC)/Core/MIPS/JitCommon/JitState.cpp \
|
2015-01-11 21:50:52 +00:00
|
|
|
$(SRC)/Core/Util/AudioFormat.cpp \
|
2013-11-20 13:42:48 +00:00
|
|
|
$(SRC)/Core/Util/GameManager.cpp \
|
2012-11-18 12:04:49 +00:00
|
|
|
$(SRC)/Core/Util/BlockAllocator.cpp \
|
|
|
|
$(SRC)/Core/Util/ppge_atlas.cpp \
|
2013-03-02 22:27:46 +00:00
|
|
|
$(SRC)/Core/Util/PPGeDraw.cpp \
|
|
|
|
$(SRC)/git-version.cpp
|
2012-11-01 15:19:01 +00:00
|
|
|
|
2015-07-05 23:08:41 +00:00
|
|
|
LOCAL_MODULE := ppsspp_core
|
|
|
|
LOCAL_SRC_FILES := $(EXEC_AND_LIB_FILES)
|
|
|
|
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
include $(LOCAL_PATH)/Locals.mk
|
|
|
|
LOCAL_STATIC_LIBRARIES += ppsspp_core
|
|
|
|
|
2013-10-14 09:39:34 +00:00
|
|
|
# These are the files just for ppsspp_jni
|
|
|
|
LOCAL_MODULE := ppsspp_jni
|
|
|
|
LOCAL_SRC_FILES := \
|
2015-09-10 16:51:48 +00:00
|
|
|
$(SRC)/android/jni/app-android.cpp \
|
|
|
|
$(SRC)/android/jni/native_audio.cpp \
|
|
|
|
$(SRC)/android/jni/native-audio-so.cpp \
|
2014-06-22 16:37:18 +00:00
|
|
|
$(SRC)/UI/BackgroundAudio.cpp \
|
2013-11-03 00:13:17 +00:00
|
|
|
$(SRC)/UI/DevScreens.cpp \
|
|
|
|
$(SRC)/UI/EmuScreen.cpp \
|
|
|
|
$(SRC)/UI/MainScreen.cpp \
|
|
|
|
$(SRC)/UI/MiscScreens.cpp \
|
2014-02-10 09:24:40 +00:00
|
|
|
$(SRC)/UI/ReportScreen.cpp \
|
2014-12-22 09:48:17 +00:00
|
|
|
$(SRC)/UI/PauseScreen.cpp \
|
2015-06-11 18:22:16 +00:00
|
|
|
$(SRC)/UI/SavedataScreen.cpp \
|
2013-11-20 15:36:58 +00:00
|
|
|
$(SRC)/UI/Store.cpp \
|
2013-11-03 00:13:17 +00:00
|
|
|
$(SRC)/UI/GamepadEmu.cpp \
|
|
|
|
$(SRC)/UI/GameInfoCache.cpp \
|
|
|
|
$(SRC)/UI/GameScreen.cpp \
|
|
|
|
$(SRC)/UI/ControlMappingScreen.cpp \
|
|
|
|
$(SRC)/UI/GameSettingsScreen.cpp \
|
|
|
|
$(SRC)/UI/TiltAnalogSettingsScreen.cpp \
|
2013-11-11 11:52:04 +00:00
|
|
|
$(SRC)/UI/TiltEventProcessor.cpp \
|
2013-11-03 00:13:17 +00:00
|
|
|
$(SRC)/UI/TouchControlLayoutScreen.cpp \
|
|
|
|
$(SRC)/UI/TouchControlVisibilityScreen.cpp \
|
|
|
|
$(SRC)/UI/CwCheatScreen.cpp \
|
2013-12-05 13:14:15 +00:00
|
|
|
$(SRC)/UI/InstallZipScreen.cpp \
|
2015-10-14 15:45:21 +00:00
|
|
|
$(SRC)/UI/ProfilerDraw.cpp \
|
2015-06-28 05:34:05 +00:00
|
|
|
$(SRC)/UI/NativeApp.cpp \
|
|
|
|
$(SRC)/UI/ComboKeyMappingScreen.cpp
|
2012-11-01 15:19:01 +00:00
|
|
|
|
2015-06-27 05:26:46 +00:00
|
|
|
ifneq ($(SKIPAPP),1)
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|
|
endif
|
2012-11-01 15:19:01 +00:00
|
|
|
|
2013-10-14 09:39:34 +00:00
|
|
|
|
|
|
|
ifeq ($(HEADLESS),1)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
include $(LOCAL_PATH)/Locals.mk
|
2015-07-05 23:08:41 +00:00
|
|
|
LOCAL_STATIC_LIBRARIES += ppsspp_core
|
2013-10-14 09:39:34 +00:00
|
|
|
|
2014-12-07 23:21:59 +00:00
|
|
|
# Android 5.0 requires PIE for executables. Only supported on 4.1+, but this is testing anyway.
|
|
|
|
LOCAL_CFLAGS += -fPIE
|
|
|
|
LOCAL_LDFLAGS += -fPIE -pie
|
|
|
|
|
2013-10-14 09:39:34 +00:00
|
|
|
LOCAL_MODULE := ppsspp_headless
|
|
|
|
LOCAL_SRC_FILES := \
|
|
|
|
$(SRC)/headless/Headless.cpp \
|
|
|
|
$(SRC)/headless/Compare.cpp
|
|
|
|
|
|
|
|
include $(BUILD_EXECUTABLE)
|
|
|
|
endif
|
|
|
|
|
2014-12-07 23:22:23 +00:00
|
|
|
ifeq ($(UNITTEST),1)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
include $(LOCAL_PATH)/Locals.mk
|
2015-07-05 23:08:41 +00:00
|
|
|
LOCAL_STATIC_LIBRARIES += ppsspp_core
|
2014-12-07 23:22:23 +00:00
|
|
|
|
|
|
|
# Android 5.0 requires PIE for executables. Only supported on 4.1+, but this is testing anyway.
|
|
|
|
LOCAL_CFLAGS += -fPIE
|
|
|
|
LOCAL_LDFLAGS += -fPIE -pie
|
|
|
|
|
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/$(SRC)/ext/armips $(LOCAL_C_INCLUDES)
|
|
|
|
|
|
|
|
LIBARMIPS_FILES := \
|
|
|
|
$(SRC)/ext/armips/Archs/ARM/Arm.cpp \
|
|
|
|
$(SRC)/ext/armips/Archs/ARM/ArmOpcodes.cpp \
|
|
|
|
$(SRC)/ext/armips/Archs/ARM/ArmRelocator.cpp \
|
|
|
|
$(SRC)/ext/armips/Archs/ARM/CArmInstruction.cpp \
|
|
|
|
$(SRC)/ext/armips/Archs/ARM/CThumbInstruction.cpp \
|
|
|
|
$(SRC)/ext/armips/Archs/ARM/Pool.cpp \
|
|
|
|
$(SRC)/ext/armips/Archs/ARM/ThumbOpcodes.cpp \
|
|
|
|
$(SRC)/ext/armips/Archs/MIPS/CMipsInstruction.cpp \
|
|
|
|
$(SRC)/ext/armips/Archs/MIPS/CMipsMacro.cpp \
|
|
|
|
$(SRC)/ext/armips/Archs/MIPS/Mips.cpp \
|
|
|
|
$(SRC)/ext/armips/Archs/MIPS/MipsElfFile.cpp \
|
|
|
|
$(SRC)/ext/armips/Archs/MIPS/MipsMacros.cpp \
|
|
|
|
$(SRC)/ext/armips/Archs/MIPS/MipsOpcodes.cpp \
|
|
|
|
$(SRC)/ext/armips/Archs/MIPS/MipsPSP.cpp \
|
|
|
|
$(SRC)/ext/armips/Archs/MIPS/PsxRelocator.cpp \
|
|
|
|
$(SRC)/ext/armips/Archs/Z80/CZ80Instruction.cpp \
|
|
|
|
$(SRC)/ext/armips/Archs/Z80/z80.cpp \
|
|
|
|
$(SRC)/ext/armips/Archs/Z80/z80Opcodes.cpp \
|
|
|
|
$(SRC)/ext/armips/Archs/Architecture.cpp \
|
|
|
|
$(SRC)/ext/armips/Commands/CAssemblerCommand.cpp \
|
|
|
|
$(SRC)/ext/armips/Commands/CAssemblerLabel.cpp \
|
|
|
|
$(SRC)/ext/armips/Commands/CDirectiveArea.cpp \
|
|
|
|
$(SRC)/ext/armips/Commands/CDirectiveConditional.cpp \
|
|
|
|
$(SRC)/ext/armips/Commands/CDirectiveData.cpp \
|
|
|
|
$(SRC)/ext/armips/Commands/CDirectiveFile.cpp \
|
|
|
|
$(SRC)/ext/armips/Commands/CDirectiveFill.cpp \
|
|
|
|
$(SRC)/ext/armips/Commands/CDirectiveMessage.cpp \
|
|
|
|
$(SRC)/ext/armips/Core/ELF/ElfFile.cpp \
|
|
|
|
$(SRC)/ext/armips/Core/ELF/ElfRelocator.cpp \
|
|
|
|
$(SRC)/ext/armips/Core/Assembler.cpp \
|
|
|
|
$(SRC)/ext/armips/Core/CMacro.cpp \
|
|
|
|
$(SRC)/ext/armips/Core/Common.cpp \
|
|
|
|
$(SRC)/ext/armips/Core/Directives.cpp \
|
|
|
|
$(SRC)/ext/armips/Core/FileManager.cpp \
|
|
|
|
$(SRC)/ext/armips/Core/MathParser.cpp \
|
|
|
|
$(SRC)/ext/armips/Core/Misc.cpp \
|
|
|
|
$(SRC)/ext/armips/Core/SymbolData.cpp \
|
|
|
|
$(SRC)/ext/armips/Core/SymbolTable.cpp \
|
|
|
|
$(SRC)/ext/armips/Util/ByteArray.cpp \
|
|
|
|
$(SRC)/ext/armips/Util/CommonClasses.cpp \
|
|
|
|
$(SRC)/ext/armips/Util/CRC.cpp \
|
|
|
|
$(SRC)/ext/armips/Util/EncodingTable.cpp \
|
|
|
|
$(SRC)/ext/armips/Util/FileClasses.cpp \
|
|
|
|
$(SRC)/ext/armips/Util/StringFormat.cpp \
|
|
|
|
$(SRC)/ext/armips/Util/Util.cpp
|
|
|
|
|
2015-06-27 05:27:12 +00:00
|
|
|
ifeq ($(findstring arm64-v8a,$(TARGET_ARCH_ABI)),arm64-v8a)
|
2015-07-23 06:19:59 +00:00
|
|
|
TESTARMEMITTER_FILE = $(SRC)/unittest/TestArm64Emitter.cpp
|
2015-06-27 05:27:12 +00:00
|
|
|
else
|
2015-07-23 06:19:59 +00:00
|
|
|
TESTARMEMITTER_FILE = $(SRC)/unittest/TestArmEmitter.cpp
|
2015-06-27 05:27:12 +00:00
|
|
|
endif
|
|
|
|
|
2014-12-07 23:22:23 +00:00
|
|
|
LOCAL_MODULE := ppsspp_unittest
|
|
|
|
LOCAL_SRC_FILES := \
|
2015-07-05 23:08:41 +00:00
|
|
|
$(LIBARMIPS_FILES) \
|
|
|
|
$(SRC)/Core/MIPS/MIPSAsm.cpp \
|
2015-07-23 06:19:59 +00:00
|
|
|
$(SRC)/unittest/JitHarness.cpp \
|
|
|
|
$(SRC)/unittest/TestVertexJit.cpp \
|
2015-06-27 05:27:12 +00:00
|
|
|
$(TESTARMEMITTER_FILE) \
|
2015-07-23 06:19:59 +00:00
|
|
|
$(SRC)/unittest/UnitTest.cpp
|
2014-12-07 23:22:23 +00:00
|
|
|
|
|
|
|
include $(BUILD_EXECUTABLE)
|
|
|
|
endif
|
|
|
|
|
2012-11-01 15:19:01 +00:00
|
|
|
$(call import-module,libzip)
|
|
|
|
$(call import-module,native)
|
2013-03-02 23:33:07 +00:00
|
|
|
|
2013-11-03 00:13:17 +00:00
|
|
|
ifeq ($(ANDROID_NDK_PROFILER),1)
|
|
|
|
$(call import-module,android-ndk-profiler)
|
|
|
|
endif
|
|
|
|
|
2013-03-02 23:33:07 +00:00
|
|
|
jni/$(SRC)/git-version.cpp:
|
2013-03-10 17:28:08 +00:00
|
|
|
-./git-version-gen.sh
|
|
|
|
-..\Windows\git-version-gen.cmd
|
|
|
|
|
|
|
|
.PHONY: jni/$(SRC)/git-version.cpp
|