2009-01-15 06:48:15 +00:00
|
|
|
# -*- python -*-
|
2008-09-21 19:54:29 +00:00
|
|
|
|
2008-07-20 11:02:41 +00:00
|
|
|
Import('env')
|
|
|
|
|
2008-08-26 22:28:42 +00:00
|
|
|
files = [
|
2008-12-26 13:19:27 +00:00
|
|
|
'BPMemory.cpp',
|
|
|
|
'CPMemory.cpp',
|
|
|
|
'memcpy_amd.cpp',
|
|
|
|
'LookUpTables.cpp',
|
2008-12-25 20:11:42 +00:00
|
|
|
'OpcodeDecoding.cpp',
|
2008-12-26 13:19:27 +00:00
|
|
|
'TextureDecoder.cpp',
|
|
|
|
'XFMemory.cpp',
|
|
|
|
'XFBConvert.cpp',
|
2008-12-26 17:33:53 +00:00
|
|
|
'PixelShaderGen.cpp',
|
2008-12-26 13:19:27 +00:00
|
|
|
'PixelShaderManager.cpp',
|
2008-12-26 17:33:53 +00:00
|
|
|
'VertexShaderGen.cpp',
|
2008-12-26 13:19:27 +00:00
|
|
|
'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',
|
2008-08-26 22:28:42 +00:00
|
|
|
]
|
2008-07-20 11:02:41 +00:00
|
|
|
|
2008-09-16 16:50:09 +00:00
|
|
|
env_common = env.Clone()
|
2008-09-20 22:06:22 +00:00
|
|
|
env_common.Append(CXXFLAGS = [ '-fPIC' ])
|
2008-07-20 11:02:41 +00:00
|
|
|
env_common.StaticLibrary("videocommon", files)
|