2008-09-21 19:54:29 +00:00
|
|
|
# -*- python -*-
|
|
|
|
|
2008-07-12 17:40:22 +00:00
|
|
|
Import('env')
|
2008-09-22 23:36:16 +00:00
|
|
|
import sys
|
|
|
|
|
2008-11-13 08:12:48 +00:00
|
|
|
name = "Plugin_DSP_LLE"
|
2008-08-26 22:28:42 +00:00
|
|
|
|
2008-12-05 13:46:19 +00:00
|
|
|
if not env['HAVE_AO']:
|
|
|
|
print name + " must have AO to be build"
|
|
|
|
Return()
|
|
|
|
|
2008-08-26 22:28:42 +00:00
|
|
|
files = [
|
|
|
|
"AOSoundStream.cpp",
|
2008-11-21 11:51:46 +00:00
|
|
|
# "DisAsmDlg.cpp",
|
2008-08-26 22:28:42 +00:00
|
|
|
"disassemble.cpp",
|
2008-11-21 11:51:46 +00:00
|
|
|
# "DSoundStream.cpp",
|
2008-08-26 22:28:42 +00:00
|
|
|
"gdsp_aram.cpp",
|
|
|
|
"gdsp_ext_op.cpp",
|
|
|
|
"gdsp_interface.cpp",
|
|
|
|
"gdsp_interpreter.cpp",
|
|
|
|
"gdsp_memory.cpp",
|
|
|
|
"gdsp_opcodes.cpp",
|
|
|
|
"gdsp_registers.cpp",
|
|
|
|
"Globals.cpp",
|
2008-11-21 11:51:46 +00:00
|
|
|
"HLE_Functions.cpp",
|
|
|
|
"HLE_Helper.cpp",
|
2008-08-26 22:28:42 +00:00
|
|
|
"main.cpp",
|
2008-10-04 22:07:55 +00:00
|
|
|
"Mixer.cpp",
|
2008-11-21 11:51:46 +00:00
|
|
|
"opcodes.cpp",
|
|
|
|
# "RegisterDlg.cpp",
|
|
|
|
# "RegSettings.cpp",
|
|
|
|
# "stdafx.cpp",
|
|
|
|
"Tools.cpp",
|
|
|
|
"Logging/AXTask.cpp",
|
2008-10-03 05:51:55 +00:00
|
|
|
"Logging/Console.cpp",
|
|
|
|
"Logging/Logging.cpp",
|
2008-11-21 11:51:46 +00:00
|
|
|
"Logging/ReadPBs.cpp",
|
2008-08-26 22:28:42 +00:00
|
|
|
]
|
|
|
|
|
2008-09-20 22:06:22 +00:00
|
|
|
lleenv = env.Clone()
|
|
|
|
lleenv.Append(
|
2008-09-22 23:36:16 +00:00
|
|
|
CXXFLAGS = [ '-fPIC' ],
|
|
|
|
LIBS = [ 'common' ],
|
|
|
|
)
|
2008-11-13 08:12:48 +00:00
|
|
|
|
|
|
|
lleenv.SharedLibrary(env['plugin_dir']+name, files)
|