38 lines
610 B
Python
38 lines
610 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",
|
|
"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/Debugger.cpp",
|
|
"Debugger/DSPRegisterView.cpp",
|
|
]
|
|
|
|
lleenv = env.Clone()
|
|
lleenv.Append(
|
|
CXXFLAGS = [ '-fPIC' ],
|
|
LIBS = [ 'dspcore', 'audiocommon', 'common', ],
|
|
)
|
|
|
|
lleenv.SharedLibrary(env['plugin_dir']+name, files)
|