project64/Android/jni/Project64-core/Project64-core.mk

110 lines
6.5 KiB
Makefile
Raw Normal View History

2016-06-09 09:46:46 +00:00
#########################
# project64-core
#########################
include $(CLEAR_VARS)
LOCAL_PATH := $(JNI_LOCAL_PATH)
SRCDIR := ./Project64-core
LOCAL_MODULE := Project64-core
LOCAL_STATIC_LIBRARIES := common \
zlib \
LOCAL_C_INCLUDES := ../ \
../3rdParty/ \
LOCAL_SRC_FILES := \
$(SRCDIR)/AppInit.cpp \
$(SRCDIR)/logging.cpp \
$(SRCDIR)/MemoryExceptionFilter.cpp \
$(SRCDIR)/Multilanguage/LanguageClass.cpp \
$(SRCDIR)/Settings/LoggingSettings.cpp \
$(SRCDIR)/Settings/SettingsClass.cpp \
$(SRCDIR)/Settings/RecompilerSettings.cpp \
$(SRCDIR)/N64System/Interpreter/InterpreterCPU.cpp \
$(SRCDIR)/N64System/Interpreter/InterpreterOps.cpp \
$(SRCDIR)/N64System/Interpreter/InterpreterOps32.cpp \
$(SRCDIR)/N64System/Mips/Audio.cpp \
$(SRCDIR)/N64System/Mips/Dma.cpp \
$(SRCDIR)/N64System/Mips/Disk.cpp \
$(SRCDIR)/N64System/Mips/Eeprom.cpp \
$(SRCDIR)/N64System/Mips/FlashRam.cpp \
$(SRCDIR)/N64System/Mips/GBCart.cpp \
$(SRCDIR)/N64System/Mips/MemoryVirtualMem.cpp \
$(SRCDIR)/N64System/Mips/Mempak.cpp \
$(SRCDIR)/N64System/Mips/OpcodeName.cpp \
$(SRCDIR)/N64System/Mips/PifRam.cpp \
$(SRCDIR)/N64System/Mips/RegisterClass.cpp \
$(SRCDIR)/N64System/Mips/Rumblepak.cpp \
$(SRCDIR)/N64System/Mips/Transferpak.cpp \
$(SRCDIR)/N64System/Mips/Sram.cpp \
$(SRCDIR)/N64System/Mips/SystemEvents.cpp \
$(SRCDIR)/N64System/Mips/SystemTiming.cpp \
$(SRCDIR)/N64System/Mips/TLBclass.cpp \
$(SRCDIR)/N64System/Recompiler/CodeBlock.cpp \
$(SRCDIR)/N64System/Recompiler/CodeSection.cpp \
2016-06-09 09:46:46 +00:00
$(SRCDIR)/N64System/Recompiler/SectionInfo.cpp \
$(SRCDIR)/N64System/Recompiler/FunctionInfo.cpp \
$(SRCDIR)/N64System/Recompiler/FunctionMapClass.cpp \
$(SRCDIR)/N64System/Recompiler/LoopAnalysis.cpp \
2016-06-09 09:46:46 +00:00
$(SRCDIR)/N64System/Recompiler/RecompilerClass.cpp \
$(SRCDIR)/N64System/Recompiler/RecompilerCodeLog.cpp \
2016-06-09 09:46:46 +00:00
$(SRCDIR)/N64System/Recompiler/RecompilerMemory.cpp \
$(SRCDIR)/N64System/Recompiler/RegBase.cpp \
2016-08-11 11:23:03 +00:00
$(SRCDIR)/N64System/Recompiler/Arm/ArmOps.cpp \
$(SRCDIR)/N64System/Recompiler/Arm/ArmRecompilerOps.cpp \
$(SRCDIR)/N64System/Recompiler/Arm/ArmRegInfo.cpp \
2016-08-07 05:08:41 +00:00
$(SRCDIR)/N64System/Recompiler/x86/x86ops.cpp \
$(SRCDIR)/N64System/Recompiler/x86/x86RecompilerOps.cpp \
$(SRCDIR)/N64System/Recompiler/x86/x86RegInfo.cpp \
2016-06-09 09:46:46 +00:00
$(SRCDIR)/N64System/CheatClass.cpp \
$(SRCDIR)/N64System/FramePerSecondClass.cpp \
$(SRCDIR)/N64System/N64Class.cpp \
$(SRCDIR)/N64System/N64RomClass.cpp \
$(SRCDIR)/N64System/ProfilingClass.cpp \
$(SRCDIR)/N64System/SpeedLimiterClass.cpp \
$(SRCDIR)/N64System/SystemGlobals.cpp \
$(SRCDIR)/N64System/EmulationThread.cpp \
$(SRCDIR)/N64System/N64DiskClass.cpp \
$(SRCDIR)/Plugins/AudioPlugin.cpp \
$(SRCDIR)/Plugins/GFXplugin.cpp \
$(SRCDIR)/Plugins/ControllerPlugin.cpp \
$(SRCDIR)/Plugins/RSPPlugin.cpp \
$(SRCDIR)/Plugins/PluginBase.cpp \
$(SRCDIR)/Plugins/PluginClass.cpp \
$(SRCDIR)/RomList/RomList.cpp \
$(SRCDIR)/Settings/SettingType/SettingsType-Application.cpp \
$(SRCDIR)/Settings/SettingType/SettingsType-ApplicationIndex.cpp \
$(SRCDIR)/Settings/SettingType/SettingsType-ApplicationPath.cpp \
$(SRCDIR)/Settings/SettingType/SettingsType-Cheats.cpp \
$(SRCDIR)/Settings/SettingType/SettingsType-GameSetting.cpp \
$(SRCDIR)/Settings/SettingType/SettingsType-GameSettingIndex.cpp \
$(SRCDIR)/Settings/SettingType/SettingsType-RelativePath.cpp \
$(SRCDIR)/Settings/SettingType/SettingsType-RDBCpuType.cpp \
$(SRCDIR)/Settings/SettingType/SettingsType-RDBOnOff.cpp \
$(SRCDIR)/Settings/SettingType/SettingsType-RDBRamSize.cpp \
$(SRCDIR)/Settings/SettingType/SettingsType-RDBSaveChip.cpp \
$(SRCDIR)/Settings/SettingType/SettingsType-RDBYesNo.cpp \
$(SRCDIR)/Settings/SettingType/SettingsType-RomDatabase.cpp \
$(SRCDIR)/Settings/SettingType/SettingsType-RomDatabaseIndex.cpp \
$(SRCDIR)/Settings/SettingType/SettingsType-RomDatabaseSetting.cpp \
$(SRCDIR)/Settings/SettingType/SettingsType-SelectedDirectory.cpp \
$(SRCDIR)/Settings/SettingType/SettingsType-TempBool.cpp \
$(SRCDIR)/Settings/SettingType/SettingsType-TempNumber.cpp \
$(SRCDIR)/Settings/SettingType/SettingsType-TempString.cpp \
$(SRCDIR)/Settings/DebugSettings.cpp \
$(SRCDIR)/Settings/GameSettings.cpp \
$(SRCDIR)/Settings/N64SystemSettings.cpp \
2016-08-11 11:23:03 +00:00
ifeq ($(TARGET_ARCH_ABI), armeabi-v7a)
# Use for ARM7a:
LOCAL_SRC_FILES += $(SRCDIR)/N64System/Recompiler/Arm/asm_functions.S
else ifeq ($(TARGET_ARCH_ABI), armeabi)
# Use for ARM7a:
LOCAL_SRC_FILES += $(SRCDIR)/N64System/Recompiler/Arm/asm_functions.S
endif
2016-06-09 09:46:46 +00:00
LOCAL_CFLAGS := $(COMMON_CFLAGS)
LOCAL_CPPFLAGS := $(COMMON_CPPFLAGS)
include $(BUILD_STATIC_LIBRARY)