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 = [
|
2009-09-13 09:23:30 +00:00
|
|
|
'VideoConfig.cpp',
|
2009-08-15 07:20:37 +00:00
|
|
|
'GlobalControl.cpp',
|
2009-06-22 09:31:30 +00:00
|
|
|
'BPMemory.cpp',
|
2008-12-26 13:19:27 +00:00
|
|
|
'CPMemory.cpp',
|
2009-02-28 22:10:38 +00:00
|
|
|
'XFMemory.cpp',
|
|
|
|
'XFStructs.cpp',
|
2009-06-22 09:31:30 +00:00
|
|
|
'BPStructs.cpp',
|
2008-12-26 13:19:27 +00:00
|
|
|
'memcpy_amd.cpp',
|
2008-12-25 20:11:42 +00:00
|
|
|
'OpcodeDecoding.cpp',
|
2008-12-26 13:19:27 +00:00
|
|
|
'TextureDecoder.cpp',
|
2009-09-30 00:28:27 +00:00
|
|
|
# 'OpenCL/TextureDecoder.cpp',
|
2008-12-26 13:19:27 +00:00
|
|
|
'XFMemory.cpp',
|
|
|
|
'XFBConvert.cpp',
|
2009-02-28 22:10:38 +00:00
|
|
|
'IndexGenerator.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',
|
2009-09-03 19:24:16 +00:00
|
|
|
'TextureConversionShader.cpp',
|
2008-12-26 13:19:27 +00:00
|
|
|
'ImageWrite.cpp',
|
|
|
|
'NativeVertexWriter.cpp',
|
|
|
|
'Statistics.cpp',
|
|
|
|
'Fifo.cpp',
|
|
|
|
'VideoState.cpp',
|
|
|
|
'Profiler.cpp',
|
2009-09-03 20:37:35 +00:00
|
|
|
'OnScreenDisplay.cpp',
|
2009-05-07 07:43:56 +00:00
|
|
|
'HiresTextures.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' ])
|
2009-04-12 21:30:22 +00:00
|
|
|
env_common.StaticLibrary(env['local_libs'] + "videocommon", files)
|