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
|
|
|
|
|
|
|
|
if sys.platform == 'darwin':
|
|
|
|
output = "../../../../Binary/mac/Plugins/dsplle.so"
|
|
|
|
else:
|
|
|
|
output = "../../../../Binary/linux/Plugins/dsplle.so"
|
2008-08-26 22:28:42 +00:00
|
|
|
|
|
|
|
files = [
|
|
|
|
"AOSoundStream.cpp",
|
|
|
|
"disassemble.cpp",
|
|
|
|
"gdsp_aram.cpp",
|
|
|
|
"gdsp_ext_op.cpp",
|
|
|
|
"gdsp_interface.cpp",
|
|
|
|
"gdsp_interpreter.cpp",
|
|
|
|
"gdsp_memory.cpp",
|
|
|
|
"gdsp_opcodes.cpp",
|
|
|
|
"gdsp_registers.cpp",
|
|
|
|
"Globals.cpp",
|
|
|
|
"opcodes.cpp",
|
|
|
|
"Tools.cpp",
|
|
|
|
"main.cpp",
|
2008-10-04 22:07:55 +00:00
|
|
|
"Mixer.cpp",
|
2008-10-03 05:51:55 +00:00
|
|
|
"Logging/ReadPBs.cpp",
|
|
|
|
"Logging/Console.cpp",
|
|
|
|
"Logging/Logging.cpp",
|
|
|
|
"Logging/AXTask.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-10-20 17:32:15 +00:00
|
|
|
if not env['osx64']:
|
|
|
|
lleenv.SharedLibrary(output, files)
|