mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 22:09:19 -07:00
3c537ec137
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4523 8ced0084-cf51-0410-be5f-012b33b47a6e
47 lines
917 B
Python
47 lines
917 B
Python
|
|
# -*- python -*-
|
|
|
|
Import('env')
|
|
import sys
|
|
|
|
name = "Plugin_DSP_LLE"
|
|
|
|
if not env['HAVE_AO']:
|
|
print name + " must have AO to be build"
|
|
Return()
|
|
|
|
files = [
|
|
"Config.cpp",
|
|
"DSPDebugInterface.cpp",
|
|
"DSPSymbols.cpp",
|
|
"Globals.cpp",
|
|
"main.cpp",
|
|
"Tools.cpp",
|
|
"DSPHost.cpp",
|
|
"Logging/AXTask.cpp",
|
|
"Logging/Logging.cpp",
|
|
"Logging/ReadPBs.cpp",
|
|
]
|
|
|
|
if env['HAVE_WX']:
|
|
files += [
|
|
"DSPConfigDlgLLE.cpp",
|
|
"Debugger/DSPDebugWindow.cpp",
|
|
"Debugger/DSPRegisterView.cpp",
|
|
]
|
|
|
|
lleenv = env.Clone()
|
|
if env['HAVE_WX']:
|
|
lleenv.Append(
|
|
CXXFLAGS = [ '-fPIC' ],
|
|
LIBS = [ 'dspcore', 'audiocommon', 'common', 'debugger_ui_util' ],
|
|
)
|
|
else:
|
|
lleenv.Append(
|
|
CXXFLAGS = [ '-fPIC' ],
|
|
LIBS = [ 'dspcore', 'audiocommon', 'common' ],
|
|
)
|
|
if sys.platform == 'darwin':
|
|
lleenv['FRAMEWORKS'] = ['CoreFoundation', 'System', 'CoreAudio', 'CoreServices' ]
|
|
lleenv.SharedLibrary(env['plugin_dir']+name, files)
|