
# -*- python -*-

Import('env')
import sys

name = "Plugin_DSP_LLE"

files = [
	"Config.cpp",
	"DSPDebugInterface.cpp",
	"DSPSymbols.cpp",
	"Globals.cpp",
	"main.cpp",
	"Tools.cpp",
	"DSPHost.cpp",
	]

if env['HAVE_WX']:
        files += [
	"DSPConfigDlgLLE.cpp",
	"Debugger/DSPDebugWindow.cpp",
	"Debugger/DSPRegisterView.cpp",
	]

lleenv = env.Clone()

if env['HAVE_WX']:
	lleenv.Append(
		LIBS = [ 'dspcore', 'audiocommon', 'common', 'debugger_ui_util' ],
		)
else:
	lleenv.Append(
		LIBS = [ 'dspcore', 'audiocommon', 'common' ],
		)

lleenv.SharedLibrary(env['plugin_dir']+name, files)
