SConscript revision 859db22527d796d186d3cdf83d503669472863cc
1####################################################################### 2# SConscript for xlib state_tracker 3 4Import('*') 5 6if env['platform'] == 'linux' \ 7 and 'mesa' in env['statetrackers'] \ 8 and ('softpipe' or 'i915simple' or 'trace') in env['drivers'] \ 9 and not env['dri']: 10 11 env = env.Clone() 12 13 env.Append(CPPPATH = [ 14 '#/src/mesa', 15 '#/src/mesa/main', 16 ]) 17 18 st_xlib = env.ConvenienceLibrary( 19 target = 'st_xlib', 20 source = [ 'glxapi.c', 21 'fakeglx.c', 22 'fakeglx_fonts.c', 23 'xm_api.c', 24 ] 25 ) 26 Export('st_xlib') 27