1Import('*') 2 3env = env.Clone() 4 5env.PkgUseModules('DRM') 6 7env.Append(CPPDEFINES = [ 8 'HAVE_STDINT_H', 9 '-D_FILE_OFFSET_BITS=64', 10]) 11 12env.Prepend(CPPPATH = [ 13 '#/src/gallium/drivers/svga', 14 '#/src/gallium/drivers/svga/include', 15]) 16 17sources = env.ParseSourceList('Makefile.sources', 'C_SOURCES') 18 19svgadrm = env.ConvenienceLibrary( 20 target = 'svgadrm', 21 source = sources, 22) 23 24Export('svgadrm') 25