mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Remove scons-related files
This commit is contained in:
@ -1,29 +0,0 @@
|
||||
# -*- python -*-
|
||||
|
||||
Import('env')
|
||||
import sys
|
||||
|
||||
files = [
|
||||
'Src/AudioCommon.cpp',
|
||||
'Src/AudioCommonConfig.cpp',
|
||||
'Src/Mixer.cpp',
|
||||
'Src/NullSoundStream.cpp',
|
||||
'Src/WaveFile.cpp',
|
||||
]
|
||||
|
||||
if sys.platform == 'darwin':
|
||||
files += ['Src/CoreAudioSoundStream.cpp']
|
||||
elif sys.platform == 'win32':
|
||||
files += ['Src/DSoundStream.cpp']
|
||||
files += ['Src/XAudio2Stream.cpp']
|
||||
else:
|
||||
if env['HAVE_ALSA']:
|
||||
files += ['Src/AlsaSoundStream.cpp']
|
||||
if env['HAVE_AO']:
|
||||
files += ['Src/AOSoundStream.cpp']
|
||||
if env['HAVE_OPENAL']:
|
||||
files += ['Src/OpenALStream.cpp', 'Src/aldlist.cpp']
|
||||
if env['HAVE_PULSEAUDIO']:
|
||||
files += ['Src/PulseAudioStream.cpp']
|
||||
|
||||
env['LIBS'] += env.StaticLibrary('audiocommon', files)
|
@ -1,60 +0,0 @@
|
||||
# -*- python -*-
|
||||
|
||||
Import('env')
|
||||
import os
|
||||
import sys
|
||||
|
||||
out_contents =\
|
||||
'#define SCM_REV_STR "' + env['gitrev'] + '"\n' +\
|
||||
'#define SCM_DESC_STR "' + env['gitdesc'] + '"\n' +\
|
||||
'#define SCM_BRANCH_STR "' + env['gitbranch'] + '"\n' +\
|
||||
'#define SCM_IS_MASTER ' + ('1' if env['gitbranch'] == 'master' else '0') + '\n\n'
|
||||
|
||||
Execute(Delete('Src/scmrev.h'))
|
||||
outfile = open('Src/scmrev.h', 'w')
|
||||
outfile.write(out_contents)
|
||||
outfile.close()
|
||||
|
||||
files = [
|
||||
'Src/ABI.cpp',
|
||||
'Src/BreakPoints.cpp',
|
||||
'Src/CDUtils.cpp',
|
||||
'Src/CPUDetect.cpp',
|
||||
'Src/ColorUtil.cpp',
|
||||
'Src/ConsoleListener.cpp',
|
||||
'Src/Crypto/aes_cbc.cpp',
|
||||
'Src/Crypto/aes_core.cpp',
|
||||
'Src/Crypto/bn.cpp',
|
||||
'Src/Crypto/ec.cpp',
|
||||
'Src/Crypto/md5.cpp',
|
||||
'Src/Crypto/sha1.cpp',
|
||||
'Src/FileSearch.cpp',
|
||||
'Src/FileUtil.cpp',
|
||||
'Src/Hash.cpp',
|
||||
'Src/IniFile.cpp',
|
||||
'Src/LogManager.cpp',
|
||||
'Src/MathUtil.cpp',
|
||||
'Src/MemArena.cpp',
|
||||
'Src/MemoryUtil.cpp',
|
||||
'Src/Misc.cpp',
|
||||
'Src/MsgHandler.cpp',
|
||||
'Src/NandPaths.cpp',
|
||||
'Src/SDCardUtil.cpp',
|
||||
'Src/StringUtil.cpp',
|
||||
'Src/SymbolDB.cpp',
|
||||
'Src/SysConf.cpp',
|
||||
'Src/Thread.cpp',
|
||||
'Src/Thunk.cpp',
|
||||
'Src/Timer.cpp',
|
||||
'Src/Version.cpp',
|
||||
'Src/VideoBackendBase.cpp',
|
||||
'Src/x64Analyzer.cpp',
|
||||
'Src/x64Emitter.cpp',
|
||||
]
|
||||
|
||||
if sys.platform == 'win32':
|
||||
files += ['Src/ExtendedTrace.cpp']
|
||||
files += ['Src/stdafx.cpp']
|
||||
|
||||
env['CPPPATH'] += ['Src']
|
||||
env['LIBS'] += env.StaticLibrary('common', files)
|
@ -103,10 +103,6 @@ private:
|
||||
//CrtDebugBreak breakAt(614);
|
||||
#endif // end DEBUG/FAST
|
||||
|
||||
#elif defined HAVE_CONFIG_H
|
||||
#include "config.h" // SCons autoconfiguration defines
|
||||
#endif
|
||||
|
||||
// Windows compatibility
|
||||
#ifndef _WIN32
|
||||
#include <limits.h>
|
||||
|
@ -1,215 +0,0 @@
|
||||
# -*- 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)
|
@ -1,29 +0,0 @@
|
||||
# -*- python -*-
|
||||
|
||||
Import('env')
|
||||
|
||||
files = [
|
||||
'Src/BannerLoader.cpp',
|
||||
'Src/BannerLoaderGC.cpp',
|
||||
'Src/BannerLoaderWii.cpp',
|
||||
'Src/Blob.cpp',
|
||||
'Src/CISOBlob.cpp',
|
||||
'Src/CompressedBlob.cpp',
|
||||
'Src/DiscScrubber.cpp',
|
||||
'Src/DriveBlob.cpp',
|
||||
'Src/FileBlob.cpp',
|
||||
'Src/FileHandlerARC.cpp',
|
||||
'Src/FileMonitor.cpp',
|
||||
'Src/FileSystemGCWii.cpp',
|
||||
'Src/Filesystem.cpp',
|
||||
'Src/NANDContentLoader.cpp',
|
||||
'Src/VolumeCommon.cpp',
|
||||
'Src/VolumeCreator.cpp',
|
||||
'Src/VolumeDirectory.cpp',
|
||||
'Src/VolumeGC.cpp',
|
||||
'Src/VolumeWad.cpp',
|
||||
'Src/VolumeWiiCrypted.cpp',
|
||||
'Src/WiiWad.cpp',
|
||||
]
|
||||
|
||||
env['LIBS'] += env.StaticLibrary('discio', files)
|
@ -1,138 +0,0 @@
|
||||
# -*- python -*-
|
||||
|
||||
Import('env')
|
||||
import os
|
||||
import sys
|
||||
|
||||
if env['nowx']:
|
||||
files = ['Src/MainNoGUI.cpp']
|
||||
else:
|
||||
files = [
|
||||
'Src/ARCodeAddEdit.cpp',
|
||||
'Src/AboutDolphin.cpp',
|
||||
'Src/CheatsWindow.cpp',
|
||||
'Src/ConfigMain.cpp',
|
||||
'Src/Debugger/BreakpointDlg.cpp',
|
||||
'Src/Debugger/BreakpointView.cpp',
|
||||
'Src/Debugger/BreakpointWindow.cpp',
|
||||
'Src/Debugger/CodeView.cpp',
|
||||
'Src/Debugger/CodeWindow.cpp',
|
||||
'Src/Debugger/CodeWindowFunctions.cpp',
|
||||
'Src/Debugger/DSPDebugWindow.cpp',
|
||||
'Src/Debugger/DSPRegisterView.cpp',
|
||||
'Src/Debugger/DebuggerPanel.cpp',
|
||||
'Src/Debugger/DebuggerUIUtil.cpp',
|
||||
'Src/Debugger/JitWindow.cpp',
|
||||
'Src/Debugger/MemoryCheckDlg.cpp',
|
||||
'Src/Debugger/MemoryView.cpp',
|
||||
'Src/Debugger/MemoryWindow.cpp',
|
||||
'Src/Debugger/RegisterView.cpp',
|
||||
'Src/Debugger/RegisterWindow.cpp',
|
||||
'Src/FifoPlayerDlg.cpp',
|
||||
'Src/Frame.cpp',
|
||||
'Src/FrameAui.cpp',
|
||||
'Src/FrameTools.cpp',
|
||||
'Src/GameListCtrl.cpp',
|
||||
'Src/GeckoCodeDiag.cpp',
|
||||
'Src/HotkeyDlg.cpp',
|
||||
'Src/ISOFile.cpp',
|
||||
'Src/ISOProperties.cpp',
|
||||
'Src/InputConfigDiag.cpp',
|
||||
'Src/InputConfigDiagBitmaps.cpp',
|
||||
'Src/LogConfigWindow.cpp',
|
||||
'Src/LogWindow.cpp',
|
||||
'Src/Main.cpp',
|
||||
'Src/MemcardManager.cpp',
|
||||
'Src/MemoryCards/WiiSaveCrypted.cpp',
|
||||
'Src/NetWindow.cpp',
|
||||
'Src/PHackSettings.cpp',
|
||||
'Src/PatchAddEdit.cpp',
|
||||
'Src/TASInputDlg.cpp',
|
||||
'Src/UDPConfigDiag.cpp',
|
||||
'Src/VideoConfigDiag.cpp',
|
||||
'Src/WXInputBase.cpp',
|
||||
'Src/WiimoteConfigDiag.cpp',
|
||||
'Src/WxUtils.cpp',
|
||||
]
|
||||
|
||||
if sys.platform == 'win32':
|
||||
files += ['Src/stdafx.cpp']
|
||||
elif sys.platform == 'darwin':
|
||||
env['CPPPATH'] += ['#Externals']
|
||||
env['FRAMEWORKPATH'] += ['Externals/Cg']
|
||||
env['FRAMEWORKS'] += ['ApplicationServices', 'Carbon', 'Cocoa']
|
||||
env['FRAMEWORKS'] += ['AudioUnit', 'IOBluetooth', 'IOKit', 'OpenGL']
|
||||
env['FRAMEWORKSFLAGS'] = ['-Wl,-lazy_framework,Cg']
|
||||
env['FRAMEWORKSFLAGS'] += ['-Wl,-weak_framework,OpenCL']
|
||||
env['LIBS'] += ['iconv', 'z']
|
||||
|
||||
# XXX
|
||||
env['FRAMEWORKSFLAGS'] += ['-Wl,-weak_framework,QuickTime']
|
||||
env['FRAMEWORKSFLAGS'] += ['-Wl,-no_arch_warnings']
|
||||
|
||||
exe = '#' + env['prefix'] + '/Dolphin.app/Contents/MacOS/Dolphin'
|
||||
if env['nowx']:
|
||||
exe += 'NoGUI'
|
||||
|
||||
env.Install('#' + env['prefix'] + '/Dolphin.app/Contents/' +
|
||||
'Frameworks/Cg.framework', source = [
|
||||
'#Externals/Cg/Cg.framework/Cg',
|
||||
'#Externals/Cg/Cg.framework/Resources'
|
||||
])
|
||||
|
||||
env.Install(env['data_dir'], '#Data/Sys')
|
||||
env.Install(env['data_dir'], '#Data/User')
|
||||
env.Install(env['data_dir'],
|
||||
'#Source/Core/DolphinWX/resources/Dolphin.icns')
|
||||
|
||||
languages = []
|
||||
msgfmt = env.WhereIs('msgfmt')
|
||||
if not msgfmt == None:
|
||||
po_files = Glob('#Languages/po/*.po', strings = True)
|
||||
for po in po_files:
|
||||
index_lo = po.find('Languages/po/') + len('Languages/po/')
|
||||
index_hi = po.find('.po')
|
||||
lang = po[index_lo:index_hi]
|
||||
lproj = os.sep + lang + '.lproj'
|
||||
mo_dir = env['build_dir'] + '/Languages' + lproj
|
||||
mo_file = mo_dir + '/dolphin-emu.mo'
|
||||
env.Command('#' + mo_file, po, 'mkdir -p ' + mo_dir +
|
||||
' && ' + msgfmt + ' -o ' + mo_file + ' ' + po)
|
||||
env.Install(env['data_dir'] + lproj, '#' + mo_file)
|
||||
languages += [lang]
|
||||
|
||||
from plistlib import writePlist
|
||||
def createPlist(target, source, env):
|
||||
for srcNode in source:
|
||||
writePlist(srcNode.value, str(target[0]))
|
||||
env.Append(BUILDERS = {'Plist' : Builder(action = createPlist)})
|
||||
env.Plist('#' + env['prefix'] + '/Dolphin.app/Contents/Info.plist',
|
||||
Value(dict(
|
||||
CFBundleExecutable = 'Dolphin',
|
||||
CFBundleIconFile = 'Dolphin.icns',
|
||||
CFBundleIdentifier = 'com.dolphin-emulator.dolphin',
|
||||
CFBundleLocalizations = languages,
|
||||
CFBundlePackageType = 'APPL',
|
||||
CFBundleShortVersionString = env['gitdesc'],
|
||||
CFBundleVersion = '3.0',
|
||||
LSMinimumSystemVersion = '10.5.4',
|
||||
LSRequiresCarbon = True,
|
||||
CFBundleDocumentTypes = [
|
||||
dict(CFBundleTypeExtensions =
|
||||
('ciso', 'dol', 'elf', 'gcm', 'gcz', 'iso', 'wad'),
|
||||
CFBundleTypeIconFile = 'Dolphin.icns',
|
||||
CFBundleTypeName = 'Nintendo GC/Wii file',
|
||||
CFBundleTypeRole = 'Viewer')]
|
||||
)))
|
||||
|
||||
env.Command('dummy', '#' + env['prefix'],
|
||||
"find $SOURCES -name .svn -exec rm -rf {} +")
|
||||
else:
|
||||
files += ['Src/X11Utils.cpp']
|
||||
exe = env['binary_dir'] + '/dolphin-emu'
|
||||
if env['nowx']:
|
||||
exe += '-nogui'
|
||||
env.InstallAs(env['data_dir'] + '/sys', '#Data/Sys')
|
||||
env.InstallAs(env['data_dir'] + '/user', '#Data/User')
|
||||
|
||||
env.Program(exe, files)
|
@ -1,34 +0,0 @@
|
||||
# -*- python -*-
|
||||
|
||||
import sys
|
||||
Import('env')
|
||||
|
||||
files = [
|
||||
'Src/ControllerEmu.cpp',
|
||||
'Src/ControllerInterface/ControllerInterface.cpp',
|
||||
'Src/InputConfig.cpp',
|
||||
'Src/UDPWiimote.cpp',
|
||||
'Src/UDPWrapper.cpp',
|
||||
]
|
||||
|
||||
if sys.platform == 'win32':
|
||||
files += [
|
||||
'Src/ControllerInterface/DInput/DInput.cpp',
|
||||
'Src/ControllerInterface/DInput/DInputJoystick.cpp',
|
||||
'Src/ControllerInterface/DInput/DInputKeyboardMouse.cpp'
|
||||
'Src/ControllerInterface/SDL/SDL.cpp',
|
||||
'Src/ControllerInterface/XInput/XInput.cpp',
|
||||
]
|
||||
elif sys.platform == 'darwin':
|
||||
files += [
|
||||
'Src/ControllerInterface/OSX/OSX.mm',
|
||||
'Src/ControllerInterface/OSX/OSXKeyboard.mm',
|
||||
'Src/ControllerInterface/OSX/OSXJoystick.mm',
|
||||
]
|
||||
elif env['HAVE_X11']:
|
||||
files += [
|
||||
'Src/ControllerInterface/SDL/SDL.cpp',
|
||||
'Src/ControllerInterface/Xlib/Xlib.cpp',
|
||||
]
|
||||
|
||||
env['LIBS'] += env.StaticLibrary('inputcommon', files)
|
@ -1,48 +0,0 @@
|
||||
# -*- python -*-
|
||||
|
||||
Import('env')
|
||||
|
||||
files = [
|
||||
'Src/BPFunctions.cpp',
|
||||
'Src/BPMemory.cpp',
|
||||
'Src/BPStructs.cpp',
|
||||
'Src/CPMemory.cpp',
|
||||
'Src/CommandProcessor.cpp',
|
||||
'Src/DLCache.cpp',
|
||||
'Src/Debugger.cpp',
|
||||
'Src/Fifo.cpp',
|
||||
'Src/FramebufferManagerBase.cpp',
|
||||
'Src/HiresTextures.cpp',
|
||||
'Src/ImageWrite.cpp',
|
||||
'Src/IndexGenerator.cpp',
|
||||
'Src/LightingShaderGen.cpp',
|
||||
'Src/MainBase.cpp',
|
||||
'Src/OnScreenDisplay.cpp',
|
||||
'Src/OpcodeDecoding.cpp',
|
||||
'Src/OpenCL.cpp',
|
||||
'Src/OpenCL/OCLTextureDecoder.cpp',
|
||||
'Src/PixelEngine.cpp',
|
||||
'Src/PixelShaderGen.cpp',
|
||||
'Src/PixelShaderManager.cpp',
|
||||
'Src/RenderBase.cpp',
|
||||
'Src/Statistics.cpp',
|
||||
'Src/TextureCacheBase.cpp',
|
||||
'Src/TextureConversionShader.cpp',
|
||||
'Src/TextureDecoder.cpp',
|
||||
'Src/VertexLoader.cpp',
|
||||
'Src/VertexLoaderManager.cpp',
|
||||
'Src/VertexLoader_Color.cpp',
|
||||
'Src/VertexLoader_Normal.cpp',
|
||||
'Src/VertexLoader_Position.cpp',
|
||||
'Src/VertexLoader_TextCoord.cpp',
|
||||
'Src/VertexManagerBase.cpp',
|
||||
'Src/VertexShaderGen.cpp',
|
||||
'Src/VertexShaderManager.cpp',
|
||||
'Src/VideoConfig.cpp',
|
||||
'Src/VideoState.cpp',
|
||||
'Src/XFMemory.cpp',
|
||||
'Src/XFStructs.cpp',
|
||||
'Src/memcpy_amd.cpp',
|
||||
]
|
||||
|
||||
env['LIBS'] += env.StaticLibrary('videocommon', files)
|
Reference in New Issue
Block a user