SConscript revision 0528d6c70497a85ead1e17a3758f1b86617d9a05
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 10 env = env.Clone() 11 12 env.Append(CPPPATH = [ 13 '#/src/mesa', 14 '#/src/mesa/main', 15 ]) 16 17 env.Append(CPPDEFINES = ['USE_XSHM']) 18 19 st_xlib = env.ConvenienceLibrary( 20 target = 'st_xlib', 21 source = [ 22 'glx_getproc.c', 23 'fakeglx.c', 24 'fakeglx_fonts.c', 25 'xm_api.c', 26 ] 27 ) 28 Export('st_xlib') 29