34 lines
671 B
Python
34 lines
671 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.StaticLibrary("videocommon", files)
|