2009-03-30 16:30:31 +00:00
|
|
|
|
2009-03-23 09:10:32 +00:00
|
|
|
# -*- python -*-
|
|
|
|
|
|
|
|
Import('env')
|
|
|
|
import sys
|
|
|
|
|
2009-04-08 20:02:22 +00:00
|
|
|
name = "Plugin_DSP_LLE"
|
2009-03-23 09:10:32 +00:00
|
|
|
|
|
|
|
if not env['HAVE_AO']:
|
|
|
|
print name + " must have AO to be build"
|
|
|
|
Return()
|
|
|
|
|
|
|
|
files = [
|
2009-03-30 16:30:31 +00:00
|
|
|
"Config.cpp",
|
2009-06-21 09:35:31 +00:00
|
|
|
"DSPDebugInterface.cpp",
|
|
|
|
"DSPSymbols.cpp",
|
2009-03-23 09:10:32 +00:00
|
|
|
"Globals.cpp",
|
|
|
|
"main.cpp",
|
|
|
|
"Tools.cpp",
|
2010-01-13 04:43:18 +00:00
|
|
|
"DSPHost.cpp",
|
2009-03-23 09:10:32 +00:00
|
|
|
]
|
|
|
|
|
2009-04-30 08:14:46 +00:00
|
|
|
if env['HAVE_WX']:
|
|
|
|
files += [
|
|
|
|
"DSPConfigDlgLLE.cpp",
|
2009-07-12 12:22:39 +00:00
|
|
|
"Debugger/DSPDebugWindow.cpp",
|
2009-04-30 08:14:46 +00:00
|
|
|
"Debugger/DSPRegisterView.cpp",
|
|
|
|
]
|
|
|
|
|
2009-03-23 09:10:32 +00:00
|
|
|
lleenv = env.Clone()
|
2009-08-01 18:31:25 +00:00
|
|
|
if env['HAVE_WX']:
|
|
|
|
lleenv.Append(
|
|
|
|
CXXFLAGS = [ '-fPIC' ],
|
|
|
|
LIBS = [ 'dspcore', 'audiocommon', 'common', 'debugger_ui_util' ],
|
|
|
|
)
|
|
|
|
else:
|
|
|
|
lleenv.Append(
|
|
|
|
CXXFLAGS = [ '-fPIC' ],
|
|
|
|
LIBS = [ 'dspcore', 'audiocommon', 'common' ],
|
|
|
|
)
|
2009-09-18 20:04:54 +00:00
|
|
|
if sys.platform == 'darwin':
|
2009-11-08 23:36:14 +00:00
|
|
|
lleenv['FRAMEWORKS'] = ['CoreFoundation', 'System', 'CoreAudio', 'CoreServices' ]
|
2009-03-23 09:10:32 +00:00
|
|
|
lleenv.SharedLibrary(env['plugin_dir']+name, files)
|