# -*- python -*- 

Import('env')

files = ["Console.cpp",
         "Core.cpp",
         "CoreTiming.cpp", 
         "CoreParameter.cpp", 
         "Host.cpp",
         "LogManager.cpp",
         "MemTools.cpp",
         "ActionReplay.cpp",
         "ARDecrypt.cpp",
         "PatchEngine.cpp",
         "State.cpp",
         "Tracer.cpp",
         "VolumeHandler.cpp",
         "Boot/Boot.cpp",
         "Boot/Boot_BIOSEmu.cpp",
         "Boot/Boot_DOL.cpp",
         "Boot/Boot_ELF.cpp",
         "Boot/ElfReader.cpp",
         "Debugger/Debugger_BreakPoints.cpp",
         "Debugger/Debugger_SymbolMap.cpp",
         "Debugger/Dump.cpp",
         "Debugger/PPCDebugInterface.cpp",
#        "Debugger/GClibloc.cpp", #Outdated
         "HW/AudioInterface.cpp",
         "HW/CommandProcessor.cpp",
         "HW/CPU.cpp",
         "HW/CPUCompare.cpp",
         "HW/DSP.cpp",
         "HW/DVDInterface.cpp",
         "HW/EXI.cpp",
         "HW/EXI_Channel.cpp",
         "HW/EXI_Device.cpp",
         "HW/EXI_DeviceIPL.cpp",
         "HW/EXI_DeviceAD16.cpp",
         "HW/EXI_DeviceMemoryCard.cpp",
         "HW/EXI_DeviceMic.cpp",
#         "HW/EXI_DeviceEthernet.cpp",
         "HW/GPFifo.cpp",
         "HW/HW.cpp",
         "HW/Memmap.cpp",
         "HW/MemoryInterface.cpp",
         "HW/PeripheralInterface.cpp",
         "HW/PixelEngine.cpp",
         "HW/SerialInterface.cpp",
         "HW/SerialInterface_Devices.cpp",
         "HW/StreamADPCM.cpp",
         "HW/SystemTimers.cpp",
         "HW/VideoInterface.cpp",
         "HW/WII_IOB.cpp",
         "HW/WII_IPC.cpp",
         "IPC_HLE/WII_IPC_HLE.cpp",
         "IPC_HLE/WII_IPC_HLE_Device_DI.cpp",
         "IPC_HLE/WII_IPC_HLE_Device_FileIO.cpp",
         "IPC_HLE/WII_IPC_HLE_Device_fs.cpp",
         "IPC_HLE/WII_IPC_HLE_Device_sdio_slot0.cpp",
         "IPC_HLE/WII_IPC_HLE_Device_net.cpp",
         "IPC_HLE/WII_IPC_HLE_WiiMote.cpp",
         "IPC_HLE/WII_IPC_HLE_Device_usb.cpp",
         "IPC_HLE/WiiMote_HID_Attr.cpp",
         "Plugins/Plugin_DSP.cpp",
         "Plugins/Plugin_PAD.cpp",
         "Plugins/Plugin_Video.cpp",
         "Plugins/Plugin_Wiimote.cpp",
         "PowerPC/PowerPC.cpp",
         "PowerPC/PPCAnalyst.cpp",
         "PowerPC/PPCTables.cpp",
         "PowerPC/Profiler.cpp",
         "PowerPC/SignatureDB.cpp",
         "PowerPC/SymbolDB.cpp",
         "PowerPC/Interpreter/Interpreter.cpp",
         "PowerPC/Interpreter/Interpreter_Branch.cpp",
         "PowerPC/Interpreter/Interpreter_Integer.cpp",
         "PowerPC/Interpreter/Interpreter_FloatingPoint.cpp",
         "PowerPC/Interpreter/Interpreter_Paired.cpp",
         "PowerPC/Interpreter/Interpreter_LoadStore.cpp",
         "PowerPC/Interpreter/Interpreter_LoadStorePaired.cpp",
         "PowerPC/Interpreter/Interpreter_SystemRegisters.cpp",
         "PowerPC/Jit64/Jit.cpp",
         "PowerPC/Jit64/JitCore.cpp",
         "PowerPC/Jit64/JitCache.cpp",
         "PowerPC/Jit64/JitRegCache.cpp",
         "PowerPC/Jit64/JitAsm.cpp",
         "PowerPC/Jit64/Jit_Branch.cpp",
         "PowerPC/Jit64/Jit_Integer.cpp",
         "PowerPC/Jit64/Jit_FloatingPoint.cpp",
         "PowerPC/Jit64/Jit_LoadStorePaired.cpp",
         "PowerPC/Jit64/Jit_Paired.cpp",
         "PowerPC/Jit64/Jit_LoadStore.cpp",
         "PowerPC/Jit64/Jit_LoadStoreFloating.cpp",
         "PowerPC/Jit64/Jit_SystemRegisters.cpp",
         "PowerPC/Jit64/Jit_Util.cpp",
         "HLE/HLE.cpp",
         "HLE/HLE_Misc.cpp",
         "HLE/HLE_OS.cpp",
        ]
libs = [
	'bdisasm'
	]

env.StaticLibrary("core", files, LIBS=libs)
