dolphin/Source/Core/Core/SConscript

216 lines
6.9 KiB
Python

# -*- python -*-
Import('env')
import sys
files = [
'Src/ARDecrypt.cpp',
'Src/ActionReplay.cpp',
'Src/Boot/Boot.cpp',
'Src/Boot/Boot_BS2Emu.cpp',
'Src/Boot/Boot_DOL.cpp',
'Src/Boot/Boot_ELF.cpp',
'Src/Boot/Boot_WiiWAD.cpp',
'Src/Boot/ElfReader.cpp',
'Src/BootManager.cpp',
'Src/ConfigManager.cpp',
'Src/Console.cpp',
'Src/Core.cpp',
'Src/CoreParameter.cpp',
'Src/CoreRerecording.cpp',
'Src/CoreTiming.cpp',
'Src/DSP/DSPAccelerator.cpp',
'Src/DSP/DSPAnalyzer.cpp',
'Src/DSP/DSPCodeUtil.cpp',
'Src/DSP/DSPCore.cpp',
'Src/DSP/DSPEmitter.cpp',
'Src/DSP/DSPHWInterface.cpp',
'Src/DSP/DSPIntCCUtil.cpp',
'Src/DSP/DSPIntExtOps.cpp',
'Src/DSP/DSPInterpreter.cpp',
'Src/DSP/DSPMemoryMap.cpp',
'Src/DSP/DSPStacks.cpp',
'Src/DSP/DSPTables.cpp',
'Src/DSP/DspIntArithmetic.cpp',
'Src/DSP/DspIntBranch.cpp',
'Src/DSP/DspIntLoadStore.cpp',
'Src/DSP/DspIntMisc.cpp',
'Src/DSP/DspIntMultiplier.cpp',
'Src/DSP/Jit/DSPJitArithmetic.cpp',
'Src/DSP/Jit/DSPJitBranch.cpp',
'Src/DSP/Jit/DSPJitCCUtil.cpp',
'Src/DSP/Jit/DSPJitExtOps.cpp',
'Src/DSP/Jit/DSPJitLoadStore.cpp',
'Src/DSP/Jit/DSPJitMisc.cpp',
'Src/DSP/Jit/DSPJitMultiplier.cpp',
'Src/DSP/Jit/DSPJitRegCache.cpp',
'Src/DSP/Jit/DSPJitUtil.cpp',
'Src/DSP/LabelMap.cpp',
'Src/DSP/assemble.cpp',
'Src/DSP/disassemble.cpp',
'Src/DSPEmulator.cpp',
'Src/Debugger/Debugger_SymbolMap.cpp',
'Src/Debugger/Dump.cpp',
'Src/Debugger/PPCDebugInterface.cpp',
'Src/FifoPlayer/FifoAnalyzer.cpp',
'Src/FifoPlayer/FifoDataFile.cpp',
'Src/FifoPlayer/FifoPlaybackAnalyzer.cpp',
'Src/FifoPlayer/FifoPlayer.cpp',
'Src/FifoPlayer/FifoRecordAnalyzer.cpp',
'Src/FifoPlayer/FifoRecorder.cpp',
'Src/GeckoCode.cpp',
'Src/GeckoCodeConfig.cpp',
'Src/HLE/HLE.cpp',
'Src/HLE/HLE_Misc.cpp',
'Src/HLE/HLE_OS.cpp',
'Src/HW/AudioInterface.cpp',
'Src/HW/CPU.cpp',
'Src/HW/DSP.cpp',
'Src/HW/DSPHLE/DSPHLE.cpp',
'Src/HW/DSPHLE/HLEMixer.cpp',
'Src/HW/DSPHLE/MailHandler.cpp',
'Src/HW/DSPHLE/UCodes/UCode_AX.cpp',
'Src/HW/DSPHLE/UCodes/UCode_AXWii.cpp',
'Src/HW/DSPHLE/UCodes/UCode_CARD.cpp',
'Src/HW/DSPHLE/UCodes/UCode_GBA.cpp',
'Src/HW/DSPHLE/UCodes/UCode_InitAudioSystem.cpp',
'Src/HW/DSPHLE/UCodes/UCode_ROM.cpp',
'Src/HW/DSPHLE/UCodes/UCode_Zelda.cpp',
'Src/HW/DSPHLE/UCodes/UCode_Zelda_ADPCM.cpp',
'Src/HW/DSPHLE/UCodes/UCode_Zelda_Synth.cpp',
'Src/HW/DSPHLE/UCodes/UCode_Zelda_Voice.cpp',
'Src/HW/DSPHLE/UCodes/UCodes.cpp',
'Src/HW/DSPLLE/DSPDebugInterface.cpp',
'Src/HW/DSPLLE/DSPHost.cpp',
'Src/HW/DSPLLE/DSPLLE.cpp',
#'Src/HW/DSPLLE/DSPLLEGlobals.cpp',
'Src/HW/DSPLLE/DSPLLETools.cpp',
'Src/HW/DSPLLE/DSPSymbols.cpp',
'Src/HW/DVDInterface.cpp',
'Src/HW/EXI.cpp',
'Src/HW/EXI_Channel.cpp',
'Src/HW/EXI_Device.cpp',
'Src/HW/EXI_DeviceAD16.cpp',
'Src/HW/EXI_DeviceAMBaseboard.cpp',
'Src/HW/EXI_DeviceEthernet.cpp',
'Src/HW/EXI_DeviceGecko.cpp',
'Src/HW/EXI_DeviceIPL.cpp',
'Src/HW/EXI_DeviceMemoryCard.cpp',
'Src/HW/EXI_DeviceMic.cpp',
'Src/HW/GCMemcard.cpp',
'Src/HW/GCPad.cpp',
'Src/HW/GCPadEmu.cpp',
'Src/HW/GPFifo.cpp',
'Src/HW/HW.cpp',
'Src/HW/Memmap.cpp',
'Src/HW/MemmapFunctions.cpp',
'Src/HW/MemoryInterface.cpp',
'Src/HW/ProcessorInterface.cpp',
'Src/HW/SI.cpp',
'Src/HW/SI_Device.cpp',
'Src/HW/SI_DeviceAMBaseboard.cpp',
'Src/HW/SI_DeviceGBA.cpp',
'Src/HW/SI_DeviceGCController.cpp',
'Src/HW/Sram.cpp',
'Src/HW/StreamADPCM.cpp',
'Src/HW/SystemTimers.cpp',
'Src/HW/VideoInterface.cpp',
'Src/HW/WII_IOB.cpp',
'Src/HW/WII_IPC.cpp',
'Src/HW/Wiimote.cpp',
'Src/HW/WiimoteEmu/Attachment/Attachment.cpp',
'Src/HW/WiimoteEmu/Attachment/Classic.cpp',
'Src/HW/WiimoteEmu/Attachment/Drums.cpp',
'Src/HW/WiimoteEmu/Attachment/Guitar.cpp',
'Src/HW/WiimoteEmu/Attachment/Nunchuk.cpp',
'Src/HW/WiimoteEmu/Attachment/Turntable.cpp',
'Src/HW/WiimoteEmu/EmuSubroutines.cpp',
'Src/HW/WiimoteEmu/Encryption.cpp',
'Src/HW/WiimoteEmu/Speaker.cpp',
'Src/HW/WiimoteEmu/WiimoteEmu.cpp',
'Src/HW/WiimoteReal/WiimoteReal.cpp',
'Src/IPC_HLE/WII_IPC_HLE.cpp',
'Src/IPC_HLE/WII_IPC_HLE_Device_DI.cpp',
'Src/IPC_HLE/WII_IPC_HLE_Device_FileIO.cpp',
'Src/IPC_HLE/WII_IPC_HLE_Device_es.cpp',
'Src/IPC_HLE/WII_IPC_HLE_Device_fs.cpp',
'Src/IPC_HLE/WII_IPC_HLE_Device_net.cpp',
'Src/IPC_HLE/WII_IPC_HLE_Device_sdio_slot0.cpp',
'Src/IPC_HLE/WII_IPC_HLE_Device_usb.cpp',
'Src/IPC_HLE/WII_IPC_HLE_Device_usb_kbd.cpp',
'Src/IPC_HLE/WII_IPC_HLE_WiiMote.cpp',
'Src/IPC_HLE/WiiMote_HID_Attr.cpp',
'Src/MemTools.cpp',
'Src/Movie.cpp',
'Src/NetPlay.cpp',
'Src/NetPlayClient.cpp',
'Src/NetPlayServer.cpp',
'Src/PatchEngine.cpp',
'Src/PowerPC/Interpreter/Interpreter.cpp',
'Src/PowerPC/Interpreter/Interpreter_Branch.cpp',
'Src/PowerPC/Interpreter/Interpreter_FloatingPoint.cpp',
'Src/PowerPC/Interpreter/Interpreter_Integer.cpp',
'Src/PowerPC/Interpreter/Interpreter_LoadStore.cpp',
'Src/PowerPC/Interpreter/Interpreter_LoadStorePaired.cpp',
'Src/PowerPC/Interpreter/Interpreter_Paired.cpp',
'Src/PowerPC/Interpreter/Interpreter_SystemRegisters.cpp',
'Src/PowerPC/Interpreter/Interpreter_Tables.cpp',
'Src/PowerPC/Jit64/Jit.cpp',
'Src/PowerPC/Jit64/Jit64_Tables.cpp',
'Src/PowerPC/Jit64/JitAsm.cpp',
'Src/PowerPC/Jit64/JitRegCache.cpp',
'Src/PowerPC/Jit64/Jit_Branch.cpp',
'Src/PowerPC/Jit64/Jit_FloatingPoint.cpp',
'Src/PowerPC/Jit64/Jit_Integer.cpp',
'Src/PowerPC/Jit64/Jit_LoadStore.cpp',
'Src/PowerPC/Jit64/Jit_LoadStoreFloating.cpp',
'Src/PowerPC/Jit64/Jit_LoadStorePaired.cpp',
'Src/PowerPC/Jit64/Jit_Paired.cpp',
'Src/PowerPC/Jit64/Jit_SystemRegisters.cpp',
'Src/PowerPC/Jit64IL/IR.cpp',
'Src/PowerPC/Jit64IL/IR_X86.cpp',
'Src/PowerPC/Jit64IL/JitIL.cpp',
'Src/PowerPC/Jit64IL/JitILAsm.cpp',
'Src/PowerPC/Jit64IL/JitIL_Branch.cpp',
'Src/PowerPC/Jit64IL/JitIL_FloatingPoint.cpp',
'Src/PowerPC/Jit64IL/JitIL_Integer.cpp',
'Src/PowerPC/Jit64IL/JitIL_LoadStore.cpp',
'Src/PowerPC/Jit64IL/JitIL_LoadStoreFloating.cpp',
'Src/PowerPC/Jit64IL/JitIL_LoadStorePaired.cpp',
'Src/PowerPC/Jit64IL/JitIL_Paired.cpp',
'Src/PowerPC/Jit64IL/JitIL_SystemRegisters.cpp',
'Src/PowerPC/Jit64IL/JitIL_Tables.cpp',
'Src/PowerPC/JitCommon/JitAsmCommon.cpp',
'Src/PowerPC/JitCommon/JitBackpatch.cpp',
'Src/PowerPC/JitCommon/JitBase.cpp',
'Src/PowerPC/JitCommon/JitCache.cpp',
'Src/PowerPC/JitCommon/Jit_Util.cpp',
'Src/PowerPC/LUT_frsqrtex.cpp',
'Src/PowerPC/PPCAnalyst.cpp',
'Src/PowerPC/PPCCache.cpp',
'Src/PowerPC/PPCSymbolDB.cpp',
'Src/PowerPC/PPCTables.cpp',
'Src/PowerPC/PowerPC.cpp',
'Src/PowerPC/Profiler.cpp',
'Src/PowerPC/SignatureDB.cpp',
'Src/State.cpp',
'Src/Tracer.cpp',
'Src/VolumeHandler.cpp',
]
if sys.platform == 'win32':
files += ['Src/HW/BBA-TAP/TAP_Win32.cpp']
files += ['Src/HW/WiimoteReal/IOWin.cpp']
files += ['Src/stdafx.cpp']
elif sys.platform == 'darwin':
files += ['Src/HW/BBA-TAP/TAP_Apple.cpp']
files += ['Src/HW/WiimoteReal/IOdarwin.mm']
elif sys.platform == 'linux2' and env['HAVE_BLUEZ']:
files += ['Src/HW/BBA-TAP/TAP_Unix.cpp']
files += ['Src/HW/WiimoteReal/IODummy.cpp']
else:
files += ['Src/HW/BBA-TAP/TAP_Unix.cpp']
files += ['Src/HW/WiimoteReal/IODummy.cpp']
env['LIBS'] += env.StaticLibrary('core', files)