7 drienv.Replace(CPPPATH = [
8 '#src/mesa/drivers/dri/common',
10 '#include/GL/internal',
11 '#src/gallium/include',
12 '#src/gallium/auxiliary',
13 '#src/gallium/drivers',
18 '#src/mesa/transform',
21 '#src/mesa/swrast_setup',
23 '#src/egl/drivers/dri',
26 drienv.ParseConfig('pkg-config --cflags --libs libdrm')
28 COMMON_GALLIUM_SOURCES = [
29 '#src/mesa/drivers/dri/common/utils.c',
30 '#src/mesa/drivers/dri/common/vblank.c',
31 '#src/mesa/drivers/dri/common/dri_util.c',
32 '#src/mesa/drivers/dri/common/xmlconfig.c',
36 '#src/mesa/drivers/dri/common/dri_bufmgr.c',
37 '#src/mesa/drivers/dri/common/dri_drmpool.c',
42 'COMMON_GALLIUM_SOURCES',
48 # $(INSTALL) -d $(DRI_DRIVER_INSTALL_DIR)
49 # $(INSTALL) -m 755 $(LIBNAME) $(DRI_DRIVER_INSTALL_DIR)
51 if 'intel' in env['winsys']:
56 if 'radeon' in env['winsys']: