2009-03-30 19:30:31 +03:00
|
|
|
|
2009-03-23 11:10:32 +02:00
|
|
|
# -*- python -*-
|
|
|
|
|
|
|
|
Import('env')
|
|
|
|
import sys
|
|
|
|
|
2009-04-08 23:02:22 +03:00
|
|
|
name = "Plugin_DSP_LLE"
|
2009-03-23 11:10:32 +02:00
|
|
|
|
|
|
|
files = [
|
2009-03-30 19:30:31 +03:00
|
|
|
"Config.cpp",
|
2009-06-21 12:35:31 +03:00
|
|
|
"DSPDebugInterface.cpp",
|
|
|
|
"DSPSymbols.cpp",
|
2009-03-23 11:10:32 +02:00
|
|
|
"Globals.cpp",
|
|
|
|
"main.cpp",
|
|
|
|
"Tools.cpp",
|
2010-01-13 06:43:18 +02:00
|
|
|
"DSPHost.cpp",
|
2009-03-23 11:10:32 +02:00
|
|
|
]
|
|
|
|
|
2009-04-30 11:14:46 +03:00
|
|
|
if env['HAVE_WX']:
|
|
|
|
files += [
|
|
|
|
"DSPConfigDlgLLE.cpp",
|
2009-07-12 15:22:39 +03:00
|
|
|
"Debugger/DSPDebugWindow.cpp",
|
2009-04-30 11:14:46 +03:00
|
|
|
"Debugger/DSPRegisterView.cpp",
|
|
|
|
]
|
|
|
|
|
2009-03-23 11:10:32 +02:00
|
|
|
lleenv = env.Clone()
|
2009-08-01 21:31:25 +03: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 23:04:54 +03:00
|
|
|
if sys.platform == 'darwin':
|
2010-02-22 02:19:27 +02:00
|
|
|
lleenv['FRAMEWORKS'] = [ 'CoreAudio', 'CoreServices', 'AudioUnit' ]
|
2009-03-23 11:10:32 +02:00
|
|
|
lleenv.SharedLibrary(env['plugin_dir']+name, files)
|