35 lines
736 B
Python
35 lines
736 B
Python
# -*- python -*-
|
|
|
|
Import('env')
|
|
|
|
files = [
|
|
'BPMemory.cpp',
|
|
'CPMemory.cpp',
|
|
'memcpy_amd.cpp',
|
|
'LookUpTables.cpp',
|
|
'OpcodeDecoding.cpp',
|
|
'TextureDecoder.cpp',
|
|
'XFMemory.cpp',
|
|
'XFBConvert.cpp',
|
|
'PixelShaderGen.cpp',
|
|
'PixelShaderManager.cpp',
|
|
'VertexShaderGen.cpp',
|
|
'VertexShaderManager.cpp',
|
|
'VertexLoader.cpp',
|
|
'VertexLoader_Color.cpp',
|
|
'VertexLoader_Normal.cpp',
|
|
'VertexLoader_Position.cpp',
|
|
'VertexLoader_TextCoord.cpp',
|
|
'ImageWrite.cpp',
|
|
'NativeVertexWriter.cpp',
|
|
'Statistics.cpp',
|
|
'Fifo.cpp',
|
|
'VideoState.cpp',
|
|
'Profiler.cpp',
|
|
]
|
|
|
|
env_common = env.Clone()
|
|
env_common.Append(CXXFLAGS = [ '-fPIC' ])
|
|
env_common.Append(CXXFLAGS = [ '-mssse3' ]) # For TextureDecoder
|
|
env_common.StaticLibrary("videocommon", files)
|