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