2008-07-12 17:40:22 +00:00
|
|
|
Import('env')
|
2008-07-20 11:02:41 +00:00
|
|
|
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",
|
|
|
|
]
|
|
|
|
|
|
|
|
dspenv = env.Copy()
|
|
|
|
dspenv.Append(
|
|
|
|
CXXFLAGS = ' ' + ' '.join([ '-fPIC', '`pkg-config --cflags ao`' ]),
|
|
|
|
LINKFLAGS = ' ' + ' '.join([ '`pkg-config --libs ao`' ])
|
|
|
|
)
|
|
|
|
dspenv.SharedLibrary(output, files, LIBS = ["common"])
|