2009-04-12 10:21:40 +00:00
|
|
|
# -*- python -*-
|
|
|
|
|
|
|
|
Import('env')
|
|
|
|
|
|
|
|
files = [
|
2009-04-12 21:30:22 +00:00
|
|
|
"assemble.cpp",
|
|
|
|
"disassemble.cpp",
|
|
|
|
"gdsp_aram.cpp",
|
|
|
|
"gdsp_condition_codes.cpp",
|
|
|
|
"gdsp_ext_op.cpp",
|
|
|
|
"gdsp_interface.cpp",
|
|
|
|
"gdsp_interpreter.cpp",
|
|
|
|
"gdsp_memory.cpp",
|
|
|
|
"gdsp_registers.cpp",
|
|
|
|
"DSPAnalyzer.cpp",
|
2009-05-02 19:42:19 +00:00
|
|
|
"DspIntArithmetic.cpp",
|
|
|
|
"DspIntBranch.cpp",
|
|
|
|
"DspIntLoadStore.cpp",
|
|
|
|
"DspIntMisc.cpp",
|
|
|
|
"DspIntMultiplier.cpp",
|
2009-04-12 21:30:22 +00:00
|
|
|
"DSPJit.cpp",
|
|
|
|
"DSPCodeUtil.cpp",
|
2009-04-18 21:26:44 +00:00
|
|
|
"LabelMap.cpp",
|
2009-05-01 20:06:24 +00:00
|
|
|
"DSPCore.cpp",
|
2009-04-12 21:30:22 +00:00
|
|
|
"DSPTables.cpp",
|
2009-04-12 10:21:40 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
acenv = env.Clone()
|
|
|
|
acenv.Append(CXXFLAGS = [ '-fPIC' ])
|
|
|
|
|
2009-04-12 21:30:22 +00:00
|
|
|
acenv.StaticLibrary(env['local_libs'] + 'dspcore', files, LIBS = [ 'common'] )
|