1 ################################### 2 # SConcscript file for dri targets 3 4 Import('*') 5 6 drienv = env.Clone() 7 8 drienv.Replace(CPPPATH = [ 9 '#src/mesa/drivers/dri/common', 10 '#include', 11 '#include/GL/internal', 12 '#src', 13 '#src/mapi', 14 '#src/gallium/include', 15 '#src/gallium/auxiliary', 16 '#src/gallium/drivers', 17 '#src/gallium/winsys', 18 '#src/mesa', 19 '#src/mesa/main', 20 '#src/mesa/glapi', 21 '#src/mesa/math', 22 '#src/mesa/transform', 23 '#src/mesa/shader', 24 '#src/mesa/swrast', 25 '#src/mesa/swrast_setup', 26 '#src/egl/main', 27 '#src/egl/drivers/dri', 28 xmlpool_options.dir.dir, 29 ]) 30 31 sources = drienv.ParseSourceList('Makefile.sources', ['DRI_COMMON_FILES']) 32 33 dri_common = drienv.ConvenienceLibrary( 34 target = 'dri_common', 35 source = sources, 36 ) 37 38 # 39 # megadrivers_stub 40 # 41 env = env.Clone() 42 43 env.Append(CPPPATH = [ 44 '#/include', 45 '#/src/', 46 '#/src/mapi', 47 '#/src/mesa', 48 ]) 49 50 env.Append(CPPDEFINES = [ 51 'HAVE_DLADDR', 52 ]) 53 54 sources = env.ParseSourceList('Makefile.sources', 'megadriver_stub_FILES') 55 56 megadrivers_stub = env.ConvenienceLibrary( 57 target = 'megadrivers_stub', 58 source = sources, 59 ) 60 61 env.Alias('megadrivers_stub', megadrivers_stub) 62 63 Export([ 64 'drienv', 65 'dri_common', 66 'megadrivers_stub', 67 ]) 68